{
  "components": {
    "schemas": {
      "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 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).",
        "properties": {
          "business_profile": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/account_business_profile"
              }
            ],
            "description": "Business information about the account.",
            "nullable": true
          },
          "business_type": {
            "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.",
            "enum": [
              "company",
              "government_entity",
              "individual",
              "non_profit"
            ],
            "nullable": true,
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "capabilities": {
            "$ref": "#/components/schemas/account_capabilities"
          },
          "charges_enabled": {
            "description": "Whether the account can process charges.",
            "type": "boolean"
          },
          "company": {
            "$ref": "#/components/schemas/legal_entity_company"
          },
          "controller": {
            "$ref": "#/components/schemas/account_unification_account_controller"
          },
          "country": {
            "description": "The account's country.",
            "maxLength": 5000,
            "type": "string"
          },
          "created": {
            "description": "Time at which the account was connected. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "default_currency": {
            "description": "Three-letter ISO currency code representing the default currency for the account. This must be a currency that [Stripe supports in the account's country](https://stripe.com/docs/payouts).",
            "maxLength": 5000,
            "type": "string"
          },
          "details_submitted": {
            "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": "boolean"
          },
          "email": {
            "description": "An email address associated with the account. It's not used for authentication and Stripe doesn't market to this field without explicit approval from the platform.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "external_accounts": {
            "description": "External accounts (bank accounts and debit cards) currently attached to this account. External accounts are only returned for requests where `controller[is_controller]` is true.",
            "properties": {
              "data": {
                "description": "The list contains all external accounts that have been attached to the Stripe account. These may be bank accounts or cards.",
                "items": {
                  "$ref": "#/components/schemas/external_account"
                },
                "type": "array"
              },
              "has_more": {
                "description": "True if this list has another page of items after this one that can be fetched.",
                "type": "boolean"
              },
              "object": {
                "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                "enum": [
                  "list"
                ],
                "type": "string"
              },
              "url": {
                "description": "The URL where this list can be accessed.",
                "maxLength": 5000,
                "type": "string"
              }
            },
            "required": [
              "data",
              "has_more",
              "object",
              "url"
            ],
            "title": "ExternalAccountList",
            "type": "object",
            "x-expandableFields": [
              "data"
            ],
            "x-stripeMostCommon": [
              "data",
              "has_more",
              "object",
              "url"
            ]
          },
          "future_requirements": {
            "$ref": "#/components/schemas/account_future_requirements"
          },
          "groups": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/account_group_membership"
              }
            ],
            "description": "The groups associated with the account.",
            "nullable": true
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "individual": {
            "$ref": "#/components/schemas/person"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "account"
            ],
            "type": "string"
          },
          "payouts_enabled": {
            "description": "Whether the funds in this account can be paid out.",
            "type": "boolean"
          },
          "requirements": {
            "$ref": "#/components/schemas/account_requirements"
          },
          "settings": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/account_settings"
              }
            ],
            "description": "Options for customizing how the account functions within Stripe.",
            "nullable": true
          },
          "tos_acceptance": {
            "$ref": "#/components/schemas/account_tos_acceptance"
          },
          "type": {
            "description": "The Stripe account type. Can be `standard`, `express`, `custom`, or `none`.",
            "enum": [
              "custom",
              "express",
              "none",
              "standard"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "object"
        ],
        "title": "Account",
        "type": "object",
        "x-expandableFields": [
          "business_profile",
          "capabilities",
          "company",
          "controller",
          "external_accounts",
          "future_requirements",
          "groups",
          "individual",
          "requirements",
          "settings",
          "tos_acceptance"
        ],
        "x-resourceId": "account",
        "x-stripeMostCommon": [
          "business_type",
          "capabilities",
          "company",
          "country",
          "email",
          "id",
          "individual",
          "metadata",
          "requirements",
          "tos_acceptance",
          "type"
        ],
        "x-stripeOperations": [
          {
            "method_name": "delete",
            "method_on": "service",
            "method_type": "delete",
            "operation": "delete",
            "path": "/v1/accounts/{account}"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/account"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/accounts"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/accounts/{account}"
          },
          {
            "method_name": "capabilities",
            "method_on": "service",
            "method_type": "custom",
            "operation": "get",
            "path": "/v1/accounts/{account}/capabilities"
          },
          {
            "method_name": "persons",
            "method_on": "service",
            "method_type": "custom",
            "operation": "get",
            "path": "/v1/accounts/{account}/persons"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/accounts"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/accounts/{account}"
          },
          {
            "method_name": "reject",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/accounts/{account}/reject"
          }
        ],
        "x-stripeResource": {
          "class_name": "Account",
          "has_collection_class": true,
          "in_package": "",
          "polymorphic_groups": [
            "deleted_payment_source",
            "payment_source"
          ]
        }
      },
      "account.application.authorized": {
        "description": "Occurs whenever a user authorizes an application. Sent to the related application only.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/application"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "account.application.authorized"
        }
      },
      "account.application.deauthorized": {
        "description": "Occurs whenever a user deauthorizes an application. Sent to the related application only.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/application"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "account.application.deauthorized"
        }
      },
      "account.external_account.created": {
        "description": "Occurs whenever an external account is created.",
        "properties": {
          "object": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/bank_account"
              },
              {
                "$ref": "#/components/schemas/card"
              },
              {
                "$ref": "#/components/schemas/source"
              }
            ]
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "account.external_account.created"
        }
      },
      "account.external_account.deleted": {
        "description": "Occurs whenever an external account is deleted.",
        "properties": {
          "object": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/bank_account"
              },
              {
                "$ref": "#/components/schemas/card"
              },
              {
                "$ref": "#/components/schemas/source"
              }
            ]
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "account.external_account.deleted"
        }
      },
      "account.external_account.updated": {
        "description": "Occurs whenever an external account is updated.",
        "properties": {
          "object": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/bank_account"
              },
              {
                "$ref": "#/components/schemas/card"
              },
              {
                "$ref": "#/components/schemas/source"
              }
            ]
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "account.external_account.updated"
        }
      },
      "account.updated": {
        "description": "Occurs whenever an account status or property has changed.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/account"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "account.updated"
        }
      },
      "account_annual_revenue": {
        "description": "",
        "properties": {
          "amount": {
            "description": "A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal).",
            "nullable": true,
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "nullable": true,
            "type": "string"
          },
          "fiscal_year_end": {
            "description": "The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "amount",
          "currency",
          "fiscal_year_end"
        ],
        "title": "AccountAnnualRevenue",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "amount",
          "currency",
          "fiscal_year_end"
        ]
      },
      "account_bacs_debit_payments_settings": {
        "description": "",
        "properties": {
          "display_name": {
            "description": "The Bacs Direct Debit display name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. The fee appears 5 business days after requesting Bacs. If you don't set the display name before requesting Bacs capability, it's automatically set as \"Stripe\" and the account is onboarded to Stripe branding, which is free.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "service_user_number": {
            "description": "The Bacs Direct Debit Service user number for this account. For payments made with Bacs Direct Debit, this number is a unique identifier of the account with our banking partners.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "display_name",
          "service_user_number"
        ],
        "title": "AccountBacsDebitPaymentsSettings",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "display_name",
          "service_user_number"
        ]
      },
      "account_branding_settings": {
        "description": "",
        "properties": {
          "icon": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          },
          "logo": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A logo for the account that will be used in Checkout instead of the icon and without the account's name next to it if provided. Must be at least 128px x 128px.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          },
          "primary_color": {
            "description": "A CSS hex color value representing the primary branding color for this account",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "secondary_color": {
            "description": "A CSS hex color value representing the secondary branding color for this account",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "icon",
          "logo",
          "primary_color",
          "secondary_color"
        ],
        "title": "AccountBrandingSettings",
        "type": "object",
        "x-expandableFields": [
          "icon",
          "logo"
        ],
        "x-stripeMostCommon": [
          "icon",
          "logo",
          "primary_color",
          "secondary_color"
        ]
      },
      "account_business_profile": {
        "description": "",
        "properties": {
          "annual_revenue": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/account_annual_revenue"
              }
            ],
            "description": "The applicant's gross annual revenue for its preceding fiscal year.",
            "nullable": true
          },
          "estimated_worker_count": {
            "description": "An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.",
            "nullable": true,
            "type": "integer"
          },
          "mcc": {
            "description": "[The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "monthly_estimated_revenue": {
            "$ref": "#/components/schemas/account_monthly_estimated_revenue"
          },
          "name": {
            "description": "The customer-facing business name.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "product_description": {
            "description": "Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes.",
            "maxLength": 40000,
            "nullable": true,
            "type": "string"
          },
          "support_address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/address"
              }
            ],
            "description": "A publicly available mailing address for sending support issues to.",
            "nullable": true
          },
          "support_email": {
            "description": "A publicly available email address for sending support issues to.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "support_phone": {
            "description": "A publicly available phone number to call with support issues.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "support_url": {
            "description": "A publicly available website for handling support issues.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "url": {
            "description": "The business's publicly available website.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "annual_revenue",
          "estimated_worker_count",
          "mcc",
          "name",
          "support_address",
          "support_email",
          "support_phone",
          "support_url",
          "url"
        ],
        "title": "AccountBusinessProfile",
        "type": "object",
        "x-expandableFields": [
          "annual_revenue",
          "monthly_estimated_revenue",
          "support_address"
        ],
        "x-stripeMostCommon": [
          "annual_revenue",
          "estimated_worker_count",
          "mcc",
          "monthly_estimated_revenue",
          "name",
          "product_description",
          "support_address",
          "support_email",
          "support_phone",
          "support_url",
          "url"
        ]
      },
      "account_capabilities": {
        "description": "",
        "properties": {
          "acss_debit_payments": {
            "description": "The status of the Canadian pre-authorized debits payments capability of the account, or whether the account can directly process Canadian pre-authorized debits charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "affirm_payments": {
            "description": "The status of the Affirm capability of the account, or whether the account can directly process Affirm charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "afterpay_clearpay_payments": {
            "description": "The status of the Afterpay Clearpay capability of the account, or whether the account can directly process Afterpay Clearpay charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "alma_payments": {
            "description": "The status of the Alma capability of the account, or whether the account can directly process Alma payments.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "amazon_pay_payments": {
            "description": "The status of the AmazonPay capability of the account, or whether the account can directly process AmazonPay payments.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "au_becs_debit_payments": {
            "description": "The status of the BECS Direct Debit (AU) payments capability of the account, or whether the account can directly process BECS Direct Debit (AU) charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "bacs_debit_payments": {
            "description": "The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "bancontact_payments": {
            "description": "The status of the Bancontact payments capability of the account, or whether the account can directly process Bancontact charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "bank_transfer_payments": {
            "description": "The status of the customer_balance payments capability of the account, or whether the account can directly process customer_balance charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "blik_payments": {
            "description": "The status of the blik payments capability of the account, or whether the account can directly process blik charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "boleto_payments": {
            "description": "The status of the boleto payments capability of the account, or whether the account can directly process boleto charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "card_issuing": {
            "description": "The status of the card issuing capability of the account, or whether you can use Issuing to distribute funds on cards",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "card_payments": {
            "description": "The status of the card payments capability of the account, or whether the account can directly process credit and debit card charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "cartes_bancaires_payments": {
            "description": "The status of the Cartes Bancaires payments capability of the account, or whether the account can directly process Cartes Bancaires card charges in EUR currency.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "cashapp_payments": {
            "description": "The status of the Cash App Pay capability of the account, or whether the account can directly process Cash App Pay payments.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "eps_payments": {
            "description": "The status of the EPS payments capability of the account, or whether the account can directly process EPS charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "fpx_payments": {
            "description": "The status of the FPX payments capability of the account, or whether the account can directly process FPX charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "gb_bank_transfer_payments": {
            "description": "The status of the GB customer_balance payments (GBP currency) capability of the account, or whether the account can directly process GB customer_balance charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "giropay_payments": {
            "description": "The status of the giropay payments capability of the account, or whether the account can directly process giropay charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "grabpay_payments": {
            "description": "The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "ideal_payments": {
            "description": "The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "india_international_payments": {
            "description": "The status of the india_international_payments capability of the account, or whether the account can process international charges (non INR) in India.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "jcb_payments": {
            "description": "The status of the JCB payments capability of the account, or whether the account (Japan only) can directly process JCB credit card charges in JPY currency.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "jp_bank_transfer_payments": {
            "description": "The status of the Japanese customer_balance payments (JPY currency) capability of the account, or whether the account can directly process Japanese customer_balance charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "kakao_pay_payments": {
            "description": "The status of the KakaoPay capability of the account, or whether the account can directly process KakaoPay payments.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "klarna_payments": {
            "description": "The status of the Klarna payments capability of the account, or whether the account can directly process Klarna charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "konbini_payments": {
            "description": "The status of the konbini payments capability of the account, or whether the account can directly process konbini charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "kr_card_payments": {
            "description": "The status of the KrCard capability of the account, or whether the account can directly process KrCard payments.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "legacy_payments": {
            "description": "The status of the legacy payments capability of the account.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "link_payments": {
            "description": "The status of the link_payments capability of the account, or whether the account can directly process Link charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "mobilepay_payments": {
            "description": "The status of the MobilePay capability of the account, or whether the account can directly process MobilePay charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "multibanco_payments": {
            "description": "The status of the Multibanco payments capability of the account, or whether the account can directly process Multibanco charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "mx_bank_transfer_payments": {
            "description": "The status of the Mexican customer_balance payments (MXN currency) capability of the account, or whether the account can directly process Mexican customer_balance charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "naver_pay_payments": {
            "description": "The status of the NaverPay capability of the account, or whether the account can directly process NaverPay payments.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "oxxo_payments": {
            "description": "The status of the OXXO payments capability of the account, or whether the account can directly process OXXO charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "p24_payments": {
            "description": "The status of the P24 payments capability of the account, or whether the account can directly process P24 charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "payco_payments": {
            "description": "The status of the Payco capability of the account, or whether the account can directly process Payco payments.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "paynow_payments": {
            "description": "The status of the paynow payments capability of the account, or whether the account can directly process paynow charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "promptpay_payments": {
            "description": "The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "revolut_pay_payments": {
            "description": "The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "samsung_pay_payments": {
            "description": "The status of the SamsungPay capability of the account, or whether the account can directly process SamsungPay payments.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "sepa_bank_transfer_payments": {
            "description": "The status of the SEPA customer_balance payments (EUR currency) capability of the account, or whether the account can directly process SEPA customer_balance charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "sepa_debit_payments": {
            "description": "The status of the SEPA Direct Debits payments capability of the account, or whether the account can directly process SEPA Direct Debits charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "sofort_payments": {
            "description": "The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "swish_payments": {
            "description": "The status of the Swish capability of the account, or whether the account can directly process Swish payments.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "tax_reporting_us_1099_k": {
            "description": "The status of the tax reporting 1099-K (US) capability of the account.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "tax_reporting_us_1099_misc": {
            "description": "The status of the tax reporting 1099-MISC (US) capability of the account.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "transfers": {
            "description": "The status of the transfers capability of the account, or whether your platform can transfer funds to the account.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "treasury": {
            "description": "The status of the banking capability, or whether the account can have bank accounts.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "twint_payments": {
            "description": "The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "us_bank_account_ach_payments": {
            "description": "The status of the US bank account ACH payments capability of the account, or whether the account can directly process US bank account charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "us_bank_transfer_payments": {
            "description": "The status of the US customer_balance payments (USD currency) capability of the account, or whether the account can directly process US customer_balance charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "zip_payments": {
            "description": "The status of the Zip capability of the account, or whether the account can directly process Zip charges.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          }
        },
        "title": "AccountCapabilities",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "acss_debit_payments",
          "affirm_payments",
          "afterpay_clearpay_payments",
          "alma_payments",
          "amazon_pay_payments",
          "au_becs_debit_payments",
          "bacs_debit_payments",
          "bancontact_payments",
          "bank_transfer_payments",
          "blik_payments",
          "boleto_payments",
          "card_issuing",
          "card_payments",
          "cartes_bancaires_payments",
          "cashapp_payments",
          "eps_payments",
          "fpx_payments",
          "gb_bank_transfer_payments",
          "giropay_payments",
          "grabpay_payments",
          "ideal_payments",
          "india_international_payments",
          "jcb_payments",
          "jp_bank_transfer_payments",
          "kakao_pay_payments",
          "klarna_payments",
          "konbini_payments",
          "kr_card_payments",
          "legacy_payments",
          "link_payments",
          "mobilepay_payments",
          "multibanco_payments",
          "mx_bank_transfer_payments",
          "naver_pay_payments",
          "oxxo_payments",
          "p24_payments",
          "payco_payments",
          "paynow_payments",
          "promptpay_payments",
          "revolut_pay_payments",
          "samsung_pay_payments",
          "sepa_bank_transfer_payments",
          "sepa_debit_payments",
          "sofort_payments",
          "swish_payments",
          "tax_reporting_us_1099_k",
          "tax_reporting_us_1099_misc",
          "transfers",
          "treasury",
          "twint_payments",
          "us_bank_account_ach_payments",
          "us_bank_transfer_payments",
          "zip_payments"
        ]
      },
      "account_capability_future_requirements": {
        "description": "",
        "properties": {
          "alternatives": {
            "description": "Fields that are due and can be satisfied by providing the corresponding alternative fields instead.",
            "items": {
              "$ref": "#/components/schemas/account_requirements_alternative"
            },
            "nullable": true,
            "type": "array"
          },
          "current_deadline": {
            "description": "Date on which `future_requirements` merges with the main `requirements` hash and `future_requirements` becomes empty. After the transition, `currently_due` requirements may immediately become `past_due`, but the account may also be given a grace period depending on the capability's enablement state prior to transitioning.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "currently_due": {
            "description": "Fields that need to be collected to keep the capability enabled. If not collected by `future_requirements[current_deadline]`, these fields will transition to the main `requirements` hash.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "disabled_reason": {
            "description": "This is typed as an enum for consistency with `requirements.disabled_reason`, but it safe to assume `future_requirements.disabled_reason` is null because fields in `future_requirements` will never disable the account.",
            "enum": [
              "other",
              "paused.inactivity",
              "pending.onboarding",
              "pending.review",
              "platform_disabled",
              "platform_paused",
              "rejected.inactivity",
              "rejected.other",
              "rejected.unsupported_business",
              "requirements.fields_needed"
            ],
            "nullable": true,
            "type": "string"
          },
          "errors": {
            "description": "Fields that are `currently_due` and need to be collected again because validation or verification failed.",
            "items": {
              "$ref": "#/components/schemas/account_requirements_error"
            },
            "type": "array"
          },
          "eventually_due": {
            "description": "Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "past_due": {
            "description": "Fields that weren't collected by `requirements.current_deadline`. These fields need to be collected to enable the capability on the account. New fields will never appear here; `future_requirements.past_due` will always be a subset of `requirements.past_due`.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "pending_verification": {
            "description": "Fields that might become required depending on the results of verification or review. It's an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due` or `currently_due`. Fields might appear in `eventually_due` or `currently_due` and in `pending_verification` if verification fails but another verification is still pending.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "alternatives",
          "current_deadline",
          "currently_due",
          "disabled_reason",
          "errors",
          "eventually_due",
          "past_due",
          "pending_verification"
        ],
        "title": "AccountCapabilityFutureRequirements",
        "type": "object",
        "x-expandableFields": [
          "alternatives",
          "errors"
        ],
        "x-stripeMostCommon": [
          "alternatives",
          "current_deadline",
          "currently_due",
          "disabled_reason",
          "errors",
          "eventually_due",
          "past_due",
          "pending_verification"
        ]
      },
      "account_capability_requirements": {
        "description": "",
        "properties": {
          "alternatives": {
            "description": "Fields that are due and can be satisfied by providing the corresponding alternative fields instead.",
            "items": {
              "$ref": "#/components/schemas/account_requirements_alternative"
            },
            "nullable": true,
            "type": "array"
          },
          "current_deadline": {
            "description": "Date by which the fields in `currently_due` must be collected to keep the capability enabled for the account. These fields may disable the capability sooner if the next threshold is reached before they are collected.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "currently_due": {
            "description": "Fields that need to be collected to keep the capability enabled. If not collected by `current_deadline`, these fields appear in `past_due` as well, and the capability is disabled.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "disabled_reason": {
            "description": "Description of why the capability is disabled. [Learn more about handling verification issues](https://stripe.com/docs/connect/handling-api-verification).",
            "enum": [
              "other",
              "paused.inactivity",
              "pending.onboarding",
              "pending.review",
              "platform_disabled",
              "platform_paused",
              "rejected.inactivity",
              "rejected.other",
              "rejected.unsupported_business",
              "requirements.fields_needed"
            ],
            "nullable": true,
            "type": "string"
          },
          "errors": {
            "description": "Fields that are `currently_due` and need to be collected again because validation or verification failed.",
            "items": {
              "$ref": "#/components/schemas/account_requirements_error"
            },
            "type": "array"
          },
          "eventually_due": {
            "description": "Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well, and `current_deadline` becomes set.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "past_due": {
            "description": "Fields that weren't collected by `current_deadline`. These fields need to be collected to enable the capability on the account.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "pending_verification": {
            "description": "Fields that might become required depending on the results of verification or review. It's an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due`, `currently_due`, or `past_due`. Fields might appear in `eventually_due`, `currently_due`, or `past_due` and in `pending_verification` if verification fails but another verification is still pending.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "alternatives",
          "current_deadline",
          "currently_due",
          "disabled_reason",
          "errors",
          "eventually_due",
          "past_due",
          "pending_verification"
        ],
        "title": "AccountCapabilityRequirements",
        "type": "object",
        "x-expandableFields": [
          "alternatives",
          "errors"
        ],
        "x-stripeMostCommon": [
          "alternatives",
          "current_deadline",
          "currently_due",
          "disabled_reason",
          "errors",
          "eventually_due",
          "past_due",
          "pending_verification"
        ]
      },
      "account_card_issuing_settings": {
        "description": "",
        "properties": {
          "tos_acceptance": {
            "$ref": "#/components/schemas/card_issuing_account_terms_of_service"
          }
        },
        "title": "AccountCardIssuingSettings",
        "type": "object",
        "x-expandableFields": [
          "tos_acceptance"
        ],
        "x-stripeMostCommon": [
          "tos_acceptance"
        ]
      },
      "account_card_payments_settings": {
        "description": "",
        "properties": {
          "decline_on": {
            "$ref": "#/components/schemas/account_decline_charge_on"
          },
          "statement_descriptor_prefix": {
            "description": "The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic `statement_descriptor` specified on the charge. `statement_descriptor_prefix` is useful for maximizing descriptor space for the dynamic portion.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "statement_descriptor_prefix_kana": {
            "description": "The Kana variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kana` specified on the charge. `statement_descriptor_prefix_kana` is useful for maximizing descriptor space for the dynamic portion.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "statement_descriptor_prefix_kanji": {
            "description": "The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kanji` specified on the charge. `statement_descriptor_prefix_kanji` is useful for maximizing descriptor space for the dynamic portion.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "statement_descriptor_prefix",
          "statement_descriptor_prefix_kana",
          "statement_descriptor_prefix_kanji"
        ],
        "title": "AccountCardPaymentsSettings",
        "type": "object",
        "x-expandableFields": [
          "decline_on"
        ],
        "x-stripeMostCommon": [
          "decline_on",
          "statement_descriptor_prefix",
          "statement_descriptor_prefix_kana",
          "statement_descriptor_prefix_kanji"
        ]
      },
      "account_dashboard_settings": {
        "description": "",
        "properties": {
          "display_name": {
            "description": "The display name for this account. This is used on the Stripe Dashboard to differentiate between accounts.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "timezone": {
            "description": "The timezone used in the Stripe Dashboard for this account. A list of possible time zone values is maintained at the [IANA Time Zone Database](http://www.iana.org/time-zones).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "display_name",
          "timezone"
        ],
        "title": "AccountDashboardSettings",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "display_name",
          "timezone"
        ]
      },
      "account_decline_charge_on": {
        "description": "",
        "properties": {
          "avs_failure": {
            "description": "Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification.",
            "type": "boolean"
          },
          "cvc_failure": {
            "description": "Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.",
            "type": "boolean"
          }
        },
        "required": [
          "avs_failure",
          "cvc_failure"
        ],
        "title": "AccountDeclineChargeOn",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "avs_failure",
          "cvc_failure"
        ]
      },
      "account_future_requirements": {
        "description": "",
        "properties": {
          "alternatives": {
            "description": "Fields that are due and can be satisfied by providing the corresponding alternative fields instead.",
            "items": {
              "$ref": "#/components/schemas/account_requirements_alternative"
            },
            "nullable": true,
            "type": "array"
          },
          "current_deadline": {
            "description": "Date on which `future_requirements` merges with the main `requirements` hash and `future_requirements` becomes empty. After the transition, `currently_due` requirements may immediately become `past_due`, but the account may also be given a grace period depending on its enablement state prior to transitioning.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "currently_due": {
            "description": "Fields that need to be collected to keep the account enabled. If not collected by `future_requirements[current_deadline]`, these fields will transition to the main `requirements` hash.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "disabled_reason": {
            "description": "This is typed as an enum for consistency with `requirements.disabled_reason`.",
            "enum": [
              "action_required.requested_capabilities",
              "listed",
              "other",
              "platform_paused",
              "rejected.fraud",
              "rejected.incomplete_verification",
              "rejected.listed",
              "rejected.other",
              "rejected.platform_fraud",
              "rejected.platform_other",
              "rejected.platform_terms_of_service",
              "rejected.terms_of_service",
              "requirements.past_due",
              "requirements.pending_verification",
              "under_review"
            ],
            "nullable": true,
            "type": "string"
          },
          "errors": {
            "description": "Fields that are `currently_due` and need to be collected again because validation or verification failed.",
            "items": {
              "$ref": "#/components/schemas/account_requirements_error"
            },
            "nullable": true,
            "type": "array"
          },
          "eventually_due": {
            "description": "Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "past_due": {
            "description": "Fields that weren't collected by `requirements.current_deadline`. These fields need to be collected to enable the capability on the account. New fields will never appear here; `future_requirements.past_due` will always be a subset of `requirements.past_due`.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "pending_verification": {
            "description": "Fields that might become required depending on the results of verification or review. It's an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due` or `currently_due`. Fields might appear in `eventually_due` or `currently_due` and in `pending_verification` if verification fails but another verification is still pending.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "required": [
          "alternatives",
          "current_deadline",
          "currently_due",
          "disabled_reason",
          "errors",
          "eventually_due",
          "past_due",
          "pending_verification"
        ],
        "title": "AccountFutureRequirements",
        "type": "object",
        "x-expandableFields": [
          "alternatives",
          "errors"
        ],
        "x-stripeMostCommon": [
          "alternatives",
          "current_deadline",
          "currently_due",
          "disabled_reason",
          "errors",
          "eventually_due",
          "past_due",
          "pending_verification"
        ]
      },
      "account_group_membership": {
        "description": "",
        "properties": {
          "payments_pricing": {
            "description": "The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/docs/connect/platform-pricing-tools) for details.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "payments_pricing"
        ],
        "title": "AccountGroupMembership",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "payments_pricing"
        ]
      },
      "account_invoices_settings": {
        "description": "",
        "properties": {
          "default_account_tax_ids": {
            "description": "The list of default Account Tax IDs to automatically include on invoices. Account Tax IDs get added when an invoice is finalized.",
            "items": {
              "anyOf": [
                {
                  "maxLength": 5000,
                  "type": "string"
                },
                {
                  "$ref": "#/components/schemas/tax_id"
                }
              ],
              "x-expansionResources": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/tax_id"
                  }
                ]
              }
            },
            "nullable": true,
            "type": "array"
          }
        },
        "required": [
          "default_account_tax_ids"
        ],
        "title": "AccountInvoicesSettings",
        "type": "object",
        "x-expandableFields": [
          "default_account_tax_ids"
        ],
        "x-stripeMostCommon": [
          "default_account_tax_ids"
        ]
      },
      "account_link": {
        "description": "Account Links are the means by which a Connect platform grants a connected account permission to access\nStripe-hosted applications, such as Connect Onboarding.\n\nRelated guide: [Connect Onboarding](https://stripe.com/docs/connect/custom/hosted-onboarding)",
        "properties": {
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "expires_at": {
            "description": "The timestamp at which this account link will expire.",
            "format": "unix-time",
            "type": "integer"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "account_link"
            ],
            "type": "string"
          },
          "url": {
            "description": "The URL for the account link.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "created",
          "expires_at",
          "object",
          "url"
        ],
        "title": "AccountLink",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "account_link",
        "x-stripeMostCommon": [
          "expires_at",
          "url"
        ],
        "x-stripeOperations": [
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/account_links"
          }
        ],
        "x-stripeResource": {
          "class_name": "AccountLink",
          "in_package": ""
        }
      },
      "account_monthly_estimated_revenue": {
        "description": "",
        "properties": {
          "amount": {
            "description": "A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal).",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          }
        },
        "required": [
          "amount",
          "currency"
        ],
        "title": "AccountMonthlyEstimatedRevenue",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "amount",
          "currency"
        ]
      },
      "account_payments_settings": {
        "description": "",
        "properties": {
          "statement_descriptor": {
            "description": "The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic `statement_descriptor` specified on the charge.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "statement_descriptor_kana": {
            "description": "The Kana variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "statement_descriptor_kanji": {
            "description": "The Kanji variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "statement_descriptor_prefix_kana": {
            "description": "The Kana variation of `statement_descriptor_prefix` used for card charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "statement_descriptor_prefix_kanji": {
            "description": "The Kanji variation of `statement_descriptor_prefix` used for card charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "statement_descriptor",
          "statement_descriptor_kana",
          "statement_descriptor_kanji",
          "statement_descriptor_prefix_kana",
          "statement_descriptor_prefix_kanji"
        ],
        "title": "AccountPaymentsSettings",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "statement_descriptor",
          "statement_descriptor_kana",
          "statement_descriptor_kanji",
          "statement_descriptor_prefix_kana",
          "statement_descriptor_prefix_kanji"
        ]
      },
      "account_payout_settings": {
        "description": "",
        "properties": {
          "debit_negative_balances": {
            "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": "boolean"
          },
          "schedule": {
            "$ref": "#/components/schemas/transfer_schedule"
          },
          "statement_descriptor": {
            "description": "The text that appears on the bank account statement for payouts. If not set, this defaults to the platform's bank descriptor as set in the Dashboard.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "debit_negative_balances",
          "schedule",
          "statement_descriptor"
        ],
        "title": "AccountPayoutSettings",
        "type": "object",
        "x-expandableFields": [
          "schedule"
        ],
        "x-stripeMostCommon": [
          "debit_negative_balances",
          "schedule",
          "statement_descriptor"
        ]
      },
      "account_requirements": {
        "description": "",
        "properties": {
          "alternatives": {
            "description": "Fields that are due and can be satisfied by providing the corresponding alternative fields instead.",
            "items": {
              "$ref": "#/components/schemas/account_requirements_alternative"
            },
            "nullable": true,
            "type": "array"
          },
          "current_deadline": {
            "description": "Date by which the fields in `currently_due` must be collected to keep the account enabled. These fields may disable the account sooner if the next threshold is reached before they are collected.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "currently_due": {
            "description": "Fields that need to be collected to keep the account enabled. If not collected by `current_deadline`, these fields appear in `past_due` as well, and the account is disabled.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "disabled_reason": {
            "description": "If the account is disabled, this enum describes why. [Learn more about handling verification issues](https://stripe.com/docs/connect/handling-api-verification).",
            "enum": [
              "action_required.requested_capabilities",
              "listed",
              "other",
              "platform_paused",
              "rejected.fraud",
              "rejected.incomplete_verification",
              "rejected.listed",
              "rejected.other",
              "rejected.platform_fraud",
              "rejected.platform_other",
              "rejected.platform_terms_of_service",
              "rejected.terms_of_service",
              "requirements.past_due",
              "requirements.pending_verification",
              "under_review"
            ],
            "nullable": true,
            "type": "string"
          },
          "errors": {
            "description": "Fields that are `currently_due` and need to be collected again because validation or verification failed.",
            "items": {
              "$ref": "#/components/schemas/account_requirements_error"
            },
            "nullable": true,
            "type": "array"
          },
          "eventually_due": {
            "description": "Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well, and `current_deadline` becomes set.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "past_due": {
            "description": "Fields that weren't collected by `current_deadline`. These fields need to be collected to enable the account.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "pending_verification": {
            "description": "Fields that might become required depending on the results of verification or review. It's an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due`, `currently_due`, or `past_due`. Fields might appear in `eventually_due`, `currently_due`, or `past_due` and in `pending_verification` if verification fails but another verification is still pending.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "required": [
          "alternatives",
          "current_deadline",
          "currently_due",
          "disabled_reason",
          "errors",
          "eventually_due",
          "past_due",
          "pending_verification"
        ],
        "title": "AccountRequirements",
        "type": "object",
        "x-expandableFields": [
          "alternatives",
          "errors"
        ],
        "x-stripeMostCommon": [
          "alternatives",
          "current_deadline",
          "currently_due",
          "disabled_reason",
          "errors",
          "eventually_due",
          "past_due",
          "pending_verification"
        ]
      },
      "account_requirements_alternative": {
        "description": "",
        "properties": {
          "alternative_fields_due": {
            "description": "Fields that can be provided to satisfy all fields in `original_fields_due`.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "original_fields_due": {
            "description": "Fields that are due and can be satisfied by providing all fields in `alternative_fields_due`.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "alternative_fields_due",
          "original_fields_due"
        ],
        "title": "AccountRequirementsAlternative",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "alternative_fields_due",
          "original_fields_due"
        ]
      },
      "account_requirements_error": {
        "description": "",
        "properties": {
          "code": {
            "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_dob_age_under_minimum",
              "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",
              "verification_document_address_missing",
              "verification_document_corrupt",
              "verification_document_country_not_supported",
              "verification_document_directors_mismatch",
              "verification_document_dob_mismatch",
              "verification_document_duplicate_type",
              "verification_document_expired",
              "verification_document_failed_copy",
              "verification_document_failed_greyscale",
              "verification_document_failed_other",
              "verification_document_failed_test_mode",
              "verification_document_fraudulent",
              "verification_document_id_number_mismatch",
              "verification_document_id_number_missing",
              "verification_document_incomplete",
              "verification_document_invalid",
              "verification_document_issue_or_expiry_date_missing",
              "verification_document_manipulated",
              "verification_document_missing_back",
              "verification_document_missing_front",
              "verification_document_name_mismatch",
              "verification_document_name_missing",
              "verification_document_nationality_mismatch",
              "verification_document_not_readable",
              "verification_document_not_signed",
              "verification_document_not_uploaded",
              "verification_document_photo_mismatch",
              "verification_document_too_large",
              "verification_document_type_not_supported",
              "verification_extraneous_directors",
              "verification_failed_address_match",
              "verification_failed_business_iec_number",
              "verification_failed_document_match",
              "verification_failed_id_number_match",
              "verification_failed_keyed_identity",
              "verification_failed_keyed_match",
              "verification_failed_name_match",
              "verification_failed_other",
              "verification_failed_representative_authority",
              "verification_failed_residential_address",
              "verification_failed_tax_id_match",
              "verification_failed_tax_id_not_issued",
              "verification_missing_directors",
              "verification_missing_executives",
              "verification_missing_owners",
              "verification_requires_additional_memorandum_of_associations",
              "verification_requires_additional_proof_of_registration",
              "verification_supportability"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "reason": {
            "description": "An informative message that indicates the error type and provides additional details about the error.",
            "maxLength": 5000,
            "type": "string"
          },
          "requirement": {
            "description": "The specific user onboarding requirement field (in the requirements hash) that needs to be resolved.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "code",
          "reason",
          "requirement"
        ],
        "title": "AccountRequirementsError",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "code",
          "reason",
          "requirement"
        ]
      },
      "account_sepa_debit_payments_settings": {
        "description": "",
        "properties": {
          "creditor_id": {
            "description": "SEPA creditor identifier that identifies the company making the payment.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "title": "AccountSepaDebitPaymentsSettings",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "creditor_id"
        ]
      },
      "account_session": {
        "description": "An AccountSession allows a Connect platform to grant access to a connected account in Connect embedded components.\n\nWe recommend that you create an AccountSession each time you need to display an embedded component\nto your user. Do not save AccountSessions to your database as they expire relatively\nquickly, and cannot be used more than once.\n\nRelated guide: [Connect embedded components](https://stripe.com/docs/connect/get-started-connect-embedded-components)",
        "properties": {
          "account": {
            "description": "The ID of the account the AccountSession was created for",
            "maxLength": 5000,
            "type": "string"
          },
          "client_secret": {
            "description": "The client secret of this AccountSession. Used on the client to set up secure access to the given `account`.\n\nThe client secret can be used to provide access to `account` from your frontend. It should not be stored, logged, or exposed to anyone other than the connected account. Make sure that you have TLS enabled on any page that includes the client secret.\n\nRefer to our docs to [setup Connect embedded components](https://stripe.com/docs/connect/get-started-connect-embedded-components) and learn about how `client_secret` should be handled.",
            "maxLength": 5000,
            "type": "string"
          },
          "components": {
            "$ref": "#/components/schemas/connect_embedded_account_session_create_components"
          },
          "expires_at": {
            "description": "The timestamp at which this AccountSession will expire.",
            "format": "unix-time",
            "type": "integer"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "account_session"
            ],
            "type": "string"
          }
        },
        "required": [
          "account",
          "client_secret",
          "components",
          "expires_at",
          "livemode",
          "object"
        ],
        "title": "ConnectEmbeddedMethodAccountSessionCreateMethodAccountSession",
        "type": "object",
        "x-expandableFields": [
          "components"
        ],
        "x-resourceId": "account_session",
        "x-stripeMostCommon": [
          "account",
          "client_secret",
          "components",
          "expires_at"
        ],
        "x-stripeOperations": [
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/account_sessions"
          }
        ],
        "x-stripeResource": {
          "class_name": "AccountSession",
          "in_package": ""
        }
      },
      "account_settings": {
        "description": "",
        "properties": {
          "bacs_debit_payments": {
            "$ref": "#/components/schemas/account_bacs_debit_payments_settings"
          },
          "branding": {
            "$ref": "#/components/schemas/account_branding_settings"
          },
          "card_issuing": {
            "$ref": "#/components/schemas/account_card_issuing_settings"
          },
          "card_payments": {
            "$ref": "#/components/schemas/account_card_payments_settings"
          },
          "dashboard": {
            "$ref": "#/components/schemas/account_dashboard_settings"
          },
          "invoices": {
            "$ref": "#/components/schemas/account_invoices_settings"
          },
          "payments": {
            "$ref": "#/components/schemas/account_payments_settings"
          },
          "payouts": {
            "$ref": "#/components/schemas/account_payout_settings"
          },
          "sepa_debit_payments": {
            "$ref": "#/components/schemas/account_sepa_debit_payments_settings"
          },
          "treasury": {
            "$ref": "#/components/schemas/account_treasury_settings"
          }
        },
        "required": [
          "branding",
          "card_payments",
          "dashboard",
          "payments"
        ],
        "title": "AccountSettings",
        "type": "object",
        "x-expandableFields": [
          "bacs_debit_payments",
          "branding",
          "card_issuing",
          "card_payments",
          "dashboard",
          "invoices",
          "payments",
          "payouts",
          "sepa_debit_payments",
          "treasury"
        ],
        "x-stripeMostCommon": [
          "bacs_debit_payments",
          "branding",
          "card_issuing",
          "card_payments",
          "dashboard",
          "invoices",
          "payments",
          "payouts",
          "sepa_debit_payments",
          "treasury"
        ]
      },
      "account_terms_of_service": {
        "description": "",
        "properties": {
          "date": {
            "description": "The Unix timestamp marking when the account representative accepted the service agreement.",
            "nullable": true,
            "type": "integer"
          },
          "ip": {
            "description": "The IP address from which the account representative accepted the service agreement.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "user_agent": {
            "description": "The user agent of the browser from which the account representative accepted the service agreement.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "date",
          "ip"
        ],
        "title": "AccountTermsOfService",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "date",
          "ip",
          "user_agent"
        ]
      },
      "account_tos_acceptance": {
        "description": "",
        "properties": {
          "date": {
            "description": "The Unix timestamp marking when the account representative accepted their service agreement",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "ip": {
            "description": "The IP address from which the account representative accepted their service agreement",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "service_agreement": {
            "description": "The user's service agreement type",
            "maxLength": 5000,
            "type": "string"
          },
          "user_agent": {
            "description": "The user agent of the browser from which the account representative accepted their service agreement",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "title": "AccountTOSAcceptance",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "date",
          "ip",
          "service_agreement",
          "user_agent"
        ]
      },
      "account_treasury_settings": {
        "description": "",
        "properties": {
          "tos_acceptance": {
            "$ref": "#/components/schemas/account_terms_of_service"
          }
        },
        "title": "AccountTreasurySettings",
        "type": "object",
        "x-expandableFields": [
          "tos_acceptance"
        ],
        "x-stripeMostCommon": [
          "tos_acceptance"
        ]
      },
      "account_unification_account_controller": {
        "description": "",
        "properties": {
          "fees": {
            "$ref": "#/components/schemas/account_unification_account_controller_fees"
          },
          "is_controller": {
            "description": "`true` if the Connect application retrieving the resource controls the account and can therefore exercise [platform controls](https://stripe.com/docs/connect/platform-controls-for-standard-accounts). Otherwise, this field is null.",
            "type": "boolean"
          },
          "losses": {
            "$ref": "#/components/schemas/account_unification_account_controller_losses"
          },
          "requirement_collection": {
            "description": "A value indicating responsibility for collecting requirements on this account. Only returned when the Connect application retrieving the resource controls the account.",
            "enum": [
              "application",
              "stripe"
            ],
            "type": "string"
          },
          "stripe_dashboard": {
            "$ref": "#/components/schemas/account_unification_account_controller_stripe_dashboard"
          },
          "type": {
            "description": "The controller type. Can be `application`, if a Connect application controls the account, or `account`, if the account controls itself.",
            "enum": [
              "account",
              "application"
            ],
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "title": "AccountUnificationAccountController",
        "type": "object",
        "x-expandableFields": [
          "fees",
          "losses",
          "stripe_dashboard"
        ],
        "x-stripeMostCommon": [
          "fees",
          "is_controller",
          "losses",
          "requirement_collection",
          "stripe_dashboard",
          "type"
        ]
      },
      "account_unification_account_controller_fees": {
        "description": "",
        "properties": {
          "payer": {
            "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).",
            "enum": [
              "account",
              "application",
              "application_custom",
              "application_express"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "payer"
        ],
        "title": "AccountUnificationAccountControllerFees",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "payer"
        ]
      },
      "account_unification_account_controller_losses": {
        "description": "",
        "properties": {
          "payments": {
            "description": "A value indicating who is liable when this account can't pay back negative balances from payments.",
            "enum": [
              "application",
              "stripe"
            ],
            "type": "string"
          }
        },
        "required": [
          "payments"
        ],
        "title": "AccountUnificationAccountControllerLosses",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "payments"
        ]
      },
      "account_unification_account_controller_stripe_dashboard": {
        "description": "",
        "properties": {
          "type": {
            "description": "A value indicating the Stripe dashboard this account has access to independent of the Connect application.",
            "enum": [
              "express",
              "full",
              "none"
            ],
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "title": "AccountUnificationAccountControllerStripeDashboard",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "type"
        ]
      },
      "address": {
        "description": "",
        "properties": {
          "city": {
            "description": "City, district, suburb, town, or village.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "country": {
            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "line1": {
            "description": "Address line 1 (e.g., street, PO Box, or company name).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "line2": {
            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "postal_code": {
            "description": "ZIP or postal code.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "state": {
            "description": "State, county, province, or region.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "city",
          "country",
          "line1",
          "line2",
          "postal_code",
          "state"
        ],
        "title": "Address",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "city",
          "country",
          "line1",
          "line2",
          "postal_code",
          "state"
        ],
        "x-stripeResource": {
          "class_name": "Address",
          "in_package": ""
        }
      },
      "api_errors": {
        "description": "",
        "properties": {
          "charge": {
            "description": "For card errors, the ID of the failed charge.",
            "maxLength": 5000,
            "type": "string"
          },
          "code": {
            "description": "For some errors that could be handled programmatically, a short string indicating the [error code](https://stripe.com/docs/error-codes) reported.",
            "enum": [
              "account_closed",
              "account_country_invalid_address",
              "account_error_country_change_requires_additional_steps",
              "account_information_mismatch",
              "account_invalid",
              "account_number_invalid",
              "acss_debit_session_incomplete",
              "alipay_upgrade_required",
              "amount_too_large",
              "amount_too_small",
              "api_key_expired",
              "application_fees_not_allowed",
              "authentication_required",
              "balance_insufficient",
              "balance_invalid_parameter",
              "bank_account_bad_routing_numbers",
              "bank_account_declined",
              "bank_account_exists",
              "bank_account_restricted",
              "bank_account_unusable",
              "bank_account_unverified",
              "bank_account_verification_failed",
              "billing_invalid_mandate",
              "bitcoin_upgrade_required",
              "capture_charge_authorization_expired",
              "capture_unauthorized_payment",
              "card_decline_rate_limit_exceeded",
              "card_declined",
              "cardholder_phone_number_required",
              "charge_already_captured",
              "charge_already_refunded",
              "charge_disputed",
              "charge_exceeds_source_limit",
              "charge_exceeds_transaction_limit",
              "charge_expired_for_capture",
              "charge_invalid_parameter",
              "charge_not_refundable",
              "clearing_code_unsupported",
              "country_code_invalid",
              "country_unsupported",
              "coupon_expired",
              "customer_max_payment_methods",
              "customer_max_subscriptions",
              "customer_tax_location_invalid",
              "debit_not_authorized",
              "email_invalid",
              "expired_card",
              "financial_connections_account_inactive",
              "financial_connections_no_successful_transaction_refresh",
              "forwarding_api_inactive",
              "forwarding_api_invalid_parameter",
              "forwarding_api_upstream_connection_error",
              "forwarding_api_upstream_connection_timeout",
              "idempotency_key_in_use",
              "incorrect_address",
              "incorrect_cvc",
              "incorrect_number",
              "incorrect_zip",
              "instant_payouts_config_disabled",
              "instant_payouts_currency_disabled",
              "instant_payouts_limit_exceeded",
              "instant_payouts_unsupported",
              "insufficient_funds",
              "intent_invalid_state",
              "intent_verification_method_missing",
              "invalid_card_type",
              "invalid_characters",
              "invalid_charge_amount",
              "invalid_cvc",
              "invalid_expiry_month",
              "invalid_expiry_year",
              "invalid_mandate_reference_prefix_format",
              "invalid_number",
              "invalid_source_usage",
              "invalid_tax_location",
              "invoice_no_customer_line_items",
              "invoice_no_payment_method_types",
              "invoice_no_subscription_line_items",
              "invoice_not_editable",
              "invoice_on_behalf_of_not_editable",
              "invoice_payment_intent_requires_action",
              "invoice_upcoming_none",
              "livemode_mismatch",
              "lock_timeout",
              "missing",
              "no_account",
              "not_allowed_on_standard_account",
              "out_of_inventory",
              "ownership_declaration_not_allowed",
              "parameter_invalid_empty",
              "parameter_invalid_integer",
              "parameter_invalid_string_blank",
              "parameter_invalid_string_empty",
              "parameter_missing",
              "parameter_unknown",
              "parameters_exclusive",
              "payment_intent_action_required",
              "payment_intent_authentication_failure",
              "payment_intent_incompatible_payment_method",
              "payment_intent_invalid_parameter",
              "payment_intent_konbini_rejected_confirmation_number",
              "payment_intent_mandate_invalid",
              "payment_intent_payment_attempt_expired",
              "payment_intent_payment_attempt_failed",
              "payment_intent_unexpected_state",
              "payment_method_bank_account_already_verified",
              "payment_method_bank_account_blocked",
              "payment_method_billing_details_address_missing",
              "payment_method_configuration_failures",
              "payment_method_currency_mismatch",
              "payment_method_customer_decline",
              "payment_method_invalid_parameter",
              "payment_method_invalid_parameter_testmode",
              "payment_method_microdeposit_failed",
              "payment_method_microdeposit_verification_amounts_invalid",
              "payment_method_microdeposit_verification_amounts_mismatch",
              "payment_method_microdeposit_verification_attempts_exceeded",
              "payment_method_microdeposit_verification_descriptor_code_mismatch",
              "payment_method_microdeposit_verification_timeout",
              "payment_method_not_available",
              "payment_method_provider_decline",
              "payment_method_provider_timeout",
              "payment_method_unactivated",
              "payment_method_unexpected_state",
              "payment_method_unsupported_type",
              "payout_reconciliation_not_ready",
              "payouts_limit_exceeded",
              "payouts_not_allowed",
              "platform_account_required",
              "platform_api_key_expired",
              "postal_code_invalid",
              "processing_error",
              "product_inactive",
              "progressive_onboarding_limit_exceeded",
              "rate_limit",
              "refer_to_customer",
              "refund_disputed_payment",
              "resource_already_exists",
              "resource_missing",
              "return_intent_already_processed",
              "routing_number_invalid",
              "secret_key_required",
              "sepa_unsupported_account",
              "setup_attempt_failed",
              "setup_intent_authentication_failure",
              "setup_intent_invalid_parameter",
              "setup_intent_mandate_invalid",
              "setup_intent_setup_attempt_expired",
              "setup_intent_unexpected_state",
              "shipping_address_invalid",
              "shipping_calculation_failed",
              "sku_inactive",
              "state_unsupported",
              "status_transition_invalid",
              "stripe_tax_inactive",
              "tax_id_invalid",
              "taxes_calculation_failed",
              "terminal_location_country_unsupported",
              "terminal_reader_busy",
              "terminal_reader_hardware_fault",
              "terminal_reader_invalid_location_for_activation",
              "terminal_reader_invalid_location_for_payment",
              "terminal_reader_offline",
              "terminal_reader_timeout",
              "testmode_charges_only",
              "tls_version_unsupported",
              "token_already_used",
              "token_card_network_invalid",
              "token_in_use",
              "transfer_source_balance_parameters_mismatch",
              "transfers_not_allowed",
              "url_invalid"
            ],
            "maxLength": 5000,
            "type": "string"
          },
          "decline_code": {
            "description": "For card errors resulting from a card issuer decline, a short string indicating the [card issuer's reason for the decline](https://stripe.com/docs/declines#issuer-declines) if they provide one.",
            "maxLength": 5000,
            "type": "string"
          },
          "doc_url": {
            "description": "A URL to more information about the [error code](https://stripe.com/docs/error-codes) reported.",
            "maxLength": 5000,
            "type": "string"
          },
          "message": {
            "description": "A human-readable message providing more details about the error. For card errors, these messages can be shown to your users.",
            "maxLength": 40000,
            "type": "string"
          },
          "param": {
            "description": "If the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field.",
            "maxLength": 5000,
            "type": "string"
          },
          "payment_intent": {
            "$ref": "#/components/schemas/payment_intent"
          },
          "payment_method": {
            "$ref": "#/components/schemas/payment_method"
          },
          "payment_method_type": {
            "description": "If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors.",
            "maxLength": 5000,
            "type": "string"
          },
          "request_log_url": {
            "description": "A URL to the request log entry in your dashboard.",
            "maxLength": 5000,
            "type": "string"
          },
          "setup_intent": {
            "$ref": "#/components/schemas/setup_intent"
          },
          "source": {
            "$ref": "#/components/schemas/payment_source"
          },
          "type": {
            "description": "The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error`",
            "enum": [
              "api_error",
              "card_error",
              "idempotency_error",
              "invalid_request_error"
            ],
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "title": "APIErrors",
        "type": "object",
        "x-expandableFields": [
          "payment_intent",
          "payment_method",
          "setup_intent",
          "source"
        ],
        "x-stripeMostCommon": [
          "code",
          "decline_code",
          "message",
          "param",
          "payment_intent",
          "type"
        ],
        "x-stripeResource": {
          "class_name": "StripeError",
          "in_package": ""
        }
      },
      "apple_pay_domain": {
        "description": "",
        "properties": {
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "domain_name": {
            "maxLength": 5000,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "apple_pay_domain"
            ],
            "type": "string"
          }
        },
        "required": [
          "created",
          "domain_name",
          "id",
          "livemode",
          "object"
        ],
        "title": "ApplePayDomain",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "apple_pay_domain",
        "x-stripeMostCommon": [
          "created",
          "domain_name",
          "id",
          "livemode",
          "object"
        ],
        "x-stripeOperations": [
          {
            "method_name": "delete",
            "method_on": "service",
            "method_type": "delete",
            "operation": "delete",
            "path": "/v1/apple_pay/domains/{domain}"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/apple_pay/domains"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/apple_pay/domains/{domain}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/apple_pay/domains"
          }
        ],
        "x-stripeResource": {
          "class_name": "ApplePayDomain",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "application": {
        "description": "",
        "properties": {
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "name": {
            "description": "The name of the application.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "application"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "object"
        ],
        "title": "Application",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "id",
          "name",
          "object"
        ],
        "x-stripeResource": {
          "class_name": "Application",
          "in_package": ""
        }
      },
      "application_fee": {
        "description": "",
        "properties": {
          "account": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/account"
              }
            ],
            "description": "ID of the Stripe account this fee was taken from.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/account"
                }
              ]
            }
          },
          "amount": {
            "description": "Amount earned, in cents (or local equivalent).",
            "type": "integer"
          },
          "amount_refunded": {
            "description": "Amount in cents (or local equivalent) refunded (can be less than the amount attribute on the fee if a partial refund was issued)",
            "type": "integer"
          },
          "application": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/application"
              }
            ],
            "description": "ID of the Connect application that earned the fee.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/application"
                }
              ]
            }
          },
          "balance_transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/balance_transaction"
              }
            ],
            "description": "Balance transaction that describes the impact of this collected application fee on your account balance (not including refunds).",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/balance_transaction"
                }
              ]
            }
          },
          "charge": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/charge"
              }
            ],
            "description": "ID of the charge that the application fee was taken from.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/charge"
                }
              ]
            }
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "fee_source": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/platform_earning_fee_source"
              }
            ],
            "description": "Polymorphic source of the application fee. Includes the ID of the object the application fee was created from.",
            "nullable": true
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "application_fee"
            ],
            "type": "string"
          },
          "originating_transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/charge"
              }
            ],
            "description": "ID of the corresponding charge on the platform account, if this fee was the result of a charge using the `destination` parameter.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/charge"
                }
              ]
            }
          },
          "refunded": {
            "description": "Whether the fee has been fully refunded. If the fee is only partially refunded, this attribute will still be false.",
            "type": "boolean"
          },
          "refunds": {
            "description": "A list of refunds that have been applied to the fee.",
            "properties": {
              "data": {
                "description": "Details about each object.",
                "items": {
                  "$ref": "#/components/schemas/fee_refund"
                },
                "type": "array"
              },
              "has_more": {
                "description": "True if this list has another page of items after this one that can be fetched.",
                "type": "boolean"
              },
              "object": {
                "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                "enum": [
                  "list"
                ],
                "type": "string"
              },
              "url": {
                "description": "The URL where this list can be accessed.",
                "maxLength": 5000,
                "type": "string"
              }
            },
            "required": [
              "data",
              "has_more",
              "object",
              "url"
            ],
            "title": "FeeRefundList",
            "type": "object",
            "x-expandableFields": [
              "data"
            ],
            "x-stripeMostCommon": [
              "data",
              "has_more",
              "object",
              "url"
            ]
          }
        },
        "required": [
          "account",
          "amount",
          "amount_refunded",
          "application",
          "balance_transaction",
          "charge",
          "created",
          "currency",
          "fee_source",
          "id",
          "livemode",
          "object",
          "originating_transaction",
          "refunded",
          "refunds"
        ],
        "title": "PlatformFee",
        "type": "object",
        "x-expandableFields": [
          "account",
          "application",
          "balance_transaction",
          "charge",
          "fee_source",
          "originating_transaction",
          "refunds"
        ],
        "x-resourceId": "application_fee",
        "x-stripeMostCommon": [
          "account",
          "amount",
          "amount_refunded",
          "application",
          "balance_transaction",
          "charge",
          "created",
          "currency",
          "fee_source",
          "id",
          "livemode",
          "object",
          "originating_transaction",
          "refunded",
          "refunds"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/application_fees"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/application_fees/{id}"
          }
        ],
        "x-stripeResource": {
          "class_name": "ApplicationFee",
          "has_collection_class": true,
          "in_package": "",
          "polymorphic_groups": [
            "balance_transaction_source"
          ]
        }
      },
      "application_fee.created": {
        "description": "Occurs whenever an application fee is created on a charge.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/application_fee"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "application_fee.created"
        }
      },
      "application_fee.refund.updated": {
        "description": "Occurs whenever an application fee refund is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/fee_refund"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "application_fee.refund.updated"
        }
      },
      "application_fee.refunded": {
        "description": "Occurs whenever an application fee is refunded, whether from refunding a charge or from [refunding the application fee directly](#fee_refunds). This includes partial refunds.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/application_fee"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "application_fee.refunded"
        }
      },
      "apps.secret": {
        "description": "Secret Store is an API that allows Stripe Apps developers to securely persist secrets for use by UI Extensions and app backends.\n\nThe primary resource in Secret Store is a `secret`. Other apps can't view secrets created by an app. Additionally, secrets are scoped to provide further permission control.\n\nAll Dashboard users and the app backend share `account` scoped secrets. Use the `account` scope for secrets that don't change per-user, like a third-party API key.\n\nA `user` scoped secret is accessible by the app backend and one specific Dashboard user. Use the `user` scope for per-user secrets like per-user OAuth tokens, where different users might have different permissions.\n\nRelated guide: [Store data between page reloads](https://stripe.com/docs/stripe-apps/store-auth-data-custom-objects)",
        "properties": {
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "deleted": {
            "description": "If true, indicates that this secret has been deleted",
            "type": "boolean"
          },
          "expires_at": {
            "description": "The Unix timestamp for the expiry time of the secret, after which the secret deletes.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "name": {
            "description": "A name for the secret that's unique within the scope.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "apps.secret"
            ],
            "type": "string"
          },
          "payload": {
            "description": "The plaintext secret value to be stored.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "scope": {
            "$ref": "#/components/schemas/secret_service_resource_scope"
          }
        },
        "required": [
          "created",
          "expires_at",
          "id",
          "livemode",
          "name",
          "object",
          "scope"
        ],
        "title": "SecretServiceResourceSecret",
        "type": "object",
        "x-expandableFields": [
          "scope"
        ],
        "x-resourceId": "apps.secret",
        "x-stripeMostCommon": [
          "created",
          "deleted",
          "expires_at",
          "id",
          "livemode",
          "name",
          "object",
          "payload",
          "scope"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/apps/secrets"
          },
          {
            "method_name": "find",
            "method_on": "service",
            "method_type": "custom",
            "operation": "get",
            "path": "/v1/apps/secrets/find"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/apps/secrets"
          },
          {
            "method_name": "delete_where",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/apps/secrets/delete"
          }
        ],
        "x-stripeResource": {
          "class_name": "Secret",
          "has_collection_class": true,
          "in_package": "Apps"
        }
      },
      "automatic_tax": {
        "description": "",
        "properties": {
          "enabled": {
            "description": "Whether Stripe automatically computes tax on this invoice. Note that incompatible invoice items (invoice items with manually specified [tax rates](https://stripe.com/docs/api/tax_rates), negative amounts, or `tax_behavior=unspecified`) cannot be added to automatic tax invoices.",
            "type": "boolean"
          },
          "liability": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/connect_account_reference"
              }
            ],
            "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.",
            "nullable": true
          },
          "status": {
            "description": "The status of the most recent automated tax calculation for this invoice.",
            "enum": [
              "complete",
              "failed",
              "requires_location_inputs"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "enabled",
          "liability",
          "status"
        ],
        "title": "AutomaticTax",
        "type": "object",
        "x-expandableFields": [
          "liability"
        ],
        "x-stripeMostCommon": [
          "enabled",
          "liability",
          "status"
        ]
      },
      "balance": {
        "description": "This is an object representing your Stripe balance. You can retrieve it to see\nthe balance currently on your Stripe account.\n\nYou can also retrieve the balance history, which contains a list of\n[transactions](https://stripe.com/docs/reporting/balance-transaction-types) that contributed to the balance\n(charges, payouts, and so forth).\n\nThe available and pending amounts for each currency are broken down further by\npayment source types.\n\nRelated guide: [Understanding Connect account balances](https://stripe.com/docs/connect/account-balances)",
        "properties": {
          "available": {
            "description": "Available funds that you can transfer or pay out automatically by Stripe or explicitly through the [Transfers API](https://stripe.com/docs/api#transfers) or [Payouts API](https://stripe.com/docs/api#payouts). You can find the available balance for each currency and payment type in the `source_types` property.",
            "items": {
              "$ref": "#/components/schemas/balance_amount"
            },
            "type": "array"
          },
          "connect_reserved": {
            "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.",
            "items": {
              "$ref": "#/components/schemas/balance_amount"
            },
            "type": "array"
          },
          "instant_available": {
            "description": "Funds that you can pay out using Instant Payouts.",
            "items": {
              "$ref": "#/components/schemas/balance_amount_net"
            },
            "type": "array"
          },
          "issuing": {
            "$ref": "#/components/schemas/balance_detail"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "balance"
            ],
            "type": "string"
          },
          "pending": {
            "description": "Funds that aren't available in the balance yet. You can find the pending balance for each currency and each payment type in the `source_types` property.",
            "items": {
              "$ref": "#/components/schemas/balance_amount"
            },
            "type": "array"
          }
        },
        "required": [
          "available",
          "livemode",
          "object",
          "pending"
        ],
        "title": "Balance",
        "type": "object",
        "x-expandableFields": [
          "available",
          "connect_reserved",
          "instant_available",
          "issuing",
          "pending"
        ],
        "x-resourceId": "balance",
        "x-stripeMostCommon": [
          "available",
          "pending"
        ],
        "x-stripeOperations": [
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/balance"
          }
        ],
        "x-stripeResource": {
          "class_name": "Balance",
          "in_package": ""
        }
      },
      "balance.available": {
        "description": "Occurs whenever your Stripe balance has been updated (e.g., when a charge is available to be paid out). By default, Stripe automatically transfers funds in your balance to your bank account on a daily basis. This event is not fired for negative transactions.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/balance"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "balance.available"
        }
      },
      "balance_amount": {
        "description": "",
        "properties": {
          "amount": {
            "description": "Balance amount.",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "source_types": {
            "$ref": "#/components/schemas/balance_amount_by_source_type"
          }
        },
        "required": [
          "amount",
          "currency"
        ],
        "title": "BalanceAmount",
        "type": "object",
        "x-expandableFields": [
          "source_types"
        ],
        "x-stripeMostCommon": [
          "amount",
          "currency",
          "source_types"
        ]
      },
      "balance_amount_by_source_type": {
        "description": "",
        "properties": {
          "bank_account": {
            "description": "Amount for bank account.",
            "type": "integer"
          },
          "card": {
            "description": "Amount for card.",
            "type": "integer"
          },
          "fpx": {
            "description": "Amount for FPX.",
            "type": "integer"
          }
        },
        "title": "BalanceAmountBySourceType",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "bank_account",
          "card",
          "fpx"
        ]
      },
      "balance_amount_net": {
        "description": "",
        "properties": {
          "amount": {
            "description": "Balance amount.",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "net_available": {
            "description": "Breakdown of balance by destination.",
            "items": {
              "$ref": "#/components/schemas/balance_net_available"
            },
            "type": "array"
          },
          "source_types": {
            "$ref": "#/components/schemas/balance_amount_by_source_type"
          }
        },
        "required": [
          "amount",
          "currency"
        ],
        "title": "BalanceAmountNet",
        "type": "object",
        "x-expandableFields": [
          "net_available",
          "source_types"
        ],
        "x-stripeMostCommon": [
          "amount",
          "currency",
          "net_available",
          "source_types"
        ]
      },
      "balance_detail": {
        "description": "",
        "properties": {
          "available": {
            "description": "Funds that are available for use.",
            "items": {
              "$ref": "#/components/schemas/balance_amount"
            },
            "type": "array"
          }
        },
        "required": [
          "available"
        ],
        "title": "BalanceDetail",
        "type": "object",
        "x-expandableFields": [
          "available"
        ],
        "x-stripeMostCommon": [
          "available"
        ]
      },
      "balance_net_available": {
        "description": "",
        "properties": {
          "amount": {
            "description": "Net balance amount, subtracting fees from platform-set pricing.",
            "type": "integer"
          },
          "destination": {
            "description": "ID of the external account for this net balance (not expandable).",
            "maxLength": 5000,
            "type": "string"
          },
          "source_types": {
            "$ref": "#/components/schemas/balance_amount_by_source_type"
          }
        },
        "required": [
          "amount",
          "destination"
        ],
        "title": "BalanceNetAvailable",
        "type": "object",
        "x-expandableFields": [
          "source_types"
        ],
        "x-stripeMostCommon": [
          "amount",
          "destination",
          "source_types"
        ]
      },
      "balance_transaction": {
        "description": "Balance transactions represent funds moving through your Stripe account.\nStripe creates them for every type of transaction that enters or leaves your Stripe account balance.\n\nRelated guide: [Balance transaction types](https://stripe.com/docs/reports/balance-transaction-types)",
        "properties": {
          "amount": {
            "description": "Gross amount of this transaction (in cents (or local equivalent)). A positive value represents funds charged to another party, and a negative value represents funds sent to another party.",
            "type": "integer"
          },
          "available_on": {
            "description": "The date that the transaction's net funds become available in the Stripe balance.",
            "format": "unix-time",
            "type": "integer"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "description": {
            "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "exchange_rate": {
            "description": "If applicable, this transaction uses an exchange rate. If money converts from currency A to currency B, then the `amount` in currency A, multipled by the `exchange_rate`, equals the `amount` in currency B. For example, if you charge a customer 10.00 EUR, the PaymentIntent's `amount` is `1000` and `currency` is `eur`. If this converts to 12.34 USD in your Stripe account, the BalanceTransaction's `amount` is `1234`, its `currency` is `usd`, and the `exchange_rate` is `1.234`.",
            "nullable": true,
            "type": "number"
          },
          "fee": {
            "description": "Fees (in cents (or local equivalent)) paid for this transaction. Represented as a positive integer when assessed.",
            "type": "integer"
          },
          "fee_details": {
            "description": "Detailed breakdown of fees (in cents (or local equivalent)) paid for this transaction.",
            "items": {
              "$ref": "#/components/schemas/fee"
            },
            "type": "array"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "net": {
            "description": "Net impact to a Stripe balance (in cents (or local equivalent)). A positive value represents incrementing a Stripe balance, and a negative value decrementing a Stripe balance. You can calculate the net impact of a transaction on a balance by `amount` - `fee`",
            "type": "integer"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "balance_transaction"
            ],
            "type": "string"
          },
          "reporting_category": {
            "description": "Learn more about how [reporting categories](https://stripe.com/docs/reports/reporting-categories) can help you understand balance transactions from an accounting perspective.",
            "maxLength": 5000,
            "type": "string"
          },
          "source": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/balance_transaction_source"
              }
            ],
            "description": "This transaction relates to the Stripe object.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/balance_transaction_source"
                }
              ]
            }
          },
          "status": {
            "description": "The transaction's net funds status in the Stripe balance, which are either `available` or `pending`.",
            "maxLength": 5000,
            "type": "string"
          },
          "type": {
            "description": "Transaction type: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `stripe_fee`, `stripe_fx_fee`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, or `transfer_refund`. Learn more about [balance transaction types and what they represent](https://stripe.com/docs/reports/balance-transaction-types). To classify transactions for accounting purposes, consider `reporting_category` instead.",
            "enum": [
              "adjustment",
              "advance",
              "advance_funding",
              "anticipation_repayment",
              "application_fee",
              "application_fee_refund",
              "charge",
              "climate_order_purchase",
              "climate_order_refund",
              "connect_collection_transfer",
              "contribution",
              "issuing_authorization_hold",
              "issuing_authorization_release",
              "issuing_dispute",
              "issuing_transaction",
              "obligation_outbound",
              "obligation_reversal_inbound",
              "payment",
              "payment_failure_refund",
              "payment_network_reserve_hold",
              "payment_network_reserve_release",
              "payment_refund",
              "payment_reversal",
              "payment_unreconciled",
              "payout",
              "payout_cancel",
              "payout_failure",
              "refund",
              "refund_failure",
              "reserve_transaction",
              "reserved_funds",
              "stripe_fee",
              "stripe_fx_fee",
              "tax_fee",
              "topup",
              "topup_reversal",
              "transfer",
              "transfer_cancel",
              "transfer_failure",
              "transfer_refund"
            ],
            "type": "string"
          }
        },
        "required": [
          "amount",
          "available_on",
          "created",
          "currency",
          "description",
          "exchange_rate",
          "fee",
          "fee_details",
          "id",
          "net",
          "object",
          "reporting_category",
          "source",
          "status",
          "type"
        ],
        "title": "BalanceTransaction",
        "type": "object",
        "x-expandableFields": [
          "fee_details",
          "source"
        ],
        "x-resourceId": "balance_transaction",
        "x-stripeMostCommon": [
          "amount",
          "currency",
          "description",
          "fee",
          "fee_details",
          "id",
          "net",
          "source",
          "status",
          "type"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/balance_transactions"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/balance_transactions/{id}"
          }
        ],
        "x-stripeResource": {
          "class_name": "BalanceTransaction",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "balance_transaction_source": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/application_fee"
          },
          {
            "$ref": "#/components/schemas/charge"
          },
          {
            "$ref": "#/components/schemas/connect_collection_transfer"
          },
          {
            "$ref": "#/components/schemas/customer_cash_balance_transaction"
          },
          {
            "$ref": "#/components/schemas/dispute"
          },
          {
            "$ref": "#/components/schemas/fee_refund"
          },
          {
            "$ref": "#/components/schemas/issuing.authorization"
          },
          {
            "$ref": "#/components/schemas/issuing.dispute"
          },
          {
            "$ref": "#/components/schemas/issuing.transaction"
          },
          {
            "$ref": "#/components/schemas/payout"
          },
          {
            "$ref": "#/components/schemas/refund"
          },
          {
            "$ref": "#/components/schemas/reserve_transaction"
          },
          {
            "$ref": "#/components/schemas/tax_deducted_at_source"
          },
          {
            "$ref": "#/components/schemas/topup"
          },
          {
            "$ref": "#/components/schemas/transfer"
          },
          {
            "$ref": "#/components/schemas/transfer_reversal"
          }
        ],
        "title": "Polymorphic",
        "x-stripeBypassValidation": true,
        "x-stripeResource": {
          "class_name": "BalanceTransactionSource"
        }
      },
      "bank_account": {
        "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 connected 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)",
        "properties": {
          "account": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/account"
              }
            ],
            "description": "The ID of the account that the bank account is associated with.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/account"
                }
              ]
            }
          },
          "account_holder_name": {
            "description": "The name of the person or business that owns the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "account_holder_type": {
            "description": "The type of entity that holds the account. This can be either `individual` or `company`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "account_type": {
            "description": "The bank account type. This can only be `checking` or `savings` in most countries. In Japan, this can only be `futsu` or `toza`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "available_payout_methods": {
            "description": "A set of available payout methods for this bank account. Only values from this set should be passed as the `method` when creating a payout.",
            "items": {
              "enum": [
                "instant",
                "standard"
              ],
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "bank_name": {
            "description": "Name of the bank associated with the routing number (e.g., `WELLS FARGO`).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "country": {
            "description": "Two-letter ISO code representing the country the bank account is located in.",
            "maxLength": 5000,
            "type": "string"
          },
          "currency": {
            "description": "Three-letter [ISO code for the currency](https://stripe.com/docs/payouts) paid out to the bank account.",
            "type": "string"
          },
          "customer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer"
              },
              {
                "$ref": "#/components/schemas/deleted_customer"
              }
            ],
            "description": "The ID of the customer that the bank account is associated with.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer"
                },
                {
                  "$ref": "#/components/schemas/deleted_customer"
                }
              ]
            }
          },
          "default_for_currency": {
            "description": "Whether this bank account is the default external account for its currency.",
            "nullable": true,
            "type": "boolean"
          },
          "fingerprint": {
            "description": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "future_requirements": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/external_account_requirements"
              }
            ],
            "description": "Information about the [upcoming new requirements for the bank account](https://stripe.com/docs/connect/custom-accounts/future-requirements), including what information needs to be collected, and by when.",
            "nullable": true
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "last4": {
            "description": "The last four digits of the bank account number.",
            "maxLength": 5000,
            "type": "string"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "nullable": true,
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "bank_account"
            ],
            "type": "string"
          },
          "requirements": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/external_account_requirements"
              }
            ],
            "description": "Information about the requirements for the bank account, including what information needs to be collected.",
            "nullable": true
          },
          "routing_number": {
            "description": "The routing transit number for the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "status": {
            "description": "For bank accounts, possible values are `new`, `validated`, `verified`, `verification_failed`, or `errored`. A bank account that hasn't had any activity or validation performed is `new`. If Stripe can determine that the bank account exists, its status will be `validated`. Note that there often isn’t enough information to know (e.g., for smaller credit unions), and the validation is not always run. If customer bank account verification has succeeded, the bank account status will be `verified`. If the verification failed for any reason, such as microdeposit failure, the status will be `verification_failed`. If a payout sent to this bank account fails, we'll set the status to `errored` and will not continue to send [scheduled payouts](https://stripe.com/docs/payouts#payout-schedule) until the bank details are updated.\n\nFor external accounts, possible values are `new`, `errored` and `verification_failed`. If a payout fails, the status is set to `errored` and scheduled payouts are stopped until account details are updated. In the US and India, if we can't [verify the owner of the bank account](https://support.stripe.com/questions/bank-account-ownership-verification), we'll set the status to `verification_failed`. Other validations aren't run against external accounts because they're only used for payouts. This means the other statuses don't apply.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "account_holder_name",
          "account_holder_type",
          "account_type",
          "bank_name",
          "country",
          "currency",
          "fingerprint",
          "id",
          "last4",
          "object",
          "routing_number",
          "status"
        ],
        "title": "BankAccount",
        "type": "object",
        "x-expandableFields": [
          "account",
          "customer",
          "future_requirements",
          "requirements"
        ],
        "x-resourceId": "bank_account",
        "x-stripeMostCommon": [
          "account_holder_name",
          "account_holder_type",
          "bank_name",
          "country",
          "currency",
          "customer",
          "fingerprint",
          "id",
          "last4",
          "metadata",
          "routing_number"
        ],
        "x-stripeOperations": [
          {
            "method_name": "delete",
            "method_on": "service",
            "method_type": "delete",
            "operation": "delete",
            "path": "/v1/accounts/{account}/external_accounts/{id}"
          },
          {
            "method_name": "delete",
            "method_on": "service",
            "method_type": "delete",
            "operation": "delete",
            "path": "/v1/customers/{customer}/sources/{id}"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/accounts/{account}/external_accounts/{id}"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/customers/{customer}/sources/{id}"
          },
          {
            "method_name": "verify",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/customers/{customer}/sources/{id}/verify"
          }
        ],
        "x-stripeResource": {
          "class_name": "BankAccount",
          "in_package": "",
          "polymorphic_groups": [
            "deleted_external_account",
            "deleted_payment_source",
            "external_account",
            "payment_source"
          ]
        }
      },
      "bank_connections_resource_accountholder": {
        "description": "",
        "properties": {
          "account": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/account"
              }
            ],
            "description": "The ID of the Stripe account this account belongs to. Should only be present if `account_holder.type` is `account`.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/account"
                }
              ]
            }
          },
          "customer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer"
              }
            ],
            "description": "ID of the Stripe customer this account belongs to. Present if and only if `account_holder.type` is `customer`.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer"
                }
              ]
            }
          },
          "type": {
            "description": "Type of account holder that this account belongs to.",
            "enum": [
              "account",
              "customer"
            ],
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "title": "BankConnectionsResourceAccountholder",
        "type": "object",
        "x-expandableFields": [
          "account",
          "customer"
        ],
        "x-stripeMostCommon": [
          "account",
          "customer",
          "type"
        ]
      },
      "bank_connections_resource_balance": {
        "description": "",
        "properties": {
          "as_of": {
            "description": "The time that the external institution calculated this balance. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "cash": {
            "$ref": "#/components/schemas/bank_connections_resource_balance_api_resource_cash_balance"
          },
          "credit": {
            "$ref": "#/components/schemas/bank_connections_resource_balance_api_resource_credit_balance"
          },
          "current": {
            "additionalProperties": {
              "type": "integer"
            },
            "description": "The balances owed to (or by) the account holder, before subtracting any outbound pending transactions or adding any inbound pending transactions.\n\nEach key is a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase.\n\nEach value is a integer amount. A positive amount indicates money owed to the account holder. A negative amount indicates money owed by the account holder.",
            "type": "object"
          },
          "type": {
            "description": "The `type` of the balance. An additional hash is included on the balance with a name matching this value.",
            "enum": [
              "cash",
              "credit"
            ],
            "type": "string"
          }
        },
        "required": [
          "as_of",
          "current",
          "type"
        ],
        "title": "BankConnectionsResourceBalance",
        "type": "object",
        "x-expandableFields": [
          "cash",
          "credit"
        ],
        "x-stripeMostCommon": [
          "as_of",
          "cash",
          "credit",
          "current",
          "type"
        ]
      },
      "bank_connections_resource_balance_api_resource_cash_balance": {
        "description": "",
        "properties": {
          "available": {
            "additionalProperties": {
              "type": "integer"
            },
            "description": "The funds available to the account holder. Typically this is the current balance after subtracting any outbound pending transactions and adding any inbound pending transactions.\n\nEach key is a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase.\n\nEach value is a integer amount. A positive amount indicates money owed to the account holder. A negative amount indicates money owed by the account holder.",
            "nullable": true,
            "type": "object"
          }
        },
        "required": [
          "available"
        ],
        "title": "BankConnectionsResourceBalanceAPIResourceCashBalance",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "available"
        ]
      },
      "bank_connections_resource_balance_api_resource_credit_balance": {
        "description": "",
        "properties": {
          "used": {
            "additionalProperties": {
              "type": "integer"
            },
            "description": "The credit that has been used by the account holder.\n\nEach key is a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase.\n\nEach value is a integer amount. A positive amount indicates money owed to the account holder. A negative amount indicates money owed by the account holder.",
            "nullable": true,
            "type": "object"
          }
        },
        "required": [
          "used"
        ],
        "title": "BankConnectionsResourceBalanceAPIResourceCreditBalance",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "used"
        ]
      },
      "bank_connections_resource_balance_refresh": {
        "description": "",
        "properties": {
          "last_attempted_at": {
            "description": "The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "next_refresh_available_at": {
            "description": "Time at which the next balance refresh can be initiated. This value will be `null` when `status` is `pending`. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "status": {
            "description": "The status of the last refresh attempt.",
            "enum": [
              "failed",
              "pending",
              "succeeded"
            ],
            "type": "string"
          }
        },
        "required": [
          "last_attempted_at",
          "next_refresh_available_at",
          "status"
        ],
        "title": "BankConnectionsResourceBalanceRefresh",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "last_attempted_at",
          "next_refresh_available_at",
          "status"
        ]
      },
      "bank_connections_resource_link_account_session_filters": {
        "description": "",
        "properties": {
          "account_subcategories": {
            "description": "Restricts the Session to subcategories of accounts that can be linked. Valid subcategories are: `checking`, `savings`, `mortgage`, `line_of_credit`, `credit_card`.",
            "items": {
              "enum": [
                "checking",
                "credit_card",
                "line_of_credit",
                "mortgage",
                "savings"
              ],
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "countries": {
            "description": "List of countries from which to filter accounts.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "required": [
          "account_subcategories",
          "countries"
        ],
        "title": "BankConnectionsResourceLinkAccountSessionFilters",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "account_subcategories",
          "countries"
        ]
      },
      "bank_connections_resource_ownership_refresh": {
        "description": "",
        "properties": {
          "last_attempted_at": {
            "description": "The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "next_refresh_available_at": {
            "description": "Time at which the next ownership refresh can be initiated. This value will be `null` when `status` is `pending`. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "status": {
            "description": "The status of the last refresh attempt.",
            "enum": [
              "failed",
              "pending",
              "succeeded"
            ],
            "type": "string"
          }
        },
        "required": [
          "last_attempted_at",
          "next_refresh_available_at",
          "status"
        ],
        "title": "BankConnectionsResourceOwnershipRefresh",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "last_attempted_at",
          "next_refresh_available_at",
          "status"
        ]
      },
      "bank_connections_resource_transaction_refresh": {
        "description": "",
        "properties": {
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "last_attempted_at": {
            "description": "The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "next_refresh_available_at": {
            "description": "Time at which the next transaction refresh can be initiated. This value will be `null` when `status` is `pending`. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "status": {
            "description": "The status of the last refresh attempt.",
            "enum": [
              "failed",
              "pending",
              "succeeded"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "last_attempted_at",
          "next_refresh_available_at",
          "status"
        ],
        "title": "BankConnectionsResourceTransactionRefresh",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "id",
          "last_attempted_at",
          "next_refresh_available_at",
          "status"
        ]
      },
      "bank_connections_resource_transaction_resource_status_transitions": {
        "description": "",
        "properties": {
          "posted_at": {
            "description": "Time at which this transaction posted. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "void_at": {
            "description": "Time at which this transaction was voided. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "posted_at",
          "void_at"
        ],
        "title": "BankConnectionsResourceTransactionResourceStatusTransitions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "posted_at",
          "void_at"
        ]
      },
      "billing.alert": {
        "description": "A billing alert is a resource that notifies you when a certain usage threshold on a meter is crossed. For example, you might create a billing alert to notify you when a certain user made 100 API requests.",
        "properties": {
          "alert_type": {
            "description": "Defines the type of the alert.",
            "enum": [
              "usage_threshold"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "billing.alert"
            ],
            "type": "string"
          },
          "status": {
            "description": "Status of the alert. This can be active, inactive or archived.",
            "enum": [
              "active",
              "archived",
              "inactive"
            ],
            "nullable": true,
            "type": "string"
          },
          "title": {
            "description": "Title of the alert.",
            "maxLength": 5000,
            "type": "string"
          },
          "usage_threshold": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/thresholds_resource_usage_threshold_config"
              }
            ],
            "description": "Encapsulates configuration of the alert to monitor usage on a specific [Billing Meter](https://stripe.com/docs/api/billing/meter).",
            "nullable": true
          }
        },
        "required": [
          "alert_type",
          "id",
          "livemode",
          "object",
          "status",
          "title",
          "usage_threshold"
        ],
        "title": "ThresholdsResourceAlert",
        "type": "object",
        "x-expandableFields": [
          "usage_threshold"
        ],
        "x-resourceId": "billing.alert",
        "x-stripeMostCommon": [
          "alert_type",
          "id",
          "livemode",
          "object",
          "status",
          "title",
          "usage_threshold"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/billing/alerts"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/billing/alerts/{id}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/billing/alerts"
          },
          {
            "method_name": "activate",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/billing/alerts/{id}/activate"
          },
          {
            "method_name": "archive",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/billing/alerts/{id}/archive"
          },
          {
            "method_name": "deactivate",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/billing/alerts/{id}/deactivate"
          }
        ],
        "x-stripeResource": {
          "class_name": "Alert",
          "has_collection_class": true,
          "in_package": "Billing"
        }
      },
      "billing.alert.triggered": {
        "description": "Occurs whenever your custom alert threshold is met.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/billing.alert_triggered"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "billing.alert.triggered"
        }
      },
      "billing.alert_triggered": {
        "description": "",
        "properties": {
          "alert": {
            "$ref": "#/components/schemas/billing.alert"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "customer": {
            "description": "ID of customer for which the alert triggered",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "billing.alert_triggered"
            ],
            "type": "string"
          },
          "value": {
            "description": "The value triggering the alert",
            "type": "integer"
          }
        },
        "required": [
          "alert",
          "created",
          "customer",
          "livemode",
          "object",
          "value"
        ],
        "title": "ThresholdsResourceAlert",
        "type": "object",
        "x-expandableFields": [
          "alert"
        ],
        "x-stripeMostCommon": [
          "alert",
          "created",
          "customer",
          "livemode",
          "object",
          "value"
        ],
        "x-stripeResource": {
          "class_name": "AlertTriggered",
          "in_package": "Billing"
        }
      },
      "billing.credit_balance_summary": {
        "description": "Indicates the billing credit balance for billing credits granted to a customer.",
        "properties": {
          "balances": {
            "description": "The billing credit balances. One entry per credit grant currency. If a customer only has credit grants in a single currency, then this will have a single balance entry.",
            "items": {
              "$ref": "#/components/schemas/credit_balance"
            },
            "type": "array"
          },
          "customer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer"
              },
              {
                "$ref": "#/components/schemas/deleted_customer"
              }
            ],
            "description": "The customer the balance is for.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer"
                },
                {
                  "$ref": "#/components/schemas/deleted_customer"
                }
              ]
            }
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "billing.credit_balance_summary"
            ],
            "type": "string"
          }
        },
        "required": [
          "balances",
          "customer",
          "livemode",
          "object"
        ],
        "title": "CreditBalanceSummary",
        "type": "object",
        "x-expandableFields": [
          "balances",
          "customer"
        ],
        "x-resourceId": "billing.credit_balance_summary",
        "x-stripeMostCommon": [
          "balances",
          "customer",
          "livemode",
          "object"
        ],
        "x-stripeOperations": [
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/billing/credit_balance_summary"
          }
        ],
        "x-stripeResource": {
          "class_name": "CreditBalanceSummary",
          "in_package": "Billing"
        }
      },
      "billing.credit_balance_transaction": {
        "description": "A credit balance transaction is a resource representing a transaction (either a credit or a debit) against an existing credit grant.",
        "properties": {
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "credit": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/billing_credit_grants_resource_balance_credit"
              }
            ],
            "description": "Credit details for this credit balance transaction. Only present if type is `credit`.",
            "nullable": true
          },
          "credit_grant": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/billing.credit_grant"
              }
            ],
            "description": "The credit grant associated with this credit balance transaction.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/billing.credit_grant"
                }
              ]
            }
          },
          "debit": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/billing_credit_grants_resource_balance_debit"
              }
            ],
            "description": "Debit details for this credit balance transaction. Only present if type is `debit`.",
            "nullable": true
          },
          "effective_at": {
            "description": "The effective time of this credit balance transaction.",
            "format": "unix-time",
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "billing.credit_balance_transaction"
            ],
            "type": "string"
          },
          "test_clock": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/test_helpers.test_clock"
              }
            ],
            "description": "ID of the test clock this credit balance transaction belongs to.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/test_helpers.test_clock"
                }
              ]
            }
          },
          "type": {
            "description": "The type of credit balance transaction (credit or debit).",
            "enum": [
              "credit",
              "debit"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "created",
          "credit",
          "credit_grant",
          "debit",
          "effective_at",
          "id",
          "livemode",
          "object",
          "test_clock",
          "type"
        ],
        "title": "CreditBalanceTransaction",
        "type": "object",
        "x-expandableFields": [
          "credit",
          "credit_grant",
          "debit",
          "test_clock"
        ],
        "x-resourceId": "billing.credit_balance_transaction",
        "x-stripeMostCommon": [
          "created",
          "credit",
          "credit_grant",
          "debit",
          "effective_at",
          "id",
          "livemode",
          "object",
          "test_clock",
          "type"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/billing/credit_balance_transactions"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/billing/credit_balance_transactions/{id}"
          }
        ],
        "x-stripeResource": {
          "class_name": "CreditBalanceTransaction",
          "has_collection_class": true,
          "in_package": "Billing"
        }
      },
      "billing.credit_grant": {
        "description": "A credit grant is an API resource that documents the allocation of some billing credits to a customer.\n\nRelated guide: [Billing credits](https://docs.stripe.com/billing/subscriptions/usage-based/billing-credits)",
        "properties": {
          "amount": {
            "$ref": "#/components/schemas/billing_credit_grants_resource_amount"
          },
          "applicability_config": {
            "$ref": "#/components/schemas/billing_credit_grants_resource_applicability_config"
          },
          "category": {
            "description": "The category of this credit grant. This is for tracking purposes and isn't displayed to the customer.",
            "enum": [
              "paid",
              "promotional"
            ],
            "type": "string"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "customer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer"
              },
              {
                "$ref": "#/components/schemas/deleted_customer"
              }
            ],
            "description": "ID of the customer receiving the billing credits.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer"
                },
                {
                  "$ref": "#/components/schemas/deleted_customer"
                }
              ]
            }
          },
          "effective_at": {
            "description": "The time when the billing credits become effective—when they're eligible for use.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "expires_at": {
            "description": "The time when the billing credits expire. If not present, the billing credits don't expire.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "name": {
            "description": "A descriptive name shown in dashboard.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "billing.credit_grant"
            ],
            "type": "string"
          },
          "test_clock": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/test_helpers.test_clock"
              }
            ],
            "description": "ID of the test clock this credit grant belongs to.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/test_helpers.test_clock"
                }
              ]
            }
          },
          "updated": {
            "description": "Time at which the object was last updated. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "voided_at": {
            "description": "The time when this credit grant was voided. If not present, the credit grant hasn't been voided.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "amount",
          "applicability_config",
          "category",
          "created",
          "customer",
          "effective_at",
          "expires_at",
          "id",
          "livemode",
          "metadata",
          "name",
          "object",
          "test_clock",
          "updated",
          "voided_at"
        ],
        "title": "CreditGrant",
        "type": "object",
        "x-expandableFields": [
          "amount",
          "applicability_config",
          "customer",
          "test_clock"
        ],
        "x-resourceId": "billing.credit_grant",
        "x-stripeMostCommon": [
          "amount",
          "applicability_config",
          "category",
          "created",
          "customer",
          "effective_at",
          "expires_at",
          "id",
          "livemode",
          "metadata",
          "name",
          "object",
          "test_clock",
          "updated",
          "voided_at"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/billing/credit_grants"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/billing/credit_grants/{id}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/billing/credit_grants"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/billing/credit_grants/{id}"
          },
          {
            "method_name": "expire",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/billing/credit_grants/{id}/expire"
          },
          {
            "method_name": "void_grant",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/billing/credit_grants/{id}/void"
          }
        ],
        "x-stripeResource": {
          "class_name": "CreditGrant",
          "has_collection_class": true,
          "in_package": "Billing"
        }
      },
      "billing.meter": {
        "description": "A billing meter is a resource that allows you to track usage of a particular event. For example, you might create a billing meter to track the number of API calls made by a particular user. You can then attach the billing meter to a price and attach the price to a subscription to charge the user for the number of API calls they make.\n\nRelated guide: [Usage based billing](https://docs.stripe.com/billing/subscriptions/usage-based)",
        "properties": {
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "customer_mapping": {
            "$ref": "#/components/schemas/billing_meter_resource_customer_mapping_settings"
          },
          "default_aggregation": {
            "$ref": "#/components/schemas/billing_meter_resource_aggregation_settings"
          },
          "display_name": {
            "description": "The meter's name.",
            "maxLength": 5000,
            "type": "string"
          },
          "event_name": {
            "description": "The name of the meter event to record usage for. Corresponds with the `event_name` field on meter events.",
            "maxLength": 5000,
            "type": "string"
          },
          "event_time_window": {
            "description": "The time window to pre-aggregate meter events for, if any.",
            "enum": [
              "day",
              "hour"
            ],
            "nullable": true,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "billing.meter"
            ],
            "type": "string"
          },
          "status": {
            "description": "The meter's status.",
            "enum": [
              "active",
              "inactive"
            ],
            "type": "string"
          },
          "status_transitions": {
            "$ref": "#/components/schemas/billing_meter_resource_billing_meter_status_transitions"
          },
          "updated": {
            "description": "Time at which the object was last updated. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "value_settings": {
            "$ref": "#/components/schemas/billing_meter_resource_billing_meter_value"
          }
        },
        "required": [
          "created",
          "customer_mapping",
          "default_aggregation",
          "display_name",
          "event_name",
          "event_time_window",
          "id",
          "livemode",
          "object",
          "status",
          "status_transitions",
          "updated",
          "value_settings"
        ],
        "title": "BillingMeter",
        "type": "object",
        "x-expandableFields": [
          "customer_mapping",
          "default_aggregation",
          "status_transitions",
          "value_settings"
        ],
        "x-resourceId": "billing.meter",
        "x-stripeMostCommon": [
          "created",
          "customer_mapping",
          "default_aggregation",
          "display_name",
          "event_name",
          "event_time_window",
          "id",
          "livemode",
          "object",
          "status",
          "status_transitions",
          "updated",
          "value_settings"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/billing/meters"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/billing/meters/{id}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/billing/meters"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/billing/meters/{id}"
          },
          {
            "method_name": "deactivate",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/billing/meters/{id}/deactivate"
          },
          {
            "method_name": "reactivate",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/billing/meters/{id}/reactivate"
          }
        ],
        "x-stripeResource": {
          "class_name": "Meter",
          "has_collection_class": true,
          "in_package": "Billing"
        }
      },
      "billing.meter_event": {
        "description": "A billing meter event represents a customer's usage of a product. Meter events are used to bill a customer based on their usage.\nMeter events are associated with billing meters, which define the shape of the event's payload and how those events are aggregated for billing.",
        "properties": {
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "event_name": {
            "description": "The name of the meter event. Corresponds with the `event_name` field on a meter.",
            "maxLength": 100,
            "type": "string"
          },
          "identifier": {
            "description": "A unique identifier for the event.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "billing.meter_event"
            ],
            "type": "string"
          },
          "payload": {
            "additionalProperties": {
              "maxLength": 100,
              "type": "string"
            },
            "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": "object"
          },
          "timestamp": {
            "description": "The timestamp passed in when creating the event. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          }
        },
        "required": [
          "created",
          "event_name",
          "identifier",
          "livemode",
          "object",
          "payload",
          "timestamp"
        ],
        "title": "BillingMeterEvent",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "billing.meter_event",
        "x-stripeMostCommon": [
          "created",
          "event_name",
          "identifier",
          "livemode",
          "object",
          "payload",
          "timestamp"
        ],
        "x-stripeOperations": [
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/billing/meter_events"
          }
        ],
        "x-stripeResource": {
          "class_name": "MeterEvent",
          "in_package": "Billing"
        }
      },
      "billing.meter_event_adjustment": {
        "description": "A billing meter event adjustment is a resource that allows you to cancel a meter event. For example, you might create a billing meter event adjustment to cancel a meter event that was created in error or attached to the wrong customer.",
        "properties": {
          "cancel": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/billing_meter_resource_billing_meter_event_adjustment_cancel"
              }
            ],
            "description": "Specifies which event to cancel.",
            "nullable": true
          },
          "event_name": {
            "description": "The name of the meter event. Corresponds with the `event_name` field on a meter.",
            "maxLength": 100,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "billing.meter_event_adjustment"
            ],
            "type": "string"
          },
          "status": {
            "description": "The meter event adjustment's status.",
            "enum": [
              "complete",
              "pending"
            ],
            "type": "string"
          },
          "type": {
            "description": "Specifies whether to cancel a single event or a range of events for a time period. Time period cancellation is not supported yet.",
            "enum": [
              "cancel"
            ],
            "type": "string"
          }
        },
        "required": [
          "cancel",
          "event_name",
          "livemode",
          "object",
          "status",
          "type"
        ],
        "title": "BillingMeterEventAdjustment",
        "type": "object",
        "x-expandableFields": [
          "cancel"
        ],
        "x-resourceId": "billing.meter_event_adjustment",
        "x-stripeMostCommon": [
          "cancel",
          "event_name",
          "livemode",
          "object",
          "status",
          "type"
        ],
        "x-stripeOperations": [
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/billing/meter_event_adjustments"
          }
        ],
        "x-stripeResource": {
          "class_name": "MeterEventAdjustment",
          "in_package": "Billing"
        }
      },
      "billing.meter_event_summary": {
        "description": "A billing meter event summary represents an aggregated view of a customer's billing meter events within a specified timeframe. It indicates how much\nusage was accrued by a customer for that period.",
        "properties": {
          "aggregated_value": {
            "description": "Aggregated value of all the events within `start_time` (inclusive) and `end_time` (inclusive). The aggregation strategy is defined on meter via `default_aggregation`.",
            "type": "number"
          },
          "end_time": {
            "description": "End timestamp for this event summary (exclusive). Must be aligned with minute boundaries.",
            "format": "unix-time",
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "meter": {
            "description": "The meter associated with this event summary.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "billing.meter_event_summary"
            ],
            "type": "string"
          },
          "start_time": {
            "description": "Start timestamp for this event summary (inclusive). Must be aligned with minute boundaries.",
            "format": "unix-time",
            "type": "integer"
          }
        },
        "required": [
          "aggregated_value",
          "end_time",
          "id",
          "livemode",
          "meter",
          "object",
          "start_time"
        ],
        "title": "BillingMeterEventSummary",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "billing.meter_event_summary",
        "x-stripeMostCommon": [
          "aggregated_value",
          "end_time",
          "id",
          "livemode",
          "meter",
          "object",
          "start_time"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/billing/meters/{id}/event_summaries"
          }
        ],
        "x-stripeResource": {
          "class_name": "MeterEventSummary",
          "has_collection_class": true,
          "in_package": "Billing"
        }
      },
      "billing_clocks_resource_status_details_advancing_status_details": {
        "description": "",
        "properties": {
          "target_frozen_time": {
            "description": "The `frozen_time` that the Test Clock is advancing towards.",
            "format": "unix-time",
            "type": "integer"
          }
        },
        "required": [
          "target_frozen_time"
        ],
        "title": "BillingClocksResourceStatusDetailsAdvancingStatusDetails",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "target_frozen_time"
        ]
      },
      "billing_clocks_resource_status_details_status_details": {
        "description": "",
        "properties": {
          "advancing": {
            "$ref": "#/components/schemas/billing_clocks_resource_status_details_advancing_status_details"
          }
        },
        "title": "BillingClocksResourceStatusDetailsStatusDetails",
        "type": "object",
        "x-expandableFields": [
          "advancing"
        ],
        "x-stripeMostCommon": [
          "advancing"
        ]
      },
      "billing_credit_grants_resource_amount": {
        "description": "",
        "properties": {
          "monetary": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/billing_credit_grants_resource_monetary_amount"
              }
            ],
            "description": "The monetary amount.",
            "nullable": true
          },
          "type": {
            "description": "The type of this amount. We currently only support `monetary` billing credits.",
            "enum": [
              "monetary"
            ],
            "type": "string"
          }
        },
        "required": [
          "monetary",
          "type"
        ],
        "title": "BillingCreditGrantsResourceAmount",
        "type": "object",
        "x-expandableFields": [
          "monetary"
        ],
        "x-stripeMostCommon": [
          "monetary",
          "type"
        ]
      },
      "billing_credit_grants_resource_applicability_config": {
        "description": "",
        "properties": {
          "scope": {
            "$ref": "#/components/schemas/billing_credit_grants_resource_scope"
          }
        },
        "required": [
          "scope"
        ],
        "title": "BillingCreditGrantsResourceApplicabilityConfig",
        "type": "object",
        "x-expandableFields": [
          "scope"
        ],
        "x-stripeMostCommon": [
          "scope"
        ]
      },
      "billing_credit_grants_resource_balance_credit": {
        "description": "",
        "properties": {
          "amount": {
            "$ref": "#/components/schemas/billing_credit_grants_resource_amount"
          },
          "type": {
            "description": "The type of credit transaction.",
            "enum": [
              "credits_granted"
            ],
            "type": "string"
          }
        },
        "required": [
          "amount",
          "type"
        ],
        "title": "BillingCreditGrantsResourceBalanceCredit",
        "type": "object",
        "x-expandableFields": [
          "amount"
        ],
        "x-stripeMostCommon": [
          "amount",
          "type"
        ]
      },
      "billing_credit_grants_resource_balance_credits_applied": {
        "description": "",
        "properties": {
          "invoice": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/invoice"
              }
            ],
            "description": "The invoice to which the billing credits were applied.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/invoice"
                }
              ]
            }
          },
          "invoice_line_item": {
            "description": "The invoice line item to which the billing credits were applied.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "invoice",
          "invoice_line_item"
        ],
        "title": "BillingCreditGrantsResourceBalanceCreditsApplied",
        "type": "object",
        "x-expandableFields": [
          "invoice"
        ],
        "x-stripeMostCommon": [
          "invoice",
          "invoice_line_item"
        ]
      },
      "billing_credit_grants_resource_balance_debit": {
        "description": "",
        "properties": {
          "amount": {
            "$ref": "#/components/schemas/billing_credit_grants_resource_amount"
          },
          "credits_applied": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/billing_credit_grants_resource_balance_credits_applied"
              }
            ],
            "description": "Details of how the billing credits were applied to an invoice. Only present if `type` is `credits_applied`.",
            "nullable": true
          },
          "type": {
            "description": "The type of debit transaction.",
            "enum": [
              "credits_applied",
              "credits_expired",
              "credits_voided"
            ],
            "type": "string"
          }
        },
        "required": [
          "amount",
          "credits_applied",
          "type"
        ],
        "title": "BillingCreditGrantsResourceBalanceDebit",
        "type": "object",
        "x-expandableFields": [
          "amount",
          "credits_applied"
        ],
        "x-stripeMostCommon": [
          "amount",
          "credits_applied",
          "type"
        ]
      },
      "billing_credit_grants_resource_monetary_amount": {
        "description": "",
        "properties": {
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "maxLength": 5000,
            "type": "string"
          },
          "value": {
            "description": "A positive integer representing the amount.",
            "type": "integer"
          }
        },
        "required": [
          "currency",
          "value"
        ],
        "title": "BillingCreditGrantsResourceMonetaryAmount",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "currency",
          "value"
        ]
      },
      "billing_credit_grants_resource_scope": {
        "description": "",
        "properties": {
          "price_type": {
            "description": "The price type for which credit grants can apply. We currently only support the `metered` price type. This refers to prices that have a [Billing Meter](https://docs.stripe.com/api/billing/meter) attached to them.",
            "enum": [
              "metered"
            ],
            "type": "string"
          }
        },
        "required": [
          "price_type"
        ],
        "title": "BillingCreditGrantsResourceScope",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "price_type"
        ]
      },
      "billing_details": {
        "description": "",
        "properties": {
          "address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/address"
              }
            ],
            "description": "Billing address.",
            "nullable": true
          },
          "email": {
            "description": "Email address.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "name": {
            "description": "Full name.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "phone": {
            "description": "Billing phone number (including extension).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "address",
          "email",
          "name",
          "phone"
        ],
        "title": "billing_details",
        "type": "object",
        "x-expandableFields": [
          "address"
        ],
        "x-stripeMostCommon": [
          "address",
          "email",
          "name",
          "phone"
        ]
      },
      "billing_meter_resource_aggregation_settings": {
        "description": "",
        "properties": {
          "formula": {
            "description": "Specifies how events are aggregated.",
            "enum": [
              "count",
              "sum"
            ],
            "type": "string"
          }
        },
        "required": [
          "formula"
        ],
        "title": "BillingMeterResourceAggregationSettings",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "formula"
        ]
      },
      "billing_meter_resource_billing_meter_event_adjustment_cancel": {
        "description": "",
        "properties": {
          "identifier": {
            "description": "Unique identifier for the event.",
            "maxLength": 100,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "identifier"
        ],
        "title": "BillingMeterResourceBillingMeterEventAdjustmentCancel",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "identifier"
        ]
      },
      "billing_meter_resource_billing_meter_status_transitions": {
        "description": "",
        "properties": {
          "deactivated_at": {
            "description": "The time the meter was deactivated, if any. Measured in seconds since Unix epoch.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "deactivated_at"
        ],
        "title": "BillingMeterResourceBillingMeterStatusTransitions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "deactivated_at"
        ]
      },
      "billing_meter_resource_billing_meter_value": {
        "description": "",
        "properties": {
          "event_payload_key": {
            "description": "The key in the meter event payload to use as the value for this meter.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "event_payload_key"
        ],
        "title": "BillingMeterResourceBillingMeterValue",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "event_payload_key"
        ]
      },
      "billing_meter_resource_customer_mapping_settings": {
        "description": "",
        "properties": {
          "event_payload_key": {
            "description": "The key in the meter event payload to use for mapping the event to a customer.",
            "maxLength": 5000,
            "type": "string"
          },
          "type": {
            "description": "The method for mapping a meter event to a customer.",
            "enum": [
              "by_id"
            ],
            "type": "string"
          }
        },
        "required": [
          "event_payload_key",
          "type"
        ],
        "title": "BillingMeterResourceCustomerMappingSettings",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "event_payload_key",
          "type"
        ]
      },
      "billing_portal.configuration": {
        "description": "A portal configuration describes the functionality and behavior of a portal session.",
        "properties": {
          "active": {
            "description": "Whether the configuration is active and can be used to create portal sessions.",
            "type": "boolean"
          },
          "application": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/application"
              },
              {
                "$ref": "#/components/schemas/deleted_application"
              }
            ],
            "description": "ID of the Connect Application that created the configuration.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/application"
                },
                {
                  "$ref": "#/components/schemas/deleted_application"
                }
              ]
            }
          },
          "business_profile": {
            "$ref": "#/components/schemas/portal_business_profile"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "default_return_url": {
            "description": "The default URL to redirect customers to when they click on the portal's link to return to your website. This can be [overriden](https://stripe.com/docs/api/customer_portal/sessions/create#create_portal_session-return_url) when creating the session.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "features": {
            "$ref": "#/components/schemas/portal_features"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "is_default": {
            "description": "Whether the configuration is the default. If `true`, this configuration can be managed in the Dashboard and portal sessions will use this configuration unless it is overriden when creating the session.",
            "type": "boolean"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "login_page": {
            "$ref": "#/components/schemas/portal_login_page"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "nullable": true,
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "billing_portal.configuration"
            ],
            "type": "string"
          },
          "updated": {
            "description": "Time at which the object was last updated. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          }
        },
        "required": [
          "active",
          "application",
          "business_profile",
          "created",
          "default_return_url",
          "features",
          "id",
          "is_default",
          "livemode",
          "login_page",
          "metadata",
          "object",
          "updated"
        ],
        "title": "PortalConfiguration",
        "type": "object",
        "x-expandableFields": [
          "application",
          "business_profile",
          "features",
          "login_page"
        ],
        "x-resourceId": "billing_portal.configuration",
        "x-stripeMostCommon": [
          "active",
          "application",
          "business_profile",
          "created",
          "default_return_url",
          "features",
          "id",
          "is_default",
          "livemode",
          "login_page",
          "metadata",
          "object",
          "updated"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/billing_portal/configurations"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/billing_portal/configurations/{configuration}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/billing_portal/configurations"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/billing_portal/configurations/{configuration}"
          }
        ],
        "x-stripeResource": {
          "class_name": "Configuration",
          "has_collection_class": true,
          "in_package": "BillingPortal"
        }
      },
      "billing_portal.configuration.created": {
        "description": "Occurs whenever a portal configuration is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/billing_portal.configuration"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "billing_portal.configuration.created"
        }
      },
      "billing_portal.configuration.updated": {
        "description": "Occurs whenever a portal configuration is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/billing_portal.configuration"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "billing_portal.configuration.updated"
        }
      },
      "billing_portal.session": {
        "description": "The Billing customer portal is a Stripe-hosted UI for subscription and\nbilling management.\n\nA portal configuration describes the functionality and features that you\nwant to provide to your customers through the portal.\n\nA portal session describes the instantiation of the customer portal for\na particular customer. By visiting the session's URL, the customer\ncan manage their subscriptions and billing details. For security reasons,\nsessions are short-lived and will expire if the customer does not visit the URL.\nCreate sessions on-demand when customers intend to manage their subscriptions\nand billing details.\n\nRelated guide: [Customer management](/customer-management)",
        "properties": {
          "configuration": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/billing_portal.configuration"
              }
            ],
            "description": "The configuration used by this session, describing the features available.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/billing_portal.configuration"
                }
              ]
            }
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "customer": {
            "description": "The ID of the customer for this session.",
            "maxLength": 5000,
            "type": "string"
          },
          "flow": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/portal_flows_flow"
              }
            ],
            "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.",
            "nullable": true
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "locale": {
            "description": "The IETF language tag of the locale Customer Portal is displayed in. If blank or auto, the customer’s `preferred_locales` or browser’s locale is used.",
            "enum": [
              "auto",
              "bg",
              "cs",
              "da",
              "de",
              "el",
              "en",
              "en-AU",
              "en-CA",
              "en-GB",
              "en-IE",
              "en-IN",
              "en-NZ",
              "en-SG",
              "es",
              "es-419",
              "et",
              "fi",
              "fil",
              "fr",
              "fr-CA",
              "hr",
              "hu",
              "id",
              "it",
              "ja",
              "ko",
              "lt",
              "lv",
              "ms",
              "mt",
              "nb",
              "nl",
              "pl",
              "pt",
              "pt-BR",
              "ro",
              "ru",
              "sk",
              "sl",
              "sv",
              "th",
              "tr",
              "vi",
              "zh",
              "zh-HK",
              "zh-TW"
            ],
            "nullable": true,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "billing_portal.session"
            ],
            "type": "string"
          },
          "on_behalf_of": {
            "description": "The account for which the session was created on behalf of. When specified, only subscriptions and invoices with this `on_behalf_of` account appear in the portal. For more information, see the [docs](https://stripe.com/docs/connect/separate-charges-and-transfers#settlement-merchant). Use the [Accounts API](https://stripe.com/docs/api/accounts/object#account_object-settings-branding) to modify the `on_behalf_of` account's branding settings, which the portal displays.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "return_url": {
            "description": "The URL to redirect customers to when they click on the portal's link to return to your website.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "url": {
            "description": "The short-lived URL of the session that gives customers access to the customer portal.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "configuration",
          "created",
          "customer",
          "flow",
          "id",
          "livemode",
          "locale",
          "object",
          "on_behalf_of",
          "return_url",
          "url"
        ],
        "title": "PortalSession",
        "type": "object",
        "x-expandableFields": [
          "configuration",
          "flow"
        ],
        "x-resourceId": "billing_portal.session",
        "x-stripeMostCommon": [
          "configuration",
          "created",
          "customer",
          "flow",
          "id",
          "livemode",
          "locale",
          "object",
          "on_behalf_of",
          "return_url",
          "url"
        ],
        "x-stripeOperations": [
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/billing_portal/sessions"
          }
        ],
        "x-stripeResource": {
          "class_name": "Session",
          "in_package": "BillingPortal"
        }
      },
      "billing_portal.session.created": {
        "description": "Occurs whenever a portal session is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/billing_portal.session"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "billing_portal.session.created"
        }
      },
      "cancellation_details": {
        "description": "",
        "properties": {
          "comment": {
            "description": "Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "feedback": {
            "description": "The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user.",
            "enum": [
              "customer_service",
              "low_quality",
              "missing_features",
              "other",
              "switched_service",
              "too_complex",
              "too_expensive",
              "unused"
            ],
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "description": "Why this subscription was canceled.",
            "enum": [
              "cancellation_requested",
              "payment_disputed",
              "payment_failed"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "comment",
          "feedback",
          "reason"
        ],
        "title": "CancellationDetails",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "comment",
          "feedback",
          "reason"
        ]
      },
      "capability": {
        "description": "This is an object representing a capability for a Stripe account.\n\nRelated guide: [Account capabilities](https://stripe.com/docs/connect/account-capabilities)",
        "properties": {
          "account": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/account"
              }
            ],
            "description": "The account for which the capability enables functionality.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/account"
                }
              ]
            }
          },
          "future_requirements": {
            "$ref": "#/components/schemas/account_capability_future_requirements"
          },
          "id": {
            "description": "The identifier for the capability.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "capability"
            ],
            "type": "string"
          },
          "requested": {
            "description": "Whether the capability has been requested.",
            "type": "boolean"
          },
          "requested_at": {
            "description": "Time at which the capability was requested. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "requirements": {
            "$ref": "#/components/schemas/account_capability_requirements"
          },
          "status": {
            "description": "The status of the capability.",
            "enum": [
              "active",
              "disabled",
              "inactive",
              "pending",
              "unrequested"
            ],
            "type": "string"
          }
        },
        "required": [
          "account",
          "id",
          "object",
          "requested",
          "requested_at",
          "status"
        ],
        "title": "AccountCapability",
        "type": "object",
        "x-expandableFields": [
          "account",
          "future_requirements",
          "requirements"
        ],
        "x-resourceId": "capability",
        "x-stripeMostCommon": [
          "account",
          "id",
          "requested",
          "requirements",
          "status"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "collection",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/accounts/{account}/capabilities"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/accounts/{account}/capabilities"
          },
          {
            "method_name": "retrieve",
            "method_on": "collection",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/accounts/{account}/capabilities/{capability}"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/accounts/{account}/capabilities/{capability}"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/accounts/{account}/capabilities/{capability}"
          }
        ],
        "x-stripeResource": {
          "class_name": "Capability",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "capability.updated": {
        "description": "Occurs whenever a capability has new requirements or a new status.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/capability"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "capability.updated"
        }
      },
      "card": {
        "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)",
        "properties": {
          "account": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/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. 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.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/account"
                }
              ]
            }
          },
          "address_city": {
            "description": "City/District/Suburb/Town/Village.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "address_country": {
            "description": "Billing address country, if provided when creating card.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "address_line1": {
            "description": "Address line 1 (Street address/PO Box/Company name).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "address_line1_check": {
            "description": "If `address_line1` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "address_line2": {
            "description": "Address line 2 (Apartment/Suite/Unit/Building).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "address_state": {
            "description": "State/County/Province/Region.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "address_zip": {
            "description": "ZIP or postal code.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "address_zip_check": {
            "description": "If `address_zip` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "available_payout_methods": {
            "description": "A set of available payout methods for this card. Only values from this set should be passed as the `method` when creating a payout.",
            "items": {
              "enum": [
                "instant",
                "standard"
              ],
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "brand": {
            "description": "Card brand. Can be `American Express`, `Diners Club`, `Discover`, `Eftpos Australia`, `Girocard`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.",
            "maxLength": 5000,
            "type": "string"
          },
          "country": {
            "description": "Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "currency": {
            "description": "Three-letter [ISO code for currency](https://www.iso.org/iso-4217-currency-codes.html) in lowercase. Must be a [supported currency](https://docs.stripe.com/currencies). 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.",
            "nullable": true,
            "type": "string"
          },
          "customer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer"
              },
              {
                "$ref": "#/components/schemas/deleted_customer"
              }
            ],
            "description": "The customer that this card belongs to. This attribute will not be in the card object if the card belongs to an account or recipient instead.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer"
                },
                {
                  "$ref": "#/components/schemas/deleted_customer"
                }
              ]
            }
          },
          "cvc_check": {
            "description": "If a CVC was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates that CVC was provided but hasn't been checked yet. Checks are typically performed when attaching a card to a Customer object, or when creating a charge. For more details, see [Check if a card is valid without a charge](https://support.stripe.com/questions/check-if-a-card-is-valid-without-a-charge).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "default_for_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.",
            "nullable": true,
            "type": "boolean"
          },
          "description": {
            "description": "A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)",
            "maxLength": 5000,
            "type": "string"
          },
          "dynamic_last4": {
            "description": "(For tokenized numbers only.) The last four digits of the device account number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "exp_month": {
            "description": "Two-digit number representing the card's expiration month.",
            "type": "integer"
          },
          "exp_year": {
            "description": "Four-digit number representing the card's expiration year.",
            "type": "integer"
          },
          "fingerprint": {
            "description": "Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.\n\n*As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "funding": {
            "description": "Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.",
            "maxLength": 5000,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "iin": {
            "description": "Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)",
            "maxLength": 5000,
            "type": "string"
          },
          "issuer": {
            "description": "The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)",
            "maxLength": 5000,
            "type": "string"
          },
          "last4": {
            "description": "The last four digits of the card.",
            "maxLength": 5000,
            "type": "string"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "nullable": true,
            "type": "object"
          },
          "name": {
            "description": "Cardholder name.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "networks": {
            "$ref": "#/components/schemas/token_card_networks"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "card"
            ],
            "type": "string"
          },
          "status": {
            "description": "For external accounts that are cards, possible values are `new` and `errored`. If a payout fails, the status is set to `errored` and [scheduled payouts](https://stripe.com/docs/payouts#payout-schedule) are stopped until account details are updated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "tokenization_method": {
            "description": "If the card number is tokenized, this is the method that was used. Can be `android_pay` (includes Google Pay), `apple_pay`, `masterpass`, `visa_checkout`, or null.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "address_city",
          "address_country",
          "address_line1",
          "address_line1_check",
          "address_line2",
          "address_state",
          "address_zip",
          "address_zip_check",
          "brand",
          "country",
          "cvc_check",
          "dynamic_last4",
          "exp_month",
          "exp_year",
          "funding",
          "id",
          "last4",
          "metadata",
          "name",
          "object",
          "tokenization_method"
        ],
        "title": "Card",
        "type": "object",
        "x-expandableFields": [
          "account",
          "customer",
          "networks"
        ],
        "x-resourceId": "card",
        "x-stripeMostCommon": [
          "address_city",
          "address_country",
          "address_line1",
          "address_line2",
          "address_state",
          "address_zip",
          "address_zip_check",
          "brand",
          "country",
          "customer",
          "cvc_check",
          "exp_month",
          "exp_year",
          "fingerprint",
          "funding",
          "id",
          "last4",
          "metadata",
          "name"
        ],
        "x-stripeOperations": [
          {
            "method_name": "delete",
            "method_on": "service",
            "method_type": "delete",
            "operation": "delete",
            "path": "/v1/accounts/{account}/external_accounts/{id}"
          },
          {
            "method_name": "delete",
            "method_on": "service",
            "method_type": "delete",
            "operation": "delete",
            "path": "/v1/customers/{customer}/sources/{id}"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/accounts/{account}/external_accounts/{id}"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/customers/{customer}/sources/{id}"
          }
        ],
        "x-stripeResource": {
          "class_name": "Card",
          "in_package": "",
          "polymorphic_groups": [
            "deleted_external_account",
            "deleted_payment_source",
            "external_account",
            "payment_source"
          ]
        }
      },
      "card_generated_from_payment_method_details": {
        "description": "",
        "properties": {
          "card_present": {
            "$ref": "#/components/schemas/payment_method_details_card_present"
          },
          "type": {
            "description": "The type of payment method transaction-specific details from the transaction that generated this `card` payment method. Always `card_present`.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "title": "card_generated_from_payment_method_details",
        "type": "object",
        "x-expandableFields": [
          "card_present"
        ],
        "x-stripeMostCommon": [
          "card_present",
          "type"
        ]
      },
      "card_issuing_account_terms_of_service": {
        "description": "",
        "properties": {
          "date": {
            "description": "The Unix timestamp marking when the account representative accepted the service agreement.",
            "nullable": true,
            "type": "integer"
          },
          "ip": {
            "description": "The IP address from which the account representative accepted the service agreement.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "user_agent": {
            "description": "The user agent of the browser from which the account representative accepted the service agreement.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "date",
          "ip"
        ],
        "title": "CardIssuingAccountTermsOfService",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "date",
          "ip",
          "user_agent"
        ]
      },
      "card_mandate_payment_method_details": {
        "description": "",
        "properties": {},
        "title": "card_mandate_payment_method_details",
        "type": "object",
        "x-expandableFields": []
      },
      "cash_balance": {
        "description": "A customer's `Cash balance` represents real funds. Customers can add funds to their cash balance by sending a bank transfer. These funds can be used for payment and can eventually be paid out to your bank account.",
        "properties": {
          "available": {
            "additionalProperties": {
              "type": "integer"
            },
            "description": "A hash of all cash balances available to this customer. You cannot delete a customer with any cash balances, even if the balance is 0. Amounts are represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
            "nullable": true,
            "type": "object"
          },
          "customer": {
            "description": "The ID of the customer whose cash balance this object represents.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "cash_balance"
            ],
            "type": "string"
          },
          "settings": {
            "$ref": "#/components/schemas/customer_balance_customer_balance_settings"
          }
        },
        "required": [
          "available",
          "customer",
          "livemode",
          "object",
          "settings"
        ],
        "title": "cash_balance",
        "type": "object",
        "x-expandableFields": [
          "settings"
        ],
        "x-resourceId": "cash_balance",
        "x-stripeMostCommon": [
          "available",
          "customer",
          "livemode",
          "object",
          "settings"
        ],
        "x-stripeOperations": [
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/customers/{customer}/cash_balance"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/customers/{customer}/cash_balance"
          }
        ],
        "x-stripeResource": {
          "class_name": "CashBalance",
          "in_package": ""
        }
      },
      "cash_balance.funds_available": {
        "description": "Occurs whenever there is a positive remaining cash balance after Stripe automatically reconciles new funds into the cash balance. If you enabled manual reconciliation, this webhook will fire whenever there are new funds into the cash balance.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/cash_balance"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "cash_balance.funds_available"
        }
      },
      "charge": {
        "description": "The `Charge` object represents a single attempt to move money into your Stripe account.\nPaymentIntent confirmation is the most common way to create Charges, but transferring\nmoney to a different Stripe account through Connect also creates Charges.\nSome legacy payment flows create Charges directly, which is not recommended for new integrations.",
        "properties": {
          "amount": {
            "description": "Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).",
            "type": "integer"
          },
          "amount_captured": {
            "description": "Amount in cents (or local equivalent) captured (can be less than the amount attribute on the charge if a partial capture was made).",
            "type": "integer"
          },
          "amount_refunded": {
            "description": "Amount in cents (or local equivalent) refunded (can be less than the amount attribute on the charge if a partial refund was issued).",
            "type": "integer"
          },
          "application": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/application"
              }
            ],
            "description": "ID of the Connect application that created the charge.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/application"
                }
              ]
            }
          },
          "application_fee": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/application_fee"
              }
            ],
            "description": "The application fee (if any) for the charge. [See the Connect documentation](https://stripe.com/docs/connect/direct-charges#collect-fees) for details.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/application_fee"
                }
              ]
            }
          },
          "application_fee_amount": {
            "description": "The amount of the application fee (if any) requested for the charge. [See the Connect documentation](https://stripe.com/docs/connect/direct-charges#collect-fees) for details.",
            "nullable": true,
            "type": "integer"
          },
          "authorization_code": {
            "description": "Authorization code on the charge.",
            "maxLength": 5000,
            "type": "string"
          },
          "balance_transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/balance_transaction"
              }
            ],
            "description": "ID of the balance transaction that describes the impact of this charge on your account balance (not including refunds or disputes).",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/balance_transaction"
                }
              ]
            }
          },
          "billing_details": {
            "$ref": "#/components/schemas/billing_details"
          },
          "calculated_statement_descriptor": {
            "description": "The full statement descriptor that is passed to card networks, and that is displayed on your customers' credit card and bank statements. Allows you to see what the statement descriptor looks like after the static and dynamic portions are combined. This value only exists for card payments.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "captured": {
            "description": "If the charge was created without capturing, this Boolean represents whether it is still uncaptured or has since been captured.",
            "type": "boolean"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "customer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer"
              },
              {
                "$ref": "#/components/schemas/deleted_customer"
              }
            ],
            "description": "ID of the customer this charge is for if one exists.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer"
                },
                {
                  "$ref": "#/components/schemas/deleted_customer"
                }
              ]
            }
          },
          "description": {
            "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
            "maxLength": 40000,
            "nullable": true,
            "type": "string"
          },
          "disputed": {
            "description": "Whether the charge has been disputed.",
            "type": "boolean"
          },
          "failure_balance_transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/balance_transaction"
              }
            ],
            "description": "ID of the balance transaction that describes the reversal of the balance on your account due to payment failure.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/balance_transaction"
                }
              ]
            }
          },
          "failure_code": {
            "description": "Error code explaining reason for charge failure if available (see [the errors section](https://stripe.com/docs/error-codes) for a list of codes).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "failure_message": {
            "description": "Message to user further explaining reason for charge failure if available.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "fraud_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/charge_fraud_details"
              }
            ],
            "description": "Information on fraud assessments for the charge.",
            "nullable": true
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "invoice": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/invoice"
              }
            ],
            "description": "ID of the invoice this charge is for if one exists.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/invoice"
                }
              ]
            }
          },
          "level3": {
            "$ref": "#/components/schemas/level3"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "charge"
            ],
            "type": "string"
          },
          "on_behalf_of": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/account"
              }
            ],
            "description": "The account (if any) the charge was made on behalf of without triggering an automatic transfer. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers) for details.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/account"
                }
              ]
            }
          },
          "outcome": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/charge_outcome"
              }
            ],
            "description": "Details about whether the payment was accepted, and why. See [understanding declines](https://stripe.com/docs/declines) for details.",
            "nullable": true
          },
          "paid": {
            "description": "`true` if the charge succeeded, or was successfully authorized for later capture.",
            "type": "boolean"
          },
          "payment_intent": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_intent"
              }
            ],
            "description": "ID of the PaymentIntent associated with this charge, if one exists.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_intent"
                }
              ]
            }
          },
          "payment_method": {
            "description": "ID of the payment method used in this charge.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "payment_method_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_method_details"
              }
            ],
            "description": "Details about the payment method at the time of the transaction.",
            "nullable": true
          },
          "radar_options": {
            "$ref": "#/components/schemas/radar_radar_options"
          },
          "receipt_email": {
            "description": "This is the email address that the receipt for this charge was sent to.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "receipt_number": {
            "description": "This is the transaction number that appears on email receipts sent for this charge. This attribute will be `null` until a receipt has been sent.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "receipt_url": {
            "description": "This is the URL to view the receipt for this charge. The receipt is kept up-to-date to the latest state of the charge, including any refunds. If the charge is for an Invoice, the receipt will be stylized as an Invoice receipt.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "refunded": {
            "description": "Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.",
            "type": "boolean"
          },
          "refunds": {
            "description": "A list of refunds that have been applied to the charge.",
            "nullable": true,
            "properties": {
              "data": {
                "description": "Details about each object.",
                "items": {
                  "$ref": "#/components/schemas/refund"
                },
                "type": "array"
              },
              "has_more": {
                "description": "True if this list has another page of items after this one that can be fetched.",
                "type": "boolean"
              },
              "object": {
                "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                "enum": [
                  "list"
                ],
                "type": "string"
              },
              "url": {
                "description": "The URL where this list can be accessed.",
                "maxLength": 5000,
                "type": "string"
              }
            },
            "required": [
              "data",
              "has_more",
              "object",
              "url"
            ],
            "title": "RefundList",
            "type": "object",
            "x-expandableFields": [
              "data"
            ],
            "x-stripeMostCommon": [
              "data",
              "has_more",
              "object",
              "url"
            ]
          },
          "review": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/review"
              }
            ],
            "description": "ID of the review associated with this charge if one exists.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/review"
                }
              ]
            }
          },
          "shipping": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shipping"
              }
            ],
            "description": "Shipping information for the charge.",
            "nullable": true
          },
          "source": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_source"
              }
            ],
            "description": "This is a legacy field that will be removed in the future. It contains the Source, Card, or BankAccount object used for the charge. For details about the payment method used for this charge, refer to `payment_method` or `payment_method_details` instead.",
            "nullable": true
          },
          "source_transfer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/transfer"
              }
            ],
            "description": "The transfer ID which created this charge. Only present if the charge came from another Stripe account. [See the Connect documentation](https://docs.stripe.com/connect/destination-charges) for details.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/transfer"
                }
              ]
            }
          },
          "statement_descriptor": {
            "description": "For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).\n\nFor a card charge, this value is ignored unless you don't specify a `statement_descriptor_suffix`, in which case this value is used as the suffix.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "statement_descriptor_suffix": {
            "description": "Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "status": {
            "description": "The status of the payment is either `succeeded`, `pending`, or `failed`.",
            "enum": [
              "failed",
              "pending",
              "succeeded"
            ],
            "type": "string"
          },
          "transfer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/transfer"
              }
            ],
            "description": "ID of the transfer to the `destination` account (only applicable if the charge was created using the `destination` parameter).",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/transfer"
                }
              ]
            }
          },
          "transfer_data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/charge_transfer_data"
              }
            ],
            "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.",
            "nullable": true
          },
          "transfer_group": {
            "description": "A string that identifies this transaction as part of a group. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options) for details.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "amount",
          "amount_captured",
          "amount_refunded",
          "application",
          "application_fee",
          "application_fee_amount",
          "balance_transaction",
          "billing_details",
          "calculated_statement_descriptor",
          "captured",
          "created",
          "currency",
          "customer",
          "description",
          "disputed",
          "failure_balance_transaction",
          "failure_code",
          "failure_message",
          "fraud_details",
          "id",
          "invoice",
          "livemode",
          "metadata",
          "object",
          "on_behalf_of",
          "outcome",
          "paid",
          "payment_intent",
          "payment_method",
          "payment_method_details",
          "receipt_email",
          "receipt_number",
          "receipt_url",
          "refunded",
          "review",
          "shipping",
          "source",
          "source_transfer",
          "statement_descriptor",
          "statement_descriptor_suffix",
          "status",
          "transfer_data",
          "transfer_group"
        ],
        "title": "Charge",
        "type": "object",
        "x-expandableFields": [
          "application",
          "application_fee",
          "balance_transaction",
          "billing_details",
          "customer",
          "failure_balance_transaction",
          "fraud_details",
          "invoice",
          "level3",
          "on_behalf_of",
          "outcome",
          "payment_intent",
          "payment_method_details",
          "radar_options",
          "refunds",
          "review",
          "shipping",
          "source",
          "source_transfer",
          "transfer",
          "transfer_data"
        ],
        "x-resourceId": "charge",
        "x-stripeMostCommon": [
          "amount",
          "balance_transaction",
          "billing_details",
          "currency",
          "customer",
          "description",
          "disputed",
          "id",
          "invoice",
          "metadata",
          "payment_intent",
          "payment_method_details",
          "receipt_email",
          "refunded",
          "shipping",
          "statement_descriptor",
          "statement_descriptor_suffix",
          "status"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/charges"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/charges/{charge}"
          },
          {
            "method_name": "search",
            "method_on": "service",
            "method_type": "custom",
            "operation": "get",
            "path": "/v1/charges/search"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/charges"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/charges/{charge}"
          },
          {
            "method_name": "capture",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/charges/{charge}/capture"
          }
        ],
        "x-stripeResource": {
          "class_name": "Charge",
          "has_collection_class": true,
          "has_search_result_class": true,
          "in_package": "",
          "polymorphic_groups": [
            "balance_transaction_source"
          ]
        }
      },
      "charge.captured": {
        "description": "Occurs whenever a previously uncaptured charge is captured.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/charge"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "charge.captured"
        }
      },
      "charge.dispute.closed": {
        "description": "Occurs when a dispute is closed and the dispute status changes to `lost`, `warning_closed`, or `won`.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/dispute"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "charge.dispute.closed"
        }
      },
      "charge.dispute.created": {
        "description": "Occurs whenever a customer disputes a charge with their bank.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/dispute"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "charge.dispute.created"
        }
      },
      "charge.dispute.funds_reinstated": {
        "description": "Occurs when funds are reinstated to your account after a dispute is closed. This includes [partially refunded payments](https://docs.stripe.com/disputes#disputes-on-partially-refunded-payments).",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/dispute"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "charge.dispute.funds_reinstated"
        }
      },
      "charge.dispute.funds_withdrawn": {
        "description": "Occurs when funds are removed from your account due to a dispute.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/dispute"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "charge.dispute.funds_withdrawn"
        }
      },
      "charge.dispute.updated": {
        "description": "Occurs when the dispute is updated (usually with evidence).",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/dispute"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "charge.dispute.updated"
        }
      },
      "charge.expired": {
        "description": "Occurs whenever an uncaptured charge expires.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/charge"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "charge.expired"
        }
      },
      "charge.failed": {
        "description": "Occurs whenever a failed charge attempt occurs.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/charge"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "charge.failed"
        }
      },
      "charge.pending": {
        "description": "Occurs whenever a pending charge is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/charge"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "charge.pending"
        }
      },
      "charge.refund.updated": {
        "description": "Occurs whenever a refund is updated, on selected payment methods.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/refund"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "charge.refund.updated"
        }
      },
      "charge.refunded": {
        "description": "Occurs whenever a charge is refunded, including partial refunds.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/charge"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "charge.refunded"
        }
      },
      "charge.succeeded": {
        "description": "Occurs whenever a charge is successful.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/charge"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "charge.succeeded"
        }
      },
      "charge.updated": {
        "description": "Occurs whenever a charge description or metadata is updated, or upon an asynchronous capture.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/charge"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "charge.updated"
        }
      },
      "charge_fraud_details": {
        "description": "",
        "properties": {
          "stripe_report": {
            "description": "Assessments from Stripe. If set, the value is `fraudulent`.",
            "maxLength": 5000,
            "type": "string"
          },
          "user_report": {
            "description": "Assessments reported by you. If set, possible values of are `safe` and `fraudulent`.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "title": "ChargeFraudDetails",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "stripe_report",
          "user_report"
        ]
      },
      "charge_outcome": {
        "description": "",
        "properties": {
          "network_status": {
            "description": "Possible values are `approved_by_network`, `declined_by_network`, `not_sent_to_network`, and `reversed_after_approval`. The value `reversed_after_approval` indicates the payment was [blocked by Stripe](https://stripe.com/docs/declines#blocked-payments) after bank authorization, and may temporarily appear as \"pending\" on a cardholder's statement.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "description": "An enumerated value providing a more detailed explanation of the outcome's `type`. Charges blocked by Radar's default block rule have the value `highest_risk_level`. Charges placed in review by Radar's default review rule have the value `elevated_risk_level`. Charges authorized, blocked, or placed in review by custom rules have the value `rule`. See [understanding declines](https://stripe.com/docs/declines) for more details.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "risk_level": {
            "description": "Stripe Radar's evaluation of the riskiness of the payment. Possible values for evaluated payments are `normal`, `elevated`, `highest`. For non-card payments, and card-based payments predating the public assignment of risk levels, this field will have the value `not_assessed`. In the event of an error in the evaluation, this field will have the value `unknown`. This field is only available with Radar.",
            "maxLength": 5000,
            "type": "string"
          },
          "risk_score": {
            "description": "Stripe Radar's evaluation of the riskiness of the payment. Possible values for evaluated payments are between 0 and 100. For non-card payments, card-based payments predating the public assignment of risk scores, or in the event of an error during evaluation, this field will not be present. This field is only available with Radar for Fraud Teams.",
            "type": "integer"
          },
          "rule": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/rule"
              }
            ],
            "description": "The ID of the Radar rule that matched the payment, if applicable.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/rule"
                }
              ]
            }
          },
          "seller_message": {
            "description": "A human-readable description of the outcome type and reason, designed for you (the recipient of the payment), not your customer.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "type": {
            "description": "Possible values are `authorized`, `manual_review`, `issuer_declined`, `blocked`, and `invalid`. See [understanding declines](https://stripe.com/docs/declines) and [Radar reviews](https://stripe.com/docs/radar/reviews) for details.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "network_status",
          "reason",
          "seller_message",
          "type"
        ],
        "title": "ChargeOutcome",
        "type": "object",
        "x-expandableFields": [
          "rule"
        ],
        "x-stripeMostCommon": [
          "network_status",
          "reason",
          "risk_level",
          "risk_score",
          "rule",
          "seller_message",
          "type"
        ]
      },
      "charge_transfer_data": {
        "description": "",
        "properties": {
          "amount": {
            "description": "The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.",
            "nullable": true,
            "type": "integer"
          },
          "destination": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/account"
              }
            ],
            "description": "ID of an existing, connected Stripe account to transfer funds to if `transfer_data` was specified in the charge request.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/account"
                }
              ]
            }
          }
        },
        "required": [
          "amount",
          "destination"
        ],
        "title": "ChargeTransferData",
        "type": "object",
        "x-expandableFields": [
          "destination"
        ],
        "x-stripeMostCommon": [
          "amount",
          "destination"
        ]
      },
      "checkout.session": {
        "description": "A Checkout Session represents your customer's session as they pay for\none-time purchases or subscriptions through [Checkout](https://stripe.com/docs/payments/checkout)\nor [Payment Links](https://stripe.com/docs/payments/payment-links). We recommend creating a\nnew Session each time your customer attempts to pay.\n\nOnce payment is successful, the Checkout Session will contain a reference\nto the [Customer](https://stripe.com/docs/api/customers), and either the successful\n[PaymentIntent](https://stripe.com/docs/api/payment_intents) or an active\n[Subscription](https://stripe.com/docs/api/subscriptions).\n\nYou can create a Checkout Session on your server and redirect to its URL\nto begin Checkout.\n\nRelated guide: [Checkout quickstart](https://stripe.com/docs/checkout/quickstart)",
        "properties": {
          "adaptive_pricing": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_pages_checkout_session_adaptive_pricing"
              }
            ],
            "description": "Settings for price localization with [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing).",
            "nullable": true
          },
          "after_expiration": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_pages_checkout_session_after_expiration"
              }
            ],
            "description": "When set, provides configuration for actions to take if this Checkout Session expires.",
            "nullable": true
          },
          "allow_promotion_codes": {
            "description": "Enables user redeemable promotion codes.",
            "nullable": true,
            "type": "boolean"
          },
          "amount_subtotal": {
            "description": "Total of all items before discounts or taxes are applied.",
            "nullable": true,
            "type": "integer"
          },
          "amount_total": {
            "description": "Total of all items after discounts and taxes are applied.",
            "nullable": true,
            "type": "integer"
          },
          "automatic_tax": {
            "$ref": "#/components/schemas/payment_pages_checkout_session_automatic_tax"
          },
          "billing_address_collection": {
            "description": "Describes whether Checkout should collect the customer's billing address. Defaults to `auto`.",
            "enum": [
              "auto",
              "required"
            ],
            "nullable": true,
            "type": "string"
          },
          "cancel_url": {
            "description": "If set, Checkout displays a back button and customers will be directed to this URL if they decide to cancel payment and return to your website.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "client_reference_id": {
            "description": "A unique string to reference the Checkout Session. This can be a\ncustomer ID, a cart ID, or similar, and can be used to reconcile the\nSession with your internal systems.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "client_secret": {
            "description": "Client secret to be used when initializing Stripe.js embedded checkout.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "consent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_pages_checkout_session_consent"
              }
            ],
            "description": "Results of `consent_collection` for this session.",
            "nullable": true
          },
          "consent_collection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_pages_checkout_session_consent_collection"
              }
            ],
            "description": "When set, provides configuration for the Checkout Session to gather active consent from customers.",
            "nullable": true
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "nullable": true,
            "type": "string"
          },
          "currency_conversion": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_pages_checkout_session_currency_conversion"
              }
            ],
            "description": "Currency conversion details for [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing) sessions",
            "nullable": true
          },
          "custom_fields": {
            "description": "Collect additional information from your customer using custom fields. Up to 3 fields are supported.",
            "items": {
              "$ref": "#/components/schemas/payment_pages_checkout_session_custom_fields"
            },
            "type": "array"
          },
          "custom_text": {
            "$ref": "#/components/schemas/payment_pages_checkout_session_custom_text"
          },
          "customer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer"
              },
              {
                "$ref": "#/components/schemas/deleted_customer"
              }
            ],
            "description": "The ID of the customer for this Session.\nFor Checkout Sessions in `subscription` mode or Checkout Sessions with `customer_creation` set as `always` in `payment` mode, Checkout\nwill create a new customer object based on information provided\nduring the payment flow unless an existing customer was provided when\nthe Session was created.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer"
                },
                {
                  "$ref": "#/components/schemas/deleted_customer"
                }
              ]
            }
          },
          "customer_creation": {
            "description": "Configure whether a Checkout Session creates a Customer when the Checkout Session completes.",
            "enum": [
              "always",
              "if_required"
            ],
            "nullable": true,
            "type": "string"
          },
          "customer_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_pages_checkout_session_customer_details"
              }
            ],
            "description": "The customer details including the customer's tax exempt status and the customer's tax IDs. Customer's address details are not present on Sessions in `setup` mode.",
            "nullable": true
          },
          "customer_email": {
            "description": "If provided, this value will be used when the Customer object is created.\nIf not provided, customers will be asked to enter their email address.\nUse this parameter to prefill customer data if you already have an email\non file. To access information about the customer once the payment flow is\ncomplete, use the `customer` attribute.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "expires_at": {
            "description": "The timestamp at which the Checkout Session will expire.",
            "format": "unix-time",
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "invoice": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/invoice"
              }
            ],
            "description": "ID of the invoice created by the Checkout Session, if it exists.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/invoice"
                }
              ]
            }
          },
          "invoice_creation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_pages_checkout_session_invoice_creation"
              }
            ],
            "description": "Details on the state of invoice creation for the Checkout Session.",
            "nullable": true
          },
          "line_items": {
            "description": "The line items purchased by the customer.",
            "properties": {
              "data": {
                "description": "Details about each object.",
                "items": {
                  "$ref": "#/components/schemas/item"
                },
                "type": "array"
              },
              "has_more": {
                "description": "True if this list has another page of items after this one that can be fetched.",
                "type": "boolean"
              },
              "object": {
                "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                "enum": [
                  "list"
                ],
                "type": "string"
              },
              "url": {
                "description": "The URL where this list can be accessed.",
                "maxLength": 5000,
                "type": "string"
              }
            },
            "required": [
              "data",
              "has_more",
              "object",
              "url"
            ],
            "title": "PaymentPagesCheckoutSessionListLineItems",
            "type": "object",
            "x-expandableFields": [
              "data"
            ],
            "x-stripeMostCommon": [
              "data",
              "has_more",
              "object",
              "url"
            ]
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "locale": {
            "description": "The IETF language tag of the locale Checkout is displayed in. If blank or `auto`, the browser's locale is used.",
            "enum": [
              "auto",
              "bg",
              "cs",
              "da",
              "de",
              "el",
              "en",
              "en-GB",
              "es",
              "es-419",
              "et",
              "fi",
              "fil",
              "fr",
              "fr-CA",
              "hr",
              "hu",
              "id",
              "it",
              "ja",
              "ko",
              "lt",
              "lv",
              "ms",
              "mt",
              "nb",
              "nl",
              "pl",
              "pt",
              "pt-BR",
              "ro",
              "ru",
              "sk",
              "sl",
              "sv",
              "th",
              "tr",
              "vi",
              "zh",
              "zh-HK",
              "zh-TW"
            ],
            "nullable": true,
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "nullable": true,
            "type": "object"
          },
          "mode": {
            "description": "The mode of the Checkout Session.",
            "enum": [
              "payment",
              "setup",
              "subscription"
            ],
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "checkout.session"
            ],
            "type": "string"
          },
          "payment_intent": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_intent"
              }
            ],
            "description": "The ID of the PaymentIntent for Checkout Sessions in `payment` mode. You can't confirm or cancel the PaymentIntent for a Checkout Session. To cancel, [expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_intent"
                }
              ]
            }
          },
          "payment_link": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_link"
              }
            ],
            "description": "The ID of the Payment Link that created this Session.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_link"
                }
              ]
            }
          },
          "payment_method_collection": {
            "description": "Configure whether a Checkout Session should collect a payment method. Defaults to `always`.",
            "enum": [
              "always",
              "if_required"
            ],
            "nullable": true,
            "type": "string"
          },
          "payment_method_configuration_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_method_config_biz_payment_method_configuration_details"
              }
            ],
            "description": "Information about the payment method configuration used for this Checkout session if using dynamic payment methods.",
            "nullable": true
          },
          "payment_method_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/checkout_session_payment_method_options"
              }
            ],
            "description": "Payment-method-specific configuration for the PaymentIntent or SetupIntent of this CheckoutSession.",
            "nullable": true
          },
          "payment_method_types": {
            "description": "A list of the types of payment methods (e.g. card) this Checkout\nSession is allowed to accept.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "payment_status": {
            "description": "The payment status of the Checkout Session, one of `paid`, `unpaid`, or `no_payment_required`.\nYou can use this value to decide when to fulfill your customer's order.",
            "enum": [
              "no_payment_required",
              "paid",
              "unpaid"
            ],
            "type": "string"
          },
          "phone_number_collection": {
            "$ref": "#/components/schemas/payment_pages_checkout_session_phone_number_collection"
          },
          "recovered_from": {
            "description": "The ID of the original expired Checkout Session that triggered the recovery flow.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "redirect_on_completion": {
            "description": "This parameter applies to `ui_mode: embedded`. Learn more about the [redirect behavior](https://stripe.com/docs/payments/checkout/custom-success-page?payment-ui=embedded-form) of embedded sessions. Defaults to `always`.",
            "enum": [
              "always",
              "if_required",
              "never"
            ],
            "type": "string"
          },
          "return_url": {
            "description": "Applies to Checkout Sessions with `ui_mode: embedded`. The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site.",
            "maxLength": 5000,
            "type": "string"
          },
          "saved_payment_method_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_pages_checkout_session_saved_payment_method_options"
              }
            ],
            "description": "Controls saved payment method settings for the session. Only available in `payment` and `subscription` mode.",
            "nullable": true
          },
          "setup_intent": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/setup_intent"
              }
            ],
            "description": "The ID of the SetupIntent for Checkout Sessions in `setup` mode. You can't confirm or cancel the SetupIntent for a Checkout Session. To cancel, [expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/setup_intent"
                }
              ]
            }
          },
          "shipping_address_collection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_pages_checkout_session_shipping_address_collection"
              }
            ],
            "description": "When set, provides configuration for Checkout to collect a shipping address from a customer.",
            "nullable": true
          },
          "shipping_cost": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_pages_checkout_session_shipping_cost"
              }
            ],
            "description": "The details of the customer cost of shipping, including the customer chosen ShippingRate.",
            "nullable": true
          },
          "shipping_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shipping"
              }
            ],
            "description": "Shipping information for this Checkout Session.",
            "nullable": true
          },
          "shipping_options": {
            "description": "The shipping rate options applied to this Session.",
            "items": {
              "$ref": "#/components/schemas/payment_pages_checkout_session_shipping_option"
            },
            "type": "array"
          },
          "status": {
            "description": "The status of the Checkout Session, one of `open`, `complete`, or `expired`.",
            "enum": [
              "complete",
              "expired",
              "open"
            ],
            "nullable": true,
            "type": "string"
          },
          "submit_type": {
            "description": "Describes the type of transaction being performed by Checkout in order to customize\nrelevant text on the page, such as the submit button. `submit_type` can only be\nspecified on Checkout Sessions in `payment` mode. If blank or `auto`, `pay` is used.",
            "enum": [
              "auto",
              "book",
              "donate",
              "pay",
              "subscribe"
            ],
            "nullable": true,
            "type": "string"
          },
          "subscription": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/subscription"
              }
            ],
            "description": "The ID of the subscription for Checkout Sessions in `subscription` mode.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/subscription"
                }
              ]
            }
          },
          "success_url": {
            "description": "The URL the customer will be directed to after the payment or\nsubscription creation is successful.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "tax_id_collection": {
            "$ref": "#/components/schemas/payment_pages_checkout_session_tax_id_collection"
          },
          "total_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_pages_checkout_session_total_details"
              }
            ],
            "description": "Tax and discount details for the computed total amount.",
            "nullable": true
          },
          "ui_mode": {
            "description": "The UI mode of the Session. Defaults to `hosted`.",
            "enum": [
              "embedded",
              "hosted"
            ],
            "nullable": true,
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "url": {
            "description": "The URL to the Checkout Session. Redirect customers to this URL to take them to Checkout. If you’re using [Custom Domains](https://stripe.com/docs/payments/checkout/custom-domains), the URL will use your subdomain. Otherwise, it’ll use `checkout.stripe.com.`\nThis value is only present when the session is active.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "adaptive_pricing",
          "after_expiration",
          "allow_promotion_codes",
          "amount_subtotal",
          "amount_total",
          "automatic_tax",
          "billing_address_collection",
          "cancel_url",
          "client_reference_id",
          "client_secret",
          "consent",
          "consent_collection",
          "created",
          "currency",
          "currency_conversion",
          "custom_fields",
          "custom_text",
          "customer",
          "customer_creation",
          "customer_details",
          "customer_email",
          "expires_at",
          "id",
          "invoice",
          "invoice_creation",
          "livemode",
          "locale",
          "metadata",
          "mode",
          "object",
          "payment_intent",
          "payment_link",
          "payment_method_collection",
          "payment_method_configuration_details",
          "payment_method_options",
          "payment_method_types",
          "payment_status",
          "recovered_from",
          "saved_payment_method_options",
          "setup_intent",
          "shipping_address_collection",
          "shipping_cost",
          "shipping_details",
          "shipping_options",
          "status",
          "submit_type",
          "subscription",
          "success_url",
          "total_details",
          "ui_mode",
          "url"
        ],
        "title": "Session",
        "type": "object",
        "x-expandableFields": [
          "adaptive_pricing",
          "after_expiration",
          "automatic_tax",
          "consent",
          "consent_collection",
          "currency_conversion",
          "custom_fields",
          "custom_text",
          "customer",
          "customer_details",
          "invoice",
          "invoice_creation",
          "line_items",
          "payment_intent",
          "payment_link",
          "payment_method_configuration_details",
          "payment_method_options",
          "phone_number_collection",
          "saved_payment_method_options",
          "setup_intent",
          "shipping_address_collection",
          "shipping_cost",
          "shipping_details",
          "shipping_options",
          "subscription",
          "tax_id_collection",
          "total_details"
        ],
        "x-resourceId": "checkout.session",
        "x-stripeMostCommon": [
          "automatic_tax",
          "client_reference_id",
          "currency",
          "customer",
          "customer_email",
          "id",
          "line_items",
          "metadata",
          "mode",
          "payment_intent",
          "payment_status",
          "return_url",
          "status",
          "success_url",
          "url"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/checkout/sessions"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/checkout/sessions/{session}"
          },
          {
            "method_name": "list_line_items",
            "method_on": "service",
            "method_type": "custom",
            "operation": "get",
            "path": "/v1/checkout/sessions/{session}/line_items"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/checkout/sessions"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/checkout/sessions/{session}"
          },
          {
            "method_name": "expire",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/checkout/sessions/{session}/expire"
          }
        ],
        "x-stripeResource": {
          "class_name": "Session",
          "has_collection_class": true,
          "in_package": "Checkout"
        }
      },
      "checkout.session.async_payment_failed": {
        "description": "Occurs when a payment intent using a delayed payment method fails.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/checkout.session"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "checkout.session.async_payment_failed"
        }
      },
      "checkout.session.async_payment_succeeded": {
        "description": "Occurs when a payment intent using a delayed payment method finally succeeds.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/checkout.session"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "checkout.session.async_payment_succeeded"
        }
      },
      "checkout.session.completed": {
        "description": "Occurs when a Checkout Session has been successfully completed.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/checkout.session"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "checkout.session.completed"
        }
      },
      "checkout.session.expired": {
        "description": "Occurs when a Checkout Session is expired.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/checkout.session"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "checkout.session.expired"
        }
      },
      "checkout_acss_debit_mandate_options": {
        "description": "",
        "properties": {
          "custom_mandate_url": {
            "description": "A URL for custom mandate text",
            "maxLength": 5000,
            "type": "string"
          },
          "default_for": {
            "description": "List of Stripe products where this mandate can be selected automatically. Returned when the Session is in `setup` mode.",
            "items": {
              "enum": [
                "invoice",
                "subscription"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "interval_description": {
            "description": "Description of the interval. Only required if the 'payment_schedule' parameter is 'interval' or 'combined'.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "payment_schedule": {
            "description": "Payment schedule for the mandate.",
            "enum": [
              "combined",
              "interval",
              "sporadic"
            ],
            "nullable": true,
            "type": "string"
          },
          "transaction_type": {
            "description": "Transaction type of the mandate.",
            "enum": [
              "business",
              "personal"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "interval_description",
          "payment_schedule",
          "transaction_type"
        ],
        "title": "CheckoutAcssDebitMandateOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "custom_mandate_url",
          "default_for",
          "interval_description",
          "payment_schedule",
          "transaction_type"
        ]
      },
      "checkout_acss_debit_payment_method_options": {
        "description": "",
        "properties": {
          "currency": {
            "description": "Currency supported by the bank account. Returned when the Session is in `setup` mode.",
            "enum": [
              "cad",
              "usd"
            ],
            "type": "string"
          },
          "mandate_options": {
            "$ref": "#/components/schemas/checkout_acss_debit_mandate_options"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session",
              "on_session"
            ],
            "type": "string"
          },
          "verification_method": {
            "description": "Bank account verification method.",
            "enum": [
              "automatic",
              "instant",
              "microdeposits"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "title": "CheckoutAcssDebitPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [
          "mandate_options"
        ],
        "x-stripeMostCommon": [
          "currency",
          "mandate_options",
          "setup_future_usage",
          "verification_method"
        ]
      },
      "checkout_affirm_payment_method_options": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "title": "CheckoutAffirmPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "checkout_afterpay_clearpay_payment_method_options": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "title": "CheckoutAfterpayClearpayPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ],
        "x-stripeResource": {
          "class_name": "AfterpayClearpay",
          "in_package": ""
        }
      },
      "checkout_alipay_payment_method_options": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "title": "CheckoutAlipayPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "checkout_amazon_pay_payment_method_options": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session"
            ],
            "type": "string"
          }
        },
        "title": "CheckoutAmazonPayPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "checkout_au_becs_debit_payment_method_options": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "title": "CheckoutAuBecsDebitPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "checkout_bacs_debit_payment_method_options": {
        "description": "",
        "properties": {
          "mandate_options": {
            "$ref": "#/components/schemas/checkout_payment_method_options_mandate_options_bacs_debit"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session",
              "on_session"
            ],
            "type": "string"
          }
        },
        "title": "CheckoutBacsDebitPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [
          "mandate_options"
        ],
        "x-stripeMostCommon": [
          "mandate_options",
          "setup_future_usage"
        ]
      },
      "checkout_bancontact_payment_method_options": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "title": "CheckoutBancontactPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "checkout_boleto_payment_method_options": {
        "description": "",
        "properties": {
          "expires_after_days": {
            "description": "The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto voucher will expire on Wednesday at 23:59 America/Sao_Paulo time.",
            "type": "integer"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session",
              "on_session"
            ],
            "type": "string"
          }
        },
        "required": [
          "expires_after_days"
        ],
        "title": "CheckoutBoletoPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "expires_after_days",
          "setup_future_usage"
        ]
      },
      "checkout_card_installments_options": {
        "description": "",
        "properties": {
          "enabled": {
            "description": "Indicates if installments are enabled",
            "type": "boolean"
          }
        },
        "title": "CheckoutCardInstallmentsOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "enabled"
        ]
      },
      "checkout_card_payment_method_options": {
        "description": "",
        "properties": {
          "installments": {
            "$ref": "#/components/schemas/checkout_card_installments_options"
          },
          "request_extended_authorization": {
            "description": "Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.",
            "enum": [
              "if_available",
              "never"
            ],
            "type": "string"
          },
          "request_incremental_authorization": {
            "description": "Request ability to [increment the authorization](/payments/incremental-authorization) for this CheckoutSession.",
            "enum": [
              "if_available",
              "never"
            ],
            "type": "string"
          },
          "request_multicapture": {
            "description": "Request ability to make [multiple captures](/payments/multicapture) for this CheckoutSession.",
            "enum": [
              "if_available",
              "never"
            ],
            "type": "string"
          },
          "request_overcapture": {
            "description": "Request ability to [overcapture](/payments/overcapture) for this CheckoutSession.",
            "enum": [
              "if_available",
              "never"
            ],
            "type": "string"
          },
          "request_three_d_secure": {
            "description": "We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.",
            "enum": [
              "any",
              "automatic",
              "challenge"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session",
              "on_session"
            ],
            "type": "string"
          },
          "statement_descriptor_suffix_kana": {
            "description": "Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters.",
            "maxLength": 5000,
            "type": "string"
          },
          "statement_descriptor_suffix_kanji": {
            "description": "Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "request_three_d_secure"
        ],
        "title": "CheckoutCardPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [
          "installments"
        ],
        "x-stripeMostCommon": [
          "installments",
          "request_extended_authorization",
          "request_incremental_authorization",
          "request_multicapture",
          "request_overcapture",
          "request_three_d_secure",
          "setup_future_usage",
          "statement_descriptor_suffix_kana",
          "statement_descriptor_suffix_kanji"
        ]
      },
      "checkout_cashapp_payment_method_options": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "title": "CheckoutCashappPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "checkout_customer_balance_bank_transfer_payment_method_options": {
        "description": "",
        "properties": {
          "eu_bank_transfer": {
            "$ref": "#/components/schemas/payment_method_options_customer_balance_eu_bank_account"
          },
          "requested_address_types": {
            "description": "List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.\n\nPermitted values include: `sort_code`, `zengin`, `iban`, or `spei`.",
            "items": {
              "enum": [
                "aba",
                "iban",
                "sepa",
                "sort_code",
                "spei",
                "swift",
                "zengin"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "type": "array"
          },
          "type": {
            "description": "The bank transfer type that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.",
            "enum": [
              "eu_bank_transfer",
              "gb_bank_transfer",
              "jp_bank_transfer",
              "mx_bank_transfer",
              "us_bank_transfer"
            ],
            "nullable": true,
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "type"
        ],
        "title": "CheckoutCustomerBalanceBankTransferPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [
          "eu_bank_transfer"
        ],
        "x-stripeMostCommon": [
          "eu_bank_transfer",
          "requested_address_types",
          "type"
        ]
      },
      "checkout_customer_balance_payment_method_options": {
        "description": "",
        "properties": {
          "bank_transfer": {
            "$ref": "#/components/schemas/checkout_customer_balance_bank_transfer_payment_method_options"
          },
          "funding_type": {
            "description": "The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.",
            "enum": [
              "bank_transfer"
            ],
            "nullable": true,
            "type": "string"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "required": [
          "funding_type"
        ],
        "title": "CheckoutCustomerBalancePaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [
          "bank_transfer"
        ],
        "x-stripeMostCommon": [
          "bank_transfer",
          "funding_type",
          "setup_future_usage"
        ]
      },
      "checkout_eps_payment_method_options": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "title": "CheckoutEpsPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "checkout_fpx_payment_method_options": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "title": "CheckoutFpxPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "checkout_giropay_payment_method_options": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "title": "CheckoutGiropayPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "checkout_grab_pay_payment_method_options": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "title": "CheckoutGrabPayPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "checkout_ideal_payment_method_options": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "title": "CheckoutIdealPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "checkout_kakao_pay_payment_method_options": {
        "description": "",
        "properties": {
          "capture_method": {
            "description": "Controls when the funds will be captured from the customer's account.",
            "enum": [
              "manual"
            ],
            "type": "string"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session"
            ],
            "type": "string"
          }
        },
        "title": "CheckoutKakaoPayPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "capture_method",
          "setup_future_usage"
        ]
      },
      "checkout_klarna_payment_method_options": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session",
              "on_session"
            ],
            "type": "string"
          }
        },
        "title": "CheckoutKlarnaPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "checkout_konbini_payment_method_options": {
        "description": "",
        "properties": {
          "expires_after_days": {
            "description": "The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST.",
            "nullable": true,
            "type": "integer"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "required": [
          "expires_after_days"
        ],
        "title": "CheckoutKonbiniPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "expires_after_days",
          "setup_future_usage"
        ]
      },
      "checkout_kr_card_payment_method_options": {
        "description": "",
        "properties": {
          "capture_method": {
            "description": "Controls when the funds will be captured from the customer's account.",
            "enum": [
              "manual"
            ],
            "type": "string"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session"
            ],
            "type": "string"
          }
        },
        "title": "CheckoutKrCardPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "capture_method",
          "setup_future_usage"
        ]
      },
      "checkout_link_payment_method_options": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session"
            ],
            "type": "string"
          }
        },
        "title": "CheckoutLinkPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "checkout_mobilepay_payment_method_options": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "title": "CheckoutMobilepayPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "checkout_multibanco_payment_method_options": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "title": "CheckoutMultibancoPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "checkout_naver_pay_payment_method_options": {
        "description": "",
        "properties": {
          "capture_method": {
            "description": "Controls when the funds will be captured from the customer's account.",
            "enum": [
              "manual"
            ],
            "type": "string"
          }
        },
        "title": "CheckoutNaverPayPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "capture_method"
        ]
      },
      "checkout_oxxo_payment_method_options": {
        "description": "",
        "properties": {
          "expires_after_days": {
            "description": "The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.",
            "type": "integer"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "required": [
          "expires_after_days"
        ],
        "title": "CheckoutOxxoPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "expires_after_days",
          "setup_future_usage"
        ]
      },
      "checkout_p24_payment_method_options": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "title": "CheckoutP24PaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "checkout_payco_payment_method_options": {
        "description": "",
        "properties": {
          "capture_method": {
            "description": "Controls when the funds will be captured from the customer's account.",
            "enum": [
              "manual"
            ],
            "type": "string"
          }
        },
        "title": "CheckoutPaycoPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "capture_method"
        ]
      },
      "checkout_payment_method_options_mandate_options_bacs_debit": {
        "description": "",
        "properties": {},
        "title": "checkout_payment_method_options_mandate_options_bacs_debit",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeResource": {
          "class_name": "BacsDebitMandateOptions",
          "in_package": ""
        }
      },
      "checkout_payment_method_options_mandate_options_sepa_debit": {
        "description": "",
        "properties": {},
        "title": "checkout_payment_method_options_mandate_options_sepa_debit",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeResource": {
          "class_name": "SepaDebitMandateOptions",
          "in_package": ""
        }
      },
      "checkout_paynow_payment_method_options": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "title": "CheckoutPaynowPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "checkout_paypal_payment_method_options": {
        "description": "",
        "properties": {
          "capture_method": {
            "description": "Controls when the funds will be captured from the customer's account.",
            "enum": [
              "manual"
            ],
            "type": "string"
          },
          "preferred_locale": {
            "description": "Preferred locale of the PayPal checkout page that the customer is redirected to.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "reference": {
            "description": "A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session"
            ],
            "type": "string"
          }
        },
        "required": [
          "preferred_locale",
          "reference"
        ],
        "title": "CheckoutPaypalPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "capture_method",
          "preferred_locale",
          "reference",
          "setup_future_usage"
        ]
      },
      "checkout_pix_payment_method_options": {
        "description": "",
        "properties": {
          "expires_after_seconds": {
            "description": "The number of seconds after which Pix payment will expire.",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "expires_after_seconds"
        ],
        "title": "CheckoutPixPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "expires_after_seconds"
        ]
      },
      "checkout_revolut_pay_payment_method_options": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session"
            ],
            "type": "string"
          }
        },
        "title": "CheckoutRevolutPayPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "checkout_samsung_pay_payment_method_options": {
        "description": "",
        "properties": {
          "capture_method": {
            "description": "Controls when the funds will be captured from the customer's account.",
            "enum": [
              "manual"
            ],
            "type": "string"
          }
        },
        "title": "CheckoutSamsungPayPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "capture_method"
        ]
      },
      "checkout_sepa_debit_payment_method_options": {
        "description": "",
        "properties": {
          "mandate_options": {
            "$ref": "#/components/schemas/checkout_payment_method_options_mandate_options_sepa_debit"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session",
              "on_session"
            ],
            "type": "string"
          }
        },
        "title": "CheckoutSepaDebitPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [
          "mandate_options"
        ],
        "x-stripeMostCommon": [
          "mandate_options",
          "setup_future_usage"
        ]
      },
      "checkout_session_payment_method_options": {
        "description": "",
        "properties": {
          "acss_debit": {
            "$ref": "#/components/schemas/checkout_acss_debit_payment_method_options"
          },
          "affirm": {
            "$ref": "#/components/schemas/checkout_affirm_payment_method_options"
          },
          "afterpay_clearpay": {
            "$ref": "#/components/schemas/checkout_afterpay_clearpay_payment_method_options"
          },
          "alipay": {
            "$ref": "#/components/schemas/checkout_alipay_payment_method_options"
          },
          "amazon_pay": {
            "$ref": "#/components/schemas/checkout_amazon_pay_payment_method_options"
          },
          "au_becs_debit": {
            "$ref": "#/components/schemas/checkout_au_becs_debit_payment_method_options"
          },
          "bacs_debit": {
            "$ref": "#/components/schemas/checkout_bacs_debit_payment_method_options"
          },
          "bancontact": {
            "$ref": "#/components/schemas/checkout_bancontact_payment_method_options"
          },
          "boleto": {
            "$ref": "#/components/schemas/checkout_boleto_payment_method_options"
          },
          "card": {
            "$ref": "#/components/schemas/checkout_card_payment_method_options"
          },
          "cashapp": {
            "$ref": "#/components/schemas/checkout_cashapp_payment_method_options"
          },
          "customer_balance": {
            "$ref": "#/components/schemas/checkout_customer_balance_payment_method_options"
          },
          "eps": {
            "$ref": "#/components/schemas/checkout_eps_payment_method_options"
          },
          "fpx": {
            "$ref": "#/components/schemas/checkout_fpx_payment_method_options"
          },
          "giropay": {
            "$ref": "#/components/schemas/checkout_giropay_payment_method_options"
          },
          "grabpay": {
            "$ref": "#/components/schemas/checkout_grab_pay_payment_method_options"
          },
          "ideal": {
            "$ref": "#/components/schemas/checkout_ideal_payment_method_options"
          },
          "kakao_pay": {
            "$ref": "#/components/schemas/checkout_kakao_pay_payment_method_options"
          },
          "klarna": {
            "$ref": "#/components/schemas/checkout_klarna_payment_method_options"
          },
          "konbini": {
            "$ref": "#/components/schemas/checkout_konbini_payment_method_options"
          },
          "kr_card": {
            "$ref": "#/components/schemas/checkout_kr_card_payment_method_options"
          },
          "link": {
            "$ref": "#/components/schemas/checkout_link_payment_method_options"
          },
          "mobilepay": {
            "$ref": "#/components/schemas/checkout_mobilepay_payment_method_options"
          },
          "multibanco": {
            "$ref": "#/components/schemas/checkout_multibanco_payment_method_options"
          },
          "naver_pay": {
            "$ref": "#/components/schemas/checkout_naver_pay_payment_method_options"
          },
          "oxxo": {
            "$ref": "#/components/schemas/checkout_oxxo_payment_method_options"
          },
          "p24": {
            "$ref": "#/components/schemas/checkout_p24_payment_method_options"
          },
          "payco": {
            "$ref": "#/components/schemas/checkout_payco_payment_method_options"
          },
          "paynow": {
            "$ref": "#/components/schemas/checkout_paynow_payment_method_options"
          },
          "paypal": {
            "$ref": "#/components/schemas/checkout_paypal_payment_method_options"
          },
          "pix": {
            "$ref": "#/components/schemas/checkout_pix_payment_method_options"
          },
          "revolut_pay": {
            "$ref": "#/components/schemas/checkout_revolut_pay_payment_method_options"
          },
          "samsung_pay": {
            "$ref": "#/components/schemas/checkout_samsung_pay_payment_method_options"
          },
          "sepa_debit": {
            "$ref": "#/components/schemas/checkout_sepa_debit_payment_method_options"
          },
          "sofort": {
            "$ref": "#/components/schemas/checkout_sofort_payment_method_options"
          },
          "swish": {
            "$ref": "#/components/schemas/checkout_swish_payment_method_options"
          },
          "us_bank_account": {
            "$ref": "#/components/schemas/checkout_us_bank_account_payment_method_options"
          }
        },
        "title": "CheckoutSessionPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [
          "acss_debit",
          "affirm",
          "afterpay_clearpay",
          "alipay",
          "amazon_pay",
          "au_becs_debit",
          "bacs_debit",
          "bancontact",
          "boleto",
          "card",
          "cashapp",
          "customer_balance",
          "eps",
          "fpx",
          "giropay",
          "grabpay",
          "ideal",
          "kakao_pay",
          "klarna",
          "konbini",
          "kr_card",
          "link",
          "mobilepay",
          "multibanco",
          "naver_pay",
          "oxxo",
          "p24",
          "payco",
          "paynow",
          "paypal",
          "pix",
          "revolut_pay",
          "samsung_pay",
          "sepa_debit",
          "sofort",
          "swish",
          "us_bank_account"
        ],
        "x-stripeMostCommon": [
          "acss_debit",
          "affirm",
          "afterpay_clearpay",
          "alipay",
          "amazon_pay",
          "au_becs_debit",
          "bacs_debit",
          "bancontact",
          "boleto",
          "card",
          "cashapp",
          "customer_balance",
          "eps",
          "fpx",
          "giropay",
          "grabpay",
          "ideal",
          "kakao_pay",
          "klarna",
          "konbini",
          "kr_card",
          "link",
          "mobilepay",
          "multibanco",
          "naver_pay",
          "oxxo",
          "p24",
          "payco",
          "paynow",
          "paypal",
          "pix",
          "revolut_pay",
          "samsung_pay",
          "sepa_debit",
          "sofort",
          "swish",
          "us_bank_account"
        ]
      },
      "checkout_sofort_payment_method_options": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "title": "CheckoutSofortPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "checkout_swish_payment_method_options": {
        "description": "",
        "properties": {
          "reference": {
            "description": "The order reference that will be displayed to customers in the Swish application. Defaults to the `id` of the Payment Intent.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "reference"
        ],
        "title": "CheckoutSwishPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "reference"
        ]
      },
      "checkout_us_bank_account_payment_method_options": {
        "description": "",
        "properties": {
          "financial_connections": {
            "$ref": "#/components/schemas/linked_account_options_us_bank_account"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session",
              "on_session"
            ],
            "type": "string"
          },
          "verification_method": {
            "description": "Bank account verification method.",
            "enum": [
              "automatic",
              "instant"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "title": "CheckoutUsBankAccountPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [
          "financial_connections"
        ],
        "x-stripeMostCommon": [
          "financial_connections",
          "setup_future_usage",
          "verification_method"
        ]
      },
      "climate.order": {
        "description": "Orders represent your intent to purchase a particular Climate product. When you create an order, the\npayment is deducted from your merchant balance.",
        "properties": {
          "amount_fees": {
            "description": "Total amount of [Frontier](https://frontierclimate.com/)'s service fees in the currency's smallest unit.",
            "type": "integer"
          },
          "amount_subtotal": {
            "description": "Total amount of the carbon removal in the currency's smallest unit.",
            "type": "integer"
          },
          "amount_total": {
            "description": "Total amount of the order including fees in the currency's smallest unit.",
            "type": "integer"
          },
          "beneficiary": {
            "$ref": "#/components/schemas/climate_removals_beneficiary"
          },
          "canceled_at": {
            "description": "Time at which the order was canceled. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "cancellation_reason": {
            "description": "Reason for the cancellation of this order.",
            "enum": [
              "expired",
              "product_unavailable",
              "requested"
            ],
            "nullable": true,
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "certificate": {
            "description": "For delivered orders, a URL to a delivery certificate for the order.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "confirmed_at": {
            "description": "Time at which the order was confirmed. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase, representing the currency for this order.",
            "maxLength": 5000,
            "type": "string"
          },
          "delayed_at": {
            "description": "Time at which the order's expected_delivery_year was delayed. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "delivered_at": {
            "description": "Time at which the order was delivered. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "delivery_details": {
            "description": "Details about the delivery of carbon removal for this order.",
            "items": {
              "$ref": "#/components/schemas/climate_removals_order_deliveries"
            },
            "type": "array"
          },
          "expected_delivery_year": {
            "description": "The year this order is expected to be delivered.",
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "metric_tons": {
            "description": "Quantity of carbon removal that is included in this order.",
            "format": "decimal",
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "climate.order"
            ],
            "type": "string"
          },
          "product": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/climate.product"
              }
            ],
            "description": "Unique ID for the Climate `Product` this order is purchasing.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/climate.product"
                }
              ]
            }
          },
          "product_substituted_at": {
            "description": "Time at which the order's product was substituted for a different product. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "status": {
            "description": "The current status of this order.",
            "enum": [
              "awaiting_funds",
              "canceled",
              "confirmed",
              "delivered",
              "open"
            ],
            "type": "string"
          }
        },
        "required": [
          "amount_fees",
          "amount_subtotal",
          "amount_total",
          "canceled_at",
          "cancellation_reason",
          "certificate",
          "confirmed_at",
          "created",
          "currency",
          "delayed_at",
          "delivered_at",
          "delivery_details",
          "expected_delivery_year",
          "id",
          "livemode",
          "metadata",
          "metric_tons",
          "object",
          "product",
          "product_substituted_at",
          "status"
        ],
        "title": "ClimateRemovalsOrders",
        "type": "object",
        "x-expandableFields": [
          "beneficiary",
          "delivery_details",
          "product"
        ],
        "x-resourceId": "climate.order",
        "x-stripeMostCommon": [
          "amount_fees",
          "amount_subtotal",
          "amount_total",
          "beneficiary",
          "canceled_at",
          "cancellation_reason",
          "certificate",
          "confirmed_at",
          "created",
          "currency",
          "delayed_at",
          "delivered_at",
          "delivery_details",
          "expected_delivery_year",
          "id",
          "livemode",
          "metadata",
          "metric_tons",
          "object",
          "product",
          "product_substituted_at",
          "status"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/climate/orders"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/climate/orders/{order}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/climate/orders"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/climate/orders/{order}"
          },
          {
            "method_name": "cancel",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/climate/orders/{order}/cancel"
          }
        ],
        "x-stripeResource": {
          "class_name": "Order",
          "has_collection_class": true,
          "in_package": "Climate"
        }
      },
      "climate.order.canceled": {
        "description": "Occurs when a Climate order is canceled.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/climate.order"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "climate.order.canceled"
        }
      },
      "climate.order.created": {
        "description": "Occurs when a Climate order is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/climate.order"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "climate.order.created"
        }
      },
      "climate.order.delayed": {
        "description": "Occurs when a Climate order is delayed.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/climate.order"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "climate.order.delayed"
        }
      },
      "climate.order.delivered": {
        "description": "Occurs when a Climate order is delivered.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/climate.order"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "climate.order.delivered"
        }
      },
      "climate.order.product_substituted": {
        "description": "Occurs when a Climate order's product is substituted for another.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/climate.order"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "climate.order.product_substituted"
        }
      },
      "climate.product": {
        "description": "A Climate product represents a type of carbon removal unit available for reservation.\nYou can retrieve it to see the current price and availability.",
        "properties": {
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "current_prices_per_metric_ton": {
            "additionalProperties": {
              "$ref": "#/components/schemas/climate_removals_products_price"
            },
            "description": "Current prices for a metric ton of carbon removal in a currency's smallest unit.",
            "type": "object"
          },
          "delivery_year": {
            "description": "The year in which the carbon removal is expected to be delivered.",
            "nullable": true,
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the object. For convenience, Climate product IDs are human-readable strings\nthat start with `climsku_`. See [carbon removal inventory](https://stripe.com/docs/climate/orders/carbon-removal-inventory)\nfor a list of available carbon removal products.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metric_tons_available": {
            "description": "The quantity of metric tons available for reservation.",
            "format": "decimal",
            "type": "string"
          },
          "name": {
            "description": "The Climate product's name.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "climate.product"
            ],
            "type": "string"
          },
          "suppliers": {
            "description": "The carbon removal suppliers that fulfill orders for this Climate product.",
            "items": {
              "$ref": "#/components/schemas/climate.supplier"
            },
            "type": "array"
          }
        },
        "required": [
          "created",
          "current_prices_per_metric_ton",
          "delivery_year",
          "id",
          "livemode",
          "metric_tons_available",
          "name",
          "object",
          "suppliers"
        ],
        "title": "ClimateRemovalsProducts",
        "type": "object",
        "x-expandableFields": [
          "current_prices_per_metric_ton",
          "suppliers"
        ],
        "x-resourceId": "climate.product",
        "x-stripeMostCommon": [
          "created",
          "current_prices_per_metric_ton",
          "delivery_year",
          "id",
          "livemode",
          "metric_tons_available",
          "name",
          "object",
          "suppliers"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/climate/products"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/climate/products/{product}"
          }
        ],
        "x-stripeResource": {
          "class_name": "Product",
          "has_collection_class": true,
          "in_package": "Climate"
        }
      },
      "climate.product.created": {
        "description": "Occurs when a Climate product is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/climate.product"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "climate.product.created"
        }
      },
      "climate.product.pricing_updated": {
        "description": "Occurs when a Climate product is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/climate.product"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "climate.product.pricing_updated"
        }
      },
      "climate.supplier": {
        "description": "A supplier of carbon removal.",
        "properties": {
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "info_url": {
            "description": "Link to a webpage to learn more about the supplier.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "locations": {
            "description": "The locations in which this supplier operates.",
            "items": {
              "$ref": "#/components/schemas/climate_removals_location"
            },
            "type": "array"
          },
          "name": {
            "description": "Name of this carbon removal supplier.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object’s type. Objects of the same type share the same value.",
            "enum": [
              "climate.supplier"
            ],
            "type": "string"
          },
          "removal_pathway": {
            "description": "The scientific pathway used for carbon removal.",
            "enum": [
              "biomass_carbon_removal_and_storage",
              "direct_air_capture",
              "enhanced_weathering"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "id",
          "info_url",
          "livemode",
          "locations",
          "name",
          "object",
          "removal_pathway"
        ],
        "title": "ClimateRemovalsSuppliers",
        "type": "object",
        "x-expandableFields": [
          "locations"
        ],
        "x-resourceId": "climate.supplier",
        "x-stripeMostCommon": [
          "id",
          "info_url",
          "livemode",
          "locations",
          "name",
          "object",
          "removal_pathway"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/climate/suppliers"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/climate/suppliers/{supplier}"
          }
        ],
        "x-stripeResource": {
          "class_name": "Supplier",
          "has_collection_class": true,
          "in_package": "Climate"
        }
      },
      "climate_removals_beneficiary": {
        "description": "",
        "properties": {
          "public_name": {
            "description": "Publicly displayable name for the end beneficiary of carbon removal.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "public_name"
        ],
        "title": "ClimateRemovalsBeneficiary",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "public_name"
        ]
      },
      "climate_removals_location": {
        "description": "",
        "properties": {
          "city": {
            "description": "The city where the supplier is located.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "country": {
            "description": "Two-letter ISO code representing the country where the supplier is located.",
            "maxLength": 5000,
            "type": "string"
          },
          "latitude": {
            "description": "The geographic latitude where the supplier is located.",
            "nullable": true,
            "type": "number"
          },
          "longitude": {
            "description": "The geographic longitude where the supplier is located.",
            "nullable": true,
            "type": "number"
          },
          "region": {
            "description": "The state/county/province/region where the supplier is located.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "city",
          "country",
          "latitude",
          "longitude",
          "region"
        ],
        "title": "ClimateRemovalsLocation",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "city",
          "country",
          "latitude",
          "longitude",
          "region"
        ]
      },
      "climate_removals_order_deliveries": {
        "description": "The delivery of a specified quantity of carbon for an order.",
        "properties": {
          "delivered_at": {
            "description": "Time at which the delivery occurred. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "location": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/climate_removals_location"
              }
            ],
            "description": "Specific location of this delivery.",
            "nullable": true
          },
          "metric_tons": {
            "description": "Quantity of carbon removal supplied by this delivery.",
            "maxLength": 5000,
            "type": "string"
          },
          "registry_url": {
            "description": "Once retired, a URL to the registry entry for the tons from this delivery.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "supplier": {
            "$ref": "#/components/schemas/climate.supplier"
          }
        },
        "required": [
          "delivered_at",
          "location",
          "metric_tons",
          "registry_url",
          "supplier"
        ],
        "title": "ClimateRemovalsOrderDeliveries",
        "type": "object",
        "x-expandableFields": [
          "location",
          "supplier"
        ],
        "x-stripeMostCommon": [
          "delivered_at",
          "location",
          "metric_tons",
          "registry_url",
          "supplier"
        ]
      },
      "climate_removals_products_price": {
        "description": "",
        "properties": {
          "amount_fees": {
            "description": "Fees for one metric ton of carbon removal in the currency's smallest unit.",
            "type": "integer"
          },
          "amount_subtotal": {
            "description": "Subtotal for one metric ton of carbon removal (excluding fees) in the currency's smallest unit.",
            "type": "integer"
          },
          "amount_total": {
            "description": "Total for one metric ton of carbon removal (including fees) in the currency's smallest unit.",
            "type": "integer"
          }
        },
        "required": [
          "amount_fees",
          "amount_subtotal",
          "amount_total"
        ],
        "title": "ClimateRemovalsProductsPrice",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "amount_fees",
          "amount_subtotal",
          "amount_total"
        ]
      },
      "confirmation_token": {
        "description": "ConfirmationTokens help transport client side data collected by Stripe JS over\nto your server for confirming a PaymentIntent or SetupIntent. If the confirmation\nis successful, values present on the ConfirmationToken are written onto the Intent.\n\nTo learn more about how to use ConfirmationToken, visit the related guides:\n- [Finalize payments on the server](https://stripe.com/docs/payments/finalize-payments-on-the-server)\n- [Build two-step confirmation](https://stripe.com/docs/payments/build-a-two-step-confirmation).",
        "properties": {
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "expires_at": {
            "description": "Time at which this ConfirmationToken expires and can no longer be used to confirm a PaymentIntent or SetupIntent.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "mandate_data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/confirmation_tokens_resource_mandate_data"
              }
            ],
            "description": "Data used for generating a Mandate.",
            "nullable": true
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "confirmation_token"
            ],
            "type": "string"
          },
          "payment_intent": {
            "description": "ID of the PaymentIntent that this ConfirmationToken was used to confirm, or null if this ConfirmationToken has not yet been used.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "payment_method_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/confirmation_tokens_resource_payment_method_options"
              }
            ],
            "description": "Payment-method-specific configuration for this ConfirmationToken.",
            "nullable": true
          },
          "payment_method_preview": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/confirmation_tokens_resource_payment_method_preview"
              }
            ],
            "description": "Payment details collected by the Payment Element, used to create a PaymentMethod when a PaymentIntent or SetupIntent is confirmed with this ConfirmationToken.",
            "nullable": true
          },
          "return_url": {
            "description": "Return URL used to confirm the Intent.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this ConfirmationToken's payment method.\n\nThe presence of this property 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.",
            "enum": [
              "off_session",
              "on_session"
            ],
            "nullable": true,
            "type": "string"
          },
          "setup_intent": {
            "description": "ID of the SetupIntent that this ConfirmationToken was used to confirm, or null if this ConfirmationToken has not yet been used.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "shipping": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/confirmation_tokens_resource_shipping"
              }
            ],
            "description": "Shipping information collected on this ConfirmationToken.",
            "nullable": true
          },
          "use_stripe_sdk": {
            "description": "Indicates whether the Stripe SDK is used to handle confirmation flow. Defaults to `true` on ConfirmationToken.",
            "type": "boolean"
          }
        },
        "required": [
          "created",
          "expires_at",
          "id",
          "livemode",
          "object",
          "payment_intent",
          "payment_method_options",
          "payment_method_preview",
          "return_url",
          "setup_future_usage",
          "setup_intent",
          "shipping",
          "use_stripe_sdk"
        ],
        "title": "ConfirmationTokensResourceConfirmationToken",
        "type": "object",
        "x-expandableFields": [
          "mandate_data",
          "payment_method_options",
          "payment_method_preview",
          "shipping"
        ],
        "x-resourceId": "confirmation_token",
        "x-stripeMostCommon": [
          "created",
          "expires_at",
          "id",
          "livemode",
          "mandate_data",
          "object",
          "payment_intent",
          "payment_method_options",
          "payment_method_preview",
          "return_url",
          "setup_future_usage",
          "setup_intent",
          "shipping",
          "use_stripe_sdk"
        ],
        "x-stripeOperations": [
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/confirmation_tokens/{confirmation_token}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/test_helpers/confirmation_tokens"
          }
        ],
        "x-stripeResource": {
          "class_name": "ConfirmationToken",
          "in_package": ""
        }
      },
      "confirmation_tokens_resource_mandate_data": {
        "description": "Data used for generating a Mandate.",
        "properties": {
          "customer_acceptance": {
            "$ref": "#/components/schemas/confirmation_tokens_resource_mandate_data_resource_customer_acceptance"
          }
        },
        "required": [
          "customer_acceptance"
        ],
        "title": "ConfirmationTokensResourceMandateData",
        "type": "object",
        "x-expandableFields": [
          "customer_acceptance"
        ],
        "x-stripeMostCommon": [
          "customer_acceptance"
        ]
      },
      "confirmation_tokens_resource_mandate_data_resource_customer_acceptance": {
        "description": "This hash contains details about the customer acceptance of the Mandate.",
        "properties": {
          "online": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/confirmation_tokens_resource_mandate_data_resource_customer_acceptance_resource_online"
              }
            ],
            "description": "If this is a Mandate accepted online, this hash contains details about the online acceptance.",
            "nullable": true
          },
          "type": {
            "description": "The type of customer acceptance information included with the Mandate.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "online",
          "type"
        ],
        "title": "ConfirmationTokensResourceMandateDataResourceCustomerAcceptance",
        "type": "object",
        "x-expandableFields": [
          "online"
        ],
        "x-stripeMostCommon": [
          "online",
          "type"
        ]
      },
      "confirmation_tokens_resource_mandate_data_resource_customer_acceptance_resource_online": {
        "description": "This hash contains details about the online acceptance.",
        "properties": {
          "ip_address": {
            "description": "The IP address from which the Mandate was accepted by the customer.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "user_agent": {
            "description": "The user agent of the browser from which the Mandate was accepted by the customer.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "ip_address",
          "user_agent"
        ],
        "title": "ConfirmationTokensResourceMandateDataResourceCustomerAcceptanceResourceOnline",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "ip_address",
          "user_agent"
        ]
      },
      "confirmation_tokens_resource_payment_method_options": {
        "description": "Payment-method-specific configuration",
        "properties": {
          "card": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/confirmation_tokens_resource_payment_method_options_resource_card"
              }
            ],
            "description": "This hash contains the card payment method options.",
            "nullable": true
          }
        },
        "required": [
          "card"
        ],
        "title": "ConfirmationTokensResourcePaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [
          "card"
        ],
        "x-stripeMostCommon": [
          "card"
        ]
      },
      "confirmation_tokens_resource_payment_method_options_resource_card": {
        "description": "This hash contains the card payment method options.",
        "properties": {
          "cvc_token": {
            "description": "The `cvc_update` Token collected from the Payment Element.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "cvc_token"
        ],
        "title": "ConfirmationTokensResourcePaymentMethodOptionsResourceCard",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "cvc_token"
        ]
      },
      "confirmation_tokens_resource_payment_method_preview": {
        "description": "Details of the PaymentMethod collected by Payment Element",
        "properties": {
          "acss_debit": {
            "$ref": "#/components/schemas/payment_method_acss_debit"
          },
          "affirm": {
            "$ref": "#/components/schemas/payment_method_affirm"
          },
          "afterpay_clearpay": {
            "$ref": "#/components/schemas/payment_method_afterpay_clearpay"
          },
          "alipay": {
            "$ref": "#/components/schemas/payment_flows_private_payment_methods_alipay"
          },
          "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”.",
            "enum": [
              "always",
              "limited",
              "unspecified"
            ],
            "type": "string"
          },
          "alma": {
            "$ref": "#/components/schemas/payment_method_alma"
          },
          "amazon_pay": {
            "$ref": "#/components/schemas/payment_method_amazon_pay"
          },
          "au_becs_debit": {
            "$ref": "#/components/schemas/payment_method_au_becs_debit"
          },
          "bacs_debit": {
            "$ref": "#/components/schemas/payment_method_bacs_debit"
          },
          "bancontact": {
            "$ref": "#/components/schemas/payment_method_bancontact"
          },
          "billing_details": {
            "$ref": "#/components/schemas/billing_details"
          },
          "blik": {
            "$ref": "#/components/schemas/payment_method_blik"
          },
          "boleto": {
            "$ref": "#/components/schemas/payment_method_boleto"
          },
          "card": {
            "$ref": "#/components/schemas/payment_method_card"
          },
          "card_present": {
            "$ref": "#/components/schemas/payment_method_card_present"
          },
          "cashapp": {
            "$ref": "#/components/schemas/payment_method_cashapp"
          },
          "customer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer"
              }
            ],
            "description": "The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer"
                }
              ]
            }
          },
          "customer_balance": {
            "$ref": "#/components/schemas/payment_method_customer_balance"
          },
          "eps": {
            "$ref": "#/components/schemas/payment_method_eps"
          },
          "fpx": {
            "$ref": "#/components/schemas/payment_method_fpx"
          },
          "giropay": {
            "$ref": "#/components/schemas/payment_method_giropay"
          },
          "grabpay": {
            "$ref": "#/components/schemas/payment_method_grabpay"
          },
          "ideal": {
            "$ref": "#/components/schemas/payment_method_ideal"
          },
          "interac_present": {
            "$ref": "#/components/schemas/payment_method_interac_present"
          },
          "kakao_pay": {
            "$ref": "#/components/schemas/payment_method_kakao_pay"
          },
          "klarna": {
            "$ref": "#/components/schemas/payment_method_klarna"
          },
          "konbini": {
            "$ref": "#/components/schemas/payment_method_konbini"
          },
          "kr_card": {
            "$ref": "#/components/schemas/payment_method_kr_card"
          },
          "link": {
            "$ref": "#/components/schemas/payment_method_link"
          },
          "mobilepay": {
            "$ref": "#/components/schemas/payment_method_mobilepay"
          },
          "multibanco": {
            "$ref": "#/components/schemas/payment_method_multibanco"
          },
          "naver_pay": {
            "$ref": "#/components/schemas/payment_method_naver_pay"
          },
          "oxxo": {
            "$ref": "#/components/schemas/payment_method_oxxo"
          },
          "p24": {
            "$ref": "#/components/schemas/payment_method_p24"
          },
          "payco": {
            "$ref": "#/components/schemas/payment_method_payco"
          },
          "paynow": {
            "$ref": "#/components/schemas/payment_method_paynow"
          },
          "paypal": {
            "$ref": "#/components/schemas/payment_method_paypal"
          },
          "pix": {
            "$ref": "#/components/schemas/payment_method_pix"
          },
          "promptpay": {
            "$ref": "#/components/schemas/payment_method_promptpay"
          },
          "revolut_pay": {
            "$ref": "#/components/schemas/payment_method_revolut_pay"
          },
          "samsung_pay": {
            "$ref": "#/components/schemas/payment_method_samsung_pay"
          },
          "sepa_debit": {
            "$ref": "#/components/schemas/payment_method_sepa_debit"
          },
          "sofort": {
            "$ref": "#/components/schemas/payment_method_sofort"
          },
          "swish": {
            "$ref": "#/components/schemas/payment_method_swish"
          },
          "twint": {
            "$ref": "#/components/schemas/payment_method_twint"
          },
          "type": {
            "description": "The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.",
            "enum": [
              "acss_debit",
              "affirm",
              "afterpay_clearpay",
              "alipay",
              "alma",
              "amazon_pay",
              "au_becs_debit",
              "bacs_debit",
              "bancontact",
              "blik",
              "boleto",
              "card",
              "card_present",
              "cashapp",
              "customer_balance",
              "eps",
              "fpx",
              "giropay",
              "grabpay",
              "ideal",
              "interac_present",
              "kakao_pay",
              "klarna",
              "konbini",
              "kr_card",
              "link",
              "mobilepay",
              "multibanco",
              "naver_pay",
              "oxxo",
              "p24",
              "payco",
              "paynow",
              "paypal",
              "pix",
              "promptpay",
              "revolut_pay",
              "samsung_pay",
              "sepa_debit",
              "sofort",
              "swish",
              "twint",
              "us_bank_account",
              "wechat_pay",
              "zip"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "us_bank_account": {
            "$ref": "#/components/schemas/payment_method_us_bank_account"
          },
          "wechat_pay": {
            "$ref": "#/components/schemas/payment_method_wechat_pay"
          },
          "zip": {
            "$ref": "#/components/schemas/payment_method_zip"
          }
        },
        "required": [
          "billing_details",
          "customer",
          "type"
        ],
        "title": "ConfirmationTokensResourcePaymentMethodPreview",
        "type": "object",
        "x-expandableFields": [
          "acss_debit",
          "affirm",
          "afterpay_clearpay",
          "alipay",
          "alma",
          "amazon_pay",
          "au_becs_debit",
          "bacs_debit",
          "bancontact",
          "billing_details",
          "blik",
          "boleto",
          "card",
          "card_present",
          "cashapp",
          "customer",
          "customer_balance",
          "eps",
          "fpx",
          "giropay",
          "grabpay",
          "ideal",
          "interac_present",
          "kakao_pay",
          "klarna",
          "konbini",
          "kr_card",
          "link",
          "mobilepay",
          "multibanco",
          "naver_pay",
          "oxxo",
          "p24",
          "payco",
          "paynow",
          "paypal",
          "pix",
          "promptpay",
          "revolut_pay",
          "samsung_pay",
          "sepa_debit",
          "sofort",
          "swish",
          "twint",
          "us_bank_account",
          "wechat_pay",
          "zip"
        ],
        "x-stripeMostCommon": [
          "billing_details",
          "customer",
          "type"
        ]
      },
      "confirmation_tokens_resource_shipping": {
        "description": "",
        "properties": {
          "address": {
            "$ref": "#/components/schemas/address"
          },
          "name": {
            "description": "Recipient name.",
            "maxLength": 5000,
            "type": "string"
          },
          "phone": {
            "description": "Recipient phone (including extension).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "address",
          "name",
          "phone"
        ],
        "title": "ConfirmationTokensResourceShipping",
        "type": "object",
        "x-expandableFields": [
          "address"
        ],
        "x-stripeMostCommon": [
          "address",
          "name",
          "phone"
        ]
      },
      "connect_account_reference": {
        "description": "",
        "properties": {
          "account": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/account"
              }
            ],
            "description": "The connected account being referenced when `type` is `account`.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/account"
                }
              ]
            }
          },
          "type": {
            "description": "Type of the account referenced.",
            "enum": [
              "account",
              "self"
            ],
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "title": "ConnectAccountReference",
        "type": "object",
        "x-expandableFields": [
          "account"
        ],
        "x-stripeMostCommon": [
          "account",
          "type"
        ]
      },
      "connect_collection_transfer": {
        "description": "",
        "properties": {
          "amount": {
            "description": "Amount transferred, in cents (or local equivalent).",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "destination": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/account"
              }
            ],
            "description": "ID of the account that funds are being collected for.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/account"
                }
              ]
            }
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "connect_collection_transfer"
            ],
            "type": "string"
          }
        },
        "required": [
          "amount",
          "currency",
          "destination",
          "id",
          "livemode",
          "object"
        ],
        "title": "ConnectCollectionTransfer",
        "type": "object",
        "x-expandableFields": [
          "destination"
        ],
        "x-stripeMostCommon": [
          "amount",
          "currency",
          "destination",
          "id",
          "livemode",
          "object"
        ],
        "x-stripeResource": {
          "class_name": "ConnectCollectionTransfer",
          "in_package": "",
          "polymorphic_groups": [
            "balance_transaction_source"
          ]
        }
      },
      "connect_embedded_account_config_claim": {
        "description": "",
        "properties": {
          "enabled": {
            "description": "Whether the embedded component is enabled.",
            "type": "boolean"
          },
          "features": {
            "$ref": "#/components/schemas/connect_embedded_account_features_claim"
          }
        },
        "required": [
          "enabled",
          "features"
        ],
        "title": "ConnectEmbeddedAccountConfigClaim",
        "type": "object",
        "x-expandableFields": [
          "features"
        ],
        "x-stripeMostCommon": [
          "enabled",
          "features"
        ],
        "x-stripeResource": {
          "class_name": "AccountConfig",
          "in_package": ""
        }
      },
      "connect_embedded_account_features_claim": {
        "description": "",
        "properties": {
          "disable_stripe_user_authentication": {
            "description": "Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you’re responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.",
            "type": "boolean"
          },
          "external_account_collection": {
            "description": "Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you’re responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.",
            "type": "boolean"
          }
        },
        "required": [
          "disable_stripe_user_authentication",
          "external_account_collection"
        ],
        "title": "ConnectEmbeddedAccountFeaturesClaim",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "disable_stripe_user_authentication",
          "external_account_collection"
        ],
        "x-stripeResource": {
          "class_name": "AccountFeatures",
          "in_package": ""
        }
      },
      "connect_embedded_account_session_create_components": {
        "description": "",
        "properties": {
          "account_management": {
            "$ref": "#/components/schemas/connect_embedded_account_config_claim"
          },
          "account_onboarding": {
            "$ref": "#/components/schemas/connect_embedded_account_config_claim"
          },
          "balances": {
            "$ref": "#/components/schemas/connect_embedded_payouts_config_claim"
          },
          "documents": {
            "$ref": "#/components/schemas/connect_embedded_base_config_claim"
          },
          "notification_banner": {
            "$ref": "#/components/schemas/connect_embedded_account_config_claim"
          },
          "payment_details": {
            "$ref": "#/components/schemas/connect_embedded_payments_config_claim"
          },
          "payments": {
            "$ref": "#/components/schemas/connect_embedded_payments_config_claim"
          },
          "payouts": {
            "$ref": "#/components/schemas/connect_embedded_payouts_config_claim"
          },
          "payouts_list": {
            "$ref": "#/components/schemas/connect_embedded_base_config_claim"
          },
          "tax_registrations": {
            "$ref": "#/components/schemas/connect_embedded_base_config_claim"
          },
          "tax_settings": {
            "$ref": "#/components/schemas/connect_embedded_base_config_claim"
          }
        },
        "required": [
          "account_management",
          "account_onboarding",
          "balances",
          "documents",
          "notification_banner",
          "payment_details",
          "payments",
          "payouts",
          "payouts_list",
          "tax_registrations",
          "tax_settings"
        ],
        "title": "ConnectEmbeddedAccountSessionCreateComponents",
        "type": "object",
        "x-expandableFields": [
          "account_management",
          "account_onboarding",
          "balances",
          "documents",
          "notification_banner",
          "payment_details",
          "payments",
          "payouts",
          "payouts_list",
          "tax_registrations",
          "tax_settings"
        ],
        "x-stripeMostCommon": [
          "account_management",
          "account_onboarding",
          "balances",
          "documents",
          "notification_banner",
          "payment_details",
          "payments",
          "payouts",
          "payouts_list",
          "tax_registrations",
          "tax_settings"
        ],
        "x-stripeResource": {
          "class_name": "Components",
          "in_package": ""
        }
      },
      "connect_embedded_base_config_claim": {
        "description": "",
        "properties": {
          "enabled": {
            "description": "Whether the embedded component is enabled.",
            "type": "boolean"
          },
          "features": {
            "$ref": "#/components/schemas/connect_embedded_base_features"
          }
        },
        "required": [
          "enabled",
          "features"
        ],
        "title": "ConnectEmbeddedBaseConfigClaim",
        "type": "object",
        "x-expandableFields": [
          "features"
        ],
        "x-stripeMostCommon": [
          "enabled",
          "features"
        ],
        "x-stripeResource": {
          "class_name": "BaseConfig",
          "in_package": ""
        }
      },
      "connect_embedded_base_features": {
        "description": "",
        "properties": {},
        "title": "ConnectEmbeddedBaseFeatures",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeResource": {
          "class_name": "BaseFeatures",
          "in_package": ""
        }
      },
      "connect_embedded_payments_config_claim": {
        "description": "",
        "properties": {
          "enabled": {
            "description": "Whether the embedded component is enabled.",
            "type": "boolean"
          },
          "features": {
            "$ref": "#/components/schemas/connect_embedded_payments_features"
          }
        },
        "required": [
          "enabled",
          "features"
        ],
        "title": "ConnectEmbeddedPaymentsConfigClaim",
        "type": "object",
        "x-expandableFields": [
          "features"
        ],
        "x-stripeMostCommon": [
          "enabled",
          "features"
        ],
        "x-stripeResource": {
          "class_name": "PaymentsConfig",
          "in_package": ""
        }
      },
      "connect_embedded_payments_features": {
        "description": "",
        "properties": {
          "capture_payments": {
            "description": "Whether to allow capturing and cancelling payment intents. This is `true` by default.",
            "type": "boolean"
          },
          "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": "boolean"
          },
          "dispute_management": {
            "description": "Whether to allow responding to disputes, including submitting evidence and accepting disputes. This is `true` by default.",
            "type": "boolean"
          },
          "refund_management": {
            "description": "Whether to allow sending refunds. This is `true` by default.",
            "type": "boolean"
          }
        },
        "required": [
          "capture_payments",
          "destination_on_behalf_of_charge_management",
          "dispute_management",
          "refund_management"
        ],
        "title": "ConnectEmbeddedPaymentsFeatures",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "capture_payments",
          "destination_on_behalf_of_charge_management",
          "dispute_management",
          "refund_management"
        ],
        "x-stripeResource": {
          "class_name": "PaymentsFeatures",
          "in_package": ""
        }
      },
      "connect_embedded_payouts_config_claim": {
        "description": "",
        "properties": {
          "enabled": {
            "description": "Whether the embedded component is enabled.",
            "type": "boolean"
          },
          "features": {
            "$ref": "#/components/schemas/connect_embedded_payouts_features"
          }
        },
        "required": [
          "enabled",
          "features"
        ],
        "title": "ConnectEmbeddedPayoutsConfigClaim",
        "type": "object",
        "x-expandableFields": [
          "features"
        ],
        "x-stripeMostCommon": [
          "enabled",
          "features"
        ],
        "x-stripeResource": {
          "class_name": "PayoutsConfig",
          "in_package": ""
        }
      },
      "connect_embedded_payouts_features": {
        "description": "",
        "properties": {
          "disable_stripe_user_authentication": {
            "description": "Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you’re responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.",
            "type": "boolean"
          },
          "edit_payout_schedule": {
            "description": "Whether to allow payout schedule to be changed. Default `true` when Stripe owns Loss Liability, default `false` otherwise.",
            "type": "boolean"
          },
          "external_account_collection": {
            "description": "Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you’re responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.",
            "type": "boolean"
          },
          "instant_payouts": {
            "description": "Whether to allow creation of instant payouts. Default `true` when Stripe owns Loss Liability, default `false` otherwise.",
            "type": "boolean"
          },
          "standard_payouts": {
            "description": "Whether to allow creation of standard payouts. Default `true` when Stripe owns Loss Liability, default `false` otherwise.",
            "type": "boolean"
          }
        },
        "required": [
          "disable_stripe_user_authentication",
          "edit_payout_schedule",
          "external_account_collection",
          "instant_payouts",
          "standard_payouts"
        ],
        "title": "ConnectEmbeddedPayoutsFeatures",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "disable_stripe_user_authentication",
          "edit_payout_schedule",
          "external_account_collection",
          "instant_payouts",
          "standard_payouts"
        ],
        "x-stripeResource": {
          "class_name": "PayoutsFeatures",
          "in_package": ""
        }
      },
      "country_spec": {
        "description": "Stripe needs to collect certain pieces of information about each account\ncreated. These requirements can differ depending on the account's country. The\nCountry Specs API makes these rules available to your integration.\n\nYou can also view the information from this API call as [an online\nguide](/docs/connect/required-verification-information).",
        "properties": {
          "default_currency": {
            "description": "The default currency for this country. This applies to both payment methods and bank accounts.",
            "maxLength": 5000,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object. Represented as the ISO country code for this country.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "country_spec"
            ],
            "type": "string"
          },
          "supported_bank_account_currencies": {
            "additionalProperties": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "description": "Currencies that can be accepted in the specific country (for transfers).",
            "type": "object"
          },
          "supported_payment_currencies": {
            "description": "Currencies that can be accepted in the specified country (for payments).",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "supported_payment_methods": {
            "description": "Payment methods available in the specified country. You may need to enable some payment methods (e.g., [ACH](https://stripe.com/docs/ach)) on your account before they appear in this list. The `stripe` payment method refers to [charging through your platform](https://stripe.com/docs/connect/destination-charges).",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "supported_transfer_countries": {
            "description": "Countries that can accept transfers from the specified country.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "verification_fields": {
            "$ref": "#/components/schemas/country_spec_verification_fields"
          }
        },
        "required": [
          "default_currency",
          "id",
          "object",
          "supported_bank_account_currencies",
          "supported_payment_currencies",
          "supported_payment_methods",
          "supported_transfer_countries",
          "verification_fields"
        ],
        "title": "CountrySpec",
        "type": "object",
        "x-expandableFields": [
          "verification_fields"
        ],
        "x-resourceId": "country_spec",
        "x-stripeMostCommon": [
          "default_currency",
          "id",
          "supported_bank_account_currencies",
          "supported_payment_currencies",
          "supported_payment_methods",
          "supported_transfer_countries"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/country_specs"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/country_specs/{country}"
          }
        ],
        "x-stripeResource": {
          "class_name": "CountrySpec",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "country_spec_verification_field_details": {
        "description": "",
        "properties": {
          "additional": {
            "description": "Additional fields which are only required for some users.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "minimum": {
            "description": "Fields which every account must eventually provide.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "additional",
          "minimum"
        ],
        "title": "CountrySpecVerificationFieldDetails",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "additional",
          "minimum"
        ]
      },
      "country_spec_verification_fields": {
        "description": "",
        "properties": {
          "company": {
            "$ref": "#/components/schemas/country_spec_verification_field_details"
          },
          "individual": {
            "$ref": "#/components/schemas/country_spec_verification_field_details"
          }
        },
        "required": [
          "company",
          "individual"
        ],
        "title": "CountrySpecVerificationFields",
        "type": "object",
        "x-expandableFields": [
          "company",
          "individual"
        ],
        "x-stripeMostCommon": [
          "company",
          "individual"
        ]
      },
      "coupon": {
        "description": "A coupon contains information about a percent-off or amount-off discount you\nmight want to apply to a customer. Coupons may be applied to [subscriptions](https://stripe.com/docs/api#subscriptions), [invoices](https://stripe.com/docs/api#invoices),\n[checkout sessions](https://stripe.com/docs/api/checkout/sessions), [quotes](https://stripe.com/docs/api#quotes), and more. Coupons do not work with conventional one-off [charges](https://stripe.com/docs/api#create_charge) or [payment intents](https://stripe.com/docs/api/payment_intents).",
        "properties": {
          "amount_off": {
            "description": "Amount (in the `currency` specified) that will be taken off the subtotal of any invoices for this customer.",
            "nullable": true,
            "type": "integer"
          },
          "applies_to": {
            "$ref": "#/components/schemas/coupon_applies_to"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "If `amount_off` has been set, the three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the amount to take off.",
            "nullable": true,
            "type": "string"
          },
          "currency_options": {
            "additionalProperties": {
              "$ref": "#/components/schemas/coupon_currency_option"
            },
            "description": "Coupons defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).",
            "type": "object"
          },
          "duration": {
            "description": "One of `forever`, `once`, and `repeating`. Describes how long a customer who applies this coupon will get the discount.",
            "enum": [
              "forever",
              "once",
              "repeating"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "duration_in_months": {
            "description": "If `duration` is `repeating`, the number of months the coupon applies. Null if coupon `duration` is `forever` or `once`.",
            "nullable": true,
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "max_redemptions": {
            "description": "Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.",
            "nullable": true,
            "type": "integer"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "nullable": true,
            "type": "object"
          },
          "name": {
            "description": "Name of the coupon displayed to customers on for instance invoices or receipts.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "coupon"
            ],
            "type": "string"
          },
          "percent_off": {
            "description": "Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon. For example, a coupon with percent_off of 50 will make a $ (or local equivalent)100 invoice $ (or local equivalent)50 instead.",
            "nullable": true,
            "type": "number"
          },
          "redeem_by": {
            "description": "Date after which the coupon can no longer be redeemed.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "times_redeemed": {
            "description": "Number of times this coupon has been applied to a customer.",
            "type": "integer"
          },
          "valid": {
            "description": "Taking account of the above properties, whether this coupon can still be applied to a customer.",
            "type": "boolean"
          }
        },
        "required": [
          "amount_off",
          "created",
          "currency",
          "duration",
          "duration_in_months",
          "id",
          "livemode",
          "max_redemptions",
          "metadata",
          "name",
          "object",
          "percent_off",
          "redeem_by",
          "times_redeemed",
          "valid"
        ],
        "title": "Coupon",
        "type": "object",
        "x-expandableFields": [
          "applies_to",
          "currency_options"
        ],
        "x-resourceId": "coupon",
        "x-stripeMostCommon": [
          "amount_off",
          "currency",
          "duration",
          "duration_in_months",
          "id",
          "metadata",
          "name",
          "percent_off"
        ],
        "x-stripeOperations": [
          {
            "method_name": "delete",
            "method_on": "service",
            "method_type": "delete",
            "operation": "delete",
            "path": "/v1/coupons/{coupon}"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/coupons"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/coupons/{coupon}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/coupons"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/coupons/{coupon}"
          }
        ],
        "x-stripeResource": {
          "class_name": "Coupon",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "coupon.created": {
        "description": "Occurs whenever a coupon is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/coupon"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "coupon.created"
        }
      },
      "coupon.deleted": {
        "description": "Occurs whenever a coupon is deleted.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/coupon"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "coupon.deleted"
        }
      },
      "coupon.updated": {
        "description": "Occurs whenever a coupon is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/coupon"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "coupon.updated"
        }
      },
      "coupon_applies_to": {
        "description": "",
        "properties": {
          "products": {
            "description": "A list of product IDs this coupon applies to",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "products"
        ],
        "title": "CouponAppliesTo",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "products"
        ]
      },
      "coupon_currency_option": {
        "description": "",
        "properties": {
          "amount_off": {
            "description": "Amount (in the `currency` specified) that will be taken off the subtotal of any invoices for this customer.",
            "type": "integer"
          }
        },
        "required": [
          "amount_off"
        ],
        "title": "CouponCurrencyOption",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "amount_off"
        ]
      },
      "credit_balance": {
        "description": "",
        "properties": {
          "available_balance": {
            "$ref": "#/components/schemas/billing_credit_grants_resource_amount"
          },
          "ledger_balance": {
            "$ref": "#/components/schemas/billing_credit_grants_resource_amount"
          }
        },
        "required": [
          "available_balance",
          "ledger_balance"
        ],
        "title": "CreditBalance",
        "type": "object",
        "x-expandableFields": [
          "available_balance",
          "ledger_balance"
        ],
        "x-stripeMostCommon": [
          "available_balance",
          "ledger_balance"
        ],
        "x-stripeResource": {
          "class_name": "CreditBalance",
          "in_package": "Billing"
        }
      },
      "credit_note": {
        "description": "Issue a credit note to adjust an invoice's amount after the invoice is finalized.\n\nRelated guide: [Credit notes](https://stripe.com/docs/billing/invoices/credit-notes)",
        "properties": {
          "amount": {
            "description": "The integer amount in cents (or local equivalent) representing the total amount of the credit note, including tax.",
            "type": "integer"
          },
          "amount_shipping": {
            "description": "This is the sum of all the shipping amounts.",
            "type": "integer"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "customer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer"
              },
              {
                "$ref": "#/components/schemas/deleted_customer"
              }
            ],
            "description": "ID of the customer.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer"
                },
                {
                  "$ref": "#/components/schemas/deleted_customer"
                }
              ]
            }
          },
          "customer_balance_transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer_balance_transaction"
              }
            ],
            "description": "Customer balance transaction related to this credit note.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer_balance_transaction"
                }
              ]
            }
          },
          "discount_amount": {
            "description": "The integer amount in cents (or local equivalent) representing the total amount of discount that was credited.",
            "type": "integer"
          },
          "discount_amounts": {
            "description": "The aggregate amounts calculated per discount for all line items.",
            "items": {
              "$ref": "#/components/schemas/discounts_resource_discount_amount"
            },
            "type": "array"
          },
          "effective_at": {
            "description": "The date when this credit note is in effect. Same as `created` unless overwritten. When defined, this value replaces the system-generated 'Date of issue' printed on the credit note PDF.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "invoice": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/invoice"
              }
            ],
            "description": "ID of the invoice.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/invoice"
                }
              ]
            }
          },
          "lines": {
            "description": "Line items that make up the credit note",
            "properties": {
              "data": {
                "description": "Details about each object.",
                "items": {
                  "$ref": "#/components/schemas/credit_note_line_item"
                },
                "type": "array"
              },
              "has_more": {
                "description": "True if this list has another page of items after this one that can be fetched.",
                "type": "boolean"
              },
              "object": {
                "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                "enum": [
                  "list"
                ],
                "type": "string"
              },
              "url": {
                "description": "The URL where this list can be accessed.",
                "maxLength": 5000,
                "type": "string"
              }
            },
            "required": [
              "data",
              "has_more",
              "object",
              "url"
            ],
            "title": "CreditNoteLinesList",
            "type": "object",
            "x-expandableFields": [
              "data"
            ],
            "x-stripeMostCommon": [
              "data",
              "has_more",
              "object",
              "url"
            ]
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "memo": {
            "description": "Customer-facing text that appears on the credit note PDF.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "nullable": true,
            "type": "object"
          },
          "number": {
            "description": "A unique number that identifies this particular credit note and appears on the PDF of the credit note and its associated invoice.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "credit_note"
            ],
            "type": "string"
          },
          "out_of_band_amount": {
            "description": "Amount that was credited outside of Stripe.",
            "nullable": true,
            "type": "integer"
          },
          "pdf": {
            "description": "The link to download the PDF of the credit note.",
            "maxLength": 5000,
            "type": "string"
          },
          "pretax_credit_amounts": {
            "description": "The pretax credit amounts (ex: discount, credit grants, etc) for all line items.",
            "items": {
              "$ref": "#/components/schemas/credit_notes_pretax_credit_amount"
            },
            "type": "array"
          },
          "reason": {
            "description": "Reason for issuing this credit note, one of `duplicate`, `fraudulent`, `order_change`, or `product_unsatisfactory`",
            "enum": [
              "duplicate",
              "fraudulent",
              "order_change",
              "product_unsatisfactory"
            ],
            "nullable": true,
            "type": "string"
          },
          "refund": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/refund"
              }
            ],
            "description": "Refund related to this credit note.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/refund"
                }
              ]
            }
          },
          "shipping_cost": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/invoices_resource_shipping_cost"
              }
            ],
            "description": "The details of the cost of shipping, including the ShippingRate applied to the invoice.",
            "nullable": true
          },
          "status": {
            "description": "Status of this credit note, one of `issued` or `void`. Learn more about [voiding credit notes](https://stripe.com/docs/billing/invoices/credit-notes#voiding).",
            "enum": [
              "issued",
              "void"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "subtotal": {
            "description": "The integer amount in cents (or local equivalent) representing the amount of the credit note, excluding exclusive tax and invoice level discounts.",
            "type": "integer"
          },
          "subtotal_excluding_tax": {
            "description": "The integer amount in cents (or local equivalent) representing the amount of the credit note, excluding all tax and invoice level discounts.",
            "nullable": true,
            "type": "integer"
          },
          "tax_amounts": {
            "description": "The aggregate amounts calculated per tax rate for all line items.",
            "items": {
              "$ref": "#/components/schemas/credit_note_tax_amount"
            },
            "type": "array"
          },
          "total": {
            "description": "The integer amount in cents (or local equivalent) representing the total amount of the credit note, including tax and all discount.",
            "type": "integer"
          },
          "total_excluding_tax": {
            "description": "The integer amount in cents (or local equivalent) representing the total amount of the credit note, excluding tax, but including discounts.",
            "nullable": true,
            "type": "integer"
          },
          "type": {
            "description": "Type of this credit note, one of `pre_payment` or `post_payment`. A `pre_payment` credit note means it was issued when the invoice was open. A `post_payment` credit note means it was issued when the invoice was paid.",
            "enum": [
              "post_payment",
              "pre_payment"
            ],
            "type": "string"
          },
          "voided_at": {
            "description": "The time that the credit note was voided.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "amount",
          "amount_shipping",
          "created",
          "currency",
          "customer",
          "customer_balance_transaction",
          "discount_amount",
          "discount_amounts",
          "effective_at",
          "id",
          "invoice",
          "lines",
          "livemode",
          "memo",
          "metadata",
          "number",
          "object",
          "out_of_band_amount",
          "pdf",
          "reason",
          "refund",
          "shipping_cost",
          "status",
          "subtotal",
          "subtotal_excluding_tax",
          "tax_amounts",
          "total",
          "total_excluding_tax",
          "type",
          "voided_at"
        ],
        "title": "CreditNote",
        "type": "object",
        "x-expandableFields": [
          "customer",
          "customer_balance_transaction",
          "discount_amounts",
          "invoice",
          "lines",
          "pretax_credit_amounts",
          "refund",
          "shipping_cost",
          "tax_amounts"
        ],
        "x-resourceId": "credit_note",
        "x-stripeMostCommon": [
          "currency",
          "id",
          "invoice",
          "lines",
          "memo",
          "metadata",
          "reason",
          "status",
          "subtotal",
          "total"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/credit_notes"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/credit_notes/{id}"
          },
          {
            "method_name": "preview",
            "method_on": "service",
            "method_type": "custom",
            "operation": "get",
            "path": "/v1/credit_notes/preview"
          },
          {
            "method_name": "preview_lines",
            "method_on": "service",
            "method_type": "custom",
            "operation": "get",
            "path": "/v1/credit_notes/preview/lines"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/credit_notes"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/credit_notes/{id}"
          },
          {
            "method_name": "void_credit_note",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/credit_notes/{id}/void"
          }
        ],
        "x-stripeResource": {
          "class_name": "CreditNote",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "credit_note.created": {
        "description": "Occurs whenever a credit note is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/credit_note"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "credit_note.created"
        }
      },
      "credit_note.updated": {
        "description": "Occurs whenever a credit note is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/credit_note"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "credit_note.updated"
        }
      },
      "credit_note.voided": {
        "description": "Occurs whenever a credit note is voided.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/credit_note"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "credit_note.voided"
        }
      },
      "credit_note_line_item": {
        "description": "The credit note line item object",
        "properties": {
          "amount": {
            "description": "The integer amount in cents (or local equivalent) representing the gross amount being credited for this line item, excluding (exclusive) tax and discounts.",
            "type": "integer"
          },
          "amount_excluding_tax": {
            "description": "The integer amount in cents (or local equivalent) representing the amount being credited for this line item, excluding all tax and discounts.",
            "nullable": true,
            "type": "integer"
          },
          "description": {
            "description": "Description of the item being credited.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "discount_amount": {
            "description": "The integer amount in cents (or local equivalent) representing the discount being credited for this line item.",
            "type": "integer"
          },
          "discount_amounts": {
            "description": "The amount of discount calculated per discount for this line item",
            "items": {
              "$ref": "#/components/schemas/discounts_resource_discount_amount"
            },
            "type": "array"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "invoice_line_item": {
            "description": "ID of the invoice line item being credited",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "credit_note_line_item"
            ],
            "type": "string"
          },
          "pretax_credit_amounts": {
            "description": "The pretax credit amounts (ex: discount, credit grants, etc) for this line item.",
            "items": {
              "$ref": "#/components/schemas/credit_notes_pretax_credit_amount"
            },
            "type": "array"
          },
          "quantity": {
            "description": "The number of units of product being credited.",
            "nullable": true,
            "type": "integer"
          },
          "tax_amounts": {
            "description": "The amount of tax calculated per tax rate for this line item",
            "items": {
              "$ref": "#/components/schemas/credit_note_tax_amount"
            },
            "type": "array"
          },
          "tax_rates": {
            "description": "The tax rates which apply to the line item.",
            "items": {
              "$ref": "#/components/schemas/tax_rate"
            },
            "type": "array"
          },
          "type": {
            "description": "The type of the credit note line item, one of `invoice_line_item` or `custom_line_item`. When the type is `invoice_line_item` there is an additional `invoice_line_item` property on the resource the value of which is the id of the credited line item on the invoice.",
            "enum": [
              "custom_line_item",
              "invoice_line_item"
            ],
            "type": "string"
          },
          "unit_amount": {
            "description": "The cost of each unit of product being credited.",
            "nullable": true,
            "type": "integer"
          },
          "unit_amount_decimal": {
            "description": "Same as `unit_amount`, but contains a decimal value with at most 12 decimal places.",
            "format": "decimal",
            "nullable": true,
            "type": "string"
          },
          "unit_amount_excluding_tax": {
            "description": "The amount in cents (or local equivalent) representing the unit amount being credited for this line item, excluding all tax and discounts.",
            "format": "decimal",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "amount",
          "amount_excluding_tax",
          "description",
          "discount_amount",
          "discount_amounts",
          "id",
          "livemode",
          "object",
          "quantity",
          "tax_amounts",
          "tax_rates",
          "type",
          "unit_amount",
          "unit_amount_decimal",
          "unit_amount_excluding_tax"
        ],
        "title": "CreditNoteLineItem",
        "type": "object",
        "x-expandableFields": [
          "discount_amounts",
          "pretax_credit_amounts",
          "tax_amounts",
          "tax_rates"
        ],
        "x-resourceId": "credit_note_line_item",
        "x-stripeMostCommon": [
          "amount",
          "amount_excluding_tax",
          "description",
          "discount_amount",
          "discount_amounts",
          "id",
          "invoice_line_item",
          "livemode",
          "object",
          "pretax_credit_amounts",
          "quantity",
          "tax_amounts",
          "tax_rates",
          "type",
          "unit_amount",
          "unit_amount_decimal",
          "unit_amount_excluding_tax"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "collection",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/credit_notes/{credit_note}/lines"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/credit_notes/{credit_note}/lines"
          }
        ],
        "x-stripeResource": {
          "class_name": "CreditNoteLineItem",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "credit_note_tax_amount": {
        "description": "",
        "properties": {
          "amount": {
            "description": "The amount, in cents (or local equivalent), of the tax.",
            "type": "integer"
          },
          "inclusive": {
            "description": "Whether this tax amount is inclusive or exclusive.",
            "type": "boolean"
          },
          "tax_rate": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/tax_rate"
              }
            ],
            "description": "The tax rate that was applied to get this tax amount.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/tax_rate"
                }
              ]
            }
          },
          "taxability_reason": {
            "description": "The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported.",
            "enum": [
              "customer_exempt",
              "not_collecting",
              "not_subject_to_tax",
              "not_supported",
              "portion_product_exempt",
              "portion_reduced_rated",
              "portion_standard_rated",
              "product_exempt",
              "product_exempt_holiday",
              "proportionally_rated",
              "reduced_rated",
              "reverse_charge",
              "standard_rated",
              "taxable_basis_reduced",
              "zero_rated"
            ],
            "nullable": true,
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "taxable_amount": {
            "description": "The amount on which tax is calculated, in cents (or local equivalent).",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "amount",
          "inclusive",
          "tax_rate",
          "taxability_reason",
          "taxable_amount"
        ],
        "title": "CreditNoteTaxAmount",
        "type": "object",
        "x-expandableFields": [
          "tax_rate"
        ],
        "x-stripeMostCommon": [
          "amount",
          "inclusive",
          "tax_rate",
          "taxability_reason",
          "taxable_amount"
        ]
      },
      "credit_notes_pretax_credit_amount": {
        "description": "",
        "properties": {
          "amount": {
            "description": "The amount, in cents (or local equivalent), of the pretax credit amount.",
            "type": "integer"
          },
          "credit_balance_transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/billing.credit_balance_transaction"
              }
            ],
            "description": "The credit balance transaction that was applied to get this pretax credit amount.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/billing.credit_balance_transaction"
                }
              ]
            }
          },
          "discount": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/discount"
              },
              {
                "$ref": "#/components/schemas/deleted_discount"
              }
            ],
            "description": "The discount that was applied to get this pretax credit amount.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/discount"
                },
                {
                  "$ref": "#/components/schemas/deleted_discount"
                }
              ]
            }
          },
          "type": {
            "description": "Type of the pretax credit amount referenced.",
            "enum": [
              "credit_balance_transaction",
              "discount"
            ],
            "type": "string"
          }
        },
        "required": [
          "amount",
          "type"
        ],
        "title": "CreditNotesPretaxCreditAmount",
        "type": "object",
        "x-expandableFields": [
          "credit_balance_transaction",
          "discount"
        ],
        "x-stripeMostCommon": [
          "amount",
          "credit_balance_transaction",
          "discount",
          "type"
        ]
      },
      "currency_option": {
        "description": "",
        "properties": {
          "custom_unit_amount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/custom_unit_amount"
              }
            ],
            "description": "When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links.",
            "nullable": true
          },
          "tax_behavior": {
            "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
            "enum": [
              "exclusive",
              "inclusive",
              "unspecified"
            ],
            "nullable": true,
            "type": "string"
          },
          "tiers": {
            "description": "Each element represents a pricing tier. This parameter requires `billing_scheme` to be set to `tiered`. See also the documentation for `billing_scheme`.",
            "items": {
              "$ref": "#/components/schemas/price_tier"
            },
            "type": "array"
          },
          "unit_amount": {
            "description": "The unit amount in cents (or local equivalent) to be charged, represented as a whole integer if possible. Only set if `billing_scheme=per_unit`.",
            "nullable": true,
            "type": "integer"
          },
          "unit_amount_decimal": {
            "description": "The unit amount in cents (or local equivalent) to be charged, represented as a decimal string with at most 12 decimal places. Only set if `billing_scheme=per_unit`.",
            "format": "decimal",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "custom_unit_amount",
          "tax_behavior",
          "unit_amount",
          "unit_amount_decimal"
        ],
        "title": "CurrencyOption",
        "type": "object",
        "x-expandableFields": [
          "custom_unit_amount",
          "tiers"
        ],
        "x-stripeMostCommon": [
          "unit_amount"
        ]
      },
      "custom_unit_amount": {
        "description": "",
        "properties": {
          "maximum": {
            "description": "The maximum unit amount the customer can specify for this item.",
            "nullable": true,
            "type": "integer"
          },
          "minimum": {
            "description": "The minimum unit amount the customer can specify for this item. Must be at least the minimum charge amount.",
            "nullable": true,
            "type": "integer"
          },
          "preset": {
            "description": "The starting unit amount which can be updated by the customer.",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "maximum",
          "minimum",
          "preset"
        ],
        "title": "CustomUnitAmount",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "maximum",
          "minimum",
          "preset"
        ]
      },
      "customer": {
        "description": "This object represents a customer of your business. Use it to [create recurring charges](https://stripe.com/docs/invoicing/customer), [save payment](https://stripe.com/docs/payments/save-during-payment) and contact information,\nand track payments that belong to the same customer.",
        "properties": {
          "address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/address"
              }
            ],
            "description": "The customer's address.",
            "nullable": true
          },
          "balance": {
            "description": "The current balance, if any, that's stored on the customer. If negative, the customer has credit to apply to their next invoice. If positive, the customer has an amount owed that's added to their next invoice. The balance only considers amounts that Stripe hasn't successfully applied to any invoice. It doesn't reflect unpaid invoices. This balance is only taken into account after invoices finalize.",
            "type": "integer"
          },
          "cash_balance": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/cash_balance"
              }
            ],
            "description": "The current funds being held by Stripe on behalf of the customer. You can apply these funds towards payment intents when the source is \"cash_balance\". The `settings[reconciliation_mode]` field describes if these funds apply to these payment intents manually or automatically.",
            "nullable": true
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) the customer can be charged in for recurring billing purposes.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "default_source": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_source"
              }
            ],
            "description": "ID of the default payment source for the customer.\n\nIf you use payment methods created through the PaymentMethods API, see the [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) field instead.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_source"
                }
              ]
            }
          },
          "delinquent": {
            "description": "Tracks the most recent state change on any invoice belonging to the customer. Paying an invoice or marking it uncollectible via the API will set this field to false. An automatic payment failure or passing the `invoice.due_date` will set this field to `true`.\n\nIf an invoice becomes uncollectible by [dunning](https://stripe.com/docs/billing/automatic-collection), `delinquent` doesn't reset to `false`.\n\nIf you care whether the customer has paid their most recent subscription invoice, use `subscription.status` instead. Paying or marking uncollectible any customer invoice regardless of whether it is the latest invoice for a subscription will always set this field to `false`.",
            "nullable": true,
            "type": "boolean"
          },
          "description": {
            "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "discount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/discount"
              }
            ],
            "description": "Describes the current discount active on the customer, if there is one.",
            "nullable": true
          },
          "email": {
            "description": "The customer's email address.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "invoice_credit_balance": {
            "additionalProperties": {
              "type": "integer"
            },
            "description": "The current multi-currency balances, if any, that's stored on the customer. If positive in a currency, the customer has a credit to apply to their next invoice denominated in that currency. If negative, the customer has an amount owed that's added to their next invoice denominated in that currency. These balances don't apply to unpaid invoices. They solely track amounts that Stripe hasn't successfully applied to any invoice. Stripe only applies a balance in a specific currency to an invoice after that invoice (which is in the same currency) finalizes.",
            "type": "object"
          },
          "invoice_prefix": {
            "description": "The prefix for the customer used to generate unique invoice numbers.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "invoice_settings": {
            "$ref": "#/components/schemas/invoice_setting_customer_setting"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "name": {
            "description": "The customer's full name or business name.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "next_invoice_sequence": {
            "description": "The suffix of the customer's next invoice number (for example, 0001). When the account uses account level sequencing, this parameter is ignored in API requests and the field omitted in API responses.",
            "type": "integer"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "customer"
            ],
            "type": "string"
          },
          "phone": {
            "description": "The customer's phone number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "preferred_locales": {
            "description": "The customer's preferred locales (languages), ordered by preference.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "shipping": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shipping"
              }
            ],
            "description": "Mailing and shipping address for the customer. Appears on invoices emailed to this customer.",
            "nullable": true
          },
          "sources": {
            "description": "The customer's payment sources, if any.",
            "properties": {
              "data": {
                "description": "Details about each object.",
                "items": {
                  "$ref": "#/components/schemas/payment_source"
                },
                "type": "array"
              },
              "has_more": {
                "description": "True if this list has another page of items after this one that can be fetched.",
                "type": "boolean"
              },
              "object": {
                "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                "enum": [
                  "list"
                ],
                "type": "string"
              },
              "url": {
                "description": "The URL where this list can be accessed.",
                "maxLength": 5000,
                "type": "string"
              }
            },
            "required": [
              "data",
              "has_more",
              "object",
              "url"
            ],
            "title": "ApmsSourcesSourceList",
            "type": "object",
            "x-expandableFields": [
              "data"
            ],
            "x-stripeMostCommon": [
              "data",
              "has_more",
              "object",
              "url"
            ]
          },
          "subscriptions": {
            "description": "The customer's current subscriptions, if any.",
            "properties": {
              "data": {
                "description": "Details about each object.",
                "items": {
                  "$ref": "#/components/schemas/subscription"
                },
                "type": "array"
              },
              "has_more": {
                "description": "True if this list has another page of items after this one that can be fetched.",
                "type": "boolean"
              },
              "object": {
                "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                "enum": [
                  "list"
                ],
                "type": "string"
              },
              "url": {
                "description": "The URL where this list can be accessed.",
                "maxLength": 5000,
                "type": "string"
              }
            },
            "required": [
              "data",
              "has_more",
              "object",
              "url"
            ],
            "title": "SubscriptionList",
            "type": "object",
            "x-expandableFields": [
              "data"
            ],
            "x-stripeMostCommon": [
              "data",
              "has_more",
              "object",
              "url"
            ]
          },
          "tax": {
            "$ref": "#/components/schemas/customer_tax"
          },
          "tax_exempt": {
            "description": "Describes the customer's tax exemption status, which is `none`, `exempt`, or `reverse`. When set to `reverse`, invoice and receipt PDFs include the following text: **\"Reverse charge\"**.",
            "enum": [
              "exempt",
              "none",
              "reverse"
            ],
            "nullable": true,
            "type": "string"
          },
          "tax_ids": {
            "description": "The customer's tax IDs.",
            "properties": {
              "data": {
                "description": "Details about each object.",
                "items": {
                  "$ref": "#/components/schemas/tax_id"
                },
                "type": "array"
              },
              "has_more": {
                "description": "True if this list has another page of items after this one that can be fetched.",
                "type": "boolean"
              },
              "object": {
                "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                "enum": [
                  "list"
                ],
                "type": "string"
              },
              "url": {
                "description": "The URL where this list can be accessed.",
                "maxLength": 5000,
                "type": "string"
              }
            },
            "required": [
              "data",
              "has_more",
              "object",
              "url"
            ],
            "title": "TaxIDsList",
            "type": "object",
            "x-expandableFields": [
              "data"
            ],
            "x-stripeMostCommon": [
              "data",
              "has_more",
              "object",
              "url"
            ]
          },
          "test_clock": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/test_helpers.test_clock"
              }
            ],
            "description": "ID of the test clock that this customer belongs to.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/test_helpers.test_clock"
                }
              ]
            }
          }
        },
        "required": [
          "created",
          "default_source",
          "description",
          "email",
          "id",
          "livemode",
          "object",
          "shipping"
        ],
        "title": "Customer",
        "type": "object",
        "x-expandableFields": [
          "address",
          "cash_balance",
          "default_source",
          "discount",
          "invoice_settings",
          "shipping",
          "sources",
          "subscriptions",
          "tax",
          "tax_ids",
          "test_clock"
        ],
        "x-resourceId": "customer",
        "x-stripeMostCommon": [
          "address",
          "description",
          "email",
          "id",
          "metadata",
          "name",
          "phone",
          "shipping",
          "tax"
        ],
        "x-stripeOperations": [
          {
            "method_name": "delete",
            "method_on": "service",
            "method_type": "delete",
            "operation": "delete",
            "path": "/v1/customers/{customer}"
          },
          {
            "method_name": "delete_discount",
            "method_on": "service",
            "method_type": "custom",
            "operation": "delete",
            "path": "/v1/customers/{customer}/discount"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/customers"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/customers/{customer}"
          },
          {
            "method_name": "balance_transactions",
            "method_on": "service",
            "method_type": "custom",
            "operation": "get",
            "path": "/v1/customers/{customer}/balance_transactions"
          },
          {
            "method_name": "list_payment_methods",
            "method_on": "service",
            "method_type": "custom",
            "operation": "get",
            "path": "/v1/customers/{customer}/payment_methods"
          },
          {
            "method_name": "retrieve_payment_method",
            "method_on": "service",
            "method_type": "custom",
            "operation": "get",
            "path": "/v1/customers/{customer}/payment_methods/{payment_method}"
          },
          {
            "method_name": "search",
            "method_on": "service",
            "method_type": "custom",
            "operation": "get",
            "path": "/v1/customers/search"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/customers"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/customers/{customer}"
          },
          {
            "method_name": "create_funding_instructions",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/customers/{customer}/funding_instructions"
          },
          {
            "method_name": "fund_cash_balance",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/customers/{customer}/fund_cash_balance"
          }
        ],
        "x-stripeResource": {
          "class_name": "Customer",
          "has_collection_class": true,
          "has_search_result_class": true,
          "in_package": ""
        }
      },
      "customer.created": {
        "description": "Occurs whenever a new customer is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/customer"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "customer.created"
        }
      },
      "customer.deleted": {
        "description": "Occurs whenever a customer is deleted.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/customer"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "customer.deleted"
        }
      },
      "customer.discount.created": {
        "description": "Occurs whenever a coupon is attached to a customer.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/discount"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "customer.discount.created"
        }
      },
      "customer.discount.deleted": {
        "description": "Occurs whenever a coupon is removed from a customer.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/discount"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "customer.discount.deleted"
        }
      },
      "customer.discount.updated": {
        "description": "Occurs whenever a customer is switched from one coupon to another.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/discount"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "customer.discount.updated"
        }
      },
      "customer.source.created": {
        "description": "Occurs whenever a new source is created for a customer.",
        "properties": {
          "object": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/bank_account"
              },
              {
                "$ref": "#/components/schemas/card"
              },
              {
                "$ref": "#/components/schemas/source"
              }
            ]
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "customer.source.created"
        }
      },
      "customer.source.deleted": {
        "description": "Occurs whenever a source is removed from a customer.",
        "properties": {
          "object": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/bank_account"
              },
              {
                "$ref": "#/components/schemas/card"
              },
              {
                "$ref": "#/components/schemas/source"
              }
            ]
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "customer.source.deleted"
        }
      },
      "customer.source.expiring": {
        "description": "Occurs whenever a card or source will expire at the end of the month. This event only works with legacy integrations using Card or Source objects. If you use the PaymentMethod API, this event won't occur.",
        "properties": {
          "object": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/card"
              },
              {
                "$ref": "#/components/schemas/source"
              }
            ]
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "customer.source.expiring"
        }
      },
      "customer.source.updated": {
        "description": "Occurs whenever a source's details are changed.",
        "properties": {
          "object": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/bank_account"
              },
              {
                "$ref": "#/components/schemas/card"
              },
              {
                "$ref": "#/components/schemas/source"
              }
            ]
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "customer.source.updated"
        }
      },
      "customer.subscription.created": {
        "description": "Occurs whenever a customer is signed up for a new plan.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/subscription"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "customer.subscription.created"
        }
      },
      "customer.subscription.deleted": {
        "description": "Occurs whenever a customer's subscription ends.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/subscription"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "customer.subscription.deleted"
        }
      },
      "customer.subscription.paused": {
        "description": "Occurs whenever a customer's subscription is paused. Only applies when subscriptions enter `status=paused`, not when [payment collection](https://docs.stripe.com/billing/subscriptions/pause) is paused.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/subscription"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "customer.subscription.paused"
        }
      },
      "customer.subscription.pending_update_applied": {
        "description": "Occurs whenever a customer's subscription's pending update is applied, and the subscription is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/subscription"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "customer.subscription.pending_update_applied"
        }
      },
      "customer.subscription.pending_update_expired": {
        "description": "Occurs whenever a customer's subscription's pending update expires before the related invoice is paid.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/subscription"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "customer.subscription.pending_update_expired"
        }
      },
      "customer.subscription.resumed": {
        "description": "Occurs whenever a customer's subscription is no longer paused. Only applies when a `status=paused` subscription is [resumed](https://docs.stripe.com/api/subscriptions/resume), not when [payment collection](https://docs.stripe.com/billing/subscriptions/pause) is resumed.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/subscription"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "customer.subscription.resumed"
        }
      },
      "customer.subscription.trial_will_end": {
        "description": "Occurs three days before a subscription's trial period is scheduled to end, or when a trial is ended immediately (using `trial_end=now`).",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/subscription"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "customer.subscription.trial_will_end"
        }
      },
      "customer.subscription.updated": {
        "description": "Occurs whenever a subscription changes (e.g., switching from one plan to another, or changing the status from trial to active).",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/subscription"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "customer.subscription.updated"
        }
      },
      "customer.tax_id.created": {
        "description": "Occurs whenever a tax ID is created for a customer.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/tax_id"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "customer.tax_id.created"
        }
      },
      "customer.tax_id.deleted": {
        "description": "Occurs whenever a tax ID is deleted from a customer.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/tax_id"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "customer.tax_id.deleted"
        }
      },
      "customer.tax_id.updated": {
        "description": "Occurs whenever a customer's tax ID is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/tax_id"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "customer.tax_id.updated"
        }
      },
      "customer.updated": {
        "description": "Occurs whenever any property of a customer changes.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/customer"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "customer.updated"
        }
      },
      "customer_acceptance": {
        "description": "",
        "properties": {
          "accepted_at": {
            "description": "The time that the customer accepts the mandate.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "offline": {
            "$ref": "#/components/schemas/offline_acceptance"
          },
          "online": {
            "$ref": "#/components/schemas/online_acceptance"
          },
          "type": {
            "description": "The mandate includes the type of customer acceptance information, such as: `online` or `offline`.",
            "enum": [
              "offline",
              "online"
            ],
            "type": "string"
          }
        },
        "required": [
          "accepted_at",
          "type"
        ],
        "title": "customer_acceptance",
        "type": "object",
        "x-expandableFields": [
          "offline",
          "online"
        ],
        "x-stripeMostCommon": [
          "accepted_at",
          "offline",
          "online",
          "type"
        ]
      },
      "customer_balance_customer_balance_settings": {
        "description": "",
        "properties": {
          "reconciliation_mode": {
            "description": "The configuration for how funds that land in the customer cash balance are reconciled.",
            "enum": [
              "automatic",
              "manual"
            ],
            "type": "string"
          },
          "using_merchant_default": {
            "description": "A flag to indicate if reconciliation mode returned is the user's default or is specific to this customer cash balance",
            "type": "boolean"
          }
        },
        "required": [
          "reconciliation_mode",
          "using_merchant_default"
        ],
        "title": "CustomerBalanceCustomerBalanceSettings",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "reconciliation_mode",
          "using_merchant_default"
        ]
      },
      "customer_balance_resource_cash_balance_transaction_resource_adjusted_for_overdraft": {
        "description": "",
        "properties": {
          "balance_transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/balance_transaction"
              }
            ],
            "description": "The [Balance Transaction](https://stripe.com/docs/api/balance_transactions/object) that corresponds to funds taken out of your Stripe balance.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/balance_transaction"
                }
              ]
            }
          },
          "linked_transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer_cash_balance_transaction"
              }
            ],
            "description": "The [Cash Balance Transaction](https://stripe.com/docs/api/cash_balance_transactions/object) that brought the customer balance negative, triggering the clawback of funds.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer_cash_balance_transaction"
                }
              ]
            }
          }
        },
        "required": [
          "balance_transaction",
          "linked_transaction"
        ],
        "title": "CustomerBalanceResourceCashBalanceTransactionResourceAdjustedForOverdraft",
        "type": "object",
        "x-expandableFields": [
          "balance_transaction",
          "linked_transaction"
        ],
        "x-stripeMostCommon": [
          "balance_transaction",
          "linked_transaction"
        ],
        "x-stripeResource": {
          "class_name": "AdjustedForOverdraft",
          "in_package": ""
        }
      },
      "customer_balance_resource_cash_balance_transaction_resource_applied_to_payment_transaction": {
        "description": "",
        "properties": {
          "payment_intent": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_intent"
              }
            ],
            "description": "The [Payment Intent](https://stripe.com/docs/api/payment_intents/object) that funds were applied to.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_intent"
                }
              ]
            }
          }
        },
        "required": [
          "payment_intent"
        ],
        "title": "CustomerBalanceResourceCashBalanceTransactionResourceAppliedToPaymentTransaction",
        "type": "object",
        "x-expandableFields": [
          "payment_intent"
        ],
        "x-stripeMostCommon": [
          "payment_intent"
        ]
      },
      "customer_balance_resource_cash_balance_transaction_resource_funded_transaction": {
        "description": "",
        "properties": {
          "bank_transfer": {
            "$ref": "#/components/schemas/customer_balance_resource_cash_balance_transaction_resource_funded_transaction_resource_bank_transfer"
          }
        },
        "required": [
          "bank_transfer"
        ],
        "title": "CustomerBalanceResourceCashBalanceTransactionResourceFundedTransaction",
        "type": "object",
        "x-expandableFields": [
          "bank_transfer"
        ],
        "x-stripeMostCommon": [
          "bank_transfer"
        ]
      },
      "customer_balance_resource_cash_balance_transaction_resource_funded_transaction_resource_bank_transfer": {
        "description": "",
        "properties": {
          "eu_bank_transfer": {
            "$ref": "#/components/schemas/customer_balance_resource_cash_balance_transaction_resource_funded_transaction_resource_bank_transfer_resource_eu_bank_transfer"
          },
          "gb_bank_transfer": {
            "$ref": "#/components/schemas/customer_balance_resource_cash_balance_transaction_resource_funded_transaction_resource_bank_transfer_resource_gb_bank_transfer"
          },
          "jp_bank_transfer": {
            "$ref": "#/components/schemas/customer_balance_resource_cash_balance_transaction_resource_funded_transaction_resource_bank_transfer_resource_jp_bank_transfer"
          },
          "reference": {
            "description": "The user-supplied reference field on the bank transfer.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "type": {
            "description": "The funding method type used to fund the customer balance. Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.",
            "enum": [
              "eu_bank_transfer",
              "gb_bank_transfer",
              "jp_bank_transfer",
              "mx_bank_transfer",
              "us_bank_transfer"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "us_bank_transfer": {
            "$ref": "#/components/schemas/customer_balance_resource_cash_balance_transaction_resource_funded_transaction_resource_bank_transfer_resource_us_bank_transfer"
          }
        },
        "required": [
          "reference",
          "type"
        ],
        "title": "CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransfer",
        "type": "object",
        "x-expandableFields": [
          "eu_bank_transfer",
          "gb_bank_transfer",
          "jp_bank_transfer",
          "us_bank_transfer"
        ],
        "x-stripeMostCommon": [
          "eu_bank_transfer",
          "gb_bank_transfer",
          "jp_bank_transfer",
          "reference",
          "type",
          "us_bank_transfer"
        ]
      },
      "customer_balance_resource_cash_balance_transaction_resource_funded_transaction_resource_bank_transfer_resource_eu_bank_transfer": {
        "description": "",
        "properties": {
          "bic": {
            "description": "The BIC of the bank of the sender of the funding.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "iban_last4": {
            "description": "The last 4 digits of the IBAN of the sender of the funding.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "sender_name": {
            "description": "The full name of the sender, as supplied by the sending bank.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "bic",
          "iban_last4",
          "sender_name"
        ],
        "title": "CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransferResourceEuBankTransfer",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "bic",
          "iban_last4",
          "sender_name"
        ]
      },
      "customer_balance_resource_cash_balance_transaction_resource_funded_transaction_resource_bank_transfer_resource_gb_bank_transfer": {
        "description": "",
        "properties": {
          "account_number_last4": {
            "description": "The last 4 digits of the account number of the sender of the funding.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "sender_name": {
            "description": "The full name of the sender, as supplied by the sending bank.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "sort_code": {
            "description": "The sort code of the bank of the sender of the funding",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "account_number_last4",
          "sender_name",
          "sort_code"
        ],
        "title": "CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransferResourceGbBankTransfer",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "account_number_last4",
          "sender_name",
          "sort_code"
        ]
      },
      "customer_balance_resource_cash_balance_transaction_resource_funded_transaction_resource_bank_transfer_resource_jp_bank_transfer": {
        "description": "",
        "properties": {
          "sender_bank": {
            "description": "The name of the bank of the sender of the funding.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "sender_branch": {
            "description": "The name of the bank branch of the sender of the funding.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "sender_name": {
            "description": "The full name of the sender, as supplied by the sending bank.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "sender_bank",
          "sender_branch",
          "sender_name"
        ],
        "title": "CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransferResourceJpBankTransfer",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "sender_bank",
          "sender_branch",
          "sender_name"
        ]
      },
      "customer_balance_resource_cash_balance_transaction_resource_funded_transaction_resource_bank_transfer_resource_us_bank_transfer": {
        "description": "",
        "properties": {
          "network": {
            "description": "The banking network used for this funding.",
            "enum": [
              "ach",
              "domestic_wire_us",
              "swift"
            ],
            "type": "string"
          },
          "sender_name": {
            "description": "The full name of the sender, as supplied by the sending bank.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "sender_name"
        ],
        "title": "CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransferResourceUsBankTransfer",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "network",
          "sender_name"
        ]
      },
      "customer_balance_resource_cash_balance_transaction_resource_refunded_from_payment_transaction": {
        "description": "",
        "properties": {
          "refund": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/refund"
              }
            ],
            "description": "The [Refund](https://stripe.com/docs/api/refunds/object) that moved these funds into the customer's cash balance.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/refund"
                }
              ]
            }
          }
        },
        "required": [
          "refund"
        ],
        "title": "CustomerBalanceResourceCashBalanceTransactionResourceRefundedFromPaymentTransaction",
        "type": "object",
        "x-expandableFields": [
          "refund"
        ],
        "x-stripeMostCommon": [
          "refund"
        ],
        "x-stripeResource": {
          "class_name": "RefundedFromPayment",
          "in_package": ""
        }
      },
      "customer_balance_resource_cash_balance_transaction_resource_transferred_to_balance": {
        "description": "",
        "properties": {
          "balance_transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/balance_transaction"
              }
            ],
            "description": "The [Balance Transaction](https://stripe.com/docs/api/balance_transactions/object) that corresponds to funds transferred to your Stripe balance.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/balance_transaction"
                }
              ]
            }
          }
        },
        "required": [
          "balance_transaction"
        ],
        "title": "CustomerBalanceResourceCashBalanceTransactionResourceTransferredToBalance",
        "type": "object",
        "x-expandableFields": [
          "balance_transaction"
        ],
        "x-stripeMostCommon": [
          "balance_transaction"
        ],
        "x-stripeResource": {
          "class_name": "TransferredToBalance",
          "in_package": ""
        }
      },
      "customer_balance_resource_cash_balance_transaction_resource_unapplied_from_payment_transaction": {
        "description": "",
        "properties": {
          "payment_intent": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_intent"
              }
            ],
            "description": "The [Payment Intent](https://stripe.com/docs/api/payment_intents/object) that funds were unapplied from.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_intent"
                }
              ]
            }
          }
        },
        "required": [
          "payment_intent"
        ],
        "title": "CustomerBalanceResourceCashBalanceTransactionResourceUnappliedFromPaymentTransaction",
        "type": "object",
        "x-expandableFields": [
          "payment_intent"
        ],
        "x-stripeMostCommon": [
          "payment_intent"
        ],
        "x-stripeResource": {
          "class_name": "UnappliedFromPayment",
          "in_package": ""
        }
      },
      "customer_balance_transaction": {
        "description": "Each customer has a [Balance](https://stripe.com/docs/api/customers/object#customer_object-balance) value,\nwhich denotes a debit or credit that's automatically applied to their next invoice upon finalization.\nYou may modify the value directly by using the [update customer API](https://stripe.com/docs/api/customers/update),\nor by creating a Customer Balance Transaction, which increments or decrements the customer's `balance` by the specified `amount`.\n\nRelated guide: [Customer balance](https://stripe.com/docs/billing/customer/balance)",
        "properties": {
          "amount": {
            "description": "The amount of the transaction. A negative value is a credit for the customer's balance, and a positive value is a debit to the customer's `balance`.",
            "type": "integer"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "credit_note": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/credit_note"
              }
            ],
            "description": "The ID of the credit note (if any) related to the transaction.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/credit_note"
                }
              ]
            }
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "customer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer"
              }
            ],
            "description": "The ID of the customer the transaction belongs to.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer"
                }
              ]
            }
          },
          "description": {
            "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "ending_balance": {
            "description": "The customer's `balance` after the transaction was applied. A negative value decreases the amount due on the customer's next invoice. A positive value increases the amount due on the customer's next invoice.",
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "invoice": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/invoice"
              }
            ],
            "description": "The ID of the invoice (if any) related to the transaction.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/invoice"
                }
              ]
            }
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "nullable": true,
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "customer_balance_transaction"
            ],
            "type": "string"
          },
          "type": {
            "description": "Transaction type: `adjustment`, `applied_to_invoice`, `credit_note`, `initial`, `invoice_overpaid`, `invoice_too_large`, `invoice_too_small`, `unspent_receiver_credit`, or `unapplied_from_invoice`. See the [Customer Balance page](https://stripe.com/docs/billing/customer/balance#types) to learn more about transaction types.",
            "enum": [
              "adjustment",
              "applied_to_invoice",
              "credit_note",
              "initial",
              "invoice_overpaid",
              "invoice_too_large",
              "invoice_too_small",
              "migration",
              "unapplied_from_invoice",
              "unspent_receiver_credit"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "amount",
          "created",
          "credit_note",
          "currency",
          "customer",
          "description",
          "ending_balance",
          "id",
          "invoice",
          "livemode",
          "metadata",
          "object",
          "type"
        ],
        "title": "CustomerBalanceTransaction",
        "type": "object",
        "x-expandableFields": [
          "credit_note",
          "customer",
          "invoice"
        ],
        "x-resourceId": "customer_balance_transaction",
        "x-stripeMostCommon": [
          "amount",
          "currency",
          "customer",
          "description",
          "ending_balance",
          "id",
          "metadata",
          "type"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "collection",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/customers/{customer}/balance_transactions"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/customers/{customer}/balance_transactions"
          },
          {
            "method_name": "retrieve",
            "method_on": "collection",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/customers/{customer}/balance_transactions/{transaction}"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/customers/{customer}/balance_transactions/{transaction}"
          },
          {
            "method_name": "create",
            "method_on": "collection",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/customers/{customer}/balance_transactions"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/customers/{customer}/balance_transactions"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/customers/{customer}/balance_transactions/{transaction}"
          }
        ],
        "x-stripeResource": {
          "class_name": "CustomerBalanceTransaction",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "customer_cash_balance_transaction": {
        "description": "Customers with certain payments enabled have a cash balance, representing funds that were paid\nby the customer to a merchant, but have not yet been allocated to a payment. Cash Balance Transactions\nrepresent when funds are moved into or out of this balance. This includes funding by the customer, allocation\nto payments, and refunds to the customer.",
        "properties": {
          "adjusted_for_overdraft": {
            "$ref": "#/components/schemas/customer_balance_resource_cash_balance_transaction_resource_adjusted_for_overdraft"
          },
          "applied_to_payment": {
            "$ref": "#/components/schemas/customer_balance_resource_cash_balance_transaction_resource_applied_to_payment_transaction"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "maxLength": 5000,
            "type": "string"
          },
          "customer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer"
              }
            ],
            "description": "The customer whose available cash balance changed as a result of this transaction.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer"
                }
              ]
            }
          },
          "ending_balance": {
            "description": "The total available cash balance for the specified currency after this transaction was applied. Represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
            "type": "integer"
          },
          "funded": {
            "$ref": "#/components/schemas/customer_balance_resource_cash_balance_transaction_resource_funded_transaction"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "net_amount": {
            "description": "The amount by which the cash balance changed, represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). A positive value represents funds being added to the cash balance, a negative value represents funds being removed from the cash balance.",
            "type": "integer"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "customer_cash_balance_transaction"
            ],
            "type": "string"
          },
          "refunded_from_payment": {
            "$ref": "#/components/schemas/customer_balance_resource_cash_balance_transaction_resource_refunded_from_payment_transaction"
          },
          "transferred_to_balance": {
            "$ref": "#/components/schemas/customer_balance_resource_cash_balance_transaction_resource_transferred_to_balance"
          },
          "type": {
            "description": "The type of the cash balance transaction. New types may be added in future. See [Customer Balance](https://stripe.com/docs/payments/customer-balance#types) to learn more about these types.",
            "enum": [
              "adjusted_for_overdraft",
              "applied_to_payment",
              "funded",
              "funding_reversed",
              "refunded_from_payment",
              "return_canceled",
              "return_initiated",
              "transferred_to_balance",
              "unapplied_from_payment"
            ],
            "type": "string"
          },
          "unapplied_from_payment": {
            "$ref": "#/components/schemas/customer_balance_resource_cash_balance_transaction_resource_unapplied_from_payment_transaction"
          }
        },
        "required": [
          "created",
          "currency",
          "customer",
          "ending_balance",
          "id",
          "livemode",
          "net_amount",
          "object",
          "type"
        ],
        "title": "CustomerCashBalanceTransaction",
        "type": "object",
        "x-expandableFields": [
          "adjusted_for_overdraft",
          "applied_to_payment",
          "customer",
          "funded",
          "refunded_from_payment",
          "transferred_to_balance",
          "unapplied_from_payment"
        ],
        "x-resourceId": "customer_cash_balance_transaction",
        "x-stripeMostCommon": [
          "adjusted_for_overdraft",
          "applied_to_payment",
          "created",
          "currency",
          "customer",
          "ending_balance",
          "funded",
          "id",
          "livemode",
          "net_amount",
          "object",
          "refunded_from_payment",
          "transferred_to_balance",
          "type",
          "unapplied_from_payment"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "collection",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/customers/{customer}/cash_balance_transactions"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/customers/{customer}/cash_balance_transactions"
          },
          {
            "method_name": "retrieve",
            "method_on": "collection",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/customers/{customer}/cash_balance_transactions/{transaction}"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/customers/{customer}/cash_balance_transactions/{transaction}"
          }
        ],
        "x-stripeResource": {
          "class_name": "CustomerCashBalanceTransaction",
          "has_collection_class": true,
          "in_package": "",
          "parent": "customer",
          "polymorphic_groups": [
            "balance_transaction_source"
          ]
        }
      },
      "customer_cash_balance_transaction.created": {
        "description": "Occurs whenever a new customer cash balance transactions is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/customer_cash_balance_transaction"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "customer_cash_balance_transaction.created"
        }
      },
      "customer_session": {
        "description": "A Customer Session allows you to grant Stripe's frontend SDKs (like Stripe.js) client-side access\ncontrol over a Customer.\n\nRelated guides: [Customer Session with the Payment Element](/payments/accept-a-payment-deferred?platform=web&type=payment#save-payment-methods),\n[Customer Session with the Pricing Table](/payments/checkout/pricing-table#customer-session),\n[Customer Session with the Buy Button](/payment-links/buy-button#pass-an-existing-customer).",
        "properties": {
          "client_secret": {
            "description": "The client secret of this Customer Session. Used on the client to set up secure access to the given `customer`.\n\nThe client secret can be used to provide access to `customer` from your frontend. It should not be stored, logged, or exposed to anyone other than the relevant customer. Make sure that you have TLS enabled on any page that includes the client secret.",
            "maxLength": 5000,
            "type": "string"
          },
          "components": {
            "$ref": "#/components/schemas/customer_session_resource_components"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "customer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer"
              }
            ],
            "description": "The Customer the Customer Session was created for.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer"
                }
              ]
            }
          },
          "expires_at": {
            "description": "The timestamp at which this Customer Session will expire.",
            "format": "unix-time",
            "type": "integer"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "customer_session"
            ],
            "type": "string"
          }
        },
        "required": [
          "client_secret",
          "created",
          "customer",
          "expires_at",
          "livemode",
          "object"
        ],
        "title": "CustomerSessionResourceCustomerSession",
        "type": "object",
        "x-expandableFields": [
          "components",
          "customer"
        ],
        "x-resourceId": "customer_session",
        "x-stripeMostCommon": [
          "client_secret",
          "components",
          "customer",
          "expires_at"
        ],
        "x-stripeOperations": [
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/customer_sessions"
          }
        ],
        "x-stripeResource": {
          "class_name": "CustomerSession",
          "in_package": ""
        }
      },
      "customer_session_resource_components": {
        "description": "Configuration for the components supported by this Customer Session.",
        "properties": {
          "buy_button": {
            "$ref": "#/components/schemas/customer_session_resource_components_resource_buy_button"
          },
          "payment_element": {
            "$ref": "#/components/schemas/customer_session_resource_components_resource_payment_element"
          },
          "pricing_table": {
            "$ref": "#/components/schemas/customer_session_resource_components_resource_pricing_table"
          }
        },
        "required": [
          "buy_button",
          "payment_element",
          "pricing_table"
        ],
        "title": "CustomerSessionResourceComponents",
        "type": "object",
        "x-expandableFields": [
          "buy_button",
          "payment_element",
          "pricing_table"
        ],
        "x-stripeMostCommon": [
          "buy_button",
          "payment_element",
          "pricing_table"
        ]
      },
      "customer_session_resource_components_resource_buy_button": {
        "description": "This hash contains whether the buy button is enabled.",
        "properties": {
          "enabled": {
            "description": "Whether the buy button is enabled.",
            "type": "boolean"
          }
        },
        "required": [
          "enabled"
        ],
        "title": "CustomerSessionResourceComponentsResourceBuyButton",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "enabled"
        ]
      },
      "customer_session_resource_components_resource_payment_element": {
        "description": "This hash contains whether the Payment Element is enabled and the features it supports.",
        "properties": {
          "enabled": {
            "description": "Whether the Payment Element is enabled.",
            "type": "boolean"
          },
          "features": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/customer_session_resource_components_resource_payment_element_resource_features"
              }
            ],
            "description": "This hash defines whether the Payment Element supports certain features.",
            "nullable": true
          }
        },
        "required": [
          "enabled",
          "features"
        ],
        "title": "CustomerSessionResourceComponentsResourcePaymentElement",
        "type": "object",
        "x-expandableFields": [
          "features"
        ],
        "x-stripeMostCommon": [
          "enabled",
          "features"
        ]
      },
      "customer_session_resource_components_resource_payment_element_resource_features": {
        "description": "This hash contains the features the Payment Element supports.",
        "properties": {
          "payment_method_allow_redisplay_filters": {
            "description": "A list of [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) values that controls which saved payment methods the Payment Element displays by filtering to only show payment methods with an `allow_redisplay` value that is present in this list.\n\nIf not specified, defaults to [\"always\"]. In order to display all saved payment methods, specify [\"always\", \"limited\", \"unspecified\"].",
            "items": {
              "enum": [
                "always",
                "limited",
                "unspecified"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "payment_method_redisplay": {
            "description": "Controls whether or not the Payment Element shows saved payment methods. This parameter defaults to `disabled`.",
            "enum": [
              "disabled",
              "enabled"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "payment_method_redisplay_limit": {
            "description": "Determines the max number of saved payment methods for the Payment Element to display. This parameter defaults to `3`.",
            "nullable": true,
            "type": "integer"
          },
          "payment_method_remove": {
            "description": "Controls whether the Payment Element displays the option to remove a saved payment method. This parameter defaults to `disabled`.\n\nAllowing buyers to remove their saved payment methods impacts subscriptions that depend on that payment method. Removing the payment method detaches the [`customer` object](https://docs.stripe.com/api/payment_methods/object#payment_method_object-customer) from that [PaymentMethod](https://docs.stripe.com/api/payment_methods).",
            "enum": [
              "disabled",
              "enabled"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "payment_method_save": {
            "description": "Controls whether the Payment Element displays a checkbox offering to save a new payment method. This parameter defaults to `disabled`.\n\nIf a customer checks the box, the [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) value on the PaymentMethod is set to `'always'` at confirmation time. For PaymentIntents, the [`setup_future_usage`](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-setup_future_usage) value is also set to the value defined in `payment_method_save_usage`.",
            "enum": [
              "disabled",
              "enabled"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "payment_method_save_usage": {
            "description": "When using PaymentIntents and the customer checks the save checkbox, this field determines the [`setup_future_usage`](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-setup_future_usage) value used to confirm the PaymentIntent.\n\nWhen using SetupIntents, directly configure the [`usage`](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-usage) value on SetupIntent creation.",
            "enum": [
              "off_session",
              "on_session"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "payment_method_allow_redisplay_filters",
          "payment_method_redisplay",
          "payment_method_redisplay_limit",
          "payment_method_remove",
          "payment_method_save",
          "payment_method_save_usage"
        ],
        "title": "CustomerSessionResourceComponentsResourcePaymentElementResourceFeatures",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "payment_method_allow_redisplay_filters",
          "payment_method_redisplay",
          "payment_method_redisplay_limit",
          "payment_method_remove",
          "payment_method_save",
          "payment_method_save_usage"
        ]
      },
      "customer_session_resource_components_resource_pricing_table": {
        "description": "This hash contains whether the pricing table is enabled.",
        "properties": {
          "enabled": {
            "description": "Whether the pricing table is enabled.",
            "type": "boolean"
          }
        },
        "required": [
          "enabled"
        ],
        "title": "CustomerSessionResourceComponentsResourcePricingTable",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "enabled"
        ]
      },
      "customer_tax": {
        "description": "",
        "properties": {
          "automatic_tax": {
            "description": "Surfaces if automatic tax computation is possible given the current customer location information.",
            "enum": [
              "failed",
              "not_collecting",
              "supported",
              "unrecognized_location"
            ],
            "type": "string"
          },
          "ip_address": {
            "description": "A recent IP address of the customer used for tax reporting and tax location inference.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "location": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/customer_tax_location"
              }
            ],
            "description": "The customer's location as identified by Stripe Tax.",
            "nullable": true
          }
        },
        "required": [
          "automatic_tax",
          "ip_address",
          "location"
        ],
        "title": "CustomerTax",
        "type": "object",
        "x-expandableFields": [
          "location"
        ],
        "x-stripeMostCommon": [
          "automatic_tax",
          "ip_address",
          "location"
        ]
      },
      "customer_tax_location": {
        "description": "",
        "properties": {
          "country": {
            "description": "The customer's country as identified by Stripe Tax.",
            "maxLength": 5000,
            "type": "string"
          },
          "source": {
            "description": "The data source used to infer the customer's location.",
            "enum": [
              "billing_address",
              "ip_address",
              "payment_method",
              "shipping_destination"
            ],
            "type": "string"
          },
          "state": {
            "description": "The customer's state, county, province, or region as identified by Stripe Tax.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "country",
          "source",
          "state"
        ],
        "title": "CustomerTaxLocation",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "country",
          "source",
          "state"
        ]
      },
      "deleted_account": {
        "description": "",
        "properties": {
          "deleted": {
            "description": "Always true for a deleted object",
            "enum": [
              true
            ],
            "type": "boolean"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "account"
            ],
            "type": "string"
          }
        },
        "required": [
          "deleted",
          "id",
          "object"
        ],
        "title": "DeletedAccount",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "deleted_account",
        "x-stripeMostCommon": [
          "deleted",
          "id",
          "object"
        ],
        "x-stripeResource": {
          "class_name": "DeletedAccount",
          "in_package": ""
        }
      },
      "deleted_apple_pay_domain": {
        "description": "",
        "properties": {
          "deleted": {
            "description": "Always true for a deleted object",
            "enum": [
              true
            ],
            "type": "boolean"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "apple_pay_domain"
            ],
            "type": "string"
          }
        },
        "required": [
          "deleted",
          "id",
          "object"
        ],
        "title": "DeletedApplePayDomain",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "deleted_apple_pay_domain",
        "x-stripeMostCommon": [
          "deleted",
          "id",
          "object"
        ],
        "x-stripeResource": {
          "class_name": "DeletedApplePayDomain",
          "in_package": ""
        }
      },
      "deleted_application": {
        "description": "",
        "properties": {
          "deleted": {
            "description": "Always true for a deleted object",
            "enum": [
              true
            ],
            "type": "boolean"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "name": {
            "description": "The name of the application.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "application"
            ],
            "type": "string"
          }
        },
        "required": [
          "deleted",
          "id",
          "name",
          "object"
        ],
        "title": "DeletedApplication",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "deleted",
          "id",
          "name",
          "object"
        ],
        "x-stripeResource": {
          "class_name": "DeletedApplication",
          "in_package": ""
        }
      },
      "deleted_bank_account": {
        "description": "",
        "properties": {
          "currency": {
            "description": "Three-letter [ISO code for the currency](https://stripe.com/docs/payouts) paid out to the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "deleted": {
            "description": "Always true for a deleted object",
            "enum": [
              true
            ],
            "type": "boolean"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "bank_account"
            ],
            "type": "string"
          }
        },
        "required": [
          "deleted",
          "id",
          "object"
        ],
        "title": "DeletedBankAccount",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "currency",
          "deleted",
          "id",
          "object"
        ],
        "x-stripeResource": {
          "class_name": "DeletedBankAccount",
          "in_package": ""
        }
      },
      "deleted_card": {
        "description": "",
        "properties": {
          "currency": {
            "description": "Three-letter [ISO code for the currency](https://stripe.com/docs/payouts) paid out to the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "deleted": {
            "description": "Always true for a deleted object",
            "enum": [
              true
            ],
            "type": "boolean"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "card"
            ],
            "type": "string"
          }
        },
        "required": [
          "deleted",
          "id",
          "object"
        ],
        "title": "DeletedCard",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "currency",
          "deleted",
          "id",
          "object"
        ],
        "x-stripeResource": {
          "class_name": "DeletedCard",
          "in_package": ""
        }
      },
      "deleted_coupon": {
        "description": "",
        "properties": {
          "deleted": {
            "description": "Always true for a deleted object",
            "enum": [
              true
            ],
            "type": "boolean"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "coupon"
            ],
            "type": "string"
          }
        },
        "required": [
          "deleted",
          "id",
          "object"
        ],
        "title": "DeletedCoupon",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "deleted_coupon",
        "x-stripeMostCommon": [
          "deleted",
          "id",
          "object"
        ],
        "x-stripeResource": {
          "class_name": "DeletedCoupon",
          "in_package": ""
        }
      },
      "deleted_customer": {
        "description": "",
        "properties": {
          "deleted": {
            "description": "Always true for a deleted object",
            "enum": [
              true
            ],
            "type": "boolean"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "customer"
            ],
            "type": "string"
          }
        },
        "required": [
          "deleted",
          "id",
          "object"
        ],
        "title": "DeletedCustomer",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "deleted_customer",
        "x-stripeMostCommon": [
          "deleted",
          "id",
          "object"
        ],
        "x-stripeResource": {
          "class_name": "DeletedCustomer",
          "in_package": ""
        }
      },
      "deleted_discount": {
        "description": "",
        "properties": {
          "checkout_session": {
            "description": "The Checkout session that this coupon is applied to, if it is applied to a particular session in payment mode. Will not be present for subscription mode.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "coupon": {
            "$ref": "#/components/schemas/coupon"
          },
          "customer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer"
              },
              {
                "$ref": "#/components/schemas/deleted_customer"
              }
            ],
            "description": "The ID of the customer associated with this discount.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer"
                },
                {
                  "$ref": "#/components/schemas/deleted_customer"
                }
              ]
            }
          },
          "deleted": {
            "description": "Always true for a deleted object",
            "enum": [
              true
            ],
            "type": "boolean"
          },
          "id": {
            "description": "The ID of the discount object. Discounts cannot be fetched by ID. Use `expand[]=discounts` in API calls to expand discount IDs in an array.",
            "maxLength": 5000,
            "type": "string"
          },
          "invoice": {
            "description": "The invoice that the discount's coupon was applied to, if it was applied directly to a particular invoice.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "invoice_item": {
            "description": "The invoice item `id` (or invoice line item `id` for invoice line items of type='subscription') that the discount's coupon was applied to, if it was applied directly to a particular invoice item or invoice line item.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "discount"
            ],
            "type": "string"
          },
          "promotion_code": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/promotion_code"
              }
            ],
            "description": "The promotion code applied to create this discount.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/promotion_code"
                }
              ]
            }
          },
          "start": {
            "description": "Date that the coupon was applied.",
            "format": "unix-time",
            "type": "integer"
          },
          "subscription": {
            "description": "The subscription that this coupon is applied to, if it is applied to a particular subscription.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "subscription_item": {
            "description": "The subscription item that this coupon is applied to, if it is applied to a particular subscription item.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "checkout_session",
          "coupon",
          "customer",
          "deleted",
          "id",
          "invoice",
          "invoice_item",
          "object",
          "promotion_code",
          "start",
          "subscription",
          "subscription_item"
        ],
        "title": "DeletedDiscount",
        "type": "object",
        "x-expandableFields": [
          "coupon",
          "customer",
          "promotion_code"
        ],
        "x-resourceId": "deleted_discount",
        "x-stripeMostCommon": [
          "coupon",
          "customer",
          "deleted",
          "id",
          "start",
          "subscription"
        ],
        "x-stripeResource": {
          "class_name": "DeletedDiscount",
          "in_package": ""
        }
      },
      "deleted_external_account": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/deleted_bank_account"
          },
          {
            "$ref": "#/components/schemas/deleted_card"
          }
        ],
        "title": "Polymorphic",
        "x-resourceId": "deleted_external_account",
        "x-stripeBypassValidation": true,
        "x-stripeResource": {
          "class_name": "DeletedExternalAccount"
        }
      },
      "deleted_invoice": {
        "description": "",
        "properties": {
          "deleted": {
            "description": "Always true for a deleted object",
            "enum": [
              true
            ],
            "type": "boolean"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "invoice"
            ],
            "type": "string"
          }
        },
        "required": [
          "deleted",
          "id",
          "object"
        ],
        "title": "DeletedInvoice",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "deleted_invoice",
        "x-stripeMostCommon": [
          "deleted",
          "id",
          "object"
        ],
        "x-stripeResource": {
          "class_name": "DeletedInvoice",
          "in_package": ""
        }
      },
      "deleted_invoiceitem": {
        "description": "",
        "properties": {
          "deleted": {
            "description": "Always true for a deleted object",
            "enum": [
              true
            ],
            "type": "boolean"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "invoiceitem"
            ],
            "type": "string"
          }
        },
        "required": [
          "deleted",
          "id",
          "object"
        ],
        "title": "DeletedInvoiceItem",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "deleted_invoiceitem",
        "x-stripeMostCommon": [
          "deleted",
          "id",
          "object"
        ],
        "x-stripeResource": {
          "class_name": "DeletedInvoiceItem",
          "in_package": ""
        }
      },
      "deleted_payment_source": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/deleted_bank_account"
          },
          {
            "$ref": "#/components/schemas/deleted_card"
          }
        ],
        "title": "Polymorphic",
        "x-resourceId": "deleted_payment_source",
        "x-stripeBypassValidation": true,
        "x-stripeResource": {
          "class_name": "DeletedPaymentSource"
        }
      },
      "deleted_person": {
        "description": "",
        "properties": {
          "deleted": {
            "description": "Always true for a deleted object",
            "enum": [
              true
            ],
            "type": "boolean"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "person"
            ],
            "type": "string"
          }
        },
        "required": [
          "deleted",
          "id",
          "object"
        ],
        "title": "DeletedPerson",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "deleted_person",
        "x-stripeMostCommon": [
          "deleted",
          "id",
          "object"
        ],
        "x-stripeResource": {
          "class_name": "DeletedPerson",
          "in_package": ""
        }
      },
      "deleted_plan": {
        "description": "",
        "properties": {
          "deleted": {
            "description": "Always true for a deleted object",
            "enum": [
              true
            ],
            "type": "boolean"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "plan"
            ],
            "type": "string"
          }
        },
        "required": [
          "deleted",
          "id",
          "object"
        ],
        "title": "DeletedPlan",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "deleted_plan",
        "x-stripeMostCommon": [
          "deleted",
          "id",
          "object"
        ],
        "x-stripeResource": {
          "class_name": "DeletedPlan",
          "in_package": ""
        }
      },
      "deleted_price": {
        "description": "",
        "properties": {
          "deleted": {
            "description": "Always true for a deleted object",
            "enum": [
              true
            ],
            "type": "boolean"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "price"
            ],
            "type": "string"
          }
        },
        "required": [
          "deleted",
          "id",
          "object"
        ],
        "title": "DeletedPrice",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "deleted",
          "id",
          "object"
        ],
        "x-stripeResource": {
          "class_name": "DeletedPrice",
          "in_package": ""
        }
      },
      "deleted_product": {
        "description": "",
        "properties": {
          "deleted": {
            "description": "Always true for a deleted object",
            "enum": [
              true
            ],
            "type": "boolean"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "product"
            ],
            "type": "string"
          }
        },
        "required": [
          "deleted",
          "id",
          "object"
        ],
        "title": "DeletedProduct",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "deleted_product",
        "x-stripeMostCommon": [
          "deleted",
          "id",
          "object"
        ],
        "x-stripeResource": {
          "class_name": "DeletedProduct",
          "in_package": ""
        }
      },
      "deleted_product_feature": {
        "description": "",
        "properties": {
          "deleted": {
            "description": "Always true for a deleted object",
            "enum": [
              true
            ],
            "type": "boolean"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "product_feature"
            ],
            "type": "string"
          }
        },
        "required": [
          "deleted",
          "id",
          "object"
        ],
        "title": "DeletedProductFeature",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "deleted_product_feature",
        "x-stripeMostCommon": [
          "deleted",
          "id",
          "object"
        ],
        "x-stripeResource": {
          "class_name": "DeletedProductFeature",
          "in_package": ""
        }
      },
      "deleted_radar.value_list": {
        "description": "",
        "properties": {
          "deleted": {
            "description": "Always true for a deleted object",
            "enum": [
              true
            ],
            "type": "boolean"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "radar.value_list"
            ],
            "type": "string"
          }
        },
        "required": [
          "deleted",
          "id",
          "object"
        ],
        "title": "RadarListDeletedList",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "deleted_radar.value_list",
        "x-stripeMostCommon": [
          "deleted",
          "id",
          "object"
        ],
        "x-stripeResource": {
          "class_name": "DeletedValueList",
          "in_package": "Radar"
        }
      },
      "deleted_radar.value_list_item": {
        "description": "",
        "properties": {
          "deleted": {
            "description": "Always true for a deleted object",
            "enum": [
              true
            ],
            "type": "boolean"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "radar.value_list_item"
            ],
            "type": "string"
          }
        },
        "required": [
          "deleted",
          "id",
          "object"
        ],
        "title": "RadarListDeletedListItem",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "deleted_radar.value_list_item",
        "x-stripeMostCommon": [
          "deleted",
          "id",
          "object"
        ],
        "x-stripeResource": {
          "class_name": "DeletedValueListItem",
          "in_package": "Radar"
        }
      },
      "deleted_subscription_item": {
        "description": "",
        "properties": {
          "deleted": {
            "description": "Always true for a deleted object",
            "enum": [
              true
            ],
            "type": "boolean"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "subscription_item"
            ],
            "type": "string"
          }
        },
        "required": [
          "deleted",
          "id",
          "object"
        ],
        "title": "DeletedSubscriptionItem",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "deleted_subscription_item",
        "x-stripeMostCommon": [
          "deleted",
          "id",
          "object"
        ],
        "x-stripeResource": {
          "class_name": "DeletedSubscriptionItem",
          "in_package": ""
        }
      },
      "deleted_tax_id": {
        "description": "",
        "properties": {
          "deleted": {
            "description": "Always true for a deleted object",
            "enum": [
              true
            ],
            "type": "boolean"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "tax_id"
            ],
            "type": "string"
          }
        },
        "required": [
          "deleted",
          "id",
          "object"
        ],
        "title": "deleted_tax_id",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "deleted_tax_id",
        "x-stripeMostCommon": [
          "deleted",
          "id",
          "object"
        ],
        "x-stripeResource": {
          "class_name": "DeletedTaxId",
          "in_package": ""
        }
      },
      "deleted_terminal.configuration": {
        "description": "",
        "properties": {
          "deleted": {
            "description": "Always true for a deleted object",
            "enum": [
              true
            ],
            "type": "boolean"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "terminal.configuration"
            ],
            "type": "string"
          }
        },
        "required": [
          "deleted",
          "id",
          "object"
        ],
        "title": "TerminalConfigurationDeletedConfiguration",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "deleted_terminal.configuration",
        "x-stripeMostCommon": [
          "deleted",
          "id",
          "object"
        ],
        "x-stripeResource": {
          "class_name": "DeletedConfiguration",
          "in_package": "Terminal"
        }
      },
      "deleted_terminal.location": {
        "description": "",
        "properties": {
          "deleted": {
            "description": "Always true for a deleted object",
            "enum": [
              true
            ],
            "type": "boolean"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "terminal.location"
            ],
            "type": "string"
          }
        },
        "required": [
          "deleted",
          "id",
          "object"
        ],
        "title": "TerminalLocationDeletedLocation",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "deleted_terminal.location",
        "x-stripeMostCommon": [
          "deleted",
          "id",
          "object"
        ],
        "x-stripeResource": {
          "class_name": "DeletedLocation",
          "in_package": "Terminal"
        }
      },
      "deleted_terminal.reader": {
        "description": "",
        "properties": {
          "deleted": {
            "description": "Always true for a deleted object",
            "enum": [
              true
            ],
            "type": "boolean"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "terminal.reader"
            ],
            "type": "string"
          }
        },
        "required": [
          "deleted",
          "id",
          "object"
        ],
        "title": "TerminalReaderDeletedReader",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "deleted_terminal.reader",
        "x-stripeMostCommon": [
          "deleted",
          "id",
          "object"
        ],
        "x-stripeResource": {
          "class_name": "DeletedReader",
          "in_package": "Terminal"
        }
      },
      "deleted_test_helpers.test_clock": {
        "description": "",
        "properties": {
          "deleted": {
            "description": "Always true for a deleted object",
            "enum": [
              true
            ],
            "type": "boolean"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "test_helpers.test_clock"
            ],
            "type": "string"
          }
        },
        "required": [
          "deleted",
          "id",
          "object"
        ],
        "title": "DeletedTestClock",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "deleted_test_helpers.test_clock",
        "x-stripeMostCommon": [
          "deleted",
          "id",
          "object"
        ],
        "x-stripeResource": {
          "class_name": "DeletedTestClock",
          "in_package": "TestHelpers"
        }
      },
      "deleted_webhook_endpoint": {
        "description": "",
        "properties": {
          "deleted": {
            "description": "Always true for a deleted object",
            "enum": [
              true
            ],
            "type": "boolean"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "webhook_endpoint"
            ],
            "type": "string"
          }
        },
        "required": [
          "deleted",
          "id",
          "object"
        ],
        "title": "NotificationWebhookEndpointDeleted",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "deleted_webhook_endpoint",
        "x-stripeMostCommon": [
          "deleted",
          "id",
          "object"
        ],
        "x-stripeResource": {
          "class_name": "DeletedWebhookEndpoint",
          "in_package": ""
        }
      },
      "destination_details_unimplemented": {
        "description": "",
        "properties": {},
        "title": "destination_details_unimplemented",
        "type": "object",
        "x-expandableFields": []
      },
      "discount": {
        "description": "A discount represents the actual application of a [coupon](https://stripe.com/docs/api#coupons) or [promotion code](https://stripe.com/docs/api#promotion_codes).\nIt contains information about when the discount began, when it will end, and what it is applied to.\n\nRelated guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts)",
        "properties": {
          "checkout_session": {
            "description": "The Checkout session that this coupon is applied to, if it is applied to a particular session in payment mode. Will not be present for subscription mode.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "coupon": {
            "$ref": "#/components/schemas/coupon"
          },
          "customer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer"
              },
              {
                "$ref": "#/components/schemas/deleted_customer"
              }
            ],
            "description": "The ID of the customer associated with this discount.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer"
                },
                {
                  "$ref": "#/components/schemas/deleted_customer"
                }
              ]
            }
          },
          "end": {
            "description": "If the coupon has a duration of `repeating`, the date that this discount will end. If the coupon has a duration of `once` or `forever`, this attribute will be null.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "id": {
            "description": "The ID of the discount object. Discounts cannot be fetched by ID. Use `expand[]=discounts` in API calls to expand discount IDs in an array.",
            "maxLength": 5000,
            "type": "string"
          },
          "invoice": {
            "description": "The invoice that the discount's coupon was applied to, if it was applied directly to a particular invoice.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "invoice_item": {
            "description": "The invoice item `id` (or invoice line item `id` for invoice line items of type='subscription') that the discount's coupon was applied to, if it was applied directly to a particular invoice item or invoice line item.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "discount"
            ],
            "type": "string"
          },
          "promotion_code": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/promotion_code"
              }
            ],
            "description": "The promotion code applied to create this discount.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/promotion_code"
                }
              ]
            }
          },
          "start": {
            "description": "Date that the coupon was applied.",
            "format": "unix-time",
            "type": "integer"
          },
          "subscription": {
            "description": "The subscription that this coupon is applied to, if it is applied to a particular subscription.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "subscription_item": {
            "description": "The subscription item that this coupon is applied to, if it is applied to a particular subscription item.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "checkout_session",
          "coupon",
          "customer",
          "end",
          "id",
          "invoice",
          "invoice_item",
          "object",
          "promotion_code",
          "start",
          "subscription",
          "subscription_item"
        ],
        "title": "Discount",
        "type": "object",
        "x-expandableFields": [
          "coupon",
          "customer",
          "promotion_code"
        ],
        "x-stripeMostCommon": [
          "coupon",
          "customer",
          "end",
          "id",
          "start",
          "subscription"
        ],
        "x-stripeResource": {
          "class_name": "Discount",
          "in_package": ""
        }
      },
      "discounts_resource_discount_amount": {
        "description": "",
        "properties": {
          "amount": {
            "description": "The amount, in cents (or local equivalent), of the discount.",
            "type": "integer"
          },
          "discount": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/discount"
              },
              {
                "$ref": "#/components/schemas/deleted_discount"
              }
            ],
            "description": "The discount that was applied to get this discount amount.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/discount"
                },
                {
                  "$ref": "#/components/schemas/deleted_discount"
                }
              ]
            }
          }
        },
        "required": [
          "amount",
          "discount"
        ],
        "title": "DiscountsResourceDiscountAmount",
        "type": "object",
        "x-expandableFields": [
          "discount"
        ],
        "x-stripeMostCommon": [
          "amount",
          "discount"
        ]
      },
      "discounts_resource_stackable_discount": {
        "description": "",
        "properties": {
          "coupon": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/coupon"
              }
            ],
            "description": "ID of the coupon to create a new discount for.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/coupon"
                }
              ]
            }
          },
          "discount": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/discount"
              }
            ],
            "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/discount"
                }
              ]
            }
          },
          "promotion_code": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/promotion_code"
              }
            ],
            "description": "ID of the promotion code to create a new discount for.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/promotion_code"
                }
              ]
            }
          }
        },
        "required": [
          "coupon",
          "discount",
          "promotion_code"
        ],
        "title": "DiscountsResourceStackableDiscount",
        "type": "object",
        "x-expandableFields": [
          "coupon",
          "discount",
          "promotion_code"
        ],
        "x-stripeMostCommon": [
          "coupon",
          "discount",
          "promotion_code"
        ]
      },
      "dispute": {
        "description": "A dispute occurs when a customer questions your charge with their card issuer.\nWhen this happens, you have the opportunity to respond to the dispute with\nevidence that shows that the charge is legitimate.\n\nRelated guide: [Disputes and fraud](https://stripe.com/docs/disputes)",
        "properties": {
          "amount": {
            "description": "Disputed amount. Usually the amount of the charge, but it can differ (usually because of currency fluctuation or because only part of the order is disputed).",
            "type": "integer"
          },
          "balance_transactions": {
            "description": "List of zero, one, or two balance transactions that show funds withdrawn and reinstated to your Stripe account as a result of this dispute.",
            "items": {
              "$ref": "#/components/schemas/balance_transaction"
            },
            "type": "array"
          },
          "charge": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/charge"
              }
            ],
            "description": "ID of the charge that's disputed.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/charge"
                }
              ]
            }
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "enhanced_eligibility_types": {
            "description": "List of eligibility types that are included in `enhanced_evidence`.",
            "items": {
              "enum": [
                "visa_compelling_evidence_3"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "type": "array"
          },
          "evidence": {
            "$ref": "#/components/schemas/dispute_evidence"
          },
          "evidence_details": {
            "$ref": "#/components/schemas/dispute_evidence_details"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "is_charge_refundable": {
            "description": "If true, it's still possible to refund the disputed payment. After the payment has been fully refunded, no further funds are withdrawn from your Stripe account as a result of this dispute.",
            "type": "boolean"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "network_reason_code": {
            "description": "Network-dependent reason code for the dispute.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "dispute"
            ],
            "type": "string"
          },
          "payment_intent": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_intent"
              }
            ],
            "description": "ID of the PaymentIntent that's disputed.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_intent"
                }
              ]
            }
          },
          "payment_method_details": {
            "$ref": "#/components/schemas/dispute_payment_method_details"
          },
          "reason": {
            "description": "Reason given by cardholder for dispute. Possible values are `bank_cannot_process`, `check_returned`, `credit_not_processed`, `customer_initiated`, `debit_not_authorized`, `duplicate`, `fraudulent`, `general`, `incorrect_account_details`, `insufficient_funds`, `product_not_received`, `product_unacceptable`, `subscription_canceled`, or `unrecognized`. Learn more about [dispute reasons](https://stripe.com/docs/disputes/categories).",
            "maxLength": 5000,
            "type": "string"
          },
          "status": {
            "description": "Current status of dispute. Possible values are `warning_needs_response`, `warning_under_review`, `warning_closed`, `needs_response`, `under_review`, `won`, or `lost`.",
            "enum": [
              "lost",
              "needs_response",
              "under_review",
              "warning_closed",
              "warning_needs_response",
              "warning_under_review",
              "won"
            ],
            "type": "string"
          }
        },
        "required": [
          "amount",
          "balance_transactions",
          "charge",
          "created",
          "currency",
          "enhanced_eligibility_types",
          "evidence",
          "evidence_details",
          "id",
          "is_charge_refundable",
          "livemode",
          "metadata",
          "object",
          "payment_intent",
          "reason",
          "status"
        ],
        "title": "Dispute",
        "type": "object",
        "x-expandableFields": [
          "balance_transactions",
          "charge",
          "evidence",
          "evidence_details",
          "payment_intent",
          "payment_method_details"
        ],
        "x-resourceId": "dispute",
        "x-stripeMostCommon": [
          "amount",
          "charge",
          "currency",
          "evidence",
          "id",
          "metadata",
          "payment_intent",
          "reason",
          "status"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/disputes"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/disputes/{dispute}"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/disputes/{dispute}"
          },
          {
            "method_name": "close",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/disputes/{dispute}/close"
          }
        ],
        "x-stripeResource": {
          "class_name": "Dispute",
          "has_collection_class": true,
          "in_package": "",
          "polymorphic_groups": [
            "balance_transaction_source"
          ]
        }
      },
      "dispute_enhanced_eligibility": {
        "description": "",
        "properties": {
          "visa_compelling_evidence_3": {
            "$ref": "#/components/schemas/dispute_enhanced_eligibility_visa_compelling_evidence3"
          }
        },
        "title": "DisputeEnhancedEligibility",
        "type": "object",
        "x-expandableFields": [
          "visa_compelling_evidence_3"
        ],
        "x-stripeMostCommon": [
          "visa_compelling_evidence_3"
        ]
      },
      "dispute_enhanced_eligibility_visa_compelling_evidence3": {
        "description": "",
        "properties": {
          "required_actions": {
            "description": "List of actions required to qualify dispute for Visa Compelling Evidence 3.0 evidence submission.",
            "items": {
              "enum": [
                "missing_customer_identifiers",
                "missing_disputed_transaction_description",
                "missing_merchandise_or_services",
                "missing_prior_undisputed_transaction_description",
                "missing_prior_undisputed_transactions"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "status": {
            "description": "Visa Compelling Evidence 3.0 eligibility status.",
            "enum": [
              "not_qualified",
              "qualified",
              "requires_action"
            ],
            "type": "string"
          }
        },
        "required": [
          "required_actions",
          "status"
        ],
        "title": "DisputeEnhancedEligibilityVisaCompellingEvidence3",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "required_actions",
          "status"
        ]
      },
      "dispute_enhanced_evidence": {
        "description": "",
        "properties": {
          "visa_compelling_evidence_3": {
            "$ref": "#/components/schemas/dispute_enhanced_evidence_visa_compelling_evidence3"
          }
        },
        "title": "DisputeEnhancedEvidence",
        "type": "object",
        "x-expandableFields": [
          "visa_compelling_evidence_3"
        ],
        "x-stripeMostCommon": [
          "visa_compelling_evidence_3"
        ]
      },
      "dispute_enhanced_evidence_visa_compelling_evidence3": {
        "description": "",
        "properties": {
          "disputed_transaction": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/dispute_visa_compelling_evidence3_disputed_transaction"
              }
            ],
            "description": "Disputed transaction details for Visa Compelling Evidence 3.0 evidence submission.",
            "nullable": true
          },
          "prior_undisputed_transactions": {
            "description": "List of exactly two prior undisputed transaction objects for Visa Compelling Evidence 3.0 evidence submission.",
            "items": {
              "$ref": "#/components/schemas/dispute_visa_compelling_evidence3_prior_undisputed_transaction"
            },
            "type": "array"
          }
        },
        "required": [
          "disputed_transaction",
          "prior_undisputed_transactions"
        ],
        "title": "DisputeEnhancedEvidenceVisaCompellingEvidence3",
        "type": "object",
        "x-expandableFields": [
          "disputed_transaction",
          "prior_undisputed_transactions"
        ],
        "x-stripeMostCommon": [
          "disputed_transaction",
          "prior_undisputed_transactions"
        ]
      },
      "dispute_evidence": {
        "description": "",
        "properties": {
          "access_activity_log": {
            "description": "Any server or activity logs showing proof that the customer accessed or downloaded the purchased digital product. This information should include IP addresses, corresponding timestamps, and any detailed recorded activity.",
            "maxLength": 150000,
            "nullable": true,
            "type": "string"
          },
          "billing_address": {
            "description": "The billing address provided by the customer.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "cancellation_policy": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Your subscription cancellation policy, as shown to the customer.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          },
          "cancellation_policy_disclosure": {
            "description": "An explanation of how and when the customer was shown your refund policy prior to purchase.",
            "maxLength": 150000,
            "nullable": true,
            "type": "string"
          },
          "cancellation_rebuttal": {
            "description": "A justification for why the customer's subscription was not canceled.",
            "maxLength": 150000,
            "nullable": true,
            "type": "string"
          },
          "customer_communication": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Any communication with the customer that you feel is relevant to your case. Examples include emails proving that the customer received the product or service, or demonstrating their use of or satisfaction with the product or service.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          },
          "customer_email_address": {
            "description": "The email address of the customer.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "customer_name": {
            "description": "The name of the customer.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "customer_purchase_ip": {
            "description": "The IP address that the customer used when making the purchase.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "customer_signature": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A relevant document or contract showing the customer's signature.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          },
          "duplicate_charge_documentation": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Documentation for the prior charge that can uniquely identify the charge, such as a receipt, shipping label, work order, etc. This document should be paired with a similar document from the disputed payment that proves the two payments are separate.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          },
          "duplicate_charge_explanation": {
            "description": "An explanation of the difference between the disputed charge versus the prior charge that appears to be a duplicate.",
            "maxLength": 150000,
            "nullable": true,
            "type": "string"
          },
          "duplicate_charge_id": {
            "description": "The Stripe ID for the prior charge which appears to be a duplicate of the disputed charge.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "enhanced_evidence": {
            "$ref": "#/components/schemas/dispute_enhanced_evidence"
          },
          "product_description": {
            "description": "A description of the product or service that was sold.",
            "maxLength": 150000,
            "nullable": true,
            "type": "string"
          },
          "receipt": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Any receipt or message sent to the customer notifying them of the charge.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          },
          "refund_policy": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Your refund policy, as shown to the customer.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          },
          "refund_policy_disclosure": {
            "description": "Documentation demonstrating that the customer was shown your refund policy prior to purchase.",
            "maxLength": 150000,
            "nullable": true,
            "type": "string"
          },
          "refund_refusal_explanation": {
            "description": "A justification for why the customer is not entitled to a refund.",
            "maxLength": 150000,
            "nullable": true,
            "type": "string"
          },
          "service_date": {
            "description": "The date on which the customer received or began receiving the purchased service, in a clear human-readable format.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "service_documentation": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Documentation showing proof that a service was provided to the customer. This could include a copy of a signed contract, work order, or other form of written agreement.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          },
          "shipping_address": {
            "description": "The address to which a physical product was shipped. You should try to include as complete address information as possible.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "shipping_carrier": {
            "description": "The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. If multiple carriers were used for this purchase, please separate them with commas.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "shipping_date": {
            "description": "The date on which a physical product began its route to the shipping address, in a clear human-readable format.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "shipping_documentation": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Documentation showing proof that a product was shipped to the customer at the same address the customer provided to you. This could include a copy of the shipment receipt, shipping label, etc. It should show the customer's full shipping address, if possible.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          },
          "shipping_tracking_number": {
            "description": "The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "uncategorized_file": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Any additional evidence or statements.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          },
          "uncategorized_text": {
            "description": "Any additional evidence or statements.",
            "maxLength": 150000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "access_activity_log",
          "billing_address",
          "cancellation_policy",
          "cancellation_policy_disclosure",
          "cancellation_rebuttal",
          "customer_communication",
          "customer_email_address",
          "customer_name",
          "customer_purchase_ip",
          "customer_signature",
          "duplicate_charge_documentation",
          "duplicate_charge_explanation",
          "duplicate_charge_id",
          "enhanced_evidence",
          "product_description",
          "receipt",
          "refund_policy",
          "refund_policy_disclosure",
          "refund_refusal_explanation",
          "service_date",
          "service_documentation",
          "shipping_address",
          "shipping_carrier",
          "shipping_date",
          "shipping_documentation",
          "shipping_tracking_number",
          "uncategorized_file",
          "uncategorized_text"
        ],
        "title": "DisputeEvidence",
        "type": "object",
        "x-expandableFields": [
          "cancellation_policy",
          "customer_communication",
          "customer_signature",
          "duplicate_charge_documentation",
          "enhanced_evidence",
          "receipt",
          "refund_policy",
          "service_documentation",
          "shipping_documentation",
          "uncategorized_file"
        ],
        "x-stripeMostCommon": [
          "access_activity_log",
          "billing_address",
          "cancellation_policy",
          "cancellation_policy_disclosure",
          "cancellation_rebuttal",
          "customer_communication",
          "customer_email_address",
          "customer_name",
          "customer_purchase_ip",
          "customer_signature",
          "duplicate_charge_documentation",
          "duplicate_charge_explanation",
          "duplicate_charge_id",
          "enhanced_evidence",
          "product_description",
          "receipt",
          "refund_policy",
          "refund_policy_disclosure",
          "refund_refusal_explanation",
          "service_date",
          "service_documentation",
          "shipping_address",
          "shipping_carrier",
          "shipping_date",
          "shipping_documentation",
          "shipping_tracking_number",
          "uncategorized_file",
          "uncategorized_text"
        ]
      },
      "dispute_evidence_details": {
        "description": "",
        "properties": {
          "due_by": {
            "description": "Date by which evidence must be submitted in order to successfully challenge dispute. Will be 0 if the customer's bank or credit card company doesn't allow a response for this particular dispute.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "enhanced_eligibility": {
            "$ref": "#/components/schemas/dispute_enhanced_eligibility"
          },
          "has_evidence": {
            "description": "Whether evidence has been staged for this dispute.",
            "type": "boolean"
          },
          "past_due": {
            "description": "Whether the last evidence submission was submitted past the due date. Defaults to `false` if no evidence submissions have occurred. If `true`, then delivery of the latest evidence is *not* guaranteed.",
            "type": "boolean"
          },
          "submission_count": {
            "description": "The number of times evidence has been submitted. Typically, you may only submit evidence once.",
            "type": "integer"
          }
        },
        "required": [
          "due_by",
          "enhanced_eligibility",
          "has_evidence",
          "past_due",
          "submission_count"
        ],
        "title": "DisputeEvidenceDetails",
        "type": "object",
        "x-expandableFields": [
          "enhanced_eligibility"
        ],
        "x-stripeMostCommon": [
          "due_by",
          "enhanced_eligibility",
          "has_evidence",
          "past_due",
          "submission_count"
        ]
      },
      "dispute_payment_method_details": {
        "description": "",
        "properties": {
          "amazon_pay": {
            "$ref": "#/components/schemas/dispute_payment_method_details_amazon_pay"
          },
          "card": {
            "$ref": "#/components/schemas/dispute_payment_method_details_card"
          },
          "klarna": {
            "$ref": "#/components/schemas/dispute_payment_method_details_klarna"
          },
          "paypal": {
            "$ref": "#/components/schemas/dispute_payment_method_details_paypal"
          },
          "type": {
            "description": "Payment method type.",
            "enum": [
              "amazon_pay",
              "card",
              "klarna",
              "paypal"
            ],
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "title": "DisputePaymentMethodDetails",
        "type": "object",
        "x-expandableFields": [
          "amazon_pay",
          "card",
          "klarna",
          "paypal"
        ],
        "x-stripeMostCommon": [
          "amazon_pay",
          "card",
          "klarna",
          "paypal",
          "type"
        ]
      },
      "dispute_payment_method_details_amazon_pay": {
        "description": "",
        "properties": {
          "dispute_type": {
            "description": "The AmazonPay dispute type, chargeback or claim",
            "enum": [
              "chargeback",
              "claim"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "dispute_type"
        ],
        "title": "DisputePaymentMethodDetailsAmazonPay",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "dispute_type"
        ]
      },
      "dispute_payment_method_details_card": {
        "description": "",
        "properties": {
          "brand": {
            "description": "Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.",
            "maxLength": 5000,
            "type": "string"
          },
          "case_type": {
            "description": "The type of dispute opened. Different case types may have varying fees and financial impact.",
            "enum": [
              "chargeback",
              "inquiry"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "network_reason_code": {
            "description": "The card network's specific dispute reason code, which maps to one of Stripe's primary dispute categories to simplify response guidance. The [Network code map](https://stripe.com/docs/disputes/categories#network-code-map) lists all available dispute reason codes by network.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "brand",
          "case_type",
          "network_reason_code"
        ],
        "title": "DisputePaymentMethodDetailsCard",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "brand",
          "case_type",
          "network_reason_code"
        ]
      },
      "dispute_payment_method_details_klarna": {
        "description": "",
        "properties": {
          "reason_code": {
            "description": "The reason for the dispute as defined by Klarna",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "reason_code"
        ],
        "title": "DisputePaymentMethodDetailsKlarna",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "reason_code"
        ]
      },
      "dispute_payment_method_details_paypal": {
        "description": "",
        "properties": {
          "case_id": {
            "description": "The ID of the dispute in PayPal.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "reason_code": {
            "description": "The reason for the dispute as defined by PayPal",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "case_id",
          "reason_code"
        ],
        "title": "DisputePaymentMethodDetailsPaypal",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "case_id",
          "reason_code"
        ]
      },
      "dispute_transaction_shipping_address": {
        "description": "",
        "properties": {
          "city": {
            "description": "City, district, suburb, town, or village.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "country": {
            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "line1": {
            "description": "Address line 1 (e.g., street, PO Box, or company name).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "line2": {
            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "postal_code": {
            "description": "ZIP or postal code.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "state": {
            "description": "State, county, province, or region.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "city",
          "country",
          "line1",
          "line2",
          "postal_code",
          "state"
        ],
        "title": "DisputeTransactionShippingAddress",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "city",
          "country",
          "line1",
          "line2",
          "postal_code",
          "state"
        ]
      },
      "dispute_visa_compelling_evidence3_disputed_transaction": {
        "description": "",
        "properties": {
          "customer_account_id": {
            "description": "User Account ID used to log into business platform. Must be recognizable by the user.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "customer_device_fingerprint": {
            "description": "Unique identifier of the cardholder’s device derived from a combination of at least two hardware and software attributes. Must be at least 20 characters.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "customer_device_id": {
            "description": "Unique identifier of the cardholder’s device such as a device serial number (e.g., International Mobile Equipment Identity [IMEI]). Must be at least 15 characters.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "customer_email_address": {
            "description": "The email address of the customer.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "customer_purchase_ip": {
            "description": "The IP address that the customer used when making the purchase.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "merchandise_or_services": {
            "description": "Categorization of disputed payment.",
            "enum": [
              "merchandise",
              "services"
            ],
            "nullable": true,
            "type": "string"
          },
          "product_description": {
            "description": "A description of the product or service that was sold.",
            "maxLength": 150000,
            "nullable": true,
            "type": "string"
          },
          "shipping_address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/dispute_transaction_shipping_address"
              }
            ],
            "description": "The address to which a physical product was shipped. All fields are required for Visa Compelling Evidence 3.0 evidence submission.",
            "nullable": true
          }
        },
        "required": [
          "customer_account_id",
          "customer_device_fingerprint",
          "customer_device_id",
          "customer_email_address",
          "customer_purchase_ip",
          "merchandise_or_services",
          "product_description",
          "shipping_address"
        ],
        "title": "DisputeVisaCompellingEvidence3DisputedTransaction",
        "type": "object",
        "x-expandableFields": [
          "shipping_address"
        ],
        "x-stripeMostCommon": [
          "customer_account_id",
          "customer_device_fingerprint",
          "customer_device_id",
          "customer_email_address",
          "customer_purchase_ip",
          "merchandise_or_services",
          "product_description",
          "shipping_address"
        ]
      },
      "dispute_visa_compelling_evidence3_prior_undisputed_transaction": {
        "description": "",
        "properties": {
          "charge": {
            "description": "Stripe charge ID for the Visa Compelling Evidence 3.0 eligible prior charge.",
            "maxLength": 5000,
            "type": "string"
          },
          "customer_account_id": {
            "description": "User Account ID used to log into business platform. Must be recognizable by the user.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "customer_device_fingerprint": {
            "description": "Unique identifier of the cardholder’s device derived from a combination of at least two hardware and software attributes. Must be at least 20 characters.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "customer_device_id": {
            "description": "Unique identifier of the cardholder’s device such as a device serial number (e.g., International Mobile Equipment Identity [IMEI]). Must be at least 15 characters.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "customer_email_address": {
            "description": "The email address of the customer.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "customer_purchase_ip": {
            "description": "The IP address that the customer used when making the purchase.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "product_description": {
            "description": "A description of the product or service that was sold.",
            "maxLength": 150000,
            "nullable": true,
            "type": "string"
          },
          "shipping_address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/dispute_transaction_shipping_address"
              }
            ],
            "description": "The address to which a physical product was shipped. All fields are required for Visa Compelling Evidence 3.0 evidence submission.",
            "nullable": true
          }
        },
        "required": [
          "charge",
          "customer_account_id",
          "customer_device_fingerprint",
          "customer_device_id",
          "customer_email_address",
          "customer_purchase_ip",
          "product_description",
          "shipping_address"
        ],
        "title": "DisputeVisaCompellingEvidence3PriorUndisputedTransaction",
        "type": "object",
        "x-expandableFields": [
          "shipping_address"
        ],
        "x-stripeMostCommon": [
          "charge",
          "customer_account_id",
          "customer_device_fingerprint",
          "customer_device_id",
          "customer_email_address",
          "customer_purchase_ip",
          "product_description",
          "shipping_address"
        ]
      },
      "email_sent": {
        "description": "",
        "properties": {
          "email_sent_at": {
            "description": "The timestamp when the email was sent.",
            "format": "unix-time",
            "type": "integer"
          },
          "email_sent_to": {
            "description": "The recipient's email address.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "email_sent_at",
          "email_sent_to"
        ],
        "title": "EmailSent",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "email_sent_at",
          "email_sent_to"
        ]
      },
      "entitlements.active_entitlement": {
        "description": "An active entitlement describes access to a feature for a customer.",
        "properties": {
          "feature": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/entitlements.feature"
              }
            ],
            "description": "The [Feature](https://stripe.com/docs/api/entitlements/feature) that the customer is entitled to.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/entitlements.feature"
                }
              ]
            }
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "lookup_key": {
            "description": "A unique key you provide as your own system identifier. This may be up to 80 characters.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "entitlements.active_entitlement"
            ],
            "type": "string"
          }
        },
        "required": [
          "feature",
          "id",
          "livemode",
          "lookup_key",
          "object"
        ],
        "title": "ActiveEntitlement",
        "type": "object",
        "x-expandableFields": [
          "feature"
        ],
        "x-resourceId": "entitlements.active_entitlement",
        "x-stripeMostCommon": [
          "feature",
          "id",
          "lookup_key"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/entitlements/active_entitlements"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/entitlements/active_entitlements/{id}"
          }
        ],
        "x-stripeResource": {
          "class_name": "ActiveEntitlement",
          "has_collection_class": true,
          "in_package": "Entitlements"
        }
      },
      "entitlements.active_entitlement_summary": {
        "description": "A summary of a customer's active entitlements.",
        "properties": {
          "customer": {
            "description": "The customer that is entitled to this feature.",
            "maxLength": 5000,
            "type": "string"
          },
          "entitlements": {
            "description": "The list of entitlements this customer has.",
            "properties": {
              "data": {
                "items": {
                  "$ref": "#/components/schemas/entitlements.active_entitlement"
                },
                "type": "array"
              },
              "has_more": {
                "description": "True if this list has another page of items after this one that can be fetched.",
                "type": "boolean"
              },
              "object": {
                "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                "enum": [
                  "list"
                ],
                "type": "string"
              },
              "url": {
                "description": "The URL where this list can be accessed.",
                "maxLength": 5000,
                "type": "string"
              }
            },
            "required": [
              "data",
              "has_more",
              "object",
              "url"
            ],
            "title": "EntitlementsResourceCustomerEntitlementList",
            "type": "object",
            "x-expandableFields": [
              "data"
            ],
            "x-stripeMostCommon": [
              "data",
              "has_more",
              "object",
              "url"
            ]
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "entitlements.active_entitlement_summary"
            ],
            "type": "string"
          }
        },
        "required": [
          "customer",
          "entitlements",
          "livemode",
          "object"
        ],
        "title": "ActiveEntitlementSummary",
        "type": "object",
        "x-expandableFields": [
          "entitlements"
        ],
        "x-stripeMostCommon": [
          "customer",
          "entitlements"
        ],
        "x-stripeResource": {
          "class_name": "ActiveEntitlementSummary",
          "in_package": "Entitlements"
        }
      },
      "entitlements.active_entitlement_summary.updated": {
        "description": "Occurs whenever a customer's entitlements change.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/entitlements.active_entitlement_summary"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "entitlements.active_entitlement_summary.updated"
        }
      },
      "entitlements.feature": {
        "description": "A feature represents a monetizable ability or functionality in your system.\nFeatures can be assigned to products, and when those products are purchased, Stripe will create an entitlement to the feature for the purchasing customer.",
        "properties": {
          "active": {
            "description": "Inactive features cannot be attached to new products and will not be returned from the features list endpoint.",
            "type": "boolean"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "lookup_key": {
            "description": "A unique key you provide as your own system identifier. This may be up to 80 characters.",
            "maxLength": 5000,
            "type": "string"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "name": {
            "description": "The feature's name, for your own purpose, not meant to be displayable to the customer.",
            "maxLength": 80,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "entitlements.feature"
            ],
            "type": "string"
          }
        },
        "required": [
          "active",
          "id",
          "livemode",
          "lookup_key",
          "metadata",
          "name",
          "object"
        ],
        "title": "Feature",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "entitlements.feature",
        "x-stripeMostCommon": [
          "id",
          "lookup_key",
          "metadata",
          "name"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/entitlements/features"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/entitlements/features/{id}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/entitlements/features"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/entitlements/features/{id}"
          }
        ],
        "x-stripeResource": {
          "class_name": "Feature",
          "has_collection_class": true,
          "in_package": "Entitlements"
        }
      },
      "ephemeral_key": {
        "description": "",
        "properties": {
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "expires": {
            "description": "Time at which the key will expire. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "ephemeral_key"
            ],
            "type": "string"
          },
          "secret": {
            "description": "The key's secret. You can use this value to make authorized requests to the Stripe API.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "created",
          "expires",
          "id",
          "livemode",
          "object"
        ],
        "title": "EphemeralKey",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "ephemeral_key",
        "x-stripeMostCommon": [
          "created",
          "expires",
          "id",
          "livemode",
          "object"
        ],
        "x-stripeOperations": [
          {
            "method_name": "delete",
            "method_on": "service",
            "method_type": "delete",
            "operation": "delete",
            "path": "/v1/ephemeral_keys/{key}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/ephemeral_keys"
          }
        ],
        "x-stripeResource": {
          "class_name": "EphemeralKey",
          "in_package": ""
        }
      },
      "error": {
        "description": "An error response from the Stripe API",
        "properties": {
          "error": {
            "$ref": "#/components/schemas/api_errors"
          }
        },
        "required": [
          "error"
        ],
        "type": "object",
        "x-stripeResource": {
          "class_name": "StripeErrorResponse",
          "in_package": ""
        }
      },
      "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://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.",
        "properties": {
          "account": {
            "description": "The connected account that originates the event.",
            "maxLength": 5000,
            "type": "string"
          },
          "api_version": {
            "description": "The Stripe API version used to render `data`. This property is populated only for events on or after October 31, 2014.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "data": {
            "$ref": "#/components/schemas/notification_event_data"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "event"
            ],
            "type": "string"
          },
          "pending_webhooks": {
            "description": "Number of webhooks that haven't been successfully delivered (for example, to return a 20x response) to the URLs you specify.",
            "type": "integer"
          },
          "request": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/notification_event_request"
              }
            ],
            "description": "Information on the API request that triggers the event.",
            "nullable": true
          },
          "type": {
            "description": "Description of the event (for example, `invoice.created` or `charge.refunded`).",
            "enum": [
              "account.application.authorized",
              "account.application.deauthorized",
              "account.external_account.created",
              "account.external_account.deleted",
              "account.external_account.updated",
              "account.updated",
              "application_fee.created",
              "application_fee.refund.updated",
              "application_fee.refunded",
              "balance.available",
              "billing.alert.triggered",
              "billing_portal.configuration.created",
              "billing_portal.configuration.updated",
              "billing_portal.session.created",
              "capability.updated",
              "cash_balance.funds_available",
              "charge.captured",
              "charge.dispute.closed",
              "charge.dispute.created",
              "charge.dispute.funds_reinstated",
              "charge.dispute.funds_withdrawn",
              "charge.dispute.updated",
              "charge.expired",
              "charge.failed",
              "charge.pending",
              "charge.refund.updated",
              "charge.refunded",
              "charge.succeeded",
              "charge.updated",
              "checkout.session.async_payment_failed",
              "checkout.session.async_payment_succeeded",
              "checkout.session.completed",
              "checkout.session.expired",
              "climate.order.canceled",
              "climate.order.created",
              "climate.order.delayed",
              "climate.order.delivered",
              "climate.order.product_substituted",
              "climate.product.created",
              "climate.product.pricing_updated",
              "coupon.created",
              "coupon.deleted",
              "coupon.updated",
              "credit_note.created",
              "credit_note.updated",
              "credit_note.voided",
              "customer.created",
              "customer.deleted",
              "customer.discount.created",
              "customer.discount.deleted",
              "customer.discount.updated",
              "customer.source.created",
              "customer.source.deleted",
              "customer.source.expiring",
              "customer.source.updated",
              "customer.subscription.created",
              "customer.subscription.deleted",
              "customer.subscription.paused",
              "customer.subscription.pending_update_applied",
              "customer.subscription.pending_update_expired",
              "customer.subscription.resumed",
              "customer.subscription.trial_will_end",
              "customer.subscription.updated",
              "customer.tax_id.created",
              "customer.tax_id.deleted",
              "customer.tax_id.updated",
              "customer.updated",
              "customer_cash_balance_transaction.created",
              "entitlements.active_entitlement_summary.updated",
              "file.created",
              "financial_connections.account.created",
              "financial_connections.account.deactivated",
              "financial_connections.account.disconnected",
              "financial_connections.account.reactivated",
              "financial_connections.account.refreshed_balance",
              "financial_connections.account.refreshed_ownership",
              "financial_connections.account.refreshed_transactions",
              "identity.verification_session.canceled",
              "identity.verification_session.created",
              "identity.verification_session.processing",
              "identity.verification_session.redacted",
              "identity.verification_session.requires_input",
              "identity.verification_session.verified",
              "invoice.created",
              "invoice.deleted",
              "invoice.finalization_failed",
              "invoice.finalized",
              "invoice.marked_uncollectible",
              "invoice.overdue",
              "invoice.paid",
              "invoice.payment_action_required",
              "invoice.payment_failed",
              "invoice.payment_succeeded",
              "invoice.sent",
              "invoice.upcoming",
              "invoice.updated",
              "invoice.voided",
              "invoice.will_be_due",
              "invoiceitem.created",
              "invoiceitem.deleted",
              "issuing_authorization.created",
              "issuing_authorization.request",
              "issuing_authorization.updated",
              "issuing_card.created",
              "issuing_card.updated",
              "issuing_cardholder.created",
              "issuing_cardholder.updated",
              "issuing_dispute.closed",
              "issuing_dispute.created",
              "issuing_dispute.funds_reinstated",
              "issuing_dispute.funds_rescinded",
              "issuing_dispute.submitted",
              "issuing_dispute.updated",
              "issuing_personalization_design.activated",
              "issuing_personalization_design.deactivated",
              "issuing_personalization_design.rejected",
              "issuing_personalization_design.updated",
              "issuing_token.created",
              "issuing_token.updated",
              "issuing_transaction.created",
              "issuing_transaction.purchase_details_receipt_updated",
              "issuing_transaction.updated",
              "mandate.updated",
              "payment_intent.amount_capturable_updated",
              "payment_intent.canceled",
              "payment_intent.created",
              "payment_intent.partially_funded",
              "payment_intent.payment_failed",
              "payment_intent.processing",
              "payment_intent.requires_action",
              "payment_intent.succeeded",
              "payment_link.created",
              "payment_link.updated",
              "payment_method.attached",
              "payment_method.automatically_updated",
              "payment_method.detached",
              "payment_method.updated",
              "payout.canceled",
              "payout.created",
              "payout.failed",
              "payout.paid",
              "payout.reconciliation_completed",
              "payout.updated",
              "person.created",
              "person.deleted",
              "person.updated",
              "plan.created",
              "plan.deleted",
              "plan.updated",
              "price.created",
              "price.deleted",
              "price.updated",
              "product.created",
              "product.deleted",
              "product.updated",
              "promotion_code.created",
              "promotion_code.updated",
              "quote.accepted",
              "quote.canceled",
              "quote.created",
              "quote.finalized",
              "radar.early_fraud_warning.created",
              "radar.early_fraud_warning.updated",
              "refund.created",
              "refund.failed",
              "refund.updated",
              "reporting.report_run.failed",
              "reporting.report_run.succeeded",
              "reporting.report_type.updated",
              "review.closed",
              "review.opened",
              "setup_intent.canceled",
              "setup_intent.created",
              "setup_intent.requires_action",
              "setup_intent.setup_failed",
              "setup_intent.succeeded",
              "sigma.scheduled_query_run.created",
              "source.canceled",
              "source.chargeable",
              "source.failed",
              "source.mandate_notification",
              "source.refund_attributes_required",
              "source.transaction.created",
              "source.transaction.updated",
              "subscription_schedule.aborted",
              "subscription_schedule.canceled",
              "subscription_schedule.completed",
              "subscription_schedule.created",
              "subscription_schedule.expiring",
              "subscription_schedule.released",
              "subscription_schedule.updated",
              "tax.settings.updated",
              "tax_rate.created",
              "tax_rate.updated",
              "terminal.reader.action_failed",
              "terminal.reader.action_succeeded",
              "test_helpers.test_clock.advancing",
              "test_helpers.test_clock.created",
              "test_helpers.test_clock.deleted",
              "test_helpers.test_clock.internal_failure",
              "test_helpers.test_clock.ready",
              "topup.canceled",
              "topup.created",
              "topup.failed",
              "topup.reversed",
              "topup.succeeded",
              "transfer.created",
              "transfer.reversed",
              "transfer.updated",
              "treasury.credit_reversal.created",
              "treasury.credit_reversal.posted",
              "treasury.debit_reversal.completed",
              "treasury.debit_reversal.created",
              "treasury.debit_reversal.initial_credit_granted",
              "treasury.financial_account.closed",
              "treasury.financial_account.created",
              "treasury.financial_account.features_status_updated",
              "treasury.inbound_transfer.canceled",
              "treasury.inbound_transfer.created",
              "treasury.inbound_transfer.failed",
              "treasury.inbound_transfer.succeeded",
              "treasury.outbound_payment.canceled",
              "treasury.outbound_payment.created",
              "treasury.outbound_payment.expected_arrival_date_updated",
              "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",
              "treasury.received_debit.created"
            ],
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "api_version",
          "created",
          "data",
          "id",
          "livemode",
          "object",
          "pending_webhooks",
          "request",
          "type"
        ],
        "title": "NotificationEvent",
        "type": "object",
        "x-expandableFields": [
          "data",
          "request"
        ],
        "x-resourceId": "event",
        "x-stripeMostCommon": [
          "api_version",
          "data",
          "id",
          "request",
          "type"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/events"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/events/{id}"
          }
        ],
        "x-stripeResource": {
          "class_name": "Event",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "exchange_rate": {
        "description": "`ExchangeRate` objects allow you to determine the rates that Stripe is currently\nusing to convert from one currency to another. Since this number is variable\nthroughout the day, there are various reasons why you might want to know the current\nrate (for example, to dynamically price an item for a user with a default\npayment in a foreign currency).\n\nPlease refer to our [Exchange Rates API](https://stripe.com/docs/fx-rates) guide for more details.\n\n*[Note: this integration path is supported but no longer recommended]* Additionally,\nyou can guarantee that a charge is made with an exchange rate that you expect is\ncurrent. To do so, you must pass in the exchange_rate to charges endpoints. If the\nvalue is no longer up to date, the charge won't go through. Please refer to our\n[Using with charges](https://stripe.com/docs/exchange-rates) guide for more details.\n\n-----\n\n&nbsp;\n\n*This Exchange Rates API is a Beta Service and is subject to Stripe's terms of service. You may use the API solely for the purpose of transacting on Stripe. For example, the API may be queried in order to:*\n\n- *localize prices for processing payments on Stripe*\n- *reconcile Stripe transactions*\n- *determine how much money to send to a connected account*\n- *determine app fees to charge a connected account*\n\n*Using this Exchange Rates API beta for any purpose other than to transact on Stripe is strictly prohibited and constitutes a violation of Stripe's terms of service.*",
        "properties": {
          "id": {
            "description": "Unique identifier for the object. Represented as the three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) in lowercase.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "exchange_rate"
            ],
            "type": "string"
          },
          "rates": {
            "additionalProperties": {
              "type": "number"
            },
            "description": "Hash where the keys are supported currencies and the values are the exchange rate at which the base id currency converts to the key currency.",
            "type": "object"
          }
        },
        "required": [
          "id",
          "object",
          "rates"
        ],
        "title": "ExchangeRate",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "exchange_rate",
        "x-stripeMostCommon": [
          "id",
          "rates"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/exchange_rates"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/exchange_rates/{rate_id}"
          }
        ],
        "x-stripeResource": {
          "class_name": "ExchangeRate",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "external_account": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/bank_account"
          },
          {
            "$ref": "#/components/schemas/card"
          }
        ],
        "title": "Polymorphic",
        "x-resourceId": "external_account",
        "x-stripeBypassValidation": true,
        "x-stripeOperations": [
          {
            "method_name": "delete",
            "method_on": "service",
            "method_type": "delete",
            "operation": "delete",
            "path": "/v1/accounts/{account}/external_accounts/{id}"
          },
          {
            "method_name": "list",
            "method_on": "collection",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/accounts/{account}/external_accounts"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/accounts/{account}/external_accounts"
          },
          {
            "method_name": "retrieve",
            "method_on": "collection",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/accounts/{account}/external_accounts/{id}"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/accounts/{account}/external_accounts/{id}"
          },
          {
            "method_name": "create",
            "method_on": "collection",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/accounts/{account}/external_accounts"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/accounts/{account}/external_accounts"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/accounts/{account}/external_accounts/{id}"
          }
        ],
        "x-stripeResource": {
          "class_name": "ExternalAccount",
          "has_collection_class": true
        }
      },
      "external_account_requirements": {
        "description": "",
        "properties": {
          "currently_due": {
            "description": "Fields that need to be collected to keep the external account enabled. If not collected by `current_deadline`, these fields appear in `past_due` as well, and the account is disabled.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "errors": {
            "description": "Fields that are `currently_due` and need to be collected again because validation or verification failed.",
            "items": {
              "$ref": "#/components/schemas/account_requirements_error"
            },
            "nullable": true,
            "type": "array"
          },
          "past_due": {
            "description": "Fields that weren't collected by `current_deadline`. These fields need to be collected to enable the external account.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "pending_verification": {
            "description": "Fields that might become required depending on the results of verification or review. It's an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due`, `currently_due`, or `past_due`. Fields might appear in `eventually_due`, `currently_due`, or `past_due` and in `pending_verification` if verification fails but another verification is still pending.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "required": [
          "currently_due",
          "errors",
          "past_due",
          "pending_verification"
        ],
        "title": "ExternalAccountRequirements",
        "type": "object",
        "x-expandableFields": [
          "errors"
        ],
        "x-stripeMostCommon": [
          "currently_due",
          "errors",
          "past_due",
          "pending_verification"
        ]
      },
      "fee": {
        "description": "",
        "properties": {
          "amount": {
            "description": "Amount of the fee, in cents.",
            "type": "integer"
          },
          "application": {
            "description": "ID of the Connect application that earned the fee.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "description": {
            "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "type": {
            "description": "Type of the fee, one of: `application_fee`, `payment_method_passthrough_fee`, `stripe_fee` or `tax`.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "amount",
          "application",
          "currency",
          "description",
          "type"
        ],
        "title": "Fee",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "amount",
          "application",
          "currency",
          "description",
          "type"
        ]
      },
      "fee_refund": {
        "description": "`Application Fee Refund` objects allow you to refund an application fee that\nhas previously been created but not yet refunded. Funds will be refunded to\nthe Stripe account from which the fee was originally collected.\n\nRelated guide: [Refunding application fees](https://stripe.com/docs/connect/destination-charges#refunding-app-fee)",
        "properties": {
          "amount": {
            "description": "Amount, in cents (or local equivalent).",
            "type": "integer"
          },
          "balance_transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/balance_transaction"
              }
            ],
            "description": "Balance transaction that describes the impact on your account balance.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/balance_transaction"
                }
              ]
            }
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "fee": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/application_fee"
              }
            ],
            "description": "ID of the application fee that was refunded.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/application_fee"
                }
              ]
            }
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "nullable": true,
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "fee_refund"
            ],
            "type": "string"
          }
        },
        "required": [
          "amount",
          "balance_transaction",
          "created",
          "currency",
          "fee",
          "id",
          "metadata",
          "object"
        ],
        "title": "FeeRefund",
        "type": "object",
        "x-expandableFields": [
          "balance_transaction",
          "fee"
        ],
        "x-resourceId": "fee_refund",
        "x-stripeMostCommon": [
          "amount",
          "currency",
          "fee",
          "id",
          "metadata"
        ],
        "x-stripeOperations": [
          {
            "method_name": "retrieve",
            "method_on": "collection",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/application_fees/{fee}/refunds/{id}"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/application_fees/{fee}/refunds/{id}"
          },
          {
            "method_name": "list",
            "method_on": "collection",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/application_fees/{id}/refunds"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/application_fees/{id}/refunds"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/application_fees/{fee}/refunds/{id}"
          },
          {
            "method_name": "create",
            "method_on": "collection",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/application_fees/{id}/refunds"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/application_fees/{id}/refunds"
          }
        ],
        "x-stripeResource": {
          "class_name": "FeeRefund",
          "has_collection_class": true,
          "in_package": "",
          "polymorphic_groups": [
            "balance_transaction_source"
          ]
        }
      },
      "file": {
        "description": "This object represents files hosted on Stripe's servers. You can upload\nfiles with the [create file](https://stripe.com/docs/api#create_file) request\n(for example, when uploading dispute evidence). Stripe also\ncreates files independently (for example, the results of a [Sigma scheduled\nquery](#scheduled_queries)).\n\nRelated guide: [File upload guide](https://stripe.com/docs/file-upload)",
        "properties": {
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "expires_at": {
            "description": "The file expires and isn't available at this time in epoch seconds.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "filename": {
            "description": "The suitable name for saving the file to a filesystem.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "links": {
            "description": "A list of [file links](https://stripe.com/docs/api#file_links) that point at this file.",
            "nullable": true,
            "properties": {
              "data": {
                "description": "Details about each object.",
                "items": {
                  "$ref": "#/components/schemas/file_link"
                },
                "type": "array"
              },
              "has_more": {
                "description": "True if this list has another page of items after this one that can be fetched.",
                "type": "boolean"
              },
              "object": {
                "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                "enum": [
                  "list"
                ],
                "type": "string"
              },
              "url": {
                "description": "The URL where this list can be accessed.",
                "maxLength": 5000,
                "pattern": "^/v1/file_links",
                "type": "string"
              }
            },
            "required": [
              "data",
              "has_more",
              "object",
              "url"
            ],
            "title": "FileResourceFileLinkList",
            "type": "object",
            "x-expandableFields": [
              "data"
            ],
            "x-stripeMostCommon": [
              "data",
              "has_more",
              "object",
              "url"
            ]
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "file"
            ],
            "type": "string"
          },
          "purpose": {
            "description": "The [purpose](https://stripe.com/docs/file-upload#uploading-a-file) of the uploaded file.",
            "enum": [
              "account_requirement",
              "additional_verification",
              "business_icon",
              "business_logo",
              "customer_signature",
              "dispute_evidence",
              "document_provider_identity_document",
              "finance_report_run",
              "financial_account_statement",
              "identity_document",
              "identity_document_downloadable",
              "issuing_regulatory_reporting",
              "pci_document",
              "selfie",
              "sigma_scheduled_query",
              "tax_document_user_upload",
              "terminal_reader_splashscreen"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "size": {
            "description": "The size of the file object in bytes.",
            "type": "integer"
          },
          "title": {
            "description": "A suitable title for the document.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "type": {
            "description": "The returned file type (for example, `csv`, `pdf`, `jpg`, or `png`).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "url": {
            "description": "Use your live secret API key to download the file from this URL.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "created",
          "expires_at",
          "filename",
          "id",
          "object",
          "purpose",
          "size",
          "title",
          "type",
          "url"
        ],
        "title": "File",
        "type": "object",
        "x-expandableFields": [
          "links"
        ],
        "x-resourceId": "file",
        "x-stripeMostCommon": [
          "id",
          "purpose",
          "type"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/files"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/files/{file}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/files"
          }
        ],
        "x-stripeResource": {
          "class_name": "File",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "file.created": {
        "description": "Occurs whenever a new Stripe-generated file is available for your account.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/file"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "file.created"
        }
      },
      "file_link": {
        "description": "To share the contents of a `File` object with non-Stripe users, you can\ncreate a `FileLink`. `FileLink`s contain a URL that you can use to\nretrieve the contents of the file without authentication.",
        "properties": {
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "expired": {
            "description": "Returns if the link is already expired.",
            "type": "boolean"
          },
          "expires_at": {
            "description": "Time that the link expires.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "file": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "The file object this link points to.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "file_link"
            ],
            "type": "string"
          },
          "url": {
            "description": "The publicly accessible URL to download the file.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "created",
          "expired",
          "expires_at",
          "file",
          "id",
          "livemode",
          "metadata",
          "object",
          "url"
        ],
        "title": "FileLink",
        "type": "object",
        "x-expandableFields": [
          "file"
        ],
        "x-resourceId": "file_link",
        "x-stripeMostCommon": [
          "expires_at",
          "file",
          "id",
          "metadata",
          "url"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/file_links"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/file_links/{link}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/file_links"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/file_links/{link}"
          }
        ],
        "x-stripeResource": {
          "class_name": "FileLink",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "financial_connections.account": {
        "description": "A Financial Connections Account represents an account that exists outside of Stripe, to which you have been granted some degree of access.",
        "properties": {
          "account_holder": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/bank_connections_resource_accountholder"
              }
            ],
            "description": "The account holder that this account belongs to.",
            "nullable": true
          },
          "balance": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/bank_connections_resource_balance"
              }
            ],
            "description": "The most recent information about the account's balance.",
            "nullable": true
          },
          "balance_refresh": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/bank_connections_resource_balance_refresh"
              }
            ],
            "description": "The state of the most recent attempt to refresh the account balance.",
            "nullable": true
          },
          "category": {
            "description": "The type of the account. Account category is further divided in `subcategory`.",
            "enum": [
              "cash",
              "credit",
              "investment",
              "other"
            ],
            "type": "string"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "display_name": {
            "description": "A human-readable name that has been assigned to this account, either by the account holder or by the institution.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "institution_name": {
            "description": "The name of the institution that holds this account.",
            "maxLength": 5000,
            "type": "string"
          },
          "last4": {
            "description": "The last 4 digits of the account number. If present, this will be 4 numeric characters.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "financial_connections.account"
            ],
            "type": "string"
          },
          "ownership": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/financial_connections.account_ownership"
              }
            ],
            "description": "The most recent information about the account's owners.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/financial_connections.account_ownership"
                }
              ]
            }
          },
          "ownership_refresh": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/bank_connections_resource_ownership_refresh"
              }
            ],
            "description": "The state of the most recent attempt to refresh the account owners.",
            "nullable": true
          },
          "permissions": {
            "description": "The list of permissions granted by this account.",
            "items": {
              "enum": [
                "balances",
                "ownership",
                "payment_method",
                "transactions"
              ],
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "status": {
            "description": "The status of the link to the account.",
            "enum": [
              "active",
              "disconnected",
              "inactive"
            ],
            "type": "string"
          },
          "subcategory": {
            "description": "If `category` is `cash`, one of:\n\n - `checking`\n - `savings`\n - `other`\n\nIf `category` is `credit`, one of:\n\n - `mortgage`\n - `line_of_credit`\n - `credit_card`\n - `other`\n\nIf `category` is `investment` or `other`, this will be `other`.",
            "enum": [
              "checking",
              "credit_card",
              "line_of_credit",
              "mortgage",
              "other",
              "savings"
            ],
            "type": "string"
          },
          "subscriptions": {
            "description": "The list of data refresh subscriptions requested on this account.",
            "items": {
              "enum": [
                "transactions"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "nullable": true,
            "type": "array"
          },
          "supported_payment_method_types": {
            "description": "The [PaymentMethod type](https://stripe.com/docs/api/payment_methods/object#payment_method_object-type)(s) that can be created from this account.",
            "items": {
              "enum": [
                "link",
                "us_bank_account"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "transaction_refresh": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/bank_connections_resource_transaction_refresh"
              }
            ],
            "description": "The state of the most recent attempt to refresh the account transactions.",
            "nullable": true
          }
        },
        "required": [
          "account_holder",
          "balance",
          "balance_refresh",
          "category",
          "created",
          "display_name",
          "id",
          "institution_name",
          "last4",
          "livemode",
          "object",
          "ownership",
          "ownership_refresh",
          "permissions",
          "status",
          "subcategory",
          "subscriptions",
          "supported_payment_method_types",
          "transaction_refresh"
        ],
        "title": "BankConnectionsResourceLinkedAccount",
        "type": "object",
        "x-expandableFields": [
          "account_holder",
          "balance",
          "balance_refresh",
          "ownership",
          "ownership_refresh",
          "transaction_refresh"
        ],
        "x-resourceId": "financial_connections.account",
        "x-stripeMostCommon": [
          "account_holder",
          "balance",
          "balance_refresh",
          "category",
          "created",
          "display_name",
          "id",
          "institution_name",
          "last4",
          "livemode",
          "object",
          "ownership",
          "ownership_refresh",
          "permissions",
          "status",
          "subcategory",
          "subscriptions",
          "supported_payment_method_types",
          "transaction_refresh"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/financial_connections/accounts"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/financial_connections/accounts/{account}"
          },
          {
            "method_name": "list_owners",
            "method_on": "service",
            "method_type": "custom",
            "operation": "get",
            "path": "/v1/financial_connections/accounts/{account}/owners"
          },
          {
            "method_name": "disconnect",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/financial_connections/accounts/{account}/disconnect"
          },
          {
            "method_name": "refresh",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/financial_connections/accounts/{account}/refresh"
          },
          {
            "method_name": "subscribe",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/financial_connections/accounts/{account}/subscribe"
          },
          {
            "method_name": "unsubscribe",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/financial_connections/accounts/{account}/unsubscribe"
          }
        ],
        "x-stripeResource": {
          "class_name": "Account",
          "has_collection_class": true,
          "in_package": "FinancialConnections"
        }
      },
      "financial_connections.account.created": {
        "description": "Occurs when a new Financial Connections account is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/financial_connections.account"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "financial_connections.account.created"
        }
      },
      "financial_connections.account.deactivated": {
        "description": "Occurs when a Financial Connections account's status is updated from `active` to `inactive`.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/financial_connections.account"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "financial_connections.account.deactivated"
        }
      },
      "financial_connections.account.disconnected": {
        "description": "Occurs when a Financial Connections account is disconnected.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/financial_connections.account"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "financial_connections.account.disconnected"
        }
      },
      "financial_connections.account.reactivated": {
        "description": "Occurs when a Financial Connections account's status is updated from `inactive` to `active`.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/financial_connections.account"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "financial_connections.account.reactivated"
        }
      },
      "financial_connections.account.refreshed_balance": {
        "description": "Occurs when an Account’s `balance_refresh` status transitions from `pending` to either `succeeded` or `failed`.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/financial_connections.account"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "financial_connections.account.refreshed_balance"
        }
      },
      "financial_connections.account.refreshed_ownership": {
        "description": "Occurs when an Account’s `ownership_refresh` status transitions from `pending` to either `succeeded` or `failed`.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/financial_connections.account"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "financial_connections.account.refreshed_ownership"
        }
      },
      "financial_connections.account.refreshed_transactions": {
        "description": "Occurs when an Account’s `transaction_refresh` status transitions from `pending` to either `succeeded` or `failed`.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/financial_connections.account"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "financial_connections.account.refreshed_transactions"
        }
      },
      "financial_connections.account_owner": {
        "description": "Describes an owner of an account.",
        "properties": {
          "email": {
            "description": "The email address of the owner.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "name": {
            "description": "The full name of the owner.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "financial_connections.account_owner"
            ],
            "type": "string"
          },
          "ownership": {
            "description": "The ownership object that this owner belongs to.",
            "maxLength": 5000,
            "type": "string"
          },
          "phone": {
            "description": "The raw phone number of the owner.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "raw_address": {
            "description": "The raw physical address of the owner.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "refreshed_at": {
            "description": "The timestamp of the refresh that updated this owner.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "email",
          "id",
          "name",
          "object",
          "ownership",
          "phone",
          "raw_address",
          "refreshed_at"
        ],
        "title": "BankConnectionsResourceOwner",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "financial_connections.account_owner",
        "x-stripeMostCommon": [
          "email",
          "id",
          "name",
          "object",
          "ownership",
          "phone",
          "raw_address",
          "refreshed_at"
        ],
        "x-stripeResource": {
          "class_name": "AccountOwner",
          "has_collection_class": true,
          "in_package": "FinancialConnections"
        }
      },
      "financial_connections.account_ownership": {
        "description": "Describes a snapshot of the owners of an account at a particular point in time.",
        "properties": {
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "financial_connections.account_ownership"
            ],
            "type": "string"
          },
          "owners": {
            "description": "A paginated list of owners for this account.",
            "properties": {
              "data": {
                "description": "Details about each object.",
                "items": {
                  "$ref": "#/components/schemas/financial_connections.account_owner"
                },
                "type": "array"
              },
              "has_more": {
                "description": "True if this list has another page of items after this one that can be fetched.",
                "type": "boolean"
              },
              "object": {
                "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                "enum": [
                  "list"
                ],
                "type": "string"
              },
              "url": {
                "description": "The URL where this list can be accessed.",
                "maxLength": 5000,
                "type": "string"
              }
            },
            "required": [
              "data",
              "has_more",
              "object",
              "url"
            ],
            "title": "BankConnectionsResourceOwnerList",
            "type": "object",
            "x-expandableFields": [
              "data"
            ],
            "x-stripeMostCommon": [
              "data",
              "has_more",
              "object",
              "url"
            ]
          }
        },
        "required": [
          "created",
          "id",
          "object",
          "owners"
        ],
        "title": "BankConnectionsResourceOwnership",
        "type": "object",
        "x-expandableFields": [
          "owners"
        ],
        "x-stripeMostCommon": [
          "created",
          "id",
          "object",
          "owners"
        ],
        "x-stripeResource": {
          "class_name": "AccountOwnership",
          "in_package": "FinancialConnections"
        }
      },
      "financial_connections.session": {
        "description": "A Financial Connections Session is the secure way to programmatically launch the client-side Stripe.js modal that lets your users link their accounts.",
        "properties": {
          "account_holder": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/bank_connections_resource_accountholder"
              }
            ],
            "description": "The account holder for whom accounts are collected in this session.",
            "nullable": true
          },
          "accounts": {
            "description": "The accounts that were collected as part of this Session.",
            "properties": {
              "data": {
                "description": "Details about each object.",
                "items": {
                  "$ref": "#/components/schemas/financial_connections.account"
                },
                "type": "array"
              },
              "has_more": {
                "description": "True if this list has another page of items after this one that can be fetched.",
                "type": "boolean"
              },
              "object": {
                "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                "enum": [
                  "list"
                ],
                "type": "string"
              },
              "url": {
                "description": "The URL where this list can be accessed.",
                "maxLength": 5000,
                "pattern": "^/v1/financial_connections/accounts",
                "type": "string"
              }
            },
            "required": [
              "data",
              "has_more",
              "object",
              "url"
            ],
            "title": "BankConnectionsResourceLinkedAccountList",
            "type": "object",
            "x-expandableFields": [
              "data"
            ],
            "x-stripeMostCommon": [
              "data",
              "has_more",
              "object",
              "url"
            ]
          },
          "client_secret": {
            "description": "A value that will be passed to the client to launch the authentication flow.",
            "maxLength": 5000,
            "type": "string"
          },
          "filters": {
            "$ref": "#/components/schemas/bank_connections_resource_link_account_session_filters"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "financial_connections.session"
            ],
            "type": "string"
          },
          "permissions": {
            "description": "Permissions requested for accounts collected during this session.",
            "items": {
              "enum": [
                "balances",
                "ownership",
                "payment_method",
                "transactions"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "type": "array"
          },
          "prefetch": {
            "description": "Data features requested to be retrieved upon account creation.",
            "items": {
              "enum": [
                "balances",
                "ownership",
                "transactions"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "nullable": true,
            "type": "array"
          },
          "return_url": {
            "description": "For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "account_holder",
          "accounts",
          "client_secret",
          "id",
          "livemode",
          "object",
          "permissions",
          "prefetch"
        ],
        "title": "BankConnectionsResourceLinkAccountSession",
        "type": "object",
        "x-expandableFields": [
          "account_holder",
          "accounts",
          "filters"
        ],
        "x-resourceId": "financial_connections.session",
        "x-stripeMostCommon": [
          "account_holder",
          "accounts",
          "client_secret",
          "filters",
          "id",
          "livemode",
          "object",
          "permissions",
          "prefetch",
          "return_url"
        ],
        "x-stripeOperations": [
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/financial_connections/sessions/{session}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/financial_connections/sessions"
          }
        ],
        "x-stripeResource": {
          "class_name": "Session",
          "in_package": "FinancialConnections"
        }
      },
      "financial_connections.transaction": {
        "description": "A Transaction represents a real transaction that affects a Financial Connections Account balance.",
        "properties": {
          "account": {
            "description": "The ID of the Financial Connections Account this transaction belongs to.",
            "maxLength": 5000,
            "type": "string"
          },
          "amount": {
            "description": "The amount of this transaction, in cents (or local equivalent).",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "maxLength": 5000,
            "type": "string"
          },
          "description": {
            "description": "The description of this transaction.",
            "maxLength": 5000,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "financial_connections.transaction"
            ],
            "type": "string"
          },
          "status": {
            "description": "The status of the transaction.",
            "enum": [
              "pending",
              "posted",
              "void"
            ],
            "type": "string"
          },
          "status_transitions": {
            "$ref": "#/components/schemas/bank_connections_resource_transaction_resource_status_transitions"
          },
          "transacted_at": {
            "description": "Time at which the transaction was transacted. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "transaction_refresh": {
            "description": "The token of the transaction refresh that last updated or created this transaction.",
            "maxLength": 5000,
            "type": "string"
          },
          "updated": {
            "description": "Time at which the object was last updated. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          }
        },
        "required": [
          "account",
          "amount",
          "currency",
          "description",
          "id",
          "livemode",
          "object",
          "status",
          "status_transitions",
          "transacted_at",
          "transaction_refresh",
          "updated"
        ],
        "title": "BankConnectionsResourceTransaction",
        "type": "object",
        "x-expandableFields": [
          "status_transitions"
        ],
        "x-resourceId": "financial_connections.transaction",
        "x-stripeMostCommon": [
          "account",
          "amount",
          "currency",
          "description",
          "id",
          "livemode",
          "object",
          "status",
          "status_transitions",
          "transacted_at",
          "transaction_refresh",
          "updated"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/financial_connections/transactions"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/financial_connections/transactions/{transaction}"
          }
        ],
        "x-stripeResource": {
          "class_name": "Transaction",
          "has_collection_class": true,
          "in_package": "FinancialConnections"
        }
      },
      "financial_reporting_finance_report_run_run_parameters": {
        "description": "",
        "properties": {
          "columns": {
            "description": "The set of output columns requested for inclusion in the report run.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "connected_account": {
            "description": "Connected account ID by which to filter the report run.",
            "maxLength": 5000,
            "type": "string"
          },
          "currency": {
            "description": "Currency of objects to be included in the report run.",
            "type": "string"
          },
          "interval_end": {
            "description": "Ending timestamp of data to be included in the report run. Can be any UTC timestamp between 1 second after the user specified `interval_start` and 1 second before this report's last `data_available_end` value.",
            "format": "unix-time",
            "type": "integer"
          },
          "interval_start": {
            "description": "Starting timestamp of data to be included in the report run. Can be any UTC timestamp between 1 second after this report's `data_available_start` and 1 second before the user specified `interval_end` value.",
            "format": "unix-time",
            "type": "integer"
          },
          "payout": {
            "description": "Payout ID by which to filter the report run.",
            "maxLength": 5000,
            "type": "string"
          },
          "reporting_category": {
            "description": "Category of balance transactions to be included in the report run.",
            "maxLength": 5000,
            "type": "string"
          },
          "timezone": {
            "description": "Defaults to `Etc/UTC`. The output timezone for all timestamps in the report. A list of possible time zone values is maintained at the [IANA Time Zone Database](http://www.iana.org/time-zones). Has no effect on `interval_start` or `interval_end`.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "title": "FinancialReportingFinanceReportRunRunParameters",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "columns",
          "connected_account",
          "currency",
          "interval_end",
          "interval_start",
          "payout",
          "reporting_category",
          "timezone"
        ]
      },
      "forwarded_request_context": {
        "description": "Metadata about the forwarded request.",
        "properties": {
          "destination_duration": {
            "description": "The time it took in milliseconds for the destination endpoint to respond.",
            "type": "integer"
          },
          "destination_ip_address": {
            "description": "The IP address of the destination.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "destination_duration",
          "destination_ip_address"
        ],
        "title": "ForwardedRequestContext",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "destination_duration",
          "destination_ip_address"
        ]
      },
      "forwarded_request_details": {
        "description": "Details about the request forwarded to the destination endpoint.",
        "properties": {
          "body": {
            "description": "The body payload to send to the destination endpoint.",
            "maxLength": 5000,
            "type": "string"
          },
          "headers": {
            "description": "The headers to include in the forwarded request. Can be omitted if no additional headers (excluding Stripe-generated ones such as the Content-Type header) should be included.",
            "items": {
              "$ref": "#/components/schemas/forwarded_request_header"
            },
            "type": "array"
          },
          "http_method": {
            "description": "The HTTP method used to call the destination endpoint.",
            "enum": [
              "POST"
            ],
            "type": "string"
          }
        },
        "required": [
          "body",
          "headers",
          "http_method"
        ],
        "title": "ForwardedRequestDetails",
        "type": "object",
        "x-expandableFields": [
          "headers"
        ],
        "x-stripeMostCommon": [
          "body",
          "headers",
          "http_method"
        ]
      },
      "forwarded_request_header": {
        "description": "Header data.",
        "properties": {
          "name": {
            "description": "The header name.",
            "maxLength": 5000,
            "type": "string"
          },
          "value": {
            "description": "The header value.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "name",
          "value"
        ],
        "title": "ForwardedRequestHeader",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "name",
          "value"
        ]
      },
      "forwarded_response_details": {
        "description": "Details about the response from the destination endpoint.",
        "properties": {
          "body": {
            "description": "The response body from the destination endpoint to Stripe.",
            "maxLength": 5000,
            "type": "string"
          },
          "headers": {
            "description": "HTTP headers that the destination endpoint returned.",
            "items": {
              "$ref": "#/components/schemas/forwarded_request_header"
            },
            "type": "array"
          },
          "status": {
            "description": "The HTTP status code that the destination endpoint returned.",
            "type": "integer"
          }
        },
        "required": [
          "body",
          "headers",
          "status"
        ],
        "title": "ForwardedResponseDetails",
        "type": "object",
        "x-expandableFields": [
          "headers"
        ],
        "x-stripeMostCommon": [
          "body",
          "headers",
          "status"
        ]
      },
      "forwarding.request": {
        "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).",
        "properties": {
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "nullable": true,
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "forwarding.request"
            ],
            "type": "string"
          },
          "payment_method": {
            "description": "The PaymentMethod to insert into the forwarded request. Forwarding previously consumed PaymentMethods is allowed.",
            "maxLength": 5000,
            "type": "string"
          },
          "replacements": {
            "description": "The field kinds to be replaced in the forwarded request.",
            "items": {
              "enum": [
                "card_cvc",
                "card_expiry",
                "card_number",
                "cardholder_name"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "request_context": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/forwarded_request_context"
              }
            ],
            "description": "Context about the request from Stripe's servers to the destination endpoint.",
            "nullable": true
          },
          "request_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/forwarded_request_details"
              }
            ],
            "description": "The request that was sent to the destination endpoint. We redact any sensitive fields.",
            "nullable": true
          },
          "response_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/forwarded_response_details"
              }
            ],
            "description": "The response that the destination endpoint returned to us. We redact any sensitive fields.",
            "nullable": true
          },
          "url": {
            "description": "The destination URL for the forwarded request. Must be supported by the config.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "created",
          "id",
          "livemode",
          "object",
          "payment_method",
          "replacements",
          "request_context",
          "request_details",
          "response_details",
          "url"
        ],
        "title": "ForwardingRequest",
        "type": "object",
        "x-expandableFields": [
          "request_context",
          "request_details",
          "response_details"
        ],
        "x-resourceId": "forwarding.request",
        "x-stripeMostCommon": [
          "created",
          "id",
          "livemode",
          "metadata",
          "object",
          "payment_method",
          "replacements",
          "request_context",
          "request_details",
          "response_details",
          "url"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/forwarding/requests"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/forwarding/requests/{id}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/forwarding/requests"
          }
        ],
        "x-stripeResource": {
          "class_name": "Request",
          "has_collection_class": true,
          "in_package": "Forwarding"
        }
      },
      "funding_instructions": {
        "description": "Each customer has a [`balance`](https://stripe.com/docs/api/customers/object#customer_object-balance) that is\nautomatically applied to future invoices and payments using the `customer_balance` payment method.\nCustomers can fund this balance by initiating a bank transfer to any account in the\n`financial_addresses` field.\nRelated guide: [Customer balance funding instructions](https://stripe.com/docs/payments/customer-balance/funding-instructions)",
        "properties": {
          "bank_transfer": {
            "$ref": "#/components/schemas/funding_instructions_bank_transfer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "maxLength": 5000,
            "type": "string"
          },
          "funding_type": {
            "description": "The `funding_type` of the returned instructions",
            "enum": [
              "bank_transfer"
            ],
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "funding_instructions"
            ],
            "type": "string"
          }
        },
        "required": [
          "bank_transfer",
          "currency",
          "funding_type",
          "livemode",
          "object"
        ],
        "title": "CustomerBalanceFundingInstructionsCustomerBalanceFundingInstructions",
        "type": "object",
        "x-expandableFields": [
          "bank_transfer"
        ],
        "x-resourceId": "funding_instructions",
        "x-stripeMostCommon": [
          "bank_transfer",
          "currency",
          "funding_type"
        ],
        "x-stripeResource": {
          "class_name": "FundingInstructions",
          "in_package": ""
        }
      },
      "funding_instructions_bank_transfer": {
        "description": "",
        "properties": {
          "country": {
            "description": "The country of the bank account to fund",
            "maxLength": 5000,
            "type": "string"
          },
          "financial_addresses": {
            "description": "A list of financial addresses that can be used to fund a particular balance",
            "items": {
              "$ref": "#/components/schemas/funding_instructions_bank_transfer_financial_address"
            },
            "type": "array"
          },
          "type": {
            "description": "The bank_transfer type",
            "enum": [
              "eu_bank_transfer",
              "jp_bank_transfer"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "country",
          "financial_addresses",
          "type"
        ],
        "title": "FundingInstructionsBankTransfer",
        "type": "object",
        "x-expandableFields": [
          "financial_addresses"
        ],
        "x-stripeMostCommon": [
          "country",
          "financial_addresses",
          "type"
        ],
        "x-stripeResource": {
          "class_name": "BankTransfer",
          "in_package": ""
        }
      },
      "funding_instructions_bank_transfer_aba_record": {
        "description": "ABA Records contain U.S. bank account details per the ABA format.",
        "properties": {
          "account_holder_address": {
            "$ref": "#/components/schemas/address"
          },
          "account_holder_name": {
            "description": "The account holder name",
            "maxLength": 5000,
            "type": "string"
          },
          "account_number": {
            "description": "The ABA account number",
            "maxLength": 5000,
            "type": "string"
          },
          "account_type": {
            "description": "The account type",
            "maxLength": 5000,
            "type": "string"
          },
          "bank_address": {
            "$ref": "#/components/schemas/address"
          },
          "bank_name": {
            "description": "The bank name",
            "maxLength": 5000,
            "type": "string"
          },
          "routing_number": {
            "description": "The ABA routing number",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "account_holder_address",
          "account_holder_name",
          "account_number",
          "account_type",
          "bank_address",
          "bank_name",
          "routing_number"
        ],
        "title": "FundingInstructionsBankTransferABARecord",
        "type": "object",
        "x-expandableFields": [
          "account_holder_address",
          "bank_address"
        ],
        "x-stripeMostCommon": [
          "account_holder_address",
          "account_holder_name",
          "account_number",
          "account_type",
          "bank_address",
          "bank_name",
          "routing_number"
        ],
        "x-stripeResource": {
          "class_name": "Aba",
          "in_package": ""
        }
      },
      "funding_instructions_bank_transfer_financial_address": {
        "description": "FinancialAddresses contain identifying information that resolves to a FinancialAccount.",
        "properties": {
          "aba": {
            "$ref": "#/components/schemas/funding_instructions_bank_transfer_aba_record"
          },
          "iban": {
            "$ref": "#/components/schemas/funding_instructions_bank_transfer_iban_record"
          },
          "sort_code": {
            "$ref": "#/components/schemas/funding_instructions_bank_transfer_sort_code_record"
          },
          "spei": {
            "$ref": "#/components/schemas/funding_instructions_bank_transfer_spei_record"
          },
          "supported_networks": {
            "description": "The payment networks supported by this FinancialAddress",
            "items": {
              "enum": [
                "ach",
                "bacs",
                "domestic_wire_us",
                "fps",
                "sepa",
                "spei",
                "swift",
                "zengin"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "type": "array"
          },
          "swift": {
            "$ref": "#/components/schemas/funding_instructions_bank_transfer_swift_record"
          },
          "type": {
            "description": "The type of financial address",
            "enum": [
              "aba",
              "iban",
              "sort_code",
              "spei",
              "swift",
              "zengin"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "zengin": {
            "$ref": "#/components/schemas/funding_instructions_bank_transfer_zengin_record"
          }
        },
        "required": [
          "type"
        ],
        "title": "FundingInstructionsBankTransferFinancialAddress",
        "type": "object",
        "x-expandableFields": [
          "aba",
          "iban",
          "sort_code",
          "spei",
          "swift",
          "zengin"
        ],
        "x-stripeMostCommon": [
          "aba",
          "iban",
          "sort_code",
          "spei",
          "supported_networks",
          "swift",
          "type",
          "zengin"
        ]
      },
      "funding_instructions_bank_transfer_iban_record": {
        "description": "Iban Records contain E.U. bank account details per the SEPA format.",
        "properties": {
          "account_holder_name": {
            "description": "The name of the person or business that owns the bank account",
            "maxLength": 5000,
            "type": "string"
          },
          "bic": {
            "description": "The BIC/SWIFT code of the account.",
            "maxLength": 5000,
            "type": "string"
          },
          "country": {
            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
            "maxLength": 5000,
            "type": "string"
          },
          "iban": {
            "description": "The IBAN of the account.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "account_holder_name",
          "bic",
          "country",
          "iban"
        ],
        "title": "FundingInstructionsBankTransferIbanRecord",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "account_holder_name",
          "bic",
          "country",
          "iban"
        ]
      },
      "funding_instructions_bank_transfer_sort_code_record": {
        "description": "Sort Code Records contain U.K. bank account details per the sort code format.",
        "properties": {
          "account_holder_name": {
            "description": "The name of the person or business that owns the bank account",
            "maxLength": 5000,
            "type": "string"
          },
          "account_number": {
            "description": "The account number",
            "maxLength": 5000,
            "type": "string"
          },
          "sort_code": {
            "description": "The six-digit sort code",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "account_holder_name",
          "account_number",
          "sort_code"
        ],
        "title": "FundingInstructionsBankTransferSortCodeRecord",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "account_holder_name",
          "account_number",
          "sort_code"
        ],
        "x-stripeResource": {
          "class_name": "SortCodeRecords",
          "in_package": ""
        }
      },
      "funding_instructions_bank_transfer_spei_record": {
        "description": "SPEI Records contain Mexico bank account details per the SPEI format.",
        "properties": {
          "bank_code": {
            "description": "The three-digit bank code",
            "maxLength": 5000,
            "type": "string"
          },
          "bank_name": {
            "description": "The short banking institution name",
            "maxLength": 5000,
            "type": "string"
          },
          "clabe": {
            "description": "The CLABE number",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "bank_code",
          "bank_name",
          "clabe"
        ],
        "title": "FundingInstructionsBankTransferSpeiRecord",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "bank_code",
          "bank_name",
          "clabe"
        ]
      },
      "funding_instructions_bank_transfer_swift_record": {
        "description": "SWIFT Records contain U.S. bank account details per the SWIFT format.",
        "properties": {
          "account_holder_address": {
            "$ref": "#/components/schemas/address"
          },
          "account_holder_name": {
            "description": "The account holder name",
            "maxLength": 5000,
            "type": "string"
          },
          "account_number": {
            "description": "The account number",
            "maxLength": 5000,
            "type": "string"
          },
          "account_type": {
            "description": "The account type",
            "maxLength": 5000,
            "type": "string"
          },
          "bank_address": {
            "$ref": "#/components/schemas/address"
          },
          "bank_name": {
            "description": "The bank name",
            "maxLength": 5000,
            "type": "string"
          },
          "swift_code": {
            "description": "The SWIFT code",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "account_holder_address",
          "account_holder_name",
          "account_number",
          "account_type",
          "bank_address",
          "bank_name",
          "swift_code"
        ],
        "title": "FundingInstructionsBankTransferSwiftRecord",
        "type": "object",
        "x-expandableFields": [
          "account_holder_address",
          "bank_address"
        ],
        "x-stripeMostCommon": [
          "account_holder_address",
          "account_holder_name",
          "account_number",
          "account_type",
          "bank_address",
          "bank_name",
          "swift_code"
        ]
      },
      "funding_instructions_bank_transfer_zengin_record": {
        "description": "Zengin Records contain Japan bank account details per the Zengin format.",
        "properties": {
          "account_holder_name": {
            "description": "The account holder name",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "account_number": {
            "description": "The account number",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "account_type": {
            "description": "The bank account type. In Japan, this can only be `futsu` or `toza`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "bank_code": {
            "description": "The bank code of the account",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "bank_name": {
            "description": "The bank name of the account",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "branch_code": {
            "description": "The branch code of the account",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "branch_name": {
            "description": "The branch name of the account",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "account_holder_name",
          "account_number",
          "account_type",
          "bank_code",
          "bank_name",
          "branch_code",
          "branch_name"
        ],
        "title": "FundingInstructionsBankTransferZenginRecord",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "account_holder_name",
          "account_number",
          "account_type",
          "bank_code",
          "bank_name",
          "branch_code",
          "branch_name"
        ]
      },
      "gelato_data_document_report_date_of_birth": {
        "description": "Point in Time",
        "properties": {
          "day": {
            "description": "Numerical day between 1 and 31.",
            "nullable": true,
            "type": "integer"
          },
          "month": {
            "description": "Numerical month between 1 and 12.",
            "nullable": true,
            "type": "integer"
          },
          "year": {
            "description": "The four-digit year.",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "day",
          "month",
          "year"
        ],
        "title": "GelatoDataDocumentReportDateOfBirth",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "day",
          "month",
          "year"
        ]
      },
      "gelato_data_document_report_expiration_date": {
        "description": "Point in Time",
        "properties": {
          "day": {
            "description": "Numerical day between 1 and 31.",
            "nullable": true,
            "type": "integer"
          },
          "month": {
            "description": "Numerical month between 1 and 12.",
            "nullable": true,
            "type": "integer"
          },
          "year": {
            "description": "The four-digit year.",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "day",
          "month",
          "year"
        ],
        "title": "GelatoDataDocumentReportExpirationDate",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "day",
          "month",
          "year"
        ]
      },
      "gelato_data_document_report_issued_date": {
        "description": "Point in Time",
        "properties": {
          "day": {
            "description": "Numerical day between 1 and 31.",
            "nullable": true,
            "type": "integer"
          },
          "month": {
            "description": "Numerical month between 1 and 12.",
            "nullable": true,
            "type": "integer"
          },
          "year": {
            "description": "The four-digit year.",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "day",
          "month",
          "year"
        ],
        "title": "GelatoDataDocumentReportIssuedDate",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "day",
          "month",
          "year"
        ]
      },
      "gelato_data_id_number_report_date": {
        "description": "Point in Time",
        "properties": {
          "day": {
            "description": "Numerical day between 1 and 31.",
            "nullable": true,
            "type": "integer"
          },
          "month": {
            "description": "Numerical month between 1 and 12.",
            "nullable": true,
            "type": "integer"
          },
          "year": {
            "description": "The four-digit year.",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "day",
          "month",
          "year"
        ],
        "title": "GelatoDataIdNumberReportDate",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "day",
          "month",
          "year"
        ]
      },
      "gelato_data_verified_outputs_date": {
        "description": "Point in Time",
        "properties": {
          "day": {
            "description": "Numerical day between 1 and 31.",
            "nullable": true,
            "type": "integer"
          },
          "month": {
            "description": "Numerical month between 1 and 12.",
            "nullable": true,
            "type": "integer"
          },
          "year": {
            "description": "The four-digit year.",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "day",
          "month",
          "year"
        ],
        "title": "GelatoDataVerifiedOutputsDate",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "day",
          "month",
          "year"
        ]
      },
      "gelato_document_report": {
        "description": "Result from a document check",
        "properties": {
          "address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/address"
              }
            ],
            "description": "Address as it appears in the document.",
            "nullable": true
          },
          "dob": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/gelato_data_document_report_date_of_birth"
              }
            ],
            "description": "Date of birth as it appears in the document.",
            "nullable": true
          },
          "error": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/gelato_document_report_error"
              }
            ],
            "description": "Details on the verification error. Present when status is `unverified`.",
            "nullable": true
          },
          "expiration_date": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/gelato_data_document_report_expiration_date"
              }
            ],
            "description": "Expiration date of the document.",
            "nullable": true
          },
          "files": {
            "description": "Array of [File](https://stripe.com/docs/api/files) ids containing images for this document.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "first_name": {
            "description": "First name as it appears in the document.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "issued_date": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/gelato_data_document_report_issued_date"
              }
            ],
            "description": "Issued date of the document.",
            "nullable": true
          },
          "issuing_country": {
            "description": "Issuing country of the document.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "last_name": {
            "description": "Last name as it appears in the document.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "number": {
            "description": "Document ID number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "status": {
            "description": "Status of this `document` check.",
            "enum": [
              "unverified",
              "verified"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "type": {
            "description": "Type of the document.",
            "enum": [
              "driving_license",
              "id_card",
              "passport"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "address",
          "error",
          "files",
          "first_name",
          "issued_date",
          "issuing_country",
          "last_name",
          "status",
          "type"
        ],
        "title": "GelatoDocumentReport",
        "type": "object",
        "x-expandableFields": [
          "address",
          "dob",
          "error",
          "expiration_date",
          "issued_date"
        ],
        "x-stripeMostCommon": [
          "address",
          "dob",
          "error",
          "expiration_date",
          "files",
          "first_name",
          "issued_date",
          "issuing_country",
          "last_name",
          "number",
          "status",
          "type"
        ]
      },
      "gelato_document_report_error": {
        "description": "",
        "properties": {
          "code": {
            "description": "A short machine-readable string giving the reason for the verification failure.",
            "enum": [
              "document_expired",
              "document_type_not_supported",
              "document_unverified_other"
            ],
            "nullable": true,
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "reason": {
            "description": "A human-readable message giving the reason for the failure. These messages can be shown to your users.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "code",
          "reason"
        ],
        "title": "GelatoDocumentReportError",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "code",
          "reason"
        ]
      },
      "gelato_email_report": {
        "description": "Result from a email check",
        "properties": {
          "email": {
            "description": "Email to be verified.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "error": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/gelato_email_report_error"
              }
            ],
            "description": "Details on the verification error. Present when status is `unverified`.",
            "nullable": true
          },
          "status": {
            "description": "Status of this `email` check.",
            "enum": [
              "unverified",
              "verified"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "email",
          "error",
          "status"
        ],
        "title": "GelatoEmailReport",
        "type": "object",
        "x-expandableFields": [
          "error"
        ],
        "x-stripeMostCommon": [
          "email",
          "error",
          "status"
        ]
      },
      "gelato_email_report_error": {
        "description": "",
        "properties": {
          "code": {
            "description": "A short machine-readable string giving the reason for the verification failure.",
            "enum": [
              "email_unverified_other",
              "email_verification_declined"
            ],
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "description": "A human-readable message giving the reason for the failure. These messages can be shown to your users.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "code",
          "reason"
        ],
        "title": "GelatoEmailReportError",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "code",
          "reason"
        ]
      },
      "gelato_id_number_report": {
        "description": "Result from an id_number check",
        "properties": {
          "dob": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/gelato_data_id_number_report_date"
              }
            ],
            "description": "Date of birth.",
            "nullable": true
          },
          "error": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/gelato_id_number_report_error"
              }
            ],
            "description": "Details on the verification error. Present when status is `unverified`.",
            "nullable": true
          },
          "first_name": {
            "description": "First name.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "id_number": {
            "description": "ID number. When `id_number_type` is `us_ssn`, only the last 4 digits are present.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "id_number_type": {
            "description": "Type of ID number.",
            "enum": [
              "br_cpf",
              "sg_nric",
              "us_ssn"
            ],
            "nullable": true,
            "type": "string"
          },
          "last_name": {
            "description": "Last name.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "status": {
            "description": "Status of this `id_number` check.",
            "enum": [
              "unverified",
              "verified"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "error",
          "first_name",
          "id_number_type",
          "last_name",
          "status"
        ],
        "title": "GelatoIdNumberReport",
        "type": "object",
        "x-expandableFields": [
          "dob",
          "error"
        ],
        "x-stripeMostCommon": [
          "dob",
          "error",
          "first_name",
          "id_number",
          "id_number_type",
          "last_name",
          "status"
        ]
      },
      "gelato_id_number_report_error": {
        "description": "",
        "properties": {
          "code": {
            "description": "A short machine-readable string giving the reason for the verification failure.",
            "enum": [
              "id_number_insufficient_document_data",
              "id_number_mismatch",
              "id_number_unverified_other"
            ],
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "description": "A human-readable message giving the reason for the failure. These messages can be shown to your users.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "code",
          "reason"
        ],
        "title": "GelatoIdNumberReportError",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "code",
          "reason"
        ]
      },
      "gelato_phone_report": {
        "description": "Result from a phone check",
        "properties": {
          "error": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/gelato_phone_report_error"
              }
            ],
            "description": "Details on the verification error. Present when status is `unverified`.",
            "nullable": true
          },
          "phone": {
            "description": "Phone to be verified.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "status": {
            "description": "Status of this `phone` check.",
            "enum": [
              "unverified",
              "verified"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "error",
          "phone",
          "status"
        ],
        "title": "GelatoPhoneReport",
        "type": "object",
        "x-expandableFields": [
          "error"
        ],
        "x-stripeMostCommon": [
          "error",
          "phone",
          "status"
        ]
      },
      "gelato_phone_report_error": {
        "description": "",
        "properties": {
          "code": {
            "description": "A short machine-readable string giving the reason for the verification failure.",
            "enum": [
              "phone_unverified_other",
              "phone_verification_declined"
            ],
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "description": "A human-readable message giving the reason for the failure. These messages can be shown to your users.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "code",
          "reason"
        ],
        "title": "GelatoPhoneReportError",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "code",
          "reason"
        ]
      },
      "gelato_provided_details": {
        "description": "",
        "properties": {
          "email": {
            "description": "Email of user being verified",
            "maxLength": 5000,
            "type": "string"
          },
          "phone": {
            "description": "Phone number of user being verified",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "title": "GelatoProvidedDetails",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "email",
          "phone"
        ]
      },
      "gelato_report_document_options": {
        "description": "",
        "properties": {
          "allowed_types": {
            "description": "Array of strings of allowed identity document types. If the provided identity document isn’t one of the allowed types, the verification check will fail with a document_type_not_allowed error code.",
            "items": {
              "enum": [
                "driving_license",
                "id_card",
                "passport"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "require_id_number": {
            "description": "Collect an ID number and perform an [ID number check](https://stripe.com/docs/identity/verification-checks?type=id-number) with the document’s extracted name and date of birth.",
            "type": "boolean"
          },
          "require_live_capture": {
            "description": "Disable image uploads, identity document images have to be captured using the device’s camera.",
            "type": "boolean"
          },
          "require_matching_selfie": {
            "description": "Capture a face image and perform a [selfie check](https://stripe.com/docs/identity/verification-checks?type=selfie) comparing a photo ID and a picture of your user’s face. [Learn more](https://stripe.com/docs/identity/selfie).",
            "type": "boolean"
          }
        },
        "title": "GelatoReportDocumentOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "allowed_types",
          "require_id_number",
          "require_live_capture",
          "require_matching_selfie"
        ]
      },
      "gelato_report_id_number_options": {
        "description": "",
        "properties": {},
        "title": "GelatoReportIdNumberOptions",
        "type": "object",
        "x-expandableFields": []
      },
      "gelato_selfie_report": {
        "description": "Result from a selfie check",
        "properties": {
          "document": {
            "description": "ID of the [File](https://stripe.com/docs/api/files) holding the image of the identity document used in this check.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "error": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/gelato_selfie_report_error"
              }
            ],
            "description": "Details on the verification error. Present when status is `unverified`.",
            "nullable": true
          },
          "selfie": {
            "description": "ID of the [File](https://stripe.com/docs/api/files) holding the image of the selfie used in this check.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "status": {
            "description": "Status of this `selfie` check.",
            "enum": [
              "unverified",
              "verified"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "document",
          "error",
          "selfie",
          "status"
        ],
        "title": "GelatoSelfieReport",
        "type": "object",
        "x-expandableFields": [
          "error"
        ],
        "x-stripeMostCommon": [
          "document",
          "error",
          "selfie",
          "status"
        ]
      },
      "gelato_selfie_report_error": {
        "description": "",
        "properties": {
          "code": {
            "description": "A short machine-readable string giving the reason for the verification failure.",
            "enum": [
              "selfie_document_missing_photo",
              "selfie_face_mismatch",
              "selfie_manipulated",
              "selfie_unverified_other"
            ],
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "description": "A human-readable message giving the reason for the failure. These messages can be shown to your users.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "code",
          "reason"
        ],
        "title": "GelatoSelfieReportError",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "code",
          "reason"
        ]
      },
      "gelato_session_document_options": {
        "description": "",
        "properties": {
          "allowed_types": {
            "description": "Array of strings of allowed identity document types. If the provided identity document isn’t one of the allowed types, the verification check will fail with a document_type_not_allowed error code.",
            "items": {
              "enum": [
                "driving_license",
                "id_card",
                "passport"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "require_id_number": {
            "description": "Collect an ID number and perform an [ID number check](https://stripe.com/docs/identity/verification-checks?type=id-number) with the document’s extracted name and date of birth.",
            "type": "boolean"
          },
          "require_live_capture": {
            "description": "Disable image uploads, identity document images have to be captured using the device’s camera.",
            "type": "boolean"
          },
          "require_matching_selfie": {
            "description": "Capture a face image and perform a [selfie check](https://stripe.com/docs/identity/verification-checks?type=selfie) comparing a photo ID and a picture of your user’s face. [Learn more](https://stripe.com/docs/identity/selfie).",
            "type": "boolean"
          }
        },
        "title": "GelatoSessionDocumentOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "allowed_types",
          "require_id_number",
          "require_live_capture",
          "require_matching_selfie"
        ]
      },
      "gelato_session_email_options": {
        "description": "",
        "properties": {
          "require_verification": {
            "description": "Request one time password verification of `provided_details.email`.",
            "type": "boolean"
          }
        },
        "title": "GelatoSessionEmailOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "require_verification"
        ]
      },
      "gelato_session_id_number_options": {
        "description": "",
        "properties": {},
        "title": "GelatoSessionIdNumberOptions",
        "type": "object",
        "x-expandableFields": []
      },
      "gelato_session_last_error": {
        "description": "Shows last VerificationSession error",
        "properties": {
          "code": {
            "description": "A short machine-readable string giving the reason for the verification or user-session failure.",
            "enum": [
              "abandoned",
              "consent_declined",
              "country_not_supported",
              "device_not_supported",
              "document_expired",
              "document_type_not_supported",
              "document_unverified_other",
              "email_unverified_other",
              "email_verification_declined",
              "id_number_insufficient_document_data",
              "id_number_mismatch",
              "id_number_unverified_other",
              "phone_unverified_other",
              "phone_verification_declined",
              "selfie_document_missing_photo",
              "selfie_face_mismatch",
              "selfie_manipulated",
              "selfie_unverified_other",
              "under_supported_age"
            ],
            "nullable": true,
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "reason": {
            "description": "A message that explains the reason for verification or user-session failure.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "code",
          "reason"
        ],
        "title": "GelatoSessionLastError",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "code",
          "reason"
        ]
      },
      "gelato_session_phone_options": {
        "description": "",
        "properties": {
          "require_verification": {
            "description": "Request one time password verification of `provided_details.phone`.",
            "type": "boolean"
          }
        },
        "title": "GelatoSessionPhoneOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "require_verification"
        ]
      },
      "gelato_verification_report_options": {
        "description": "",
        "properties": {
          "document": {
            "$ref": "#/components/schemas/gelato_report_document_options"
          },
          "id_number": {
            "$ref": "#/components/schemas/gelato_report_id_number_options"
          }
        },
        "title": "GelatoVerificationReportOptions",
        "type": "object",
        "x-expandableFields": [
          "document",
          "id_number"
        ],
        "x-stripeMostCommon": [
          "document",
          "id_number"
        ]
      },
      "gelato_verification_session_options": {
        "description": "",
        "properties": {
          "document": {
            "$ref": "#/components/schemas/gelato_session_document_options"
          },
          "email": {
            "$ref": "#/components/schemas/gelato_session_email_options"
          },
          "id_number": {
            "$ref": "#/components/schemas/gelato_session_id_number_options"
          },
          "phone": {
            "$ref": "#/components/schemas/gelato_session_phone_options"
          }
        },
        "title": "GelatoVerificationSessionOptions",
        "type": "object",
        "x-expandableFields": [
          "document",
          "email",
          "id_number",
          "phone"
        ],
        "x-stripeMostCommon": [
          "document",
          "email",
          "id_number",
          "phone"
        ]
      },
      "gelato_verified_outputs": {
        "description": "",
        "properties": {
          "address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/address"
              }
            ],
            "description": "The user's verified address.",
            "nullable": true
          },
          "dob": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/gelato_data_verified_outputs_date"
              }
            ],
            "description": "The user’s verified date of birth.",
            "nullable": true
          },
          "email": {
            "description": "The user's verified email address",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "first_name": {
            "description": "The user's verified first name.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "id_number": {
            "description": "The user's verified id number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "id_number_type": {
            "description": "The user's verified id number type.",
            "enum": [
              "br_cpf",
              "sg_nric",
              "us_ssn"
            ],
            "nullable": true,
            "type": "string"
          },
          "last_name": {
            "description": "The user's verified last name.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "phone": {
            "description": "The user's verified phone number",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "address",
          "email",
          "first_name",
          "id_number_type",
          "last_name",
          "phone"
        ],
        "title": "GelatoVerifiedOutputs",
        "type": "object",
        "x-expandableFields": [
          "address",
          "dob"
        ],
        "x-stripeMostCommon": [
          "address",
          "dob",
          "email",
          "first_name",
          "id_number",
          "id_number_type",
          "last_name",
          "phone"
        ]
      },
      "identity.verification_report": {
        "description": "A VerificationReport is the result of an attempt to collect and verify data from a user.\nThe collection of verification checks performed is determined from the `type` and `options`\nparameters used. You can find the result of each verification check performed in the\nappropriate sub-resource: `document`, `id_number`, `selfie`.\n\nEach VerificationReport contains a copy of any data collected by the user as well as\nreference IDs which can be used to access collected images through the [FileUpload](https://stripe.com/docs/api/files)\nAPI. To configure and create VerificationReports, use the\n[VerificationSession](https://stripe.com/docs/api/identity/verification_sessions) API.\n\nRelated guide: [Accessing verification results](https://stripe.com/docs/identity/verification-sessions#results).",
        "properties": {
          "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.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "document": {
            "$ref": "#/components/schemas/gelato_document_report"
          },
          "email": {
            "$ref": "#/components/schemas/gelato_email_report"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "id_number": {
            "$ref": "#/components/schemas/gelato_id_number_report"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "identity.verification_report"
            ],
            "type": "string"
          },
          "options": {
            "$ref": "#/components/schemas/gelato_verification_report_options"
          },
          "phone": {
            "$ref": "#/components/schemas/gelato_phone_report"
          },
          "selfie": {
            "$ref": "#/components/schemas/gelato_selfie_report"
          },
          "type": {
            "description": "Type of report.",
            "enum": [
              "document",
              "id_number",
              "verification_flow"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "verification_flow": {
            "description": "The configuration token of a verification flow from the dashboard.",
            "maxLength": 5000,
            "type": "string"
          },
          "verification_session": {
            "description": "ID of the VerificationSession that created this report.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "client_reference_id",
          "created",
          "id",
          "livemode",
          "object",
          "type",
          "verification_session"
        ],
        "title": "GelatoVerificationReport",
        "type": "object",
        "x-expandableFields": [
          "document",
          "email",
          "id_number",
          "options",
          "phone",
          "selfie"
        ],
        "x-resourceId": "identity.verification_report",
        "x-stripeMostCommon": [
          "client_reference_id",
          "created",
          "document",
          "email",
          "id",
          "id_number",
          "livemode",
          "object",
          "options",
          "phone",
          "selfie",
          "type",
          "verification_flow",
          "verification_session"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/identity/verification_reports"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/identity/verification_reports/{report}"
          }
        ],
        "x-stripeResource": {
          "class_name": "VerificationReport",
          "has_collection_class": true,
          "in_package": "Identity"
        }
      },
      "identity.verification_session": {
        "description": "A VerificationSession guides you through the process of collecting and verifying the identities\nof your users. It contains details about the type of verification, such as what [verification\ncheck](/docs/identity/verification-checks) to perform. Only create one VerificationSession for\neach verification in your system.\n\nA VerificationSession transitions through [multiple\nstatuses](/docs/identity/how-sessions-work) throughout its lifetime as it progresses through\nthe verification flow. The VerificationSession contains the user's verified data after\nverification checks are complete.\n\nRelated guide: [The Verification Sessions API](https://stripe.com/docs/identity/verification-sessions)",
        "properties": {
          "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.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "client_secret": {
            "description": "The short-lived client secret used by Stripe.js to [show a verification modal](https://stripe.com/docs/js/identity/modal) inside your app. This client secret expires after 24 hours and can only be used once. Don’t store it, log it, embed it in a URL, or expose it to anyone other than the user. Make sure that you have TLS enabled on any page that includes the client secret. Refer to our docs on [passing the client secret to the frontend](https://stripe.com/docs/identity/verification-sessions#client-secret) to learn more.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "last_error": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/gelato_session_last_error"
              }
            ],
            "description": "If present, this property tells you the last error encountered when processing the verification.",
            "nullable": true
          },
          "last_verification_report": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/identity.verification_report"
              }
            ],
            "description": "ID of the most recent VerificationReport. [Learn more about accessing detailed verification results.](https://stripe.com/docs/identity/verification-sessions#results)",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/identity.verification_report"
                }
              ]
            }
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "identity.verification_session"
            ],
            "type": "string"
          },
          "options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/gelato_verification_session_options"
              }
            ],
            "description": "A set of options for the session’s verification checks.",
            "nullable": true
          },
          "provided_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/gelato_provided_details"
              }
            ],
            "description": "Details provided about the user being verified. These details may be shown to the user.",
            "nullable": true
          },
          "redaction": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/verification_session_redaction"
              }
            ],
            "description": "Redaction status of this VerificationSession. If the VerificationSession is not redacted, this field will be null.",
            "nullable": true
          },
          "related_customer": {
            "description": "Token referencing a Customer resource.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "status": {
            "description": "Status of this VerificationSession. [Learn more about the lifecycle of sessions](https://stripe.com/docs/identity/how-sessions-work).",
            "enum": [
              "canceled",
              "processing",
              "requires_input",
              "verified"
            ],
            "type": "string"
          },
          "type": {
            "description": "The type of [verification check](https://stripe.com/docs/identity/verification-checks) to be performed.",
            "enum": [
              "document",
              "id_number",
              "verification_flow"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "url": {
            "description": "The short-lived URL that you use to redirect a user to Stripe to submit their identity information. This URL expires after 48 hours and can only be used once. Don’t store it, log it, send it in emails or expose it to anyone other than the user. Refer to our docs on [verifying identity documents](https://stripe.com/docs/identity/verify-identity-documents?platform=web&type=redirect) to learn how to redirect users to Stripe.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "verification_flow": {
            "description": "The configuration token of a verification flow from the dashboard.",
            "maxLength": 5000,
            "type": "string"
          },
          "verified_outputs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/gelato_verified_outputs"
              }
            ],
            "description": "The user’s verified data.",
            "nullable": true
          }
        },
        "required": [
          "client_reference_id",
          "client_secret",
          "created",
          "id",
          "last_error",
          "last_verification_report",
          "livemode",
          "metadata",
          "object",
          "options",
          "redaction",
          "related_customer",
          "status",
          "type",
          "url"
        ],
        "title": "GelatoVerificationSession",
        "type": "object",
        "x-expandableFields": [
          "last_error",
          "last_verification_report",
          "options",
          "provided_details",
          "redaction",
          "verified_outputs"
        ],
        "x-resourceId": "identity.verification_session",
        "x-stripeMostCommon": [
          "client_reference_id",
          "client_secret",
          "created",
          "id",
          "last_error",
          "last_verification_report",
          "livemode",
          "metadata",
          "object",
          "options",
          "provided_details",
          "redaction",
          "related_customer",
          "status",
          "type",
          "url",
          "verification_flow",
          "verified_outputs"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/identity/verification_sessions"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/identity/verification_sessions/{session}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/identity/verification_sessions"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/identity/verification_sessions/{session}"
          },
          {
            "method_name": "cancel",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/identity/verification_sessions/{session}/cancel"
          },
          {
            "method_name": "redact",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/identity/verification_sessions/{session}/redact"
          }
        ],
        "x-stripeResource": {
          "class_name": "VerificationSession",
          "has_collection_class": true,
          "in_package": "Identity"
        }
      },
      "identity.verification_session.canceled": {
        "description": "Occurs whenever a VerificationSession is canceled",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/identity.verification_session"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "identity.verification_session.canceled"
        }
      },
      "identity.verification_session.created": {
        "description": "Occurs whenever a VerificationSession is created",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/identity.verification_session"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "identity.verification_session.created"
        }
      },
      "identity.verification_session.processing": {
        "description": "Occurs whenever a VerificationSession transitions to processing",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/identity.verification_session"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "identity.verification_session.processing"
        }
      },
      "identity.verification_session.redacted": {
        "description": "Occurs whenever a VerificationSession is redacted.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/identity.verification_session"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "identity.verification_session.redacted"
        }
      },
      "identity.verification_session.requires_input": {
        "description": "Occurs whenever a VerificationSession transitions to require user input",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/identity.verification_session"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "identity.verification_session.requires_input"
        }
      },
      "identity.verification_session.verified": {
        "description": "Occurs whenever a VerificationSession transitions to verified",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/identity.verification_session"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "identity.verification_session.verified"
        }
      },
      "inbound_transfers": {
        "description": "",
        "properties": {
          "billing_details": {
            "$ref": "#/components/schemas/treasury_shared_resource_billing_details"
          },
          "type": {
            "description": "The type of the payment method used in the InboundTransfer.",
            "enum": [
              "us_bank_account"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "us_bank_account": {
            "$ref": "#/components/schemas/inbound_transfers_payment_method_details_us_bank_account"
          }
        },
        "required": [
          "billing_details",
          "type"
        ],
        "title": "InboundTransfers",
        "type": "object",
        "x-expandableFields": [
          "billing_details",
          "us_bank_account"
        ],
        "x-stripeMostCommon": [
          "billing_details",
          "type",
          "us_bank_account"
        ]
      },
      "inbound_transfers_payment_method_details_us_bank_account": {
        "description": "",
        "properties": {
          "account_holder_type": {
            "description": "Account holder type: individual or company.",
            "enum": [
              "company",
              "individual"
            ],
            "nullable": true,
            "type": "string"
          },
          "account_type": {
            "description": "Account type: checkings or savings. Defaults to checking if omitted.",
            "enum": [
              "checking",
              "savings"
            ],
            "nullable": true,
            "type": "string"
          },
          "bank_name": {
            "description": "Name of the bank associated with the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "fingerprint": {
            "description": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "last4": {
            "description": "Last four digits of the bank account number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "mandate": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/mandate"
              }
            ],
            "description": "ID of the mandate used to make this payment.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/mandate"
                }
              ]
            }
          },
          "network": {
            "description": "The network rails used. See the [docs](https://stripe.com/docs/treasury/money-movement/timelines) to learn more about money movement timelines for each network type.",
            "enum": [
              "ach"
            ],
            "type": "string"
          },
          "routing_number": {
            "description": "Routing number of the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "account_holder_type",
          "account_type",
          "bank_name",
          "fingerprint",
          "last4",
          "network",
          "routing_number"
        ],
        "title": "inbound_transfers_payment_method_details_us_bank_account",
        "type": "object",
        "x-expandableFields": [
          "mandate"
        ],
        "x-stripeMostCommon": [
          "account_holder_type",
          "account_type",
          "bank_name",
          "fingerprint",
          "last4",
          "mandate",
          "network",
          "routing_number"
        ],
        "x-stripeResource": {
          "class_name": "UsBankAccount",
          "in_package": ""
        }
      },
      "internal_card": {
        "description": "",
        "properties": {
          "brand": {
            "description": "Brand of the card used in the transaction",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "country": {
            "description": "Two-letter ISO code representing the country of the card",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "exp_month": {
            "description": "Two digit number representing the card's expiration month",
            "nullable": true,
            "type": "integer"
          },
          "exp_year": {
            "description": "Two digit number representing the card's expiration year",
            "nullable": true,
            "type": "integer"
          },
          "last4": {
            "description": "The last 4 digits of the card",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "brand",
          "country",
          "exp_month",
          "exp_year",
          "last4"
        ],
        "title": "internal_card",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "brand",
          "country",
          "exp_month",
          "exp_year",
          "last4"
        ]
      },
      "invoice": {
        "description": "Invoices are statements of amounts owed by a customer, and are either\ngenerated one-off, or generated periodically from a subscription.\n\nThey contain [invoice items](https://stripe.com/docs/api#invoiceitems), and proration adjustments\nthat may be caused by subscription upgrades/downgrades (if necessary).\n\nIf your invoice is configured to be billed through automatic charges,\nStripe automatically finalizes your invoice and attempts payment. Note\nthat finalizing the invoice,\n[when automatic](https://stripe.com/docs/invoicing/integration/automatic-advancement-collection), does\nnot happen immediately as the invoice is created. Stripe waits\nuntil one hour after the last webhook was successfully sent (or the last\nwebhook timed out after failing). If you (and the platforms you may have\nconnected to) have no webhooks configured, Stripe waits one hour after\ncreation to finalize the invoice.\n\nIf your invoice is configured to be billed by sending an email, then based on your\n[email settings](https://dashboard.stripe.com/account/billing/automatic),\nStripe will email the invoice to your customer and await payment. These\nemails can contain a link to a hosted page to pay the invoice.\n\nStripe applies any customer credit on the account before determining the\namount due for the invoice (i.e., the amount that will be actually\ncharged). If the amount due for the invoice is less than Stripe's [minimum allowed charge\nper currency](/docs/currencies#minimum-and-maximum-charge-amounts), the\ninvoice is automatically marked paid, and we add the amount due to the\ncustomer's credit balance which is applied to the next invoice.\n\nMore details on the customer's credit balance are\n[here](https://stripe.com/docs/billing/customer/balance).\n\nRelated guide: [Send invoices to customers](https://stripe.com/docs/billing/invoices/sending)",
        "properties": {
          "account_country": {
            "description": "The country of the business associated with this invoice, most often the business creating the invoice.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "account_name": {
            "description": "The public name of the business associated with this invoice, most often the business creating the invoice.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "account_tax_ids": {
            "description": "The account tax IDs associated with the invoice. Only editable when the invoice is a draft.",
            "items": {
              "anyOf": [
                {
                  "maxLength": 5000,
                  "type": "string"
                },
                {
                  "$ref": "#/components/schemas/tax_id"
                },
                {
                  "$ref": "#/components/schemas/deleted_tax_id"
                }
              ],
              "x-expansionResources": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/tax_id"
                  },
                  {
                    "$ref": "#/components/schemas/deleted_tax_id"
                  }
                ]
              }
            },
            "nullable": true,
            "type": "array"
          },
          "amount_due": {
            "description": "Final amount due at this time for this invoice. If the invoice's total is smaller than the minimum charge amount, for example, or if there is account credit that can be applied to the invoice, the `amount_due` may be 0. If there is a positive `starting_balance` for the invoice (the customer owes money), the `amount_due` will also take that into account. The charge that gets generated for the invoice will be for the amount specified in `amount_due`.",
            "type": "integer"
          },
          "amount_paid": {
            "description": "The amount, in cents (or local equivalent), that was paid.",
            "type": "integer"
          },
          "amount_remaining": {
            "description": "The difference between amount_due and amount_paid, in cents (or local equivalent).",
            "type": "integer"
          },
          "amount_shipping": {
            "description": "This is the sum of all the shipping amounts.",
            "type": "integer"
          },
          "application": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/application"
              },
              {
                "$ref": "#/components/schemas/deleted_application"
              }
            ],
            "description": "ID of the Connect Application that created the invoice.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/application"
                },
                {
                  "$ref": "#/components/schemas/deleted_application"
                }
              ]
            }
          },
          "application_fee_amount": {
            "description": "The fee in cents (or local equivalent) that will be applied to the invoice and transferred to the application owner's Stripe account when the invoice is paid.",
            "nullable": true,
            "type": "integer"
          },
          "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. 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": "integer"
          },
          "attempted": {
            "description": "Whether an attempt has been made to pay the invoice. An invoice is not attempted until 1 hour after the `invoice.created` webhook, for example, so you might not want to display that invoice as unpaid to your users.",
            "type": "boolean"
          },
          "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": "boolean"
          },
          "automatic_tax": {
            "$ref": "#/components/schemas/automatic_tax"
          },
          "automatically_finalizes_at": {
            "description": "The time when this invoice is currently scheduled to be automatically finalized. The field will be `null` if the invoice is not scheduled to finalize in the future. If the invoice is not in the draft state, this field will always be `null` - see `finalized_at` for the time when an already-finalized invoice was finalized.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "billing_reason": {
            "description": "Indicates the reason why the invoice was created.\n\n* `manual`: Unrelated to a subscription, for example, created via the invoice editor.\n* `subscription`: No longer in use. Applies to subscriptions from before May 2018 where no distinction was made between updates, cycles, and thresholds.\n* `subscription_create`: A new subscription was created.\n* `subscription_cycle`: A subscription advanced into a new period.\n* `subscription_threshold`: A subscription reached a billing threshold.\n* `subscription_update`: A subscription was updated.\n* `upcoming`: Reserved for simulated invoices, per the upcoming invoice endpoint.",
            "enum": [
              "automatic_pending_invoice_item_invoice",
              "manual",
              "quote_accept",
              "subscription",
              "subscription_create",
              "subscription_cycle",
              "subscription_threshold",
              "subscription_update",
              "upcoming"
            ],
            "nullable": true,
            "type": "string"
          },
          "charge": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/charge"
              }
            ],
            "description": "ID of the latest charge generated for this invoice, if any.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/charge"
                }
              ]
            }
          },
          "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.",
            "enum": [
              "charge_automatically",
              "send_invoice"
            ],
            "type": "string"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "custom_fields": {
            "description": "Custom fields displayed on the invoice.",
            "items": {
              "$ref": "#/components/schemas/invoice_setting_custom_field"
            },
            "nullable": true,
            "type": "array"
          },
          "customer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer"
              },
              {
                "$ref": "#/components/schemas/deleted_customer"
              }
            ],
            "description": "The ID of the customer who will be billed.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer"
                },
                {
                  "$ref": "#/components/schemas/deleted_customer"
                }
              ]
            }
          },
          "customer_address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/address"
              }
            ],
            "description": "The customer's address. Until the invoice is finalized, this field will equal `customer.address`. Once the invoice is finalized, this field will no longer be updated.",
            "nullable": true
          },
          "customer_email": {
            "description": "The customer's email. Until the invoice is finalized, this field will equal `customer.email`. Once the invoice is finalized, this field will no longer be updated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "customer_name": {
            "description": "The customer's name. Until the invoice is finalized, this field will equal `customer.name`. Once the invoice is finalized, this field will no longer be updated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "customer_phone": {
            "description": "The customer's phone number. Until the invoice is finalized, this field will equal `customer.phone`. Once the invoice is finalized, this field will no longer be updated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "customer_shipping": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shipping"
              }
            ],
            "description": "The customer's shipping information. Until the invoice is finalized, this field will equal `customer.shipping`. Once the invoice is finalized, this field will no longer be updated.",
            "nullable": true
          },
          "customer_tax_exempt": {
            "description": "The customer's tax exempt status. Until the invoice is finalized, this field will equal `customer.tax_exempt`. Once the invoice is finalized, this field will no longer be updated.",
            "enum": [
              "exempt",
              "none",
              "reverse"
            ],
            "nullable": true,
            "type": "string"
          },
          "customer_tax_ids": {
            "description": "The customer's tax IDs. Until the invoice is finalized, this field will contain the same tax IDs as `customer.tax_ids`. Once the invoice is finalized, this field will no longer be updated.",
            "items": {
              "$ref": "#/components/schemas/invoices_resource_invoice_tax_id"
            },
            "nullable": true,
            "type": "array"
          },
          "default_payment_method": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/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.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_method"
                }
              ]
            }
          },
          "default_source": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_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.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_source"
                }
              ]
            }
          },
          "default_tax_rates": {
            "description": "The tax rates applied to this invoice, if any.",
            "items": {
              "$ref": "#/components/schemas/tax_rate"
            },
            "type": "array"
          },
          "description": {
            "description": "An arbitrary string attached to the object. Often useful for displaying to users. Referenced as 'memo' in the Dashboard.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "discount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/discount"
              }
            ],
            "description": "Describes the current discount applied to this invoice, if there is one. Not populated if there are multiple discounts.",
            "nullable": true
          },
          "discounts": {
            "description": "The discounts applied to the invoice. Line item discounts are applied before invoice discounts. Use `expand[]=discounts` to expand each discount.",
            "items": {
              "anyOf": [
                {
                  "maxLength": 5000,
                  "type": "string"
                },
                {
                  "$ref": "#/components/schemas/discount"
                },
                {
                  "$ref": "#/components/schemas/deleted_discount"
                }
              ],
              "x-expansionResources": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/discount"
                  },
                  {
                    "$ref": "#/components/schemas/deleted_discount"
                  }
                ]
              }
            },
            "type": "array"
          },
          "due_date": {
            "description": "The date on which payment for this invoice is due. This value will be `null` for invoices where `collection_method=charge_automatically`.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "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.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "ending_balance": {
            "description": "Ending customer balance after the invoice is finalized. Invoices are finalized approximately an hour after successful webhook delivery or when payment collection is attempted for the invoice. If the invoice has not been finalized yet, this will be null.",
            "nullable": true,
            "type": "integer"
          },
          "footer": {
            "description": "Footer displayed on the invoice.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "from_invoice": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/invoices_resource_from_invoice"
              }
            ],
            "description": "Details of the invoice that was cloned. See the [revision documentation](https://stripe.com/docs/invoicing/invoice-revisions) for more details.",
            "nullable": true
          },
          "hosted_invoice_url": {
            "description": "The URL for the hosted invoice page, which allows customers to view and pay an invoice. If the invoice has not been finalized yet, this will be null.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object. This property is always present unless the invoice is an upcoming invoice. See [Retrieve an upcoming invoice](https://stripe.com/docs/api/invoices/upcoming) for more details.",
            "maxLength": 5000,
            "type": "string"
          },
          "invoice_pdf": {
            "description": "The link to download the PDF for the invoice. If the invoice has not been finalized yet, this will be null.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "issuer": {
            "$ref": "#/components/schemas/connect_account_reference"
          },
          "last_finalization_error": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/api_errors"
              }
            ],
            "description": "The error encountered during the previous attempt to finalize the invoice. This field is cleared when the invoice is successfully finalized.",
            "nullable": true
          },
          "latest_revision": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/invoice"
              }
            ],
            "description": "The ID of the most recent non-draft revision of this invoice",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/invoice"
                }
              ]
            }
          },
          "lines": {
            "description": "The individual line items that make up the invoice. `lines` is sorted as follows: (1) pending invoice items (including prorations) in reverse chronological order, (2) subscription items in reverse chronological order, and (3) invoice items added after invoice creation in chronological order.",
            "properties": {
              "data": {
                "description": "Details about each object.",
                "items": {
                  "$ref": "#/components/schemas/line_item"
                },
                "type": "array"
              },
              "has_more": {
                "description": "True if this list has another page of items after this one that can be fetched.",
                "type": "boolean"
              },
              "object": {
                "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                "enum": [
                  "list"
                ],
                "type": "string"
              },
              "url": {
                "description": "The URL where this list can be accessed.",
                "maxLength": 5000,
                "type": "string"
              }
            },
            "required": [
              "data",
              "has_more",
              "object",
              "url"
            ],
            "title": "InvoiceLinesList",
            "type": "object",
            "x-expandableFields": [
              "data"
            ],
            "x-stripeMostCommon": [
              "data",
              "has_more",
              "object",
              "url"
            ]
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "nullable": true,
            "type": "object"
          },
          "next_payment_attempt": {
            "description": "The time at which payment will next be attempted. This value will be `null` for invoices where `collection_method=send_invoice`.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "number": {
            "description": "A unique, identifying string that appears on emails sent to the customer for this invoice. This starts with the customer's unique invoice_prefix if it is specified.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "invoice"
            ],
            "type": "string"
          },
          "on_behalf_of": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/account"
              }
            ],
            "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.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/account"
                }
              ]
            }
          },
          "paid": {
            "description": "Whether payment was successfully collected for this invoice. An invoice can be paid (most commonly) with a charge or with credit from the customer's account balance.",
            "type": "boolean"
          },
          "paid_out_of_band": {
            "description": "Returns true if the invoice was manually marked paid, returns false if the invoice hasn't been paid yet or was paid on Stripe.",
            "type": "boolean"
          },
          "payment_intent": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_intent"
              }
            ],
            "description": "The PaymentIntent associated with this invoice. The PaymentIntent is generated when the invoice is finalized, and can then be used to pay the invoice. Note that voiding an invoice will cancel the PaymentIntent.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_intent"
                }
              ]
            }
          },
          "payment_settings": {
            "$ref": "#/components/schemas/invoices_payment_settings"
          },
          "period_end": {
            "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.",
            "format": "unix-time",
            "type": "integer"
          },
          "period_start": {
            "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.",
            "format": "unix-time",
            "type": "integer"
          },
          "post_payment_credit_notes_amount": {
            "description": "Total amount of all post-payment credit notes issued for this invoice.",
            "type": "integer"
          },
          "pre_payment_credit_notes_amount": {
            "description": "Total amount of all pre-payment credit notes issued for this invoice.",
            "type": "integer"
          },
          "quote": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/quote"
              }
            ],
            "description": "The quote this invoice was generated from.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/quote"
                }
              ]
            }
          },
          "receipt_number": {
            "description": "This is the transaction number that appears on email receipts sent for this invoice.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "rendering": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/invoices_resource_invoice_rendering"
              }
            ],
            "description": "The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.",
            "nullable": true
          },
          "shipping_cost": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/invoices_resource_shipping_cost"
              }
            ],
            "description": "The details of the cost of shipping, including the ShippingRate applied on the invoice.",
            "nullable": true
          },
          "shipping_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shipping"
              }
            ],
            "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.",
            "nullable": true
          },
          "starting_balance": {
            "description": "Starting customer balance before the invoice is finalized. If the invoice has not been finalized yet, this will be the current customer balance. For revision invoices, this also includes any customer balance that was applied to the original invoice.",
            "type": "integer"
          },
          "statement_descriptor": {
            "description": "Extra information about an invoice for the customer's credit card statement.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "status": {
            "description": "The status of the invoice, one of `draft`, `open`, `paid`, `uncollectible`, or `void`. [Learn more](https://stripe.com/docs/billing/invoices/workflow#workflow-overview)",
            "enum": [
              "draft",
              "open",
              "paid",
              "uncollectible",
              "void"
            ],
            "nullable": true,
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "status_transitions": {
            "$ref": "#/components/schemas/invoices_resource_status_transitions"
          },
          "subscription": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/subscription"
              }
            ],
            "description": "The subscription that this invoice was prepared for, if any.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/subscription"
                }
              ]
            }
          },
          "subscription_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/subscription_details_data"
              }
            ],
            "description": "Details about the subscription that created this invoice.",
            "nullable": true
          },
          "subscription_proration_date": {
            "description": "Only set for upcoming invoices that preview prorations. The time used to calculate prorations.",
            "type": "integer"
          },
          "subtotal": {
            "description": "Total of all subscriptions, invoice items, and prorations on the invoice before any invoice level discount or exclusive tax is applied. Item discounts are already incorporated",
            "type": "integer"
          },
          "subtotal_excluding_tax": {
            "description": "The integer amount in cents (or local equivalent) representing the subtotal of the invoice before any invoice level discount or tax is applied. Item discounts are already incorporated",
            "nullable": true,
            "type": "integer"
          },
          "tax": {
            "description": "The amount of tax on this invoice. This is the sum of all the tax amounts on this invoice.",
            "nullable": true,
            "type": "integer"
          },
          "test_clock": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/test_helpers.test_clock"
              }
            ],
            "description": "ID of the test clock this invoice belongs to.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/test_helpers.test_clock"
                }
              ]
            }
          },
          "threshold_reason": {
            "$ref": "#/components/schemas/invoice_threshold_reason"
          },
          "total": {
            "description": "Total after discounts and taxes.",
            "type": "integer"
          },
          "total_discount_amounts": {
            "description": "The aggregate amounts calculated per discount across all line items.",
            "items": {
              "$ref": "#/components/schemas/discounts_resource_discount_amount"
            },
            "nullable": true,
            "type": "array"
          },
          "total_excluding_tax": {
            "description": "The integer amount in cents (or local equivalent) representing the total amount of the invoice including all discounts but excluding all tax.",
            "nullable": true,
            "type": "integer"
          },
          "total_pretax_credit_amounts": {
            "description": "Contains pretax credit amounts (ex: discount, credit grants, etc) that apply to this invoice. This is a combined list of total_pretax_credit_amounts across all invoice line items.",
            "items": {
              "$ref": "#/components/schemas/invoices_resource_pretax_credit_amount"
            },
            "nullable": true,
            "type": "array"
          },
          "total_tax_amounts": {
            "description": "The aggregate amounts calculated per tax rate for all line items.",
            "items": {
              "$ref": "#/components/schemas/invoice_tax_amount"
            },
            "type": "array"
          },
          "transfer_data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/invoice_transfer_data"
              }
            ],
            "description": "The account (if any) the payment will be attributed to for tax reporting, and where funds from the payment will be transferred to for the invoice.",
            "nullable": true
          },
          "webhooks_delivered_at": {
            "description": "Invoices are automatically paid or sent 1 hour after webhooks are delivered, or until all webhook delivery attempts have [been exhausted](https://stripe.com/docs/billing/webhooks#understand). This field tracks the time when webhooks for this invoice were successfully delivered. If the invoice had no webhooks to deliver, this will be set while the invoice is being created.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "account_country",
          "account_name",
          "account_tax_ids",
          "amount_due",
          "amount_paid",
          "amount_remaining",
          "amount_shipping",
          "application",
          "application_fee_amount",
          "attempt_count",
          "attempted",
          "automatic_tax",
          "automatically_finalizes_at",
          "billing_reason",
          "charge",
          "collection_method",
          "created",
          "currency",
          "custom_fields",
          "customer",
          "customer_address",
          "customer_email",
          "customer_name",
          "customer_phone",
          "customer_shipping",
          "customer_tax_exempt",
          "default_payment_method",
          "default_source",
          "default_tax_rates",
          "description",
          "discount",
          "discounts",
          "due_date",
          "effective_at",
          "ending_balance",
          "footer",
          "from_invoice",
          "issuer",
          "last_finalization_error",
          "latest_revision",
          "lines",
          "livemode",
          "metadata",
          "next_payment_attempt",
          "number",
          "object",
          "on_behalf_of",
          "paid",
          "paid_out_of_band",
          "payment_intent",
          "payment_settings",
          "period_end",
          "period_start",
          "post_payment_credit_notes_amount",
          "pre_payment_credit_notes_amount",
          "quote",
          "receipt_number",
          "rendering",
          "shipping_cost",
          "shipping_details",
          "starting_balance",
          "statement_descriptor",
          "status",
          "status_transitions",
          "subscription",
          "subscription_details",
          "subtotal",
          "subtotal_excluding_tax",
          "tax",
          "test_clock",
          "total",
          "total_discount_amounts",
          "total_excluding_tax",
          "total_tax_amounts",
          "transfer_data",
          "webhooks_delivered_at"
        ],
        "title": "Invoice",
        "type": "object",
        "x-expandableFields": [
          "account_tax_ids",
          "application",
          "automatic_tax",
          "charge",
          "custom_fields",
          "customer",
          "customer_address",
          "customer_shipping",
          "customer_tax_ids",
          "default_payment_method",
          "default_source",
          "default_tax_rates",
          "discount",
          "discounts",
          "from_invoice",
          "issuer",
          "last_finalization_error",
          "latest_revision",
          "lines",
          "on_behalf_of",
          "payment_intent",
          "payment_settings",
          "quote",
          "rendering",
          "shipping_cost",
          "shipping_details",
          "status_transitions",
          "subscription",
          "subscription_details",
          "test_clock",
          "threshold_reason",
          "total_discount_amounts",
          "total_pretax_credit_amounts",
          "total_tax_amounts",
          "transfer_data"
        ],
        "x-resourceId": "invoice",
        "x-stripeMostCommon": [
          "auto_advance",
          "charge",
          "collection_method",
          "currency",
          "customer",
          "description",
          "hosted_invoice_url",
          "id",
          "lines",
          "metadata",
          "payment_intent",
          "period_end",
          "period_start",
          "status",
          "subscription",
          "total"
        ],
        "x-stripeOperations": [
          {
            "method_name": "delete",
            "method_on": "service",
            "method_type": "delete",
            "operation": "delete",
            "path": "/v1/invoices/{invoice}"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/invoices"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/invoices/{invoice}"
          },
          {
            "method_name": "search",
            "method_on": "service",
            "method_type": "custom",
            "operation": "get",
            "path": "/v1/invoices/search"
          },
          {
            "method_name": "upcoming",
            "method_on": "service",
            "method_type": "custom",
            "operation": "get",
            "path": "/v1/invoices/upcoming"
          },
          {
            "method_name": "upcomingLines",
            "method_on": "service",
            "method_type": "custom",
            "operation": "get",
            "path": "/v1/invoices/upcoming/lines"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/invoices"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/invoices/{invoice}"
          },
          {
            "method_name": "add_lines",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/invoices/{invoice}/add_lines"
          },
          {
            "method_name": "finalize_invoice",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/invoices/{invoice}/finalize"
          },
          {
            "method_name": "mark_uncollectible",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/invoices/{invoice}/mark_uncollectible"
          },
          {
            "method_name": "pay",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/invoices/{invoice}/pay"
          },
          {
            "method_name": "remove_lines",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/invoices/{invoice}/remove_lines"
          },
          {
            "method_name": "send_invoice",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/invoices/{invoice}/send"
          },
          {
            "method_name": "update_lines",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/invoices/{invoice}/update_lines"
          },
          {
            "method_name": "void_invoice",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/invoices/{invoice}/void"
          },
          {
            "method_name": "create_preview",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/invoices/create_preview"
          }
        ],
        "x-stripeResource": {
          "class_name": "Invoice",
          "has_collection_class": true,
          "has_search_result_class": true,
          "in_package": ""
        }
      },
      "invoice.created": {
        "description": "Occurs whenever a new invoice is created. To learn how webhooks can be used with this event, and how they can affect it, see [Using Webhooks with Subscriptions](https://docs.stripe.com/subscriptions/webhooks).",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/invoice"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "invoice.created"
        }
      },
      "invoice.deleted": {
        "description": "Occurs whenever a draft invoice is deleted. Note: This event is not sent for [invoice previews](https://docs.stripe.com/api/invoices/create_preview).",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/invoice"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "invoice.deleted"
        }
      },
      "invoice.finalization_failed": {
        "description": "Occurs whenever a draft invoice cannot be finalized. See the invoice’s [last finalization error](https://docs.stripe.com/api/invoices/object#invoice_object-last_finalization_error) for details.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/invoice"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "invoice.finalization_failed"
        }
      },
      "invoice.finalized": {
        "description": "Occurs whenever a draft invoice is finalized and updated to be an open invoice.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/invoice"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "invoice.finalized"
        }
      },
      "invoice.marked_uncollectible": {
        "description": "Occurs whenever an invoice is marked uncollectible.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/invoice"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "invoice.marked_uncollectible"
        }
      },
      "invoice.overdue": {
        "description": "Occurs X number of days after an invoice becomes due&mdash;where X is determined by Automations",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/invoice"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "invoice.overdue"
        }
      },
      "invoice.paid": {
        "description": "Occurs whenever an invoice payment attempt succeeds or an invoice is marked as paid out-of-band.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/invoice"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "invoice.paid"
        }
      },
      "invoice.payment_action_required": {
        "description": "Occurs whenever an invoice payment attempt requires further user action to complete.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/invoice"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "invoice.payment_action_required"
        }
      },
      "invoice.payment_failed": {
        "description": "Occurs whenever an invoice payment attempt fails, due either to a declined payment or to the lack of a stored payment method.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/invoice"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "invoice.payment_failed"
        }
      },
      "invoice.payment_succeeded": {
        "description": "Occurs whenever an invoice payment attempt succeeds.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/invoice"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "invoice.payment_succeeded"
        }
      },
      "invoice.sent": {
        "description": "Occurs whenever an invoice email is sent out.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/invoice"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "invoice.sent"
        }
      },
      "invoice.upcoming": {
        "description": "Occurs X number of days before a subscription is scheduled to create an invoice that is automatically charged&mdash;where X is determined by your [subscriptions settings](https://dashboard.stripe.com/account/billing/automatic). Note: The received `Invoice` object will not have an invoice ID.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/invoice"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "invoice.upcoming"
        }
      },
      "invoice.updated": {
        "description": "Occurs whenever an invoice changes (e.g., the invoice amount).",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/invoice"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "invoice.updated"
        }
      },
      "invoice.voided": {
        "description": "Occurs whenever an invoice is voided.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/invoice"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "invoice.voided"
        }
      },
      "invoice.will_be_due": {
        "description": "Occurs X number of days before an invoice becomes due&mdash;where X is determined by Automations",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/invoice"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "invoice.will_be_due"
        }
      },
      "invoice_installments_card": {
        "description": "",
        "properties": {
          "enabled": {
            "description": "Whether Installments are enabled for this Invoice.",
            "nullable": true,
            "type": "boolean"
          }
        },
        "required": [
          "enabled"
        ],
        "title": "invoice_installments_card",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "enabled"
        ]
      },
      "invoice_item_threshold_reason": {
        "description": "",
        "properties": {
          "line_item_ids": {
            "description": "The IDs of the line items that triggered the threshold invoice.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "usage_gte": {
            "description": "The quantity threshold boundary that applied to the given line item.",
            "type": "integer"
          }
        },
        "required": [
          "line_item_ids",
          "usage_gte"
        ],
        "title": "InvoiceItemThresholdReason",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "line_item_ids",
          "usage_gte"
        ]
      },
      "invoice_line_item_period": {
        "description": "",
        "properties": {
          "end": {
            "description": "The end of the period, which must be greater than or equal to the start. This value is inclusive.",
            "format": "unix-time",
            "type": "integer"
          },
          "start": {
            "description": "The start of the period. This value is inclusive.",
            "format": "unix-time",
            "type": "integer"
          }
        },
        "required": [
          "end",
          "start"
        ],
        "title": "InvoiceLineItemPeriod",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "end",
          "start"
        ]
      },
      "invoice_mandate_options_card": {
        "description": "",
        "properties": {
          "amount": {
            "description": "Amount to be charged for future payments.",
            "nullable": true,
            "type": "integer"
          },
          "amount_type": {
            "description": "One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.",
            "enum": [
              "fixed",
              "maximum"
            ],
            "nullable": true,
            "type": "string"
          },
          "description": {
            "description": "A description of the mandate or subscription that is meant to be displayed to the customer.",
            "maxLength": 200,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "amount",
          "amount_type",
          "description"
        ],
        "title": "invoice_mandate_options_card",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "amount",
          "amount_type",
          "description"
        ]
      },
      "invoice_payment_method_options_acss_debit": {
        "description": "",
        "properties": {
          "mandate_options": {
            "$ref": "#/components/schemas/invoice_payment_method_options_acss_debit_mandate_options"
          },
          "verification_method": {
            "description": "Bank account verification method.",
            "enum": [
              "automatic",
              "instant",
              "microdeposits"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "title": "invoice_payment_method_options_acss_debit",
        "type": "object",
        "x-expandableFields": [
          "mandate_options"
        ],
        "x-stripeMostCommon": [
          "mandate_options",
          "verification_method"
        ]
      },
      "invoice_payment_method_options_acss_debit_mandate_options": {
        "description": "",
        "properties": {
          "transaction_type": {
            "description": "Transaction type of the mandate.",
            "enum": [
              "business",
              "personal"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "transaction_type"
        ],
        "title": "invoice_payment_method_options_acss_debit_mandate_options",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "transaction_type"
        ]
      },
      "invoice_payment_method_options_bancontact": {
        "description": "",
        "properties": {
          "preferred_language": {
            "description": "Preferred language of the Bancontact authorization page that the customer is redirected to.",
            "enum": [
              "de",
              "en",
              "fr",
              "nl"
            ],
            "type": "string"
          }
        },
        "required": [
          "preferred_language"
        ],
        "title": "invoice_payment_method_options_bancontact",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "preferred_language"
        ]
      },
      "invoice_payment_method_options_card": {
        "description": "",
        "properties": {
          "installments": {
            "$ref": "#/components/schemas/invoice_installments_card"
          },
          "request_three_d_secure": {
            "description": "We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.",
            "enum": [
              "any",
              "automatic",
              "challenge"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "request_three_d_secure"
        ],
        "title": "invoice_payment_method_options_card",
        "type": "object",
        "x-expandableFields": [
          "installments"
        ],
        "x-stripeMostCommon": [
          "installments",
          "request_three_d_secure"
        ]
      },
      "invoice_payment_method_options_customer_balance": {
        "description": "",
        "properties": {
          "bank_transfer": {
            "$ref": "#/components/schemas/invoice_payment_method_options_customer_balance_bank_transfer"
          },
          "funding_type": {
            "description": "The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.",
            "enum": [
              "bank_transfer"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "funding_type"
        ],
        "title": "invoice_payment_method_options_customer_balance",
        "type": "object",
        "x-expandableFields": [
          "bank_transfer"
        ],
        "x-stripeMostCommon": [
          "bank_transfer",
          "funding_type"
        ]
      },
      "invoice_payment_method_options_customer_balance_bank_transfer": {
        "description": "",
        "properties": {
          "eu_bank_transfer": {
            "$ref": "#/components/schemas/invoice_payment_method_options_customer_balance_bank_transfer_eu_bank_transfer"
          },
          "type": {
            "description": "The bank transfer type that can be used for funding. Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "title": "invoice_payment_method_options_customer_balance_bank_transfer",
        "type": "object",
        "x-expandableFields": [
          "eu_bank_transfer"
        ],
        "x-stripeMostCommon": [
          "eu_bank_transfer",
          "type"
        ]
      },
      "invoice_payment_method_options_customer_balance_bank_transfer_eu_bank_transfer": {
        "description": "",
        "properties": {
          "country": {
            "description": "The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.",
            "enum": [
              "BE",
              "DE",
              "ES",
              "FR",
              "IE",
              "NL"
            ],
            "type": "string"
          }
        },
        "required": [
          "country"
        ],
        "title": "invoice_payment_method_options_customer_balance_bank_transfer_eu_bank_transfer",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "country"
        ]
      },
      "invoice_payment_method_options_konbini": {
        "description": "",
        "properties": {},
        "title": "invoice_payment_method_options_konbini",
        "type": "object",
        "x-expandableFields": []
      },
      "invoice_payment_method_options_sepa_debit": {
        "description": "",
        "properties": {},
        "title": "invoice_payment_method_options_sepa_debit",
        "type": "object",
        "x-expandableFields": []
      },
      "invoice_payment_method_options_us_bank_account": {
        "description": "",
        "properties": {
          "financial_connections": {
            "$ref": "#/components/schemas/invoice_payment_method_options_us_bank_account_linked_account_options"
          },
          "verification_method": {
            "description": "Bank account verification method.",
            "enum": [
              "automatic",
              "instant",
              "microdeposits"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "title": "invoice_payment_method_options_us_bank_account",
        "type": "object",
        "x-expandableFields": [
          "financial_connections"
        ],
        "x-stripeMostCommon": [
          "financial_connections",
          "verification_method"
        ]
      },
      "invoice_payment_method_options_us_bank_account_linked_account_options": {
        "description": "",
        "properties": {
          "filters": {
            "$ref": "#/components/schemas/invoice_payment_method_options_us_bank_account_linked_account_options_filters"
          },
          "permissions": {
            "description": "The list of permissions to request. The `payment_method` permission must be included.",
            "items": {
              "enum": [
                "balances",
                "ownership",
                "payment_method",
                "transactions"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "prefetch": {
            "description": "Data features requested to be retrieved upon account creation.",
            "items": {
              "enum": [
                "balances",
                "ownership",
                "transactions"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "nullable": true,
            "type": "array"
          }
        },
        "required": [
          "prefetch"
        ],
        "title": "invoice_payment_method_options_us_bank_account_linked_account_options",
        "type": "object",
        "x-expandableFields": [
          "filters"
        ],
        "x-stripeMostCommon": [
          "filters",
          "permissions",
          "prefetch"
        ]
      },
      "invoice_payment_method_options_us_bank_account_linked_account_options_filters": {
        "description": "",
        "properties": {
          "account_subcategories": {
            "description": "The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.",
            "items": {
              "enum": [
                "checking",
                "savings"
              ],
              "type": "string"
            },
            "type": "array"
          }
        },
        "title": "invoice_payment_method_options_us_bank_account_linked_account_options_filters",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "account_subcategories"
        ]
      },
      "invoice_rendering_pdf": {
        "description": "",
        "properties": {
          "page_size": {
            "description": "Page size of invoice pdf. Options include a4, letter, and auto. If set to auto, page size will be switched to a4 or letter based on customer locale.",
            "enum": [
              "a4",
              "auto",
              "letter"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "page_size"
        ],
        "title": "InvoiceRenderingPdf",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "page_size"
        ]
      },
      "invoice_rendering_template": {
        "description": "Invoice Rendering Templates are used to configure how invoices are rendered on surfaces like the PDF. Invoice Rendering Templates\ncan be created from within the Dashboard, and they can be used over the API when creating invoices.",
        "properties": {
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "nullable": true,
            "type": "object"
          },
          "nickname": {
            "description": "A brief description of the template, hidden from customers",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "invoice_rendering_template"
            ],
            "type": "string"
          },
          "status": {
            "description": "The status of the template, one of `active` or `archived`.",
            "enum": [
              "active",
              "archived"
            ],
            "type": "string"
          },
          "version": {
            "description": "Version of this template; version increases by one when an update on the template changes any field that controls invoice rendering",
            "type": "integer"
          }
        },
        "required": [
          "created",
          "id",
          "livemode",
          "metadata",
          "nickname",
          "object",
          "status",
          "version"
        ],
        "title": "InvoiceRenderingTemplate",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "invoice_rendering_template",
        "x-stripeMostCommon": [
          "created",
          "id",
          "livemode",
          "metadata",
          "nickname",
          "object",
          "status",
          "version"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/invoice_rendering_templates"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/invoice_rendering_templates/{template}"
          },
          {
            "method_name": "archive",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/invoice_rendering_templates/{template}/archive"
          },
          {
            "method_name": "unarchive",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/invoice_rendering_templates/{template}/unarchive"
          }
        ],
        "x-stripeResource": {
          "class_name": "InvoiceRenderingTemplate",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "invoice_setting_custom_field": {
        "description": "",
        "properties": {
          "name": {
            "description": "The name of the custom field.",
            "maxLength": 5000,
            "type": "string"
          },
          "value": {
            "description": "The value of the custom field.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "name",
          "value"
        ],
        "title": "InvoiceSettingCustomField",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "name",
          "value"
        ]
      },
      "invoice_setting_customer_rendering_options": {
        "description": "",
        "properties": {
          "amount_tax_display": {
            "description": "How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "template": {
            "description": "ID of the invoice rendering template to be used for this customer's invoices. If set, the template will be used on all invoices for this customer unless a template is set directly on the invoice.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "amount_tax_display",
          "template"
        ],
        "title": "InvoiceSettingCustomerRenderingOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "amount_tax_display",
          "template"
        ]
      },
      "invoice_setting_customer_setting": {
        "description": "",
        "properties": {
          "custom_fields": {
            "description": "Default custom fields to be displayed on invoices for this customer.",
            "items": {
              "$ref": "#/components/schemas/invoice_setting_custom_field"
            },
            "nullable": true,
            "type": "array"
          },
          "default_payment_method": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_method"
              }
            ],
            "description": "ID of a payment method that's attached to the customer, to be used as the customer's default payment method for subscriptions and invoices.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_method"
                }
              ]
            }
          },
          "footer": {
            "description": "Default footer to be displayed on invoices for this customer.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "rendering_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/invoice_setting_customer_rendering_options"
              }
            ],
            "description": "Default options for invoice PDF rendering for this customer.",
            "nullable": true
          }
        },
        "required": [
          "custom_fields",
          "default_payment_method",
          "footer",
          "rendering_options"
        ],
        "title": "InvoiceSettingCustomerSetting",
        "type": "object",
        "x-expandableFields": [
          "custom_fields",
          "default_payment_method",
          "rendering_options"
        ],
        "x-stripeMostCommon": [
          "custom_fields",
          "default_payment_method",
          "footer",
          "rendering_options"
        ]
      },
      "invoice_setting_quote_setting": {
        "description": "",
        "properties": {
          "days_until_due": {
            "description": "Number of days within which a customer must pay invoices generated by this quote. This value will be `null` for quotes where `collection_method=charge_automatically`.",
            "nullable": true,
            "type": "integer"
          },
          "issuer": {
            "$ref": "#/components/schemas/connect_account_reference"
          }
        },
        "required": [
          "days_until_due",
          "issuer"
        ],
        "title": "InvoiceSettingQuoteSetting",
        "type": "object",
        "x-expandableFields": [
          "issuer"
        ],
        "x-stripeMostCommon": [
          "days_until_due",
          "issuer"
        ]
      },
      "invoice_setting_rendering_options": {
        "description": "",
        "properties": {
          "amount_tax_display": {
            "description": "How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "amount_tax_display"
        ],
        "title": "InvoiceSettingRenderingOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "amount_tax_display"
        ]
      },
      "invoice_setting_subscription_schedule_phase_setting": {
        "description": "",
        "properties": {
          "account_tax_ids": {
            "description": "The account tax IDs associated with this phase of the subscription schedule. Will be set on invoices generated by this phase of the subscription schedule.",
            "items": {
              "anyOf": [
                {
                  "maxLength": 5000,
                  "type": "string"
                },
                {
                  "$ref": "#/components/schemas/tax_id"
                },
                {
                  "$ref": "#/components/schemas/deleted_tax_id"
                }
              ],
              "x-expansionResources": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/tax_id"
                  },
                  {
                    "$ref": "#/components/schemas/deleted_tax_id"
                  }
                ]
              }
            },
            "nullable": true,
            "type": "array"
          },
          "days_until_due": {
            "description": "Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`.",
            "nullable": true,
            "type": "integer"
          },
          "issuer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/connect_account_reference"
              }
            ],
            "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.",
            "nullable": true
          }
        },
        "required": [
          "account_tax_ids",
          "days_until_due",
          "issuer"
        ],
        "title": "InvoiceSettingSubscriptionSchedulePhaseSetting",
        "type": "object",
        "x-expandableFields": [
          "account_tax_ids",
          "issuer"
        ],
        "x-stripeMostCommon": [
          "account_tax_ids",
          "days_until_due",
          "issuer"
        ]
      },
      "invoice_setting_subscription_schedule_setting": {
        "description": "",
        "properties": {
          "account_tax_ids": {
            "description": "The account tax IDs associated with the subscription schedule. Will be set on invoices generated by the subscription schedule.",
            "items": {
              "anyOf": [
                {
                  "maxLength": 5000,
                  "type": "string"
                },
                {
                  "$ref": "#/components/schemas/tax_id"
                },
                {
                  "$ref": "#/components/schemas/deleted_tax_id"
                }
              ],
              "x-expansionResources": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/tax_id"
                  },
                  {
                    "$ref": "#/components/schemas/deleted_tax_id"
                  }
                ]
              }
            },
            "nullable": true,
            "type": "array"
          },
          "days_until_due": {
            "description": "Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`.",
            "nullable": true,
            "type": "integer"
          },
          "issuer": {
            "$ref": "#/components/schemas/connect_account_reference"
          }
        },
        "required": [
          "account_tax_ids",
          "days_until_due",
          "issuer"
        ],
        "title": "InvoiceSettingSubscriptionScheduleSetting",
        "type": "object",
        "x-expandableFields": [
          "account_tax_ids",
          "issuer"
        ],
        "x-stripeMostCommon": [
          "account_tax_ids",
          "days_until_due",
          "issuer"
        ]
      },
      "invoice_tax_amount": {
        "description": "",
        "properties": {
          "amount": {
            "description": "The amount, in cents (or local equivalent), of the tax.",
            "type": "integer"
          },
          "inclusive": {
            "description": "Whether this tax amount is inclusive or exclusive.",
            "type": "boolean"
          },
          "tax_rate": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/tax_rate"
              }
            ],
            "description": "The tax rate that was applied to get this tax amount.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/tax_rate"
                }
              ]
            }
          },
          "taxability_reason": {
            "description": "The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported.",
            "enum": [
              "customer_exempt",
              "not_collecting",
              "not_subject_to_tax",
              "not_supported",
              "portion_product_exempt",
              "portion_reduced_rated",
              "portion_standard_rated",
              "product_exempt",
              "product_exempt_holiday",
              "proportionally_rated",
              "reduced_rated",
              "reverse_charge",
              "standard_rated",
              "taxable_basis_reduced",
              "zero_rated"
            ],
            "nullable": true,
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "taxable_amount": {
            "description": "The amount on which tax is calculated, in cents (or local equivalent).",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "amount",
          "inclusive",
          "tax_rate",
          "taxability_reason",
          "taxable_amount"
        ],
        "title": "InvoiceTaxAmount",
        "type": "object",
        "x-expandableFields": [
          "tax_rate"
        ],
        "x-stripeMostCommon": [
          "amount",
          "inclusive",
          "tax_rate",
          "taxability_reason",
          "taxable_amount"
        ]
      },
      "invoice_threshold_reason": {
        "description": "",
        "properties": {
          "amount_gte": {
            "description": "The total invoice amount threshold boundary if it triggered the threshold invoice.",
            "nullable": true,
            "type": "integer"
          },
          "item_reasons": {
            "description": "Indicates which line items triggered a threshold invoice.",
            "items": {
              "$ref": "#/components/schemas/invoice_item_threshold_reason"
            },
            "type": "array"
          }
        },
        "required": [
          "amount_gte",
          "item_reasons"
        ],
        "title": "InvoiceThresholdReason",
        "type": "object",
        "x-expandableFields": [
          "item_reasons"
        ],
        "x-stripeMostCommon": [
          "amount_gte",
          "item_reasons"
        ]
      },
      "invoice_transfer_data": {
        "description": "",
        "properties": {
          "amount": {
            "description": "The amount in cents (or local equivalent) that will be transferred to the destination account when the invoice is paid. By default, the entire amount is transferred to the destination.",
            "nullable": true,
            "type": "integer"
          },
          "destination": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/account"
              }
            ],
            "description": "The account where funds from the payment will be transferred to upon payment success.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/account"
                }
              ]
            }
          }
        },
        "required": [
          "amount",
          "destination"
        ],
        "title": "InvoiceTransferData",
        "type": "object",
        "x-expandableFields": [
          "destination"
        ],
        "x-stripeMostCommon": [
          "amount",
          "destination"
        ]
      },
      "invoiceitem": {
        "description": "Invoice Items represent the component lines of an [invoice](https://stripe.com/docs/api/invoices). An invoice item is added to an\ninvoice by creating or updating it with an `invoice` field, at which point it will be included as\n[an invoice line item](https://stripe.com/docs/api/invoices/line_item) within\n[invoice.lines](https://stripe.com/docs/api/invoices/object#invoice_object-lines).\n\nInvoice Items can be created before you are ready to actually send the invoice. This can be particularly useful when combined\nwith a [subscription](https://stripe.com/docs/api/subscriptions). Sometimes you want to add a charge or credit to a customer, but actually charge\nor credit the customer’s card only at the end of a regular billing cycle. This is useful for combining several charges\n(to minimize per-transaction fees), or for having Stripe tabulate your usage-based billing totals.\n\nRelated guides: [Integrate with the Invoicing API](https://stripe.com/docs/invoicing/integration), [Subscription Invoices](https://stripe.com/docs/billing/invoices/subscription#adding-upcoming-invoice-items).",
        "properties": {
          "amount": {
            "description": "Amount (in the `currency` specified) of the invoice item. This should always be equal to `unit_amount * quantity`.",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "customer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer"
              },
              {
                "$ref": "#/components/schemas/deleted_customer"
              }
            ],
            "description": "The ID of the customer who will be billed when this invoice item is billed.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer"
                },
                {
                  "$ref": "#/components/schemas/deleted_customer"
                }
              ]
            }
          },
          "date": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "description": {
            "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "discountable": {
            "description": "If true, discounts will apply to this invoice item. Always false for prorations.",
            "type": "boolean"
          },
          "discounts": {
            "description": "The discounts which apply to the invoice item. Item discounts are applied before invoice discounts. Use `expand[]=discounts` to expand each discount.",
            "items": {
              "anyOf": [
                {
                  "maxLength": 5000,
                  "type": "string"
                },
                {
                  "$ref": "#/components/schemas/discount"
                }
              ],
              "x-expansionResources": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/discount"
                  }
                ]
              }
            },
            "nullable": true,
            "type": "array"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "invoice": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/invoice"
              }
            ],
            "description": "The ID of the invoice this invoice item belongs to.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/invoice"
                }
              ]
            }
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "nullable": true,
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "invoiceitem"
            ],
            "type": "string"
          },
          "period": {
            "$ref": "#/components/schemas/invoice_line_item_period"
          },
          "plan": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/plan"
              }
            ],
            "description": "If the invoice item is a proration, the plan of the subscription that the proration was computed for.",
            "nullable": true
          },
          "price": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/price"
              }
            ],
            "description": "The price of the invoice item.",
            "nullable": true
          },
          "proration": {
            "description": "Whether the invoice item was created automatically as a proration adjustment when the customer switched plans.",
            "type": "boolean"
          },
          "quantity": {
            "description": "Quantity of units for the invoice item. If the invoice item is a proration, the quantity of the subscription that the proration was computed for.",
            "type": "integer"
          },
          "subscription": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/subscription"
              }
            ],
            "description": "The subscription that this invoice item has been created for, if any.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/subscription"
                }
              ]
            }
          },
          "subscription_item": {
            "description": "The subscription item that this invoice item has been created for, if any.",
            "maxLength": 5000,
            "type": "string"
          },
          "tax_rates": {
            "description": "The tax rates which apply to the invoice item. When set, the `default_tax_rates` on the invoice do not apply to this invoice item.",
            "items": {
              "$ref": "#/components/schemas/tax_rate"
            },
            "nullable": true,
            "type": "array"
          },
          "test_clock": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/test_helpers.test_clock"
              }
            ],
            "description": "ID of the test clock this invoice item belongs to.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/test_helpers.test_clock"
                }
              ]
            }
          },
          "unit_amount": {
            "description": "Unit amount (in the `currency` specified) of the invoice item.",
            "nullable": true,
            "type": "integer"
          },
          "unit_amount_decimal": {
            "description": "Same as `unit_amount`, but contains a decimal value with at most 12 decimal places.",
            "format": "decimal",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "amount",
          "currency",
          "customer",
          "date",
          "description",
          "discountable",
          "discounts",
          "id",
          "invoice",
          "livemode",
          "metadata",
          "object",
          "period",
          "plan",
          "price",
          "proration",
          "quantity",
          "subscription",
          "tax_rates",
          "test_clock",
          "unit_amount",
          "unit_amount_decimal"
        ],
        "title": "InvoiceItem",
        "type": "object",
        "x-expandableFields": [
          "customer",
          "discounts",
          "invoice",
          "period",
          "plan",
          "price",
          "subscription",
          "tax_rates",
          "test_clock"
        ],
        "x-resourceId": "invoiceitem",
        "x-stripeMostCommon": [
          "amount",
          "currency",
          "customer",
          "description",
          "id",
          "metadata",
          "period",
          "price",
          "proration"
        ],
        "x-stripeOperations": [
          {
            "method_name": "delete",
            "method_on": "service",
            "method_type": "delete",
            "operation": "delete",
            "path": "/v1/invoiceitems/{invoiceitem}"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/invoiceitems"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/invoiceitems/{invoiceitem}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/invoiceitems"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/invoiceitems/{invoiceitem}"
          }
        ],
        "x-stripeResource": {
          "class_name": "InvoiceItem",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "invoiceitem.created": {
        "description": "Occurs whenever an invoice item is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/invoiceitem"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "invoiceitem.created"
        }
      },
      "invoiceitem.deleted": {
        "description": "Occurs whenever an invoice item is deleted.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/invoiceitem"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "invoiceitem.deleted"
        }
      },
      "invoices_payment_method_options": {
        "description": "",
        "properties": {
          "acss_debit": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/invoice_payment_method_options_acss_debit"
              }
            ],
            "description": "If paying by `acss_debit`, this sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to the invoice’s PaymentIntent.",
            "nullable": true
          },
          "bancontact": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/invoice_payment_method_options_bancontact"
              }
            ],
            "description": "If paying by `bancontact`, this sub-hash contains details about the Bancontact payment method options to pass to the invoice’s PaymentIntent.",
            "nullable": true
          },
          "card": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/invoice_payment_method_options_card"
              }
            ],
            "description": "If paying by `card`, this sub-hash contains details about the Card payment method options to pass to the invoice’s PaymentIntent.",
            "nullable": true
          },
          "customer_balance": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/invoice_payment_method_options_customer_balance"
              }
            ],
            "description": "If paying by `customer_balance`, this sub-hash contains details about the Bank transfer payment method options to pass to the invoice’s PaymentIntent.",
            "nullable": true
          },
          "konbini": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/invoice_payment_method_options_konbini"
              }
            ],
            "description": "If paying by `konbini`, this sub-hash contains details about the Konbini payment method options to pass to the invoice’s PaymentIntent.",
            "nullable": true
          },
          "sepa_debit": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/invoice_payment_method_options_sepa_debit"
              }
            ],
            "description": "If paying by `sepa_debit`, this sub-hash contains details about the SEPA Direct Debit payment method options to pass to the invoice’s PaymentIntent.",
            "nullable": true
          },
          "us_bank_account": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/invoice_payment_method_options_us_bank_account"
              }
            ],
            "description": "If paying by `us_bank_account`, this sub-hash contains details about the ACH direct debit payment method options to pass to the invoice’s PaymentIntent.",
            "nullable": true
          }
        },
        "required": [
          "acss_debit",
          "bancontact",
          "card",
          "customer_balance",
          "konbini",
          "sepa_debit",
          "us_bank_account"
        ],
        "title": "InvoicesPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [
          "acss_debit",
          "bancontact",
          "card",
          "customer_balance",
          "konbini",
          "sepa_debit",
          "us_bank_account"
        ],
        "x-stripeMostCommon": [
          "acss_debit",
          "bancontact",
          "card",
          "customer_balance",
          "konbini",
          "sepa_debit",
          "us_bank_account"
        ]
      },
      "invoices_payment_settings": {
        "description": "",
        "properties": {
          "default_mandate": {
            "description": "ID of the mandate to be used for this invoice. It must correspond to the payment method used to pay the invoice, including the invoice's default_payment_method or default_source, if set.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "payment_method_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/invoices_payment_method_options"
              }
            ],
            "description": "Payment-method-specific configuration to provide to the invoice’s PaymentIntent.",
            "nullable": true
          },
          "payment_method_types": {
            "description": "The list of payment method types (e.g. card) to provide to the invoice’s PaymentIntent. If not set, Stripe attempts to automatically determine the types to use by looking at the invoice’s default payment method, the subscription’s default payment method, the customer’s default payment method, and your [invoice template settings](https://dashboard.stripe.com/settings/billing/invoice).",
            "items": {
              "enum": [
                "ach_credit_transfer",
                "ach_debit",
                "acss_debit",
                "amazon_pay",
                "au_becs_debit",
                "bacs_debit",
                "bancontact",
                "boleto",
                "card",
                "cashapp",
                "customer_balance",
                "eps",
                "fpx",
                "giropay",
                "grabpay",
                "ideal",
                "jp_credit_transfer",
                "kakao_pay",
                "konbini",
                "kr_card",
                "link",
                "multibanco",
                "naver_pay",
                "p24",
                "payco",
                "paynow",
                "paypal",
                "promptpay",
                "revolut_pay",
                "sepa_credit_transfer",
                "sepa_debit",
                "sofort",
                "swish",
                "us_bank_account",
                "wechat_pay"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "nullable": true,
            "type": "array"
          }
        },
        "required": [
          "default_mandate",
          "payment_method_options",
          "payment_method_types"
        ],
        "title": "InvoicesPaymentSettings",
        "type": "object",
        "x-expandableFields": [
          "payment_method_options"
        ],
        "x-stripeMostCommon": [
          "default_mandate",
          "payment_method_options",
          "payment_method_types"
        ]
      },
      "invoices_resource_from_invoice": {
        "description": "",
        "properties": {
          "action": {
            "description": "The relation between this invoice and the cloned invoice",
            "maxLength": 5000,
            "type": "string"
          },
          "invoice": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/invoice"
              }
            ],
            "description": "The invoice that was cloned.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/invoice"
                }
              ]
            }
          }
        },
        "required": [
          "action",
          "invoice"
        ],
        "title": "InvoicesResourceFromInvoice",
        "type": "object",
        "x-expandableFields": [
          "invoice"
        ],
        "x-stripeMostCommon": [
          "action",
          "invoice"
        ]
      },
      "invoices_resource_invoice_rendering": {
        "description": "",
        "properties": {
          "amount_tax_display": {
            "description": "How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "pdf": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/invoice_rendering_pdf"
              }
            ],
            "description": "Invoice pdf rendering options",
            "nullable": true
          },
          "template": {
            "description": "ID of the rendering template that the invoice is formatted by.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "template_version": {
            "description": "Version of the rendering template that the invoice is using.",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "amount_tax_display",
          "pdf",
          "template",
          "template_version"
        ],
        "title": "InvoicesResourceInvoiceRendering",
        "type": "object",
        "x-expandableFields": [
          "pdf"
        ],
        "x-stripeMostCommon": [
          "amount_tax_display",
          "pdf",
          "template",
          "template_version"
        ]
      },
      "invoices_resource_invoice_tax_id": {
        "description": "",
        "properties": {
          "type": {
            "description": "The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, or `unknown`",
            "enum": [
              "ad_nrt",
              "ae_trn",
              "ar_cuit",
              "au_abn",
              "au_arn",
              "bg_uic",
              "bh_vat",
              "bo_tin",
              "br_cnpj",
              "br_cpf",
              "by_tin",
              "ca_bn",
              "ca_gst_hst",
              "ca_pst_bc",
              "ca_pst_mb",
              "ca_pst_sk",
              "ca_qst",
              "ch_uid",
              "ch_vat",
              "cl_tin",
              "cn_tin",
              "co_nit",
              "cr_tin",
              "de_stn",
              "do_rcn",
              "ec_ruc",
              "eg_tin",
              "es_cif",
              "eu_oss_vat",
              "eu_vat",
              "gb_vat",
              "ge_vat",
              "hk_br",
              "hr_oib",
              "hu_tin",
              "id_npwp",
              "il_vat",
              "in_gst",
              "is_vat",
              "jp_cn",
              "jp_rn",
              "jp_trn",
              "ke_pin",
              "kr_brn",
              "kz_bin",
              "li_uid",
              "li_vat",
              "ma_vat",
              "md_vat",
              "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",
              "tz_vat",
              "ua_vat",
              "unknown",
              "us_ein",
              "uy_ruc",
              "uz_tin",
              "uz_vat",
              "ve_rif",
              "vn_tin",
              "za_vat"
            ],
            "type": "string"
          },
          "value": {
            "description": "The value of the tax ID.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "type",
          "value"
        ],
        "title": "InvoicesResourceInvoiceTaxID",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "type",
          "value"
        ]
      },
      "invoices_resource_line_items_credited_items": {
        "description": "",
        "properties": {
          "invoice": {
            "description": "Invoice containing the credited invoice line items",
            "maxLength": 5000,
            "type": "string"
          },
          "invoice_line_items": {
            "description": "Credited invoice line items",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "invoice",
          "invoice_line_items"
        ],
        "title": "InvoicesResourceLineItemsCreditedItems",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "invoice",
          "invoice_line_items"
        ]
      },
      "invoices_resource_line_items_proration_details": {
        "description": "",
        "properties": {
          "credited_items": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/invoices_resource_line_items_credited_items"
              }
            ],
            "description": "For a credit proration `line_item`, the original debit line_items to which the credit proration applies.",
            "nullable": true
          }
        },
        "required": [
          "credited_items"
        ],
        "title": "InvoicesResourceLineItemsProrationDetails",
        "type": "object",
        "x-expandableFields": [
          "credited_items"
        ],
        "x-stripeMostCommon": [
          "credited_items"
        ]
      },
      "invoices_resource_pretax_credit_amount": {
        "description": "",
        "properties": {
          "amount": {
            "description": "The amount, in cents (or local equivalent), of the pretax credit amount.",
            "type": "integer"
          },
          "credit_balance_transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/billing.credit_balance_transaction"
              }
            ],
            "description": "The credit balance transaction that was applied to get this pretax credit amount.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/billing.credit_balance_transaction"
                }
              ]
            }
          },
          "discount": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/discount"
              },
              {
                "$ref": "#/components/schemas/deleted_discount"
              }
            ],
            "description": "The discount that was applied to get this pretax credit amount.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/discount"
                },
                {
                  "$ref": "#/components/schemas/deleted_discount"
                }
              ]
            }
          },
          "type": {
            "description": "Type of the pretax credit amount referenced.",
            "enum": [
              "credit_balance_transaction",
              "discount"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "amount",
          "type"
        ],
        "title": "InvoicesResourcePretaxCreditAmount",
        "type": "object",
        "x-expandableFields": [
          "credit_balance_transaction",
          "discount"
        ],
        "x-stripeMostCommon": [
          "amount",
          "credit_balance_transaction",
          "discount",
          "type"
        ]
      },
      "invoices_resource_shipping_cost": {
        "description": "",
        "properties": {
          "amount_subtotal": {
            "description": "Total shipping cost before any taxes are applied.",
            "type": "integer"
          },
          "amount_tax": {
            "description": "Total tax amount applied due to shipping costs. If no tax was applied, defaults to 0.",
            "type": "integer"
          },
          "amount_total": {
            "description": "Total shipping cost after taxes are applied.",
            "type": "integer"
          },
          "shipping_rate": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/shipping_rate"
              }
            ],
            "description": "The ID of the ShippingRate for this invoice.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/shipping_rate"
                }
              ]
            }
          },
          "taxes": {
            "description": "The taxes applied to the shipping rate.",
            "items": {
              "$ref": "#/components/schemas/line_items_tax_amount"
            },
            "type": "array"
          }
        },
        "required": [
          "amount_subtotal",
          "amount_tax",
          "amount_total",
          "shipping_rate"
        ],
        "title": "InvoicesResourceShippingCost",
        "type": "object",
        "x-expandableFields": [
          "shipping_rate",
          "taxes"
        ],
        "x-stripeMostCommon": [
          "amount_subtotal",
          "amount_tax",
          "amount_total",
          "shipping_rate",
          "taxes"
        ]
      },
      "invoices_resource_status_transitions": {
        "description": "",
        "properties": {
          "finalized_at": {
            "description": "The time that the invoice draft was finalized.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "marked_uncollectible_at": {
            "description": "The time that the invoice was marked uncollectible.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "paid_at": {
            "description": "The time that the invoice was paid.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "voided_at": {
            "description": "The time that the invoice was voided.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "finalized_at",
          "marked_uncollectible_at",
          "paid_at",
          "voided_at"
        ],
        "title": "InvoicesResourceStatusTransitions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "finalized_at",
          "marked_uncollectible_at",
          "paid_at",
          "voided_at"
        ]
      },
      "issuing.authorization": {
        "description": "When an [issued card](https://stripe.com/docs/issuing) is used to make a purchase, an Issuing `Authorization`\nobject is created. [Authorizations](https://stripe.com/docs/issuing/purchases/authorizations) must be approved for the\npurchase to be completed successfully.\n\nRelated guide: [Issued card authorizations](https://stripe.com/docs/issuing/purchases/authorizations)",
        "properties": {
          "amount": {
            "description": "The total amount that was authorized or rejected. This amount is in `currency` and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). `amount` should be the same as `merchant_amount`, unless `currency` and `merchant_currency` are different.",
            "type": "integer"
          },
          "amount_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_authorization_amount_details"
              }
            ],
            "description": "Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
            "nullable": true
          },
          "approved": {
            "description": "Whether the authorization has been approved.",
            "type": "boolean"
          },
          "authorization_method": {
            "description": "How the card details were provided.",
            "enum": [
              "chip",
              "contactless",
              "keyed_in",
              "online",
              "swipe"
            ],
            "type": "string"
          },
          "balance_transactions": {
            "description": "List of balance transactions associated with this authorization.",
            "items": {
              "$ref": "#/components/schemas/balance_transaction"
            },
            "type": "array"
          },
          "card": {
            "$ref": "#/components/schemas/issuing.card"
          },
          "cardholder": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/issuing.cardholder"
              }
            ],
            "description": "The cardholder to whom this authorization belongs.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/issuing.cardholder"
                }
              ]
            }
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "The currency of the cardholder. This currency can be different from the currency presented at authorization and the `merchant_currency` field on this authorization. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "fleet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_authorization_fleet_data"
              }
            ],
            "description": "Fleet-specific information for authorizations using Fleet cards.",
            "nullable": true
          },
          "fraud_challenges": {
            "description": "Fraud challenges sent to the cardholder, if this authorization was declined for fraud risk reasons.",
            "items": {
              "$ref": "#/components/schemas/issuing_authorization_fraud_challenge"
            },
            "nullable": true,
            "type": "array"
          },
          "fuel": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_authorization_fuel_data"
              }
            ],
            "description": "Information about fuel that was purchased with this transaction. Typically this information is received from the merchant after the authorization has been approved and the fuel dispensed.",
            "nullable": true
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "merchant_amount": {
            "description": "The total amount that was authorized or rejected. This amount is in the `merchant_currency` and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). `merchant_amount` should be the same as `amount`, unless `merchant_currency` and `currency` are different.",
            "type": "integer"
          },
          "merchant_currency": {
            "description": "The local currency that was presented to the cardholder for the authorization. This currency can be different from the cardholder currency and the `currency` field on this authorization. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "merchant_data": {
            "$ref": "#/components/schemas/issuing_authorization_merchant_data"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "network_data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_authorization_network_data"
              }
            ],
            "description": "Details about the authorization, such as identifiers, set by the card network.",
            "nullable": true
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "issuing.authorization"
            ],
            "type": "string"
          },
          "pending_request": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_authorization_pending_request"
              }
            ],
            "description": "The pending authorization request. This field will only be non-null during an `issuing_authorization.request` webhook.",
            "nullable": true
          },
          "request_history": {
            "description": "History of every time a `pending_request` authorization was approved/declined, either by you directly or by Stripe (e.g. based on your spending_controls). If the merchant changes the authorization by performing an incremental authorization, you can look at this field to see the previous requests for the authorization. This field can be helpful in determining why a given authorization was approved/declined.",
            "items": {
              "$ref": "#/components/schemas/issuing_authorization_request"
            },
            "type": "array"
          },
          "status": {
            "description": "The current status of the authorization in its lifecycle.",
            "enum": [
              "closed",
              "pending",
              "reversed"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "token": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/issuing.token"
              }
            ],
            "description": "[Token](https://stripe.com/docs/api/issuing/tokens/object) object used for this authorization. If a network token was not used for this authorization, this field will be null.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/issuing.token"
                }
              ]
            }
          },
          "transactions": {
            "description": "List of [transactions](https://stripe.com/docs/api/issuing/transactions) associated with this authorization.",
            "items": {
              "$ref": "#/components/schemas/issuing.transaction"
            },
            "type": "array"
          },
          "treasury": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_authorization_treasury"
              }
            ],
            "description": "[Treasury](https://stripe.com/docs/api/treasury) details related to this authorization if it was created on a [FinancialAccount](https://stripe.com/docs/api/treasury/financial_accounts).",
            "nullable": true
          },
          "verification_data": {
            "$ref": "#/components/schemas/issuing_authorization_verification_data"
          },
          "verified_by_fraud_challenge": {
            "description": "Whether the authorization bypassed fraud risk checks because the cardholder has previously completed a fraud challenge on a similar high-risk authorization from the same merchant.",
            "nullable": true,
            "type": "boolean"
          },
          "wallet": {
            "description": "The digital wallet used for this transaction. One of `apple_pay`, `google_pay`, or `samsung_pay`. Will populate as `null` when no digital wallet was utilized.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "amount",
          "amount_details",
          "approved",
          "authorization_method",
          "balance_transactions",
          "card",
          "cardholder",
          "created",
          "currency",
          "fleet",
          "fuel",
          "id",
          "livemode",
          "merchant_amount",
          "merchant_currency",
          "merchant_data",
          "metadata",
          "network_data",
          "object",
          "pending_request",
          "request_history",
          "status",
          "transactions",
          "verification_data",
          "wallet"
        ],
        "title": "IssuingAuthorization",
        "type": "object",
        "x-expandableFields": [
          "amount_details",
          "balance_transactions",
          "card",
          "cardholder",
          "fleet",
          "fraud_challenges",
          "fuel",
          "merchant_data",
          "network_data",
          "pending_request",
          "request_history",
          "token",
          "transactions",
          "treasury",
          "verification_data"
        ],
        "x-resourceId": "issuing.authorization",
        "x-stripeMostCommon": [
          "amount",
          "approved",
          "card",
          "cardholder",
          "currency",
          "id",
          "metadata",
          "status"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/issuing/authorizations"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/issuing/authorizations/{authorization}"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/issuing/authorizations/{authorization}"
          },
          {
            "method_name": "approve",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/issuing/authorizations/{authorization}/approve"
          },
          {
            "method_name": "decline",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/issuing/authorizations/{authorization}/decline"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/test_helpers/issuing/authorizations"
          },
          {
            "method_name": "capture",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/issuing/authorizations/{authorization}/capture"
          },
          {
            "method_name": "expire",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/issuing/authorizations/{authorization}/expire"
          },
          {
            "method_name": "finalize_amount",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/issuing/authorizations/{authorization}/finalize_amount"
          },
          {
            "method_name": "respond",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/issuing/authorizations/{authorization}/fraud_challenges/respond"
          },
          {
            "method_name": "increment",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/issuing/authorizations/{authorization}/increment"
          },
          {
            "method_name": "reverse",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/issuing/authorizations/{authorization}/reverse"
          }
        ],
        "x-stripeResource": {
          "class_name": "Authorization",
          "has_collection_class": true,
          "in_package": "Issuing",
          "polymorphic_groups": [
            "balance_transaction_source"
          ]
        }
      },
      "issuing.card": {
        "description": "You can [create physical or virtual cards](https://stripe.com/docs/issuing) that are issued to cardholders.",
        "properties": {
          "brand": {
            "description": "The brand of the card.",
            "maxLength": 5000,
            "type": "string"
          },
          "cancellation_reason": {
            "description": "The reason why the card was canceled.",
            "enum": [
              "design_rejected",
              "lost",
              "stolen"
            ],
            "nullable": true,
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "cardholder": {
            "$ref": "#/components/schemas/issuing.cardholder"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Supported currencies are `usd` in the US, `eur` in the EU, and `gbp` in the UK.",
            "type": "string"
          },
          "cvc": {
            "description": "The card's CVC. For security reasons, this is only available for virtual cards, and will be omitted unless you explicitly request it with [the `expand` parameter](https://stripe.com/docs/api/expanding_objects). Additionally, it's only available via the [\"Retrieve a card\" endpoint](https://stripe.com/docs/api/issuing/cards/retrieve), not via \"List all cards\" or any other endpoint.",
            "maxLength": 5000,
            "type": "string"
          },
          "exp_month": {
            "description": "The expiration month of the card.",
            "type": "integer"
          },
          "exp_year": {
            "description": "The expiration year of the card.",
            "type": "integer"
          },
          "financial_account": {
            "description": "The financial account this card is attached to.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "last4": {
            "description": "The last 4 digits of the card number.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "number": {
            "description": "The full unredacted card number. For security reasons, this is only available for virtual cards, and will be omitted unless you explicitly request it with [the `expand` parameter](https://stripe.com/docs/api/expanding_objects). Additionally, it's only available via the [\"Retrieve a card\" endpoint](https://stripe.com/docs/api/issuing/cards/retrieve), not via \"List all cards\" or any other endpoint.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "issuing.card"
            ],
            "type": "string"
          },
          "personalization_design": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/issuing.personalization_design"
              }
            ],
            "description": "The personalization design object belonging to this card.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/issuing.personalization_design"
                }
              ]
            }
          },
          "replaced_by": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/issuing.card"
              }
            ],
            "description": "The latest card that replaces this card, if any.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/issuing.card"
                }
              ]
            }
          },
          "replacement_for": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/issuing.card"
              }
            ],
            "description": "The card this card replaces, if any.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/issuing.card"
                }
              ]
            }
          },
          "replacement_reason": {
            "description": "The reason why the previous card needed to be replaced.",
            "enum": [
              "damaged",
              "expired",
              "lost",
              "stolen"
            ],
            "nullable": true,
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "shipping": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_card_shipping"
              }
            ],
            "description": "Where and how the card will be shipped.",
            "nullable": true
          },
          "spending_controls": {
            "$ref": "#/components/schemas/issuing_card_authorization_controls"
          },
          "status": {
            "description": "Whether authorizations can be approved on this card. May be blocked from activating cards depending on past-due Cardholder requirements. Defaults to `inactive`.",
            "enum": [
              "active",
              "canceled",
              "inactive"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "type": {
            "description": "The type of the card.",
            "enum": [
              "physical",
              "virtual"
            ],
            "type": "string"
          },
          "wallets": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_card_wallets"
              }
            ],
            "description": "Information relating to digital wallets (like Apple Pay and Google Pay).",
            "nullable": true
          }
        },
        "required": [
          "brand",
          "cancellation_reason",
          "cardholder",
          "created",
          "currency",
          "exp_month",
          "exp_year",
          "id",
          "last4",
          "livemode",
          "metadata",
          "object",
          "personalization_design",
          "replaced_by",
          "replacement_for",
          "replacement_reason",
          "shipping",
          "spending_controls",
          "status",
          "type",
          "wallets"
        ],
        "title": "IssuingCard",
        "type": "object",
        "x-expandableFields": [
          "cardholder",
          "personalization_design",
          "replaced_by",
          "replacement_for",
          "shipping",
          "spending_controls",
          "wallets"
        ],
        "x-resourceId": "issuing.card",
        "x-stripeMostCommon": [
          "cancellation_reason",
          "cardholder",
          "currency",
          "exp_month",
          "exp_year",
          "id",
          "last4",
          "metadata",
          "status",
          "type"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/issuing/cards"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/issuing/cards/{card}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/issuing/cards"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/issuing/cards/{card}"
          },
          {
            "method_name": "deliver_card",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/issuing/cards/{card}/shipping/deliver"
          },
          {
            "method_name": "fail_card",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/issuing/cards/{card}/shipping/fail"
          },
          {
            "method_name": "return_card",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/issuing/cards/{card}/shipping/return"
          },
          {
            "method_name": "ship_card",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/issuing/cards/{card}/shipping/ship"
          },
          {
            "method_name": "submit_card",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/issuing/cards/{card}/shipping/submit"
          }
        ],
        "x-stripeResource": {
          "class_name": "Card",
          "has_collection_class": true,
          "in_package": "Issuing"
        }
      },
      "issuing.cardholder": {
        "description": "An Issuing `Cardholder` object represents an individual or business entity who is [issued](https://stripe.com/docs/issuing) cards.\n\nRelated guide: [How to create a cardholder](https://stripe.com/docs/issuing/cards/virtual/issue-cards#create-cardholder)",
        "properties": {
          "billing": {
            "$ref": "#/components/schemas/issuing_cardholder_address"
          },
          "company": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_cardholder_company"
              }
            ],
            "description": "Additional information about a `company` cardholder.",
            "nullable": true
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "email": {
            "description": "The cardholder's email address.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "individual": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_cardholder_individual"
              }
            ],
            "description": "Additional information about an `individual` cardholder.",
            "nullable": true
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "name": {
            "description": "The cardholder's name. This will be printed on cards issued to them.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "issuing.cardholder"
            ],
            "type": "string"
          },
          "phone_number": {
            "description": "The cardholder's phone number. This is required for all cardholders who will be creating EU cards. See the [3D Secure documentation](https://stripe.com/docs/issuing/3d-secure#when-is-3d-secure-applied) for more details.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "preferred_locales": {
            "description": "The cardholder’s preferred locales (languages), ordered by preference. Locales can be `de`, `en`, `es`, `fr`, or `it`.\n This changes the language of the [3D Secure flow](https://stripe.com/docs/issuing/3d-secure) and one-time password messages sent to the cardholder.",
            "items": {
              "enum": [
                "de",
                "en",
                "es",
                "fr",
                "it"
              ],
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "requirements": {
            "$ref": "#/components/schemas/issuing_cardholder_requirements"
          },
          "spending_controls": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_cardholder_authorization_controls"
              }
            ],
            "description": "Rules that control spending across this cardholder's cards. Refer to our [documentation](https://stripe.com/docs/issuing/controls/spending-controls) for more details.",
            "nullable": true
          },
          "status": {
            "description": "Specifies whether to permit authorizations on this cardholder's cards.",
            "enum": [
              "active",
              "blocked",
              "inactive"
            ],
            "type": "string"
          },
          "type": {
            "description": "One of `individual` or `company`. See [Choose a cardholder type](https://stripe.com/docs/issuing/other/choose-cardholder) for more details.",
            "enum": [
              "company",
              "individual"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "billing",
          "company",
          "created",
          "email",
          "id",
          "individual",
          "livemode",
          "metadata",
          "name",
          "object",
          "phone_number",
          "preferred_locales",
          "requirements",
          "spending_controls",
          "status",
          "type"
        ],
        "title": "IssuingCardholder",
        "type": "object",
        "x-expandableFields": [
          "billing",
          "company",
          "individual",
          "requirements",
          "spending_controls"
        ],
        "x-resourceId": "issuing.cardholder",
        "x-stripeMostCommon": [
          "billing",
          "email",
          "id",
          "metadata",
          "name",
          "phone_number"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/issuing/cardholders"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/issuing/cardholders/{cardholder}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/issuing/cardholders"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/issuing/cardholders/{cardholder}"
          }
        ],
        "x-stripeResource": {
          "class_name": "Cardholder",
          "has_collection_class": true,
          "in_package": "Issuing"
        }
      },
      "issuing.dispute": {
        "description": "As a [card issuer](https://stripe.com/docs/issuing), you can dispute transactions that the cardholder does not recognize, suspects to be fraudulent, or has other issues with.\n\nRelated guide: [Issuing disputes](https://stripe.com/docs/issuing/purchases/disputes)",
        "properties": {
          "amount": {
            "description": "Disputed amount in the card's currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Usually the amount of the `transaction`, but can differ (usually because of currency fluctuation).",
            "type": "integer"
          },
          "balance_transactions": {
            "description": "List of balance transactions associated with the dispute.",
            "items": {
              "$ref": "#/components/schemas/balance_transaction"
            },
            "nullable": true,
            "type": "array"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "The currency the `transaction` was made in.",
            "type": "string"
          },
          "evidence": {
            "$ref": "#/components/schemas/issuing_dispute_evidence"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "loss_reason": {
            "description": "The enum that describes the dispute loss outcome. If the dispute is not lost, this field will be absent. New enum values may be added in the future, so be sure to handle unknown values.",
            "enum": [
              "cardholder_authentication_issuer_liability",
              "eci5_token_transaction_with_tavv",
              "excess_disputes_in_timeframe",
              "has_not_met_the_minimum_dispute_amount_requirements",
              "invalid_duplicate_dispute",
              "invalid_incorrect_amount_dispute",
              "invalid_no_authorization",
              "invalid_use_of_disputes",
              "merchandise_delivered_or_shipped",
              "merchandise_or_service_as_described",
              "not_cancelled",
              "other",
              "refund_issued",
              "submitted_beyond_allowable_time_limit",
              "transaction_3ds_required",
              "transaction_approved_after_prior_fraud_dispute",
              "transaction_authorized",
              "transaction_electronically_read",
              "transaction_qualifies_for_visa_easy_payment_service",
              "transaction_unattended"
            ],
            "type": "string"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "issuing.dispute"
            ],
            "type": "string"
          },
          "status": {
            "description": "Current status of the dispute.",
            "enum": [
              "expired",
              "lost",
              "submitted",
              "unsubmitted",
              "won"
            ],
            "type": "string"
          },
          "transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/issuing.transaction"
              }
            ],
            "description": "The transaction being disputed.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/issuing.transaction"
                }
              ]
            }
          },
          "treasury": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_dispute_treasury"
              }
            ],
            "description": "[Treasury](https://stripe.com/docs/api/treasury) details related to this dispute if it was created on a [FinancialAccount](/docs/api/treasury/financial_accounts",
            "nullable": true
          }
        },
        "required": [
          "amount",
          "created",
          "currency",
          "evidence",
          "id",
          "livemode",
          "metadata",
          "object",
          "status",
          "transaction"
        ],
        "title": "IssuingDispute",
        "type": "object",
        "x-expandableFields": [
          "balance_transactions",
          "evidence",
          "transaction",
          "treasury"
        ],
        "x-resourceId": "issuing.dispute",
        "x-stripeMostCommon": [
          "amount",
          "balance_transactions",
          "currency",
          "evidence",
          "id",
          "metadata",
          "status",
          "transaction"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/issuing/disputes"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/issuing/disputes/{dispute}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/issuing/disputes"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/issuing/disputes/{dispute}"
          },
          {
            "method_name": "submit",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/issuing/disputes/{dispute}/submit"
          }
        ],
        "x-stripeResource": {
          "class_name": "Dispute",
          "has_collection_class": true,
          "in_package": "Issuing",
          "polymorphic_groups": [
            "balance_transaction_source"
          ]
        }
      },
      "issuing.personalization_design": {
        "description": "A Personalization Design is a logical grouping of a Physical Bundle, card logo, and carrier text that represents a product line.",
        "properties": {
          "card_logo": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "The file for the card logo to use with physical bundles that support card logos. Must have a `purpose` value of `issuing_logo`.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          },
          "carrier_text": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_personalization_design_carrier_text"
              }
            ],
            "description": "Hash containing carrier text, for use with physical bundles that support carrier text.",
            "nullable": true
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "lookup_key": {
            "description": "A lookup key used to retrieve personalization designs dynamically from a static string. This may be up to 200 characters.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "name": {
            "description": "Friendly display name.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "issuing.personalization_design"
            ],
            "type": "string"
          },
          "physical_bundle": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/issuing.physical_bundle"
              }
            ],
            "description": "The physical bundle object belonging to this personalization design.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/issuing.physical_bundle"
                }
              ]
            }
          },
          "preferences": {
            "$ref": "#/components/schemas/issuing_personalization_design_preferences"
          },
          "rejection_reasons": {
            "$ref": "#/components/schemas/issuing_personalization_design_rejection_reasons"
          },
          "status": {
            "description": "Whether this personalization design can be used to create cards.",
            "enum": [
              "active",
              "inactive",
              "rejected",
              "review"
            ],
            "type": "string"
          }
        },
        "required": [
          "card_logo",
          "carrier_text",
          "created",
          "id",
          "livemode",
          "lookup_key",
          "metadata",
          "name",
          "object",
          "physical_bundle",
          "preferences",
          "rejection_reasons",
          "status"
        ],
        "title": "IssuingPersonalizationDesign",
        "type": "object",
        "x-expandableFields": [
          "card_logo",
          "carrier_text",
          "physical_bundle",
          "preferences",
          "rejection_reasons"
        ],
        "x-resourceId": "issuing.personalization_design",
        "x-stripeMostCommon": [
          "card_logo",
          "carrier_text",
          "created",
          "id",
          "livemode",
          "lookup_key",
          "metadata",
          "name",
          "object",
          "physical_bundle",
          "preferences",
          "rejection_reasons",
          "status"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/issuing/personalization_designs"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/issuing/personalization_designs/{personalization_design}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/issuing/personalization_designs"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/issuing/personalization_designs/{personalization_design}"
          },
          {
            "method_name": "activate",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/issuing/personalization_designs/{personalization_design}/activate"
          },
          {
            "method_name": "deactivate",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/issuing/personalization_designs/{personalization_design}/deactivate"
          },
          {
            "method_name": "reject",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/issuing/personalization_designs/{personalization_design}/reject"
          }
        ],
        "x-stripeResource": {
          "class_name": "PersonalizationDesign",
          "has_collection_class": true,
          "in_package": "Issuing"
        }
      },
      "issuing.physical_bundle": {
        "description": "A Physical Bundle represents the bundle of physical items - card stock, carrier letter, and envelope - that is shipped to a cardholder when you create a physical card.",
        "properties": {
          "features": {
            "$ref": "#/components/schemas/issuing_physical_bundle_features"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "name": {
            "description": "Friendly display name.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "issuing.physical_bundle"
            ],
            "type": "string"
          },
          "status": {
            "description": "Whether this physical bundle can be used to create cards.",
            "enum": [
              "active",
              "inactive",
              "review"
            ],
            "type": "string"
          },
          "type": {
            "description": "Whether this physical bundle is a standard Stripe offering or custom-made for you.",
            "enum": [
              "custom",
              "standard"
            ],
            "type": "string"
          }
        },
        "required": [
          "features",
          "id",
          "livemode",
          "name",
          "object",
          "status",
          "type"
        ],
        "title": "IssuingPhysicalBundle",
        "type": "object",
        "x-expandableFields": [
          "features"
        ],
        "x-resourceId": "issuing.physical_bundle",
        "x-stripeMostCommon": [
          "features",
          "id",
          "livemode",
          "name",
          "object",
          "status",
          "type"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/issuing/physical_bundles"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/issuing/physical_bundles/{physical_bundle}"
          }
        ],
        "x-stripeResource": {
          "class_name": "PhysicalBundle",
          "has_collection_class": true,
          "in_package": "Issuing"
        }
      },
      "issuing.token": {
        "description": "An issuing token object is created when an issued card is added to a digital wallet. As a [card issuer](https://stripe.com/docs/issuing), you can [view and manage these tokens](https://stripe.com/docs/issuing/controls/token-management) through Stripe.",
        "properties": {
          "card": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/issuing.card"
              }
            ],
            "description": "Card associated with this token.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/issuing.card"
                }
              ]
            }
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "device_fingerprint": {
            "description": "The hashed ID derived from the device ID from the card network associated with the token.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "last4": {
            "description": "The last four digits of the token.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "network": {
            "description": "The token service provider / card network associated with the token.",
            "enum": [
              "mastercard",
              "visa"
            ],
            "type": "string"
          },
          "network_data": {
            "$ref": "#/components/schemas/issuing_network_token_network_data"
          },
          "network_updated_at": {
            "description": "Time at which the token was last updated by the card network. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "issuing.token"
            ],
            "type": "string"
          },
          "status": {
            "description": "The usage state of the token.",
            "enum": [
              "active",
              "deleted",
              "requested",
              "suspended"
            ],
            "type": "string"
          },
          "wallet_provider": {
            "description": "The digital wallet for this token, if one was used.",
            "enum": [
              "apple_pay",
              "google_pay",
              "samsung_pay"
            ],
            "type": "string"
          }
        },
        "required": [
          "card",
          "created",
          "device_fingerprint",
          "id",
          "livemode",
          "network",
          "network_updated_at",
          "object",
          "status"
        ],
        "title": "IssuingNetworkToken",
        "type": "object",
        "x-expandableFields": [
          "card",
          "network_data"
        ],
        "x-resourceId": "issuing.token",
        "x-stripeMostCommon": [
          "card",
          "created",
          "device_fingerprint",
          "id",
          "last4",
          "livemode",
          "network",
          "network_data",
          "network_updated_at",
          "object",
          "status",
          "wallet_provider"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/issuing/tokens"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/issuing/tokens/{token}"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/issuing/tokens/{token}"
          }
        ],
        "x-stripeResource": {
          "class_name": "Token",
          "has_collection_class": true,
          "in_package": "Issuing"
        }
      },
      "issuing.transaction": {
        "description": "Any use of an [issued card](https://stripe.com/docs/issuing) that results in funds entering or leaving\nyour Stripe account, such as a completed purchase or refund, is represented by an Issuing\n`Transaction` object.\n\nRelated guide: [Issued card transactions](https://stripe.com/docs/issuing/purchases/transactions)",
        "properties": {
          "amount": {
            "description": "The transaction amount, which will be reflected in your balance. This amount is in your currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
            "type": "integer"
          },
          "amount_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_transaction_amount_details"
              }
            ],
            "description": "Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
            "nullable": true
          },
          "authorization": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/issuing.authorization"
              }
            ],
            "description": "The `Authorization` object that led to this transaction.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/issuing.authorization"
                }
              ]
            }
          },
          "balance_transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/balance_transaction"
              }
            ],
            "description": "ID of the [balance transaction](https://stripe.com/docs/api/balance_transactions) associated with this transaction.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/balance_transaction"
                }
              ]
            }
          },
          "card": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/issuing.card"
              }
            ],
            "description": "The card used to make this transaction.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/issuing.card"
                }
              ]
            }
          },
          "cardholder": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/issuing.cardholder"
              }
            ],
            "description": "The cardholder to whom this transaction belongs.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/issuing.cardholder"
                }
              ]
            }
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "dispute": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/issuing.dispute"
              }
            ],
            "description": "If you've disputed the transaction, the ID of the dispute.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/issuing.dispute"
                }
              ]
            }
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "merchant_amount": {
            "description": "The amount that the merchant will receive, denominated in `merchant_currency` and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). It will be different from `amount` if the merchant is taking payment in a different currency.",
            "type": "integer"
          },
          "merchant_currency": {
            "description": "The currency with which the merchant is taking payment.",
            "type": "string"
          },
          "merchant_data": {
            "$ref": "#/components/schemas/issuing_authorization_merchant_data"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "network_data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_transaction_network_data"
              }
            ],
            "description": "Details about the transaction, such as processing dates, set by the card network.",
            "nullable": true
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "issuing.transaction"
            ],
            "type": "string"
          },
          "purchase_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_transaction_purchase_details"
              }
            ],
            "description": "Additional purchase information that is optionally provided by the merchant.",
            "nullable": true
          },
          "token": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/issuing.token"
              }
            ],
            "description": "[Token](https://stripe.com/docs/api/issuing/tokens/object) object used for this transaction. If a network token was not used for this transaction, this field will be null.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/issuing.token"
                }
              ]
            }
          },
          "treasury": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_transaction_treasury"
              }
            ],
            "description": "[Treasury](https://stripe.com/docs/api/treasury) details related to this transaction if it was created on a [FinancialAccount](/docs/api/treasury/financial_accounts",
            "nullable": true
          },
          "type": {
            "description": "The nature of the transaction.",
            "enum": [
              "capture",
              "refund"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "wallet": {
            "description": "The digital wallet used for this transaction. One of `apple_pay`, `google_pay`, or `samsung_pay`.",
            "enum": [
              "apple_pay",
              "google_pay",
              "samsung_pay"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "amount",
          "amount_details",
          "authorization",
          "balance_transaction",
          "card",
          "cardholder",
          "created",
          "currency",
          "dispute",
          "id",
          "livemode",
          "merchant_amount",
          "merchant_currency",
          "merchant_data",
          "metadata",
          "network_data",
          "object",
          "type",
          "wallet"
        ],
        "title": "IssuingTransaction",
        "type": "object",
        "x-expandableFields": [
          "amount_details",
          "authorization",
          "balance_transaction",
          "card",
          "cardholder",
          "dispute",
          "merchant_data",
          "network_data",
          "purchase_details",
          "token",
          "treasury"
        ],
        "x-resourceId": "issuing.transaction",
        "x-stripeMostCommon": [
          "amount",
          "authorization",
          "card",
          "cardholder",
          "currency",
          "id",
          "metadata",
          "type"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/issuing/transactions"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/issuing/transactions/{transaction}"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/issuing/transactions/{transaction}"
          },
          {
            "method_name": "refund",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/issuing/transactions/{transaction}/refund"
          },
          {
            "method_name": "create_force_capture",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/issuing/transactions/create_force_capture"
          },
          {
            "method_name": "create_unlinked_refund",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/issuing/transactions/create_unlinked_refund"
          }
        ],
        "x-stripeResource": {
          "class_name": "Transaction",
          "has_collection_class": true,
          "in_package": "Issuing",
          "polymorphic_groups": [
            "balance_transaction_source"
          ]
        }
      },
      "issuing_authorization.created": {
        "description": "Occurs whenever an authorization is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/issuing.authorization"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "issuing_authorization.created"
        }
      },
      "issuing_authorization.request": {
        "description": "Represents a synchronous request for authorization, see [Using your integration to handle authorization requests](https://docs.stripe.com/issuing/purchases/authorizations#authorization-handling).",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/issuing.authorization"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "issuing_authorization.request"
        }
      },
      "issuing_authorization.updated": {
        "description": "Occurs whenever an authorization is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/issuing.authorization"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "issuing_authorization.updated"
        }
      },
      "issuing_authorization_amount_details": {
        "description": "",
        "properties": {
          "atm_fee": {
            "description": "The fee charged by the ATM for the cash withdrawal.",
            "nullable": true,
            "type": "integer"
          },
          "cashback_amount": {
            "description": "The amount of cash requested by the cardholder.",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "atm_fee",
          "cashback_amount"
        ],
        "title": "IssuingAuthorizationAmountDetails",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "atm_fee",
          "cashback_amount"
        ]
      },
      "issuing_authorization_authentication_exemption": {
        "description": "",
        "properties": {
          "claimed_by": {
            "description": "The entity that requested the exemption, either the acquiring merchant or the Issuing user.",
            "enum": [
              "acquirer",
              "issuer"
            ],
            "type": "string"
          },
          "type": {
            "description": "The specific exemption claimed for this authorization.",
            "enum": [
              "low_value_transaction",
              "transaction_risk_analysis",
              "unknown"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "claimed_by",
          "type"
        ],
        "title": "IssuingAuthorizationAuthenticationExemption",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "claimed_by",
          "type"
        ]
      },
      "issuing_authorization_fleet_cardholder_prompt_data": {
        "description": "",
        "properties": {
          "alphanumeric_id": {
            "description": "[Deprecated] An alphanumeric ID, though typical point of sales only support numeric entry. The card program can be configured to prompt for a vehicle ID, driver ID, or generic ID.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "driver_id": {
            "description": "Driver ID.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "odometer": {
            "description": "Odometer reading.",
            "nullable": true,
            "type": "integer"
          },
          "unspecified_id": {
            "description": "An alphanumeric ID. This field is used when a vehicle ID, driver ID, or generic ID is entered by the cardholder, but the merchant or card network did not specify the prompt type.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "user_id": {
            "description": "User ID.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "vehicle_number": {
            "description": "Vehicle number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "alphanumeric_id",
          "driver_id",
          "odometer",
          "unspecified_id",
          "user_id",
          "vehicle_number"
        ],
        "title": "IssuingAuthorizationFleetCardholderPromptData",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "alphanumeric_id",
          "driver_id",
          "odometer",
          "unspecified_id",
          "user_id",
          "vehicle_number"
        ]
      },
      "issuing_authorization_fleet_data": {
        "description": "",
        "properties": {
          "cardholder_prompt_data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_authorization_fleet_cardholder_prompt_data"
              }
            ],
            "description": "Answers to prompts presented to the cardholder at the point of sale. Prompted fields vary depending on the configuration of your physical fleet cards. Typical points of sale support only numeric entry.",
            "nullable": true
          },
          "purchase_type": {
            "description": "The type of purchase.",
            "enum": [
              "fuel_and_non_fuel_purchase",
              "fuel_purchase",
              "non_fuel_purchase"
            ],
            "nullable": true,
            "type": "string"
          },
          "reported_breakdown": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_authorization_fleet_reported_breakdown"
              }
            ],
            "description": "More information about the total amount. Typically this information is received from the merchant after the authorization has been approved and the fuel dispensed. This information is not guaranteed to be accurate as some merchants may provide unreliable data.",
            "nullable": true
          },
          "service_type": {
            "description": "The type of fuel service.",
            "enum": [
              "full_service",
              "non_fuel_transaction",
              "self_service"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "cardholder_prompt_data",
          "purchase_type",
          "reported_breakdown",
          "service_type"
        ],
        "title": "IssuingAuthorizationFleetData",
        "type": "object",
        "x-expandableFields": [
          "cardholder_prompt_data",
          "reported_breakdown"
        ],
        "x-stripeMostCommon": [
          "cardholder_prompt_data",
          "purchase_type",
          "reported_breakdown",
          "service_type"
        ]
      },
      "issuing_authorization_fleet_fuel_price_data": {
        "description": "",
        "properties": {
          "gross_amount_decimal": {
            "description": "Gross fuel amount that should equal Fuel Quantity multiplied by Fuel Unit Cost, inclusive of taxes.",
            "format": "decimal",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "gross_amount_decimal"
        ],
        "title": "IssuingAuthorizationFleetFuelPriceData",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "gross_amount_decimal"
        ]
      },
      "issuing_authorization_fleet_non_fuel_price_data": {
        "description": "",
        "properties": {
          "gross_amount_decimal": {
            "description": "Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes.",
            "format": "decimal",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "gross_amount_decimal"
        ],
        "title": "IssuingAuthorizationFleetNonFuelPriceData",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "gross_amount_decimal"
        ]
      },
      "issuing_authorization_fleet_reported_breakdown": {
        "description": "",
        "properties": {
          "fuel": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_authorization_fleet_fuel_price_data"
              }
            ],
            "description": "Breakdown of fuel portion of the purchase.",
            "nullable": true
          },
          "non_fuel": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_authorization_fleet_non_fuel_price_data"
              }
            ],
            "description": "Breakdown of non-fuel portion of the purchase.",
            "nullable": true
          },
          "tax": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_authorization_fleet_tax_data"
              }
            ],
            "description": "Information about tax included in this transaction.",
            "nullable": true
          }
        },
        "required": [
          "fuel",
          "non_fuel",
          "tax"
        ],
        "title": "IssuingAuthorizationFleetReportedBreakdown",
        "type": "object",
        "x-expandableFields": [
          "fuel",
          "non_fuel",
          "tax"
        ],
        "x-stripeMostCommon": [
          "fuel",
          "non_fuel",
          "tax"
        ]
      },
      "issuing_authorization_fleet_tax_data": {
        "description": "",
        "properties": {
          "local_amount_decimal": {
            "description": "Amount of state or provincial Sales Tax included in the transaction amount. `null` if not reported by merchant or not subject to tax.",
            "format": "decimal",
            "nullable": true,
            "type": "string"
          },
          "national_amount_decimal": {
            "description": "Amount of national Sales Tax or VAT included in the transaction amount. `null` if not reported by merchant or not subject to tax.",
            "format": "decimal",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "local_amount_decimal",
          "national_amount_decimal"
        ],
        "title": "IssuingAuthorizationFleetTaxData",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "local_amount_decimal",
          "national_amount_decimal"
        ]
      },
      "issuing_authorization_fraud_challenge": {
        "description": "",
        "properties": {
          "channel": {
            "description": "The method by which the fraud challenge was delivered to the cardholder.",
            "enum": [
              "sms"
            ],
            "type": "string"
          },
          "status": {
            "description": "The status of the fraud challenge.",
            "enum": [
              "expired",
              "pending",
              "rejected",
              "undeliverable",
              "verified"
            ],
            "type": "string"
          },
          "undeliverable_reason": {
            "description": "If the challenge is not deliverable, the reason why.",
            "enum": [
              "no_phone_number",
              "unsupported_phone_number"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "channel",
          "status",
          "undeliverable_reason"
        ],
        "title": "IssuingAuthorizationFraudChallenge",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "channel",
          "status",
          "undeliverable_reason"
        ]
      },
      "issuing_authorization_fuel_data": {
        "description": "",
        "properties": {
          "industry_product_code": {
            "description": "[Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "quantity_decimal": {
            "description": "The quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places.",
            "format": "decimal",
            "nullable": true,
            "type": "string"
          },
          "type": {
            "description": "The type of fuel that was purchased.",
            "enum": [
              "diesel",
              "other",
              "unleaded_plus",
              "unleaded_regular",
              "unleaded_super"
            ],
            "nullable": true,
            "type": "string"
          },
          "unit": {
            "description": "The units for `quantity_decimal`.",
            "enum": [
              "charging_minute",
              "imperial_gallon",
              "kilogram",
              "kilowatt_hour",
              "liter",
              "other",
              "pound",
              "us_gallon"
            ],
            "nullable": true,
            "type": "string"
          },
          "unit_cost_decimal": {
            "description": "The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.",
            "format": "decimal",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "industry_product_code",
          "quantity_decimal",
          "type",
          "unit",
          "unit_cost_decimal"
        ],
        "title": "IssuingAuthorizationFuelData",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "industry_product_code",
          "quantity_decimal",
          "type",
          "unit",
          "unit_cost_decimal"
        ]
      },
      "issuing_authorization_merchant_data": {
        "description": "",
        "properties": {
          "category": {
            "description": "A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values.",
            "maxLength": 5000,
            "type": "string"
          },
          "category_code": {
            "description": "The merchant category code for the seller’s business",
            "maxLength": 5000,
            "type": "string"
          },
          "city": {
            "description": "City where the seller is located",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "country": {
            "description": "Country where the seller is located",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "name": {
            "description": "Name of the seller",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "network_id": {
            "description": "Identifier assigned to the seller by the card network. Different card networks may assign different network_id fields to the same merchant.",
            "maxLength": 5000,
            "type": "string"
          },
          "postal_code": {
            "description": "Postal code where the seller is located",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "state": {
            "description": "State where the seller is located",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "terminal_id": {
            "description": "An ID assigned by the seller to the location of the sale.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "url": {
            "description": "URL provided by the merchant on a 3DS request",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "category",
          "category_code",
          "city",
          "country",
          "name",
          "network_id",
          "postal_code",
          "state",
          "terminal_id",
          "url"
        ],
        "title": "IssuingAuthorizationMerchantData",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "category",
          "category_code",
          "city",
          "country",
          "name",
          "network_id",
          "postal_code",
          "state",
          "terminal_id",
          "url"
        ]
      },
      "issuing_authorization_network_data": {
        "description": "",
        "properties": {
          "acquiring_institution_id": {
            "description": "Identifier assigned to the acquirer by the card network. Sometimes this value is not provided by the network; in this case, the value will be `null`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "system_trace_audit_number": {
            "description": "The System Trace Audit Number (STAN) is a 6-digit identifier assigned by the acquirer. Prefer `network_data.transaction_id` if present, unless you have special requirements.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "transaction_id": {
            "description": "Unique identifier for the authorization assigned by the card network used to match subsequent messages, disputes, and transactions.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "acquiring_institution_id",
          "system_trace_audit_number",
          "transaction_id"
        ],
        "title": "IssuingAuthorizationNetworkData",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "acquiring_institution_id",
          "system_trace_audit_number",
          "transaction_id"
        ]
      },
      "issuing_authorization_pending_request": {
        "description": "",
        "properties": {
          "amount": {
            "description": "The additional amount Stripe will hold if the authorization is approved, in the card's [currency](https://stripe.com/docs/api#issuing_authorization_object-pending-request-currency) and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
            "type": "integer"
          },
          "amount_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_authorization_amount_details"
              }
            ],
            "description": "Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
            "nullable": true
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "is_amount_controllable": {
            "description": "If set `true`, you may provide [amount](https://stripe.com/docs/api/issuing/authorizations/approve#approve_issuing_authorization-amount) to control how much to hold for the authorization.",
            "type": "boolean"
          },
          "merchant_amount": {
            "description": "The amount the merchant is requesting to be authorized in the `merchant_currency`. The amount is in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
            "type": "integer"
          },
          "merchant_currency": {
            "description": "The local currency the merchant is requesting to authorize.",
            "type": "string"
          },
          "network_risk_score": {
            "description": "The card network's estimate of the likelihood that an authorization is fraudulent. Takes on values between 1 and 99.",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "amount",
          "amount_details",
          "currency",
          "is_amount_controllable",
          "merchant_amount",
          "merchant_currency",
          "network_risk_score"
        ],
        "title": "IssuingAuthorizationPendingRequest",
        "type": "object",
        "x-expandableFields": [
          "amount_details"
        ],
        "x-stripeMostCommon": [
          "amount",
          "amount_details",
          "currency",
          "is_amount_controllable",
          "merchant_amount",
          "merchant_currency",
          "network_risk_score"
        ]
      },
      "issuing_authorization_request": {
        "description": "",
        "properties": {
          "amount": {
            "description": "The `pending_request.amount` at the time of the request, presented in your card's currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Stripe held this amount from your account to fund the authorization if the request was approved.",
            "type": "integer"
          },
          "amount_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_authorization_amount_details"
              }
            ],
            "description": "Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
            "nullable": true
          },
          "approved": {
            "description": "Whether this request was approved.",
            "type": "boolean"
          },
          "authorization_code": {
            "description": "A code created by Stripe which is shared with the merchant to validate the authorization. This field will be populated if the authorization message was approved. The code typically starts with the letter \"S\", followed by a six-digit number. For example, \"S498162\". Please note that the code is not guaranteed to be unique across authorizations.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "maxLength": 5000,
            "type": "string"
          },
          "merchant_amount": {
            "description": "The `pending_request.merchant_amount` at the time of the request, presented in the `merchant_currency` and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
            "type": "integer"
          },
          "merchant_currency": {
            "description": "The currency that was collected by the merchant and presented to the cardholder for the authorization. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "maxLength": 5000,
            "type": "string"
          },
          "network_risk_score": {
            "description": "The card network's estimate of the likelihood that an authorization is fraudulent. Takes on values between 1 and 99.",
            "nullable": true,
            "type": "integer"
          },
          "reason": {
            "description": "When an authorization is approved or declined by you or by Stripe, this field provides additional detail on the reason for the outcome.",
            "enum": [
              "account_disabled",
              "card_active",
              "card_canceled",
              "card_expired",
              "card_inactive",
              "cardholder_blocked",
              "cardholder_inactive",
              "cardholder_verification_required",
              "insecure_authorization_method",
              "insufficient_funds",
              "not_allowed",
              "pin_blocked",
              "spending_controls",
              "suspected_fraud",
              "verification_failed",
              "webhook_approved",
              "webhook_declined",
              "webhook_error",
              "webhook_timeout"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "reason_message": {
            "description": "If the `request_history.reason` is `webhook_error` because the direct webhook response is invalid (for example, parsing errors or missing parameters), we surface a more detailed error message via this field.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "requested_at": {
            "description": "Time when the card network received an authorization request from the acquirer in UTC. Referred to by networks as transmission time.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "amount",
          "amount_details",
          "approved",
          "authorization_code",
          "created",
          "currency",
          "merchant_amount",
          "merchant_currency",
          "network_risk_score",
          "reason",
          "reason_message",
          "requested_at"
        ],
        "title": "IssuingAuthorizationRequest",
        "type": "object",
        "x-expandableFields": [
          "amount_details"
        ],
        "x-stripeMostCommon": [
          "amount",
          "amount_details",
          "approved",
          "authorization_code",
          "created",
          "currency",
          "merchant_amount",
          "merchant_currency",
          "network_risk_score",
          "reason",
          "reason_message",
          "requested_at"
        ]
      },
      "issuing_authorization_three_d_secure": {
        "description": "",
        "properties": {
          "result": {
            "description": "The outcome of the 3D Secure authentication request.",
            "enum": [
              "attempt_acknowledged",
              "authenticated",
              "failed",
              "required"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "result"
        ],
        "title": "IssuingAuthorizationThreeDSecure",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "result"
        ]
      },
      "issuing_authorization_treasury": {
        "description": "",
        "properties": {
          "received_credits": {
            "description": "The array of [ReceivedCredits](https://stripe.com/docs/api/treasury/received_credits) associated with this authorization",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "received_debits": {
            "description": "The array of [ReceivedDebits](https://stripe.com/docs/api/treasury/received_debits) associated with this authorization",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "transaction": {
            "description": "The Treasury [Transaction](https://stripe.com/docs/api/treasury/transactions) associated with this authorization",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "received_credits",
          "received_debits",
          "transaction"
        ],
        "title": "IssuingAuthorizationTreasury",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "received_credits",
          "received_debits",
          "transaction"
        ]
      },
      "issuing_authorization_verification_data": {
        "description": "",
        "properties": {
          "address_line1_check": {
            "description": "Whether the cardholder provided an address first line and if it matched the cardholder’s `billing.address.line1`.",
            "enum": [
              "match",
              "mismatch",
              "not_provided"
            ],
            "type": "string"
          },
          "address_postal_code_check": {
            "description": "Whether the cardholder provided a postal code and if it matched the cardholder’s `billing.address.postal_code`.",
            "enum": [
              "match",
              "mismatch",
              "not_provided"
            ],
            "type": "string"
          },
          "authentication_exemption": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_authorization_authentication_exemption"
              }
            ],
            "description": "The exemption applied to this authorization.",
            "nullable": true
          },
          "cvc_check": {
            "description": "Whether the cardholder provided a CVC and if it matched Stripe’s record.",
            "enum": [
              "match",
              "mismatch",
              "not_provided"
            ],
            "type": "string"
          },
          "expiry_check": {
            "description": "Whether the cardholder provided an expiry date and if it matched Stripe’s record.",
            "enum": [
              "match",
              "mismatch",
              "not_provided"
            ],
            "type": "string"
          },
          "postal_code": {
            "description": "The postal code submitted as part of the authorization used for postal code verification.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "three_d_secure": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_authorization_three_d_secure"
              }
            ],
            "description": "3D Secure details.",
            "nullable": true
          }
        },
        "required": [
          "address_line1_check",
          "address_postal_code_check",
          "authentication_exemption",
          "cvc_check",
          "expiry_check",
          "postal_code",
          "three_d_secure"
        ],
        "title": "IssuingAuthorizationVerificationData",
        "type": "object",
        "x-expandableFields": [
          "authentication_exemption",
          "three_d_secure"
        ],
        "x-stripeMostCommon": [
          "address_line1_check",
          "address_postal_code_check",
          "authentication_exemption",
          "cvc_check",
          "expiry_check",
          "postal_code",
          "three_d_secure"
        ]
      },
      "issuing_card.created": {
        "description": "Occurs whenever a card is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/issuing.card"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "issuing_card.created"
        }
      },
      "issuing_card.updated": {
        "description": "Occurs whenever a card is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/issuing.card"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "issuing_card.updated"
        }
      },
      "issuing_card_apple_pay": {
        "description": "",
        "properties": {
          "eligible": {
            "description": "Apple Pay Eligibility",
            "type": "boolean"
          },
          "ineligible_reason": {
            "description": "Reason the card is ineligible for Apple Pay",
            "enum": [
              "missing_agreement",
              "missing_cardholder_contact",
              "unsupported_region"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "eligible",
          "ineligible_reason"
        ],
        "title": "IssuingCardApplePay",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "eligible",
          "ineligible_reason"
        ]
      },
      "issuing_card_authorization_controls": {
        "description": "",
        "properties": {
          "allowed_categories": {
            "description": "Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`.",
            "items": {
              "enum": [
                "ac_refrigeration_repair",
                "accounting_bookkeeping_services",
                "advertising_services",
                "agricultural_cooperative",
                "airlines_air_carriers",
                "airports_flying_fields",
                "ambulance_services",
                "amusement_parks_carnivals",
                "antique_reproductions",
                "antique_shops",
                "aquariums",
                "architectural_surveying_services",
                "art_dealers_and_galleries",
                "artists_supply_and_craft_shops",
                "auto_and_home_supply_stores",
                "auto_body_repair_shops",
                "auto_paint_shops",
                "auto_service_shops",
                "automated_cash_disburse",
                "automated_fuel_dispensers",
                "automobile_associations",
                "automotive_parts_and_accessories_stores",
                "automotive_tire_stores",
                "bail_and_bond_payments",
                "bakeries",
                "bands_orchestras",
                "barber_and_beauty_shops",
                "betting_casino_gambling",
                "bicycle_shops",
                "billiard_pool_establishments",
                "boat_dealers",
                "boat_rentals_and_leases",
                "book_stores",
                "books_periodicals_and_newspapers",
                "bowling_alleys",
                "bus_lines",
                "business_secretarial_schools",
                "buying_shopping_services",
                "cable_satellite_and_other_pay_television_and_radio",
                "camera_and_photographic_supply_stores",
                "candy_nut_and_confectionery_stores",
                "car_and_truck_dealers_new_used",
                "car_and_truck_dealers_used_only",
                "car_rental_agencies",
                "car_washes",
                "carpentry_services",
                "carpet_upholstery_cleaning",
                "caterers",
                "charitable_and_social_service_organizations_fundraising",
                "chemicals_and_allied_products",
                "child_care_services",
                "childrens_and_infants_wear_stores",
                "chiropodists_podiatrists",
                "chiropractors",
                "cigar_stores_and_stands",
                "civic_social_fraternal_associations",
                "cleaning_and_maintenance",
                "clothing_rental",
                "colleges_universities",
                "commercial_equipment",
                "commercial_footwear",
                "commercial_photography_art_and_graphics",
                "commuter_transport_and_ferries",
                "computer_network_services",
                "computer_programming",
                "computer_repair",
                "computer_software_stores",
                "computers_peripherals_and_software",
                "concrete_work_services",
                "construction_materials",
                "consulting_public_relations",
                "correspondence_schools",
                "cosmetic_stores",
                "counseling_services",
                "country_clubs",
                "courier_services",
                "court_costs",
                "credit_reporting_agencies",
                "cruise_lines",
                "dairy_products_stores",
                "dance_hall_studios_schools",
                "dating_escort_services",
                "dentists_orthodontists",
                "department_stores",
                "detective_agencies",
                "digital_goods_applications",
                "digital_goods_games",
                "digital_goods_large_volume",
                "digital_goods_media",
                "direct_marketing_catalog_merchant",
                "direct_marketing_combination_catalog_and_retail_merchant",
                "direct_marketing_inbound_telemarketing",
                "direct_marketing_insurance_services",
                "direct_marketing_other",
                "direct_marketing_outbound_telemarketing",
                "direct_marketing_subscription",
                "direct_marketing_travel",
                "discount_stores",
                "doctors",
                "door_to_door_sales",
                "drapery_window_covering_and_upholstery_stores",
                "drinking_places",
                "drug_stores_and_pharmacies",
                "drugs_drug_proprietaries_and_druggist_sundries",
                "dry_cleaners",
                "durable_goods",
                "duty_free_stores",
                "eating_places_restaurants",
                "educational_services",
                "electric_razor_stores",
                "electric_vehicle_charging",
                "electrical_parts_and_equipment",
                "electrical_services",
                "electronics_repair_shops",
                "electronics_stores",
                "elementary_secondary_schools",
                "emergency_services_gcas_visa_use_only",
                "employment_temp_agencies",
                "equipment_rental",
                "exterminating_services",
                "family_clothing_stores",
                "fast_food_restaurants",
                "financial_institutions",
                "fines_government_administrative_entities",
                "fireplace_fireplace_screens_and_accessories_stores",
                "floor_covering_stores",
                "florists",
                "florists_supplies_nursery_stock_and_flowers",
                "freezer_and_locker_meat_provisioners",
                "fuel_dealers_non_automotive",
                "funeral_services_crematories",
                "furniture_home_furnishings_and_equipment_stores_except_appliances",
                "furniture_repair_refinishing",
                "furriers_and_fur_shops",
                "general_services",
                "gift_card_novelty_and_souvenir_shops",
                "glass_paint_and_wallpaper_stores",
                "glassware_crystal_stores",
                "golf_courses_public",
                "government_licensed_horse_dog_racing_us_region_only",
                "government_licensed_online_casions_online_gambling_us_region_only",
                "government_owned_lotteries_non_us_region",
                "government_owned_lotteries_us_region_only",
                "government_services",
                "grocery_stores_supermarkets",
                "hardware_equipment_and_supplies",
                "hardware_stores",
                "health_and_beauty_spas",
                "hearing_aids_sales_and_supplies",
                "heating_plumbing_a_c",
                "hobby_toy_and_game_shops",
                "home_supply_warehouse_stores",
                "hospitals",
                "hotels_motels_and_resorts",
                "household_appliance_stores",
                "industrial_supplies",
                "information_retrieval_services",
                "insurance_default",
                "insurance_underwriting_premiums",
                "intra_company_purchases",
                "jewelry_stores_watches_clocks_and_silverware_stores",
                "landscaping_services",
                "laundries",
                "laundry_cleaning_services",
                "legal_services_attorneys",
                "luggage_and_leather_goods_stores",
                "lumber_building_materials_stores",
                "manual_cash_disburse",
                "marinas_service_and_supplies",
                "marketplaces",
                "masonry_stonework_and_plaster",
                "massage_parlors",
                "medical_and_dental_labs",
                "medical_dental_ophthalmic_and_hospital_equipment_and_supplies",
                "medical_services",
                "membership_organizations",
                "mens_and_boys_clothing_and_accessories_stores",
                "mens_womens_clothing_stores",
                "metal_service_centers",
                "miscellaneous",
                "miscellaneous_apparel_and_accessory_shops",
                "miscellaneous_auto_dealers",
                "miscellaneous_business_services",
                "miscellaneous_food_stores",
                "miscellaneous_general_merchandise",
                "miscellaneous_general_services",
                "miscellaneous_home_furnishing_specialty_stores",
                "miscellaneous_publishing_and_printing",
                "miscellaneous_recreation_services",
                "miscellaneous_repair_shops",
                "miscellaneous_specialty_retail",
                "mobile_home_dealers",
                "motion_picture_theaters",
                "motor_freight_carriers_and_trucking",
                "motor_homes_dealers",
                "motor_vehicle_supplies_and_new_parts",
                "motorcycle_shops_and_dealers",
                "motorcycle_shops_dealers",
                "music_stores_musical_instruments_pianos_and_sheet_music",
                "news_dealers_and_newsstands",
                "non_fi_money_orders",
                "non_fi_stored_value_card_purchase_load",
                "nondurable_goods",
                "nurseries_lawn_and_garden_supply_stores",
                "nursing_personal_care",
                "office_and_commercial_furniture",
                "opticians_eyeglasses",
                "optometrists_ophthalmologist",
                "orthopedic_goods_prosthetic_devices",
                "osteopaths",
                "package_stores_beer_wine_and_liquor",
                "paints_varnishes_and_supplies",
                "parking_lots_garages",
                "passenger_railways",
                "pawn_shops",
                "pet_shops_pet_food_and_supplies",
                "petroleum_and_petroleum_products",
                "photo_developing",
                "photographic_photocopy_microfilm_equipment_and_supplies",
                "photographic_studios",
                "picture_video_production",
                "piece_goods_notions_and_other_dry_goods",
                "plumbing_heating_equipment_and_supplies",
                "political_organizations",
                "postal_services_government_only",
                "precious_stones_and_metals_watches_and_jewelry",
                "professional_services",
                "public_warehousing_and_storage",
                "quick_copy_repro_and_blueprint",
                "railroads",
                "real_estate_agents_and_managers_rentals",
                "record_stores",
                "recreational_vehicle_rentals",
                "religious_goods_stores",
                "religious_organizations",
                "roofing_siding_sheet_metal",
                "secretarial_support_services",
                "security_brokers_dealers",
                "service_stations",
                "sewing_needlework_fabric_and_piece_goods_stores",
                "shoe_repair_hat_cleaning",
                "shoe_stores",
                "small_appliance_repair",
                "snowmobile_dealers",
                "special_trade_services",
                "specialty_cleaning",
                "sporting_goods_stores",
                "sporting_recreation_camps",
                "sports_and_riding_apparel_stores",
                "sports_clubs_fields",
                "stamp_and_coin_stores",
                "stationary_office_supplies_printing_and_writing_paper",
                "stationery_stores_office_and_school_supply_stores",
                "swimming_pools_sales",
                "t_ui_travel_germany",
                "tailors_alterations",
                "tax_payments_government_agencies",
                "tax_preparation_services",
                "taxicabs_limousines",
                "telecommunication_equipment_and_telephone_sales",
                "telecommunication_services",
                "telegraph_services",
                "tent_and_awning_shops",
                "testing_laboratories",
                "theatrical_ticket_agencies",
                "timeshares",
                "tire_retreading_and_repair",
                "tolls_bridge_fees",
                "tourist_attractions_and_exhibits",
                "towing_services",
                "trailer_parks_campgrounds",
                "transportation_services",
                "travel_agencies_tour_operators",
                "truck_stop_iteration",
                "truck_utility_trailer_rentals",
                "typesetting_plate_making_and_related_services",
                "typewriter_stores",
                "u_s_federal_government_agencies_or_departments",
                "uniforms_commercial_clothing",
                "used_merchandise_and_secondhand_stores",
                "utilities",
                "variety_stores",
                "veterinary_services",
                "video_amusement_game_supplies",
                "video_game_arcades",
                "video_tape_rental_stores",
                "vocational_trade_schools",
                "watch_jewelry_repair",
                "welding_repair",
                "wholesale_clubs",
                "wig_and_toupee_stores",
                "wires_money_orders",
                "womens_accessory_and_specialty_shops",
                "womens_ready_to_wear_stores",
                "wrecking_and_salvage_yards"
              ],
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "allowed_merchant_countries": {
            "description": "Array of strings containing representing countries from which authorizations will be allowed. Authorizations from merchants in all other countries will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `blocked_merchant_countries`. Provide an empty value to unset this control.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "blocked_categories": {
            "description": "Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`.",
            "items": {
              "enum": [
                "ac_refrigeration_repair",
                "accounting_bookkeeping_services",
                "advertising_services",
                "agricultural_cooperative",
                "airlines_air_carriers",
                "airports_flying_fields",
                "ambulance_services",
                "amusement_parks_carnivals",
                "antique_reproductions",
                "antique_shops",
                "aquariums",
                "architectural_surveying_services",
                "art_dealers_and_galleries",
                "artists_supply_and_craft_shops",
                "auto_and_home_supply_stores",
                "auto_body_repair_shops",
                "auto_paint_shops",
                "auto_service_shops",
                "automated_cash_disburse",
                "automated_fuel_dispensers",
                "automobile_associations",
                "automotive_parts_and_accessories_stores",
                "automotive_tire_stores",
                "bail_and_bond_payments",
                "bakeries",
                "bands_orchestras",
                "barber_and_beauty_shops",
                "betting_casino_gambling",
                "bicycle_shops",
                "billiard_pool_establishments",
                "boat_dealers",
                "boat_rentals_and_leases",
                "book_stores",
                "books_periodicals_and_newspapers",
                "bowling_alleys",
                "bus_lines",
                "business_secretarial_schools",
                "buying_shopping_services",
                "cable_satellite_and_other_pay_television_and_radio",
                "camera_and_photographic_supply_stores",
                "candy_nut_and_confectionery_stores",
                "car_and_truck_dealers_new_used",
                "car_and_truck_dealers_used_only",
                "car_rental_agencies",
                "car_washes",
                "carpentry_services",
                "carpet_upholstery_cleaning",
                "caterers",
                "charitable_and_social_service_organizations_fundraising",
                "chemicals_and_allied_products",
                "child_care_services",
                "childrens_and_infants_wear_stores",
                "chiropodists_podiatrists",
                "chiropractors",
                "cigar_stores_and_stands",
                "civic_social_fraternal_associations",
                "cleaning_and_maintenance",
                "clothing_rental",
                "colleges_universities",
                "commercial_equipment",
                "commercial_footwear",
                "commercial_photography_art_and_graphics",
                "commuter_transport_and_ferries",
                "computer_network_services",
                "computer_programming",
                "computer_repair",
                "computer_software_stores",
                "computers_peripherals_and_software",
                "concrete_work_services",
                "construction_materials",
                "consulting_public_relations",
                "correspondence_schools",
                "cosmetic_stores",
                "counseling_services",
                "country_clubs",
                "courier_services",
                "court_costs",
                "credit_reporting_agencies",
                "cruise_lines",
                "dairy_products_stores",
                "dance_hall_studios_schools",
                "dating_escort_services",
                "dentists_orthodontists",
                "department_stores",
                "detective_agencies",
                "digital_goods_applications",
                "digital_goods_games",
                "digital_goods_large_volume",
                "digital_goods_media",
                "direct_marketing_catalog_merchant",
                "direct_marketing_combination_catalog_and_retail_merchant",
                "direct_marketing_inbound_telemarketing",
                "direct_marketing_insurance_services",
                "direct_marketing_other",
                "direct_marketing_outbound_telemarketing",
                "direct_marketing_subscription",
                "direct_marketing_travel",
                "discount_stores",
                "doctors",
                "door_to_door_sales",
                "drapery_window_covering_and_upholstery_stores",
                "drinking_places",
                "drug_stores_and_pharmacies",
                "drugs_drug_proprietaries_and_druggist_sundries",
                "dry_cleaners",
                "durable_goods",
                "duty_free_stores",
                "eating_places_restaurants",
                "educational_services",
                "electric_razor_stores",
                "electric_vehicle_charging",
                "electrical_parts_and_equipment",
                "electrical_services",
                "electronics_repair_shops",
                "electronics_stores",
                "elementary_secondary_schools",
                "emergency_services_gcas_visa_use_only",
                "employment_temp_agencies",
                "equipment_rental",
                "exterminating_services",
                "family_clothing_stores",
                "fast_food_restaurants",
                "financial_institutions",
                "fines_government_administrative_entities",
                "fireplace_fireplace_screens_and_accessories_stores",
                "floor_covering_stores",
                "florists",
                "florists_supplies_nursery_stock_and_flowers",
                "freezer_and_locker_meat_provisioners",
                "fuel_dealers_non_automotive",
                "funeral_services_crematories",
                "furniture_home_furnishings_and_equipment_stores_except_appliances",
                "furniture_repair_refinishing",
                "furriers_and_fur_shops",
                "general_services",
                "gift_card_novelty_and_souvenir_shops",
                "glass_paint_and_wallpaper_stores",
                "glassware_crystal_stores",
                "golf_courses_public",
                "government_licensed_horse_dog_racing_us_region_only",
                "government_licensed_online_casions_online_gambling_us_region_only",
                "government_owned_lotteries_non_us_region",
                "government_owned_lotteries_us_region_only",
                "government_services",
                "grocery_stores_supermarkets",
                "hardware_equipment_and_supplies",
                "hardware_stores",
                "health_and_beauty_spas",
                "hearing_aids_sales_and_supplies",
                "heating_plumbing_a_c",
                "hobby_toy_and_game_shops",
                "home_supply_warehouse_stores",
                "hospitals",
                "hotels_motels_and_resorts",
                "household_appliance_stores",
                "industrial_supplies",
                "information_retrieval_services",
                "insurance_default",
                "insurance_underwriting_premiums",
                "intra_company_purchases",
                "jewelry_stores_watches_clocks_and_silverware_stores",
                "landscaping_services",
                "laundries",
                "laundry_cleaning_services",
                "legal_services_attorneys",
                "luggage_and_leather_goods_stores",
                "lumber_building_materials_stores",
                "manual_cash_disburse",
                "marinas_service_and_supplies",
                "marketplaces",
                "masonry_stonework_and_plaster",
                "massage_parlors",
                "medical_and_dental_labs",
                "medical_dental_ophthalmic_and_hospital_equipment_and_supplies",
                "medical_services",
                "membership_organizations",
                "mens_and_boys_clothing_and_accessories_stores",
                "mens_womens_clothing_stores",
                "metal_service_centers",
                "miscellaneous",
                "miscellaneous_apparel_and_accessory_shops",
                "miscellaneous_auto_dealers",
                "miscellaneous_business_services",
                "miscellaneous_food_stores",
                "miscellaneous_general_merchandise",
                "miscellaneous_general_services",
                "miscellaneous_home_furnishing_specialty_stores",
                "miscellaneous_publishing_and_printing",
                "miscellaneous_recreation_services",
                "miscellaneous_repair_shops",
                "miscellaneous_specialty_retail",
                "mobile_home_dealers",
                "motion_picture_theaters",
                "motor_freight_carriers_and_trucking",
                "motor_homes_dealers",
                "motor_vehicle_supplies_and_new_parts",
                "motorcycle_shops_and_dealers",
                "motorcycle_shops_dealers",
                "music_stores_musical_instruments_pianos_and_sheet_music",
                "news_dealers_and_newsstands",
                "non_fi_money_orders",
                "non_fi_stored_value_card_purchase_load",
                "nondurable_goods",
                "nurseries_lawn_and_garden_supply_stores",
                "nursing_personal_care",
                "office_and_commercial_furniture",
                "opticians_eyeglasses",
                "optometrists_ophthalmologist",
                "orthopedic_goods_prosthetic_devices",
                "osteopaths",
                "package_stores_beer_wine_and_liquor",
                "paints_varnishes_and_supplies",
                "parking_lots_garages",
                "passenger_railways",
                "pawn_shops",
                "pet_shops_pet_food_and_supplies",
                "petroleum_and_petroleum_products",
                "photo_developing",
                "photographic_photocopy_microfilm_equipment_and_supplies",
                "photographic_studios",
                "picture_video_production",
                "piece_goods_notions_and_other_dry_goods",
                "plumbing_heating_equipment_and_supplies",
                "political_organizations",
                "postal_services_government_only",
                "precious_stones_and_metals_watches_and_jewelry",
                "professional_services",
                "public_warehousing_and_storage",
                "quick_copy_repro_and_blueprint",
                "railroads",
                "real_estate_agents_and_managers_rentals",
                "record_stores",
                "recreational_vehicle_rentals",
                "religious_goods_stores",
                "religious_organizations",
                "roofing_siding_sheet_metal",
                "secretarial_support_services",
                "security_brokers_dealers",
                "service_stations",
                "sewing_needlework_fabric_and_piece_goods_stores",
                "shoe_repair_hat_cleaning",
                "shoe_stores",
                "small_appliance_repair",
                "snowmobile_dealers",
                "special_trade_services",
                "specialty_cleaning",
                "sporting_goods_stores",
                "sporting_recreation_camps",
                "sports_and_riding_apparel_stores",
                "sports_clubs_fields",
                "stamp_and_coin_stores",
                "stationary_office_supplies_printing_and_writing_paper",
                "stationery_stores_office_and_school_supply_stores",
                "swimming_pools_sales",
                "t_ui_travel_germany",
                "tailors_alterations",
                "tax_payments_government_agencies",
                "tax_preparation_services",
                "taxicabs_limousines",
                "telecommunication_equipment_and_telephone_sales",
                "telecommunication_services",
                "telegraph_services",
                "tent_and_awning_shops",
                "testing_laboratories",
                "theatrical_ticket_agencies",
                "timeshares",
                "tire_retreading_and_repair",
                "tolls_bridge_fees",
                "tourist_attractions_and_exhibits",
                "towing_services",
                "trailer_parks_campgrounds",
                "transportation_services",
                "travel_agencies_tour_operators",
                "truck_stop_iteration",
                "truck_utility_trailer_rentals",
                "typesetting_plate_making_and_related_services",
                "typewriter_stores",
                "u_s_federal_government_agencies_or_departments",
                "uniforms_commercial_clothing",
                "used_merchandise_and_secondhand_stores",
                "utilities",
                "variety_stores",
                "veterinary_services",
                "video_amusement_game_supplies",
                "video_game_arcades",
                "video_tape_rental_stores",
                "vocational_trade_schools",
                "watch_jewelry_repair",
                "welding_repair",
                "wholesale_clubs",
                "wig_and_toupee_stores",
                "wires_money_orders",
                "womens_accessory_and_specialty_shops",
                "womens_ready_to_wear_stores",
                "wrecking_and_salvage_yards"
              ],
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "blocked_merchant_countries": {
            "description": "Array of strings containing representing countries from which authorizations will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `allowed_merchant_countries`. Provide an empty value to unset this control.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "spending_limits": {
            "description": "Limit spending with amount-based rules that apply across any cards this card replaced (i.e., its `replacement_for` card and _that_ card's `replacement_for` card, up the chain).",
            "items": {
              "$ref": "#/components/schemas/issuing_card_spending_limit"
            },
            "nullable": true,
            "type": "array"
          },
          "spending_limits_currency": {
            "description": "Currency of the amounts within `spending_limits`. Always the same as the currency of the card.",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "allowed_categories",
          "allowed_merchant_countries",
          "blocked_categories",
          "blocked_merchant_countries",
          "spending_limits",
          "spending_limits_currency"
        ],
        "title": "IssuingCardAuthorizationControls",
        "type": "object",
        "x-expandableFields": [
          "spending_limits"
        ],
        "x-stripeMostCommon": [
          "allowed_categories",
          "allowed_merchant_countries",
          "blocked_categories",
          "blocked_merchant_countries",
          "spending_limits",
          "spending_limits_currency"
        ]
      },
      "issuing_card_google_pay": {
        "description": "",
        "properties": {
          "eligible": {
            "description": "Google Pay Eligibility",
            "type": "boolean"
          },
          "ineligible_reason": {
            "description": "Reason the card is ineligible for Google Pay",
            "enum": [
              "missing_agreement",
              "missing_cardholder_contact",
              "unsupported_region"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "eligible",
          "ineligible_reason"
        ],
        "title": "IssuingCardGooglePay",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "eligible",
          "ineligible_reason"
        ]
      },
      "issuing_card_shipping": {
        "description": "",
        "properties": {
          "address": {
            "$ref": "#/components/schemas/address"
          },
          "address_validation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_card_shipping_address_validation"
              }
            ],
            "description": "Address validation details for the shipment.",
            "nullable": true
          },
          "carrier": {
            "description": "The delivery company that shipped a card.",
            "enum": [
              "dhl",
              "fedex",
              "royal_mail",
              "usps"
            ],
            "nullable": true,
            "type": "string"
          },
          "customs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_card_shipping_customs"
              }
            ],
            "description": "Additional information that may be required for clearing customs.",
            "nullable": true
          },
          "eta": {
            "description": "A unix timestamp representing a best estimate of when the card will be delivered.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "name": {
            "description": "Recipient name.",
            "maxLength": 5000,
            "type": "string"
          },
          "phone_number": {
            "description": "The phone number of the receiver of the shipment. Our courier partners will use this number to contact you in the event of card delivery issues. For individual shipments to the EU/UK, if this field is empty, we will provide them with the phone number provided when the cardholder was initially created.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "require_signature": {
            "description": "Whether a signature is required for card delivery. This feature is only supported for US users. Standard shipping service does not support signature on delivery. The default value for standard shipping service is false and for express and priority services is true.",
            "nullable": true,
            "type": "boolean"
          },
          "service": {
            "description": "Shipment service, such as `standard` or `express`.",
            "enum": [
              "express",
              "priority",
              "standard"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "status": {
            "description": "The delivery status of the card.",
            "enum": [
              "canceled",
              "delivered",
              "failure",
              "pending",
              "returned",
              "shipped",
              "submitted"
            ],
            "nullable": true,
            "type": "string"
          },
          "tracking_number": {
            "description": "A tracking number for a card shipment.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "tracking_url": {
            "description": "A link to the shipping carrier's site where you can view detailed information about a card shipment.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "type": {
            "description": "Packaging options.",
            "enum": [
              "bulk",
              "individual"
            ],
            "type": "string"
          }
        },
        "required": [
          "address",
          "address_validation",
          "carrier",
          "customs",
          "eta",
          "name",
          "phone_number",
          "require_signature",
          "service",
          "status",
          "tracking_number",
          "tracking_url",
          "type"
        ],
        "title": "IssuingCardShipping",
        "type": "object",
        "x-expandableFields": [
          "address",
          "address_validation",
          "customs"
        ],
        "x-stripeMostCommon": [
          "address",
          "address_validation",
          "carrier",
          "customs",
          "eta",
          "name",
          "phone_number",
          "require_signature",
          "service",
          "status",
          "tracking_number",
          "tracking_url",
          "type"
        ]
      },
      "issuing_card_shipping_address_validation": {
        "description": "",
        "properties": {
          "mode": {
            "description": "The address validation capabilities to use.",
            "enum": [
              "disabled",
              "normalization_only",
              "validation_and_normalization"
            ],
            "type": "string"
          },
          "normalized_address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/address"
              }
            ],
            "description": "The normalized shipping address.",
            "nullable": true
          },
          "result": {
            "description": "The validation result for the shipping address.",
            "enum": [
              "indeterminate",
              "likely_deliverable",
              "likely_undeliverable"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "mode",
          "normalized_address",
          "result"
        ],
        "title": "IssuingCardShippingAddressValidation",
        "type": "object",
        "x-expandableFields": [
          "normalized_address"
        ],
        "x-stripeMostCommon": [
          "mode",
          "normalized_address",
          "result"
        ]
      },
      "issuing_card_shipping_customs": {
        "description": "",
        "properties": {
          "eori_number": {
            "description": "A registration number used for customs in Europe. See [https://www.gov.uk/eori](https://www.gov.uk/eori) for the UK and [https://ec.europa.eu/taxation_customs/business/customs-procedures-import-and-export/customs-procedures/economic-operators-registration-and-identification-number-eori_en](https://ec.europa.eu/taxation_customs/business/customs-procedures-import-and-export/customs-procedures/economic-operators-registration-and-identification-number-eori_en) for the EU.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "eori_number"
        ],
        "title": "IssuingCardShippingCustoms",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "eori_number"
        ]
      },
      "issuing_card_spending_limit": {
        "description": "",
        "properties": {
          "amount": {
            "description": "Maximum amount allowed to spend per interval. This amount is in the card's currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
            "type": "integer"
          },
          "categories": {
            "description": "Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories.",
            "items": {
              "enum": [
                "ac_refrigeration_repair",
                "accounting_bookkeeping_services",
                "advertising_services",
                "agricultural_cooperative",
                "airlines_air_carriers",
                "airports_flying_fields",
                "ambulance_services",
                "amusement_parks_carnivals",
                "antique_reproductions",
                "antique_shops",
                "aquariums",
                "architectural_surveying_services",
                "art_dealers_and_galleries",
                "artists_supply_and_craft_shops",
                "auto_and_home_supply_stores",
                "auto_body_repair_shops",
                "auto_paint_shops",
                "auto_service_shops",
                "automated_cash_disburse",
                "automated_fuel_dispensers",
                "automobile_associations",
                "automotive_parts_and_accessories_stores",
                "automotive_tire_stores",
                "bail_and_bond_payments",
                "bakeries",
                "bands_orchestras",
                "barber_and_beauty_shops",
                "betting_casino_gambling",
                "bicycle_shops",
                "billiard_pool_establishments",
                "boat_dealers",
                "boat_rentals_and_leases",
                "book_stores",
                "books_periodicals_and_newspapers",
                "bowling_alleys",
                "bus_lines",
                "business_secretarial_schools",
                "buying_shopping_services",
                "cable_satellite_and_other_pay_television_and_radio",
                "camera_and_photographic_supply_stores",
                "candy_nut_and_confectionery_stores",
                "car_and_truck_dealers_new_used",
                "car_and_truck_dealers_used_only",
                "car_rental_agencies",
                "car_washes",
                "carpentry_services",
                "carpet_upholstery_cleaning",
                "caterers",
                "charitable_and_social_service_organizations_fundraising",
                "chemicals_and_allied_products",
                "child_care_services",
                "childrens_and_infants_wear_stores",
                "chiropodists_podiatrists",
                "chiropractors",
                "cigar_stores_and_stands",
                "civic_social_fraternal_associations",
                "cleaning_and_maintenance",
                "clothing_rental",
                "colleges_universities",
                "commercial_equipment",
                "commercial_footwear",
                "commercial_photography_art_and_graphics",
                "commuter_transport_and_ferries",
                "computer_network_services",
                "computer_programming",
                "computer_repair",
                "computer_software_stores",
                "computers_peripherals_and_software",
                "concrete_work_services",
                "construction_materials",
                "consulting_public_relations",
                "correspondence_schools",
                "cosmetic_stores",
                "counseling_services",
                "country_clubs",
                "courier_services",
                "court_costs",
                "credit_reporting_agencies",
                "cruise_lines",
                "dairy_products_stores",
                "dance_hall_studios_schools",
                "dating_escort_services",
                "dentists_orthodontists",
                "department_stores",
                "detective_agencies",
                "digital_goods_applications",
                "digital_goods_games",
                "digital_goods_large_volume",
                "digital_goods_media",
                "direct_marketing_catalog_merchant",
                "direct_marketing_combination_catalog_and_retail_merchant",
                "direct_marketing_inbound_telemarketing",
                "direct_marketing_insurance_services",
                "direct_marketing_other",
                "direct_marketing_outbound_telemarketing",
                "direct_marketing_subscription",
                "direct_marketing_travel",
                "discount_stores",
                "doctors",
                "door_to_door_sales",
                "drapery_window_covering_and_upholstery_stores",
                "drinking_places",
                "drug_stores_and_pharmacies",
                "drugs_drug_proprietaries_and_druggist_sundries",
                "dry_cleaners",
                "durable_goods",
                "duty_free_stores",
                "eating_places_restaurants",
                "educational_services",
                "electric_razor_stores",
                "electric_vehicle_charging",
                "electrical_parts_and_equipment",
                "electrical_services",
                "electronics_repair_shops",
                "electronics_stores",
                "elementary_secondary_schools",
                "emergency_services_gcas_visa_use_only",
                "employment_temp_agencies",
                "equipment_rental",
                "exterminating_services",
                "family_clothing_stores",
                "fast_food_restaurants",
                "financial_institutions",
                "fines_government_administrative_entities",
                "fireplace_fireplace_screens_and_accessories_stores",
                "floor_covering_stores",
                "florists",
                "florists_supplies_nursery_stock_and_flowers",
                "freezer_and_locker_meat_provisioners",
                "fuel_dealers_non_automotive",
                "funeral_services_crematories",
                "furniture_home_furnishings_and_equipment_stores_except_appliances",
                "furniture_repair_refinishing",
                "furriers_and_fur_shops",
                "general_services",
                "gift_card_novelty_and_souvenir_shops",
                "glass_paint_and_wallpaper_stores",
                "glassware_crystal_stores",
                "golf_courses_public",
                "government_licensed_horse_dog_racing_us_region_only",
                "government_licensed_online_casions_online_gambling_us_region_only",
                "government_owned_lotteries_non_us_region",
                "government_owned_lotteries_us_region_only",
                "government_services",
                "grocery_stores_supermarkets",
                "hardware_equipment_and_supplies",
                "hardware_stores",
                "health_and_beauty_spas",
                "hearing_aids_sales_and_supplies",
                "heating_plumbing_a_c",
                "hobby_toy_and_game_shops",
                "home_supply_warehouse_stores",
                "hospitals",
                "hotels_motels_and_resorts",
                "household_appliance_stores",
                "industrial_supplies",
                "information_retrieval_services",
                "insurance_default",
                "insurance_underwriting_premiums",
                "intra_company_purchases",
                "jewelry_stores_watches_clocks_and_silverware_stores",
                "landscaping_services",
                "laundries",
                "laundry_cleaning_services",
                "legal_services_attorneys",
                "luggage_and_leather_goods_stores",
                "lumber_building_materials_stores",
                "manual_cash_disburse",
                "marinas_service_and_supplies",
                "marketplaces",
                "masonry_stonework_and_plaster",
                "massage_parlors",
                "medical_and_dental_labs",
                "medical_dental_ophthalmic_and_hospital_equipment_and_supplies",
                "medical_services",
                "membership_organizations",
                "mens_and_boys_clothing_and_accessories_stores",
                "mens_womens_clothing_stores",
                "metal_service_centers",
                "miscellaneous",
                "miscellaneous_apparel_and_accessory_shops",
                "miscellaneous_auto_dealers",
                "miscellaneous_business_services",
                "miscellaneous_food_stores",
                "miscellaneous_general_merchandise",
                "miscellaneous_general_services",
                "miscellaneous_home_furnishing_specialty_stores",
                "miscellaneous_publishing_and_printing",
                "miscellaneous_recreation_services",
                "miscellaneous_repair_shops",
                "miscellaneous_specialty_retail",
                "mobile_home_dealers",
                "motion_picture_theaters",
                "motor_freight_carriers_and_trucking",
                "motor_homes_dealers",
                "motor_vehicle_supplies_and_new_parts",
                "motorcycle_shops_and_dealers",
                "motorcycle_shops_dealers",
                "music_stores_musical_instruments_pianos_and_sheet_music",
                "news_dealers_and_newsstands",
                "non_fi_money_orders",
                "non_fi_stored_value_card_purchase_load",
                "nondurable_goods",
                "nurseries_lawn_and_garden_supply_stores",
                "nursing_personal_care",
                "office_and_commercial_furniture",
                "opticians_eyeglasses",
                "optometrists_ophthalmologist",
                "orthopedic_goods_prosthetic_devices",
                "osteopaths",
                "package_stores_beer_wine_and_liquor",
                "paints_varnishes_and_supplies",
                "parking_lots_garages",
                "passenger_railways",
                "pawn_shops",
                "pet_shops_pet_food_and_supplies",
                "petroleum_and_petroleum_products",
                "photo_developing",
                "photographic_photocopy_microfilm_equipment_and_supplies",
                "photographic_studios",
                "picture_video_production",
                "piece_goods_notions_and_other_dry_goods",
                "plumbing_heating_equipment_and_supplies",
                "political_organizations",
                "postal_services_government_only",
                "precious_stones_and_metals_watches_and_jewelry",
                "professional_services",
                "public_warehousing_and_storage",
                "quick_copy_repro_and_blueprint",
                "railroads",
                "real_estate_agents_and_managers_rentals",
                "record_stores",
                "recreational_vehicle_rentals",
                "religious_goods_stores",
                "religious_organizations",
                "roofing_siding_sheet_metal",
                "secretarial_support_services",
                "security_brokers_dealers",
                "service_stations",
                "sewing_needlework_fabric_and_piece_goods_stores",
                "shoe_repair_hat_cleaning",
                "shoe_stores",
                "small_appliance_repair",
                "snowmobile_dealers",
                "special_trade_services",
                "specialty_cleaning",
                "sporting_goods_stores",
                "sporting_recreation_camps",
                "sports_and_riding_apparel_stores",
                "sports_clubs_fields",
                "stamp_and_coin_stores",
                "stationary_office_supplies_printing_and_writing_paper",
                "stationery_stores_office_and_school_supply_stores",
                "swimming_pools_sales",
                "t_ui_travel_germany",
                "tailors_alterations",
                "tax_payments_government_agencies",
                "tax_preparation_services",
                "taxicabs_limousines",
                "telecommunication_equipment_and_telephone_sales",
                "telecommunication_services",
                "telegraph_services",
                "tent_and_awning_shops",
                "testing_laboratories",
                "theatrical_ticket_agencies",
                "timeshares",
                "tire_retreading_and_repair",
                "tolls_bridge_fees",
                "tourist_attractions_and_exhibits",
                "towing_services",
                "trailer_parks_campgrounds",
                "transportation_services",
                "travel_agencies_tour_operators",
                "truck_stop_iteration",
                "truck_utility_trailer_rentals",
                "typesetting_plate_making_and_related_services",
                "typewriter_stores",
                "u_s_federal_government_agencies_or_departments",
                "uniforms_commercial_clothing",
                "used_merchandise_and_secondhand_stores",
                "utilities",
                "variety_stores",
                "veterinary_services",
                "video_amusement_game_supplies",
                "video_game_arcades",
                "video_tape_rental_stores",
                "vocational_trade_schools",
                "watch_jewelry_repair",
                "welding_repair",
                "wholesale_clubs",
                "wig_and_toupee_stores",
                "wires_money_orders",
                "womens_accessory_and_specialty_shops",
                "womens_ready_to_wear_stores",
                "wrecking_and_salvage_yards"
              ],
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "interval": {
            "description": "Interval (or event) to which the amount applies.",
            "enum": [
              "all_time",
              "daily",
              "monthly",
              "per_authorization",
              "weekly",
              "yearly"
            ],
            "type": "string"
          }
        },
        "required": [
          "amount",
          "categories",
          "interval"
        ],
        "title": "IssuingCardSpendingLimit",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "amount",
          "categories",
          "interval"
        ]
      },
      "issuing_card_wallets": {
        "description": "",
        "properties": {
          "apple_pay": {
            "$ref": "#/components/schemas/issuing_card_apple_pay"
          },
          "google_pay": {
            "$ref": "#/components/schemas/issuing_card_google_pay"
          },
          "primary_account_identifier": {
            "description": "Unique identifier for a card used with digital wallets",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "apple_pay",
          "google_pay",
          "primary_account_identifier"
        ],
        "title": "IssuingCardWallets",
        "type": "object",
        "x-expandableFields": [
          "apple_pay",
          "google_pay"
        ],
        "x-stripeMostCommon": [
          "apple_pay",
          "google_pay",
          "primary_account_identifier"
        ]
      },
      "issuing_cardholder.created": {
        "description": "Occurs whenever a cardholder is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/issuing.cardholder"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "issuing_cardholder.created"
        }
      },
      "issuing_cardholder.updated": {
        "description": "Occurs whenever a cardholder is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/issuing.cardholder"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "issuing_cardholder.updated"
        }
      },
      "issuing_cardholder_address": {
        "description": "",
        "properties": {
          "address": {
            "$ref": "#/components/schemas/address"
          }
        },
        "required": [
          "address"
        ],
        "title": "IssuingCardholderAddress",
        "type": "object",
        "x-expandableFields": [
          "address"
        ],
        "x-stripeMostCommon": [
          "address"
        ]
      },
      "issuing_cardholder_authorization_controls": {
        "description": "",
        "properties": {
          "allowed_categories": {
            "description": "Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`.",
            "items": {
              "enum": [
                "ac_refrigeration_repair",
                "accounting_bookkeeping_services",
                "advertising_services",
                "agricultural_cooperative",
                "airlines_air_carriers",
                "airports_flying_fields",
                "ambulance_services",
                "amusement_parks_carnivals",
                "antique_reproductions",
                "antique_shops",
                "aquariums",
                "architectural_surveying_services",
                "art_dealers_and_galleries",
                "artists_supply_and_craft_shops",
                "auto_and_home_supply_stores",
                "auto_body_repair_shops",
                "auto_paint_shops",
                "auto_service_shops",
                "automated_cash_disburse",
                "automated_fuel_dispensers",
                "automobile_associations",
                "automotive_parts_and_accessories_stores",
                "automotive_tire_stores",
                "bail_and_bond_payments",
                "bakeries",
                "bands_orchestras",
                "barber_and_beauty_shops",
                "betting_casino_gambling",
                "bicycle_shops",
                "billiard_pool_establishments",
                "boat_dealers",
                "boat_rentals_and_leases",
                "book_stores",
                "books_periodicals_and_newspapers",
                "bowling_alleys",
                "bus_lines",
                "business_secretarial_schools",
                "buying_shopping_services",
                "cable_satellite_and_other_pay_television_and_radio",
                "camera_and_photographic_supply_stores",
                "candy_nut_and_confectionery_stores",
                "car_and_truck_dealers_new_used",
                "car_and_truck_dealers_used_only",
                "car_rental_agencies",
                "car_washes",
                "carpentry_services",
                "carpet_upholstery_cleaning",
                "caterers",
                "charitable_and_social_service_organizations_fundraising",
                "chemicals_and_allied_products",
                "child_care_services",
                "childrens_and_infants_wear_stores",
                "chiropodists_podiatrists",
                "chiropractors",
                "cigar_stores_and_stands",
                "civic_social_fraternal_associations",
                "cleaning_and_maintenance",
                "clothing_rental",
                "colleges_universities",
                "commercial_equipment",
                "commercial_footwear",
                "commercial_photography_art_and_graphics",
                "commuter_transport_and_ferries",
                "computer_network_services",
                "computer_programming",
                "computer_repair",
                "computer_software_stores",
                "computers_peripherals_and_software",
                "concrete_work_services",
                "construction_materials",
                "consulting_public_relations",
                "correspondence_schools",
                "cosmetic_stores",
                "counseling_services",
                "country_clubs",
                "courier_services",
                "court_costs",
                "credit_reporting_agencies",
                "cruise_lines",
                "dairy_products_stores",
                "dance_hall_studios_schools",
                "dating_escort_services",
                "dentists_orthodontists",
                "department_stores",
                "detective_agencies",
                "digital_goods_applications",
                "digital_goods_games",
                "digital_goods_large_volume",
                "digital_goods_media",
                "direct_marketing_catalog_merchant",
                "direct_marketing_combination_catalog_and_retail_merchant",
                "direct_marketing_inbound_telemarketing",
                "direct_marketing_insurance_services",
                "direct_marketing_other",
                "direct_marketing_outbound_telemarketing",
                "direct_marketing_subscription",
                "direct_marketing_travel",
                "discount_stores",
                "doctors",
                "door_to_door_sales",
                "drapery_window_covering_and_upholstery_stores",
                "drinking_places",
                "drug_stores_and_pharmacies",
                "drugs_drug_proprietaries_and_druggist_sundries",
                "dry_cleaners",
                "durable_goods",
                "duty_free_stores",
                "eating_places_restaurants",
                "educational_services",
                "electric_razor_stores",
                "electric_vehicle_charging",
                "electrical_parts_and_equipment",
                "electrical_services",
                "electronics_repair_shops",
                "electronics_stores",
                "elementary_secondary_schools",
                "emergency_services_gcas_visa_use_only",
                "employment_temp_agencies",
                "equipment_rental",
                "exterminating_services",
                "family_clothing_stores",
                "fast_food_restaurants",
                "financial_institutions",
                "fines_government_administrative_entities",
                "fireplace_fireplace_screens_and_accessories_stores",
                "floor_covering_stores",
                "florists",
                "florists_supplies_nursery_stock_and_flowers",
                "freezer_and_locker_meat_provisioners",
                "fuel_dealers_non_automotive",
                "funeral_services_crematories",
                "furniture_home_furnishings_and_equipment_stores_except_appliances",
                "furniture_repair_refinishing",
                "furriers_and_fur_shops",
                "general_services",
                "gift_card_novelty_and_souvenir_shops",
                "glass_paint_and_wallpaper_stores",
                "glassware_crystal_stores",
                "golf_courses_public",
                "government_licensed_horse_dog_racing_us_region_only",
                "government_licensed_online_casions_online_gambling_us_region_only",
                "government_owned_lotteries_non_us_region",
                "government_owned_lotteries_us_region_only",
                "government_services",
                "grocery_stores_supermarkets",
                "hardware_equipment_and_supplies",
                "hardware_stores",
                "health_and_beauty_spas",
                "hearing_aids_sales_and_supplies",
                "heating_plumbing_a_c",
                "hobby_toy_and_game_shops",
                "home_supply_warehouse_stores",
                "hospitals",
                "hotels_motels_and_resorts",
                "household_appliance_stores",
                "industrial_supplies",
                "information_retrieval_services",
                "insurance_default",
                "insurance_underwriting_premiums",
                "intra_company_purchases",
                "jewelry_stores_watches_clocks_and_silverware_stores",
                "landscaping_services",
                "laundries",
                "laundry_cleaning_services",
                "legal_services_attorneys",
                "luggage_and_leather_goods_stores",
                "lumber_building_materials_stores",
                "manual_cash_disburse",
                "marinas_service_and_supplies",
                "marketplaces",
                "masonry_stonework_and_plaster",
                "massage_parlors",
                "medical_and_dental_labs",
                "medical_dental_ophthalmic_and_hospital_equipment_and_supplies",
                "medical_services",
                "membership_organizations",
                "mens_and_boys_clothing_and_accessories_stores",
                "mens_womens_clothing_stores",
                "metal_service_centers",
                "miscellaneous",
                "miscellaneous_apparel_and_accessory_shops",
                "miscellaneous_auto_dealers",
                "miscellaneous_business_services",
                "miscellaneous_food_stores",
                "miscellaneous_general_merchandise",
                "miscellaneous_general_services",
                "miscellaneous_home_furnishing_specialty_stores",
                "miscellaneous_publishing_and_printing",
                "miscellaneous_recreation_services",
                "miscellaneous_repair_shops",
                "miscellaneous_specialty_retail",
                "mobile_home_dealers",
                "motion_picture_theaters",
                "motor_freight_carriers_and_trucking",
                "motor_homes_dealers",
                "motor_vehicle_supplies_and_new_parts",
                "motorcycle_shops_and_dealers",
                "motorcycle_shops_dealers",
                "music_stores_musical_instruments_pianos_and_sheet_music",
                "news_dealers_and_newsstands",
                "non_fi_money_orders",
                "non_fi_stored_value_card_purchase_load",
                "nondurable_goods",
                "nurseries_lawn_and_garden_supply_stores",
                "nursing_personal_care",
                "office_and_commercial_furniture",
                "opticians_eyeglasses",
                "optometrists_ophthalmologist",
                "orthopedic_goods_prosthetic_devices",
                "osteopaths",
                "package_stores_beer_wine_and_liquor",
                "paints_varnishes_and_supplies",
                "parking_lots_garages",
                "passenger_railways",
                "pawn_shops",
                "pet_shops_pet_food_and_supplies",
                "petroleum_and_petroleum_products",
                "photo_developing",
                "photographic_photocopy_microfilm_equipment_and_supplies",
                "photographic_studios",
                "picture_video_production",
                "piece_goods_notions_and_other_dry_goods",
                "plumbing_heating_equipment_and_supplies",
                "political_organizations",
                "postal_services_government_only",
                "precious_stones_and_metals_watches_and_jewelry",
                "professional_services",
                "public_warehousing_and_storage",
                "quick_copy_repro_and_blueprint",
                "railroads",
                "real_estate_agents_and_managers_rentals",
                "record_stores",
                "recreational_vehicle_rentals",
                "religious_goods_stores",
                "religious_organizations",
                "roofing_siding_sheet_metal",
                "secretarial_support_services",
                "security_brokers_dealers",
                "service_stations",
                "sewing_needlework_fabric_and_piece_goods_stores",
                "shoe_repair_hat_cleaning",
                "shoe_stores",
                "small_appliance_repair",
                "snowmobile_dealers",
                "special_trade_services",
                "specialty_cleaning",
                "sporting_goods_stores",
                "sporting_recreation_camps",
                "sports_and_riding_apparel_stores",
                "sports_clubs_fields",
                "stamp_and_coin_stores",
                "stationary_office_supplies_printing_and_writing_paper",
                "stationery_stores_office_and_school_supply_stores",
                "swimming_pools_sales",
                "t_ui_travel_germany",
                "tailors_alterations",
                "tax_payments_government_agencies",
                "tax_preparation_services",
                "taxicabs_limousines",
                "telecommunication_equipment_and_telephone_sales",
                "telecommunication_services",
                "telegraph_services",
                "tent_and_awning_shops",
                "testing_laboratories",
                "theatrical_ticket_agencies",
                "timeshares",
                "tire_retreading_and_repair",
                "tolls_bridge_fees",
                "tourist_attractions_and_exhibits",
                "towing_services",
                "trailer_parks_campgrounds",
                "transportation_services",
                "travel_agencies_tour_operators",
                "truck_stop_iteration",
                "truck_utility_trailer_rentals",
                "typesetting_plate_making_and_related_services",
                "typewriter_stores",
                "u_s_federal_government_agencies_or_departments",
                "uniforms_commercial_clothing",
                "used_merchandise_and_secondhand_stores",
                "utilities",
                "variety_stores",
                "veterinary_services",
                "video_amusement_game_supplies",
                "video_game_arcades",
                "video_tape_rental_stores",
                "vocational_trade_schools",
                "watch_jewelry_repair",
                "welding_repair",
                "wholesale_clubs",
                "wig_and_toupee_stores",
                "wires_money_orders",
                "womens_accessory_and_specialty_shops",
                "womens_ready_to_wear_stores",
                "wrecking_and_salvage_yards"
              ],
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "allowed_merchant_countries": {
            "description": "Array of strings containing representing countries from which authorizations will be allowed. Authorizations from merchants in all other countries will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `blocked_merchant_countries`. Provide an empty value to unset this control.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "blocked_categories": {
            "description": "Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`.",
            "items": {
              "enum": [
                "ac_refrigeration_repair",
                "accounting_bookkeeping_services",
                "advertising_services",
                "agricultural_cooperative",
                "airlines_air_carriers",
                "airports_flying_fields",
                "ambulance_services",
                "amusement_parks_carnivals",
                "antique_reproductions",
                "antique_shops",
                "aquariums",
                "architectural_surveying_services",
                "art_dealers_and_galleries",
                "artists_supply_and_craft_shops",
                "auto_and_home_supply_stores",
                "auto_body_repair_shops",
                "auto_paint_shops",
                "auto_service_shops",
                "automated_cash_disburse",
                "automated_fuel_dispensers",
                "automobile_associations",
                "automotive_parts_and_accessories_stores",
                "automotive_tire_stores",
                "bail_and_bond_payments",
                "bakeries",
                "bands_orchestras",
                "barber_and_beauty_shops",
                "betting_casino_gambling",
                "bicycle_shops",
                "billiard_pool_establishments",
                "boat_dealers",
                "boat_rentals_and_leases",
                "book_stores",
                "books_periodicals_and_newspapers",
                "bowling_alleys",
                "bus_lines",
                "business_secretarial_schools",
                "buying_shopping_services",
                "cable_satellite_and_other_pay_television_and_radio",
                "camera_and_photographic_supply_stores",
                "candy_nut_and_confectionery_stores",
                "car_and_truck_dealers_new_used",
                "car_and_truck_dealers_used_only",
                "car_rental_agencies",
                "car_washes",
                "carpentry_services",
                "carpet_upholstery_cleaning",
                "caterers",
                "charitable_and_social_service_organizations_fundraising",
                "chemicals_and_allied_products",
                "child_care_services",
                "childrens_and_infants_wear_stores",
                "chiropodists_podiatrists",
                "chiropractors",
                "cigar_stores_and_stands",
                "civic_social_fraternal_associations",
                "cleaning_and_maintenance",
                "clothing_rental",
                "colleges_universities",
                "commercial_equipment",
                "commercial_footwear",
                "commercial_photography_art_and_graphics",
                "commuter_transport_and_ferries",
                "computer_network_services",
                "computer_programming",
                "computer_repair",
                "computer_software_stores",
                "computers_peripherals_and_software",
                "concrete_work_services",
                "construction_materials",
                "consulting_public_relations",
                "correspondence_schools",
                "cosmetic_stores",
                "counseling_services",
                "country_clubs",
                "courier_services",
                "court_costs",
                "credit_reporting_agencies",
                "cruise_lines",
                "dairy_products_stores",
                "dance_hall_studios_schools",
                "dating_escort_services",
                "dentists_orthodontists",
                "department_stores",
                "detective_agencies",
                "digital_goods_applications",
                "digital_goods_games",
                "digital_goods_large_volume",
                "digital_goods_media",
                "direct_marketing_catalog_merchant",
                "direct_marketing_combination_catalog_and_retail_merchant",
                "direct_marketing_inbound_telemarketing",
                "direct_marketing_insurance_services",
                "direct_marketing_other",
                "direct_marketing_outbound_telemarketing",
                "direct_marketing_subscription",
                "direct_marketing_travel",
                "discount_stores",
                "doctors",
                "door_to_door_sales",
                "drapery_window_covering_and_upholstery_stores",
                "drinking_places",
                "drug_stores_and_pharmacies",
                "drugs_drug_proprietaries_and_druggist_sundries",
                "dry_cleaners",
                "durable_goods",
                "duty_free_stores",
                "eating_places_restaurants",
                "educational_services",
                "electric_razor_stores",
                "electric_vehicle_charging",
                "electrical_parts_and_equipment",
                "electrical_services",
                "electronics_repair_shops",
                "electronics_stores",
                "elementary_secondary_schools",
                "emergency_services_gcas_visa_use_only",
                "employment_temp_agencies",
                "equipment_rental",
                "exterminating_services",
                "family_clothing_stores",
                "fast_food_restaurants",
                "financial_institutions",
                "fines_government_administrative_entities",
                "fireplace_fireplace_screens_and_accessories_stores",
                "floor_covering_stores",
                "florists",
                "florists_supplies_nursery_stock_and_flowers",
                "freezer_and_locker_meat_provisioners",
                "fuel_dealers_non_automotive",
                "funeral_services_crematories",
                "furniture_home_furnishings_and_equipment_stores_except_appliances",
                "furniture_repair_refinishing",
                "furriers_and_fur_shops",
                "general_services",
                "gift_card_novelty_and_souvenir_shops",
                "glass_paint_and_wallpaper_stores",
                "glassware_crystal_stores",
                "golf_courses_public",
                "government_licensed_horse_dog_racing_us_region_only",
                "government_licensed_online_casions_online_gambling_us_region_only",
                "government_owned_lotteries_non_us_region",
                "government_owned_lotteries_us_region_only",
                "government_services",
                "grocery_stores_supermarkets",
                "hardware_equipment_and_supplies",
                "hardware_stores",
                "health_and_beauty_spas",
                "hearing_aids_sales_and_supplies",
                "heating_plumbing_a_c",
                "hobby_toy_and_game_shops",
                "home_supply_warehouse_stores",
                "hospitals",
                "hotels_motels_and_resorts",
                "household_appliance_stores",
                "industrial_supplies",
                "information_retrieval_services",
                "insurance_default",
                "insurance_underwriting_premiums",
                "intra_company_purchases",
                "jewelry_stores_watches_clocks_and_silverware_stores",
                "landscaping_services",
                "laundries",
                "laundry_cleaning_services",
                "legal_services_attorneys",
                "luggage_and_leather_goods_stores",
                "lumber_building_materials_stores",
                "manual_cash_disburse",
                "marinas_service_and_supplies",
                "marketplaces",
                "masonry_stonework_and_plaster",
                "massage_parlors",
                "medical_and_dental_labs",
                "medical_dental_ophthalmic_and_hospital_equipment_and_supplies",
                "medical_services",
                "membership_organizations",
                "mens_and_boys_clothing_and_accessories_stores",
                "mens_womens_clothing_stores",
                "metal_service_centers",
                "miscellaneous",
                "miscellaneous_apparel_and_accessory_shops",
                "miscellaneous_auto_dealers",
                "miscellaneous_business_services",
                "miscellaneous_food_stores",
                "miscellaneous_general_merchandise",
                "miscellaneous_general_services",
                "miscellaneous_home_furnishing_specialty_stores",
                "miscellaneous_publishing_and_printing",
                "miscellaneous_recreation_services",
                "miscellaneous_repair_shops",
                "miscellaneous_specialty_retail",
                "mobile_home_dealers",
                "motion_picture_theaters",
                "motor_freight_carriers_and_trucking",
                "motor_homes_dealers",
                "motor_vehicle_supplies_and_new_parts",
                "motorcycle_shops_and_dealers",
                "motorcycle_shops_dealers",
                "music_stores_musical_instruments_pianos_and_sheet_music",
                "news_dealers_and_newsstands",
                "non_fi_money_orders",
                "non_fi_stored_value_card_purchase_load",
                "nondurable_goods",
                "nurseries_lawn_and_garden_supply_stores",
                "nursing_personal_care",
                "office_and_commercial_furniture",
                "opticians_eyeglasses",
                "optometrists_ophthalmologist",
                "orthopedic_goods_prosthetic_devices",
                "osteopaths",
                "package_stores_beer_wine_and_liquor",
                "paints_varnishes_and_supplies",
                "parking_lots_garages",
                "passenger_railways",
                "pawn_shops",
                "pet_shops_pet_food_and_supplies",
                "petroleum_and_petroleum_products",
                "photo_developing",
                "photographic_photocopy_microfilm_equipment_and_supplies",
                "photographic_studios",
                "picture_video_production",
                "piece_goods_notions_and_other_dry_goods",
                "plumbing_heating_equipment_and_supplies",
                "political_organizations",
                "postal_services_government_only",
                "precious_stones_and_metals_watches_and_jewelry",
                "professional_services",
                "public_warehousing_and_storage",
                "quick_copy_repro_and_blueprint",
                "railroads",
                "real_estate_agents_and_managers_rentals",
                "record_stores",
                "recreational_vehicle_rentals",
                "religious_goods_stores",
                "religious_organizations",
                "roofing_siding_sheet_metal",
                "secretarial_support_services",
                "security_brokers_dealers",
                "service_stations",
                "sewing_needlework_fabric_and_piece_goods_stores",
                "shoe_repair_hat_cleaning",
                "shoe_stores",
                "small_appliance_repair",
                "snowmobile_dealers",
                "special_trade_services",
                "specialty_cleaning",
                "sporting_goods_stores",
                "sporting_recreation_camps",
                "sports_and_riding_apparel_stores",
                "sports_clubs_fields",
                "stamp_and_coin_stores",
                "stationary_office_supplies_printing_and_writing_paper",
                "stationery_stores_office_and_school_supply_stores",
                "swimming_pools_sales",
                "t_ui_travel_germany",
                "tailors_alterations",
                "tax_payments_government_agencies",
                "tax_preparation_services",
                "taxicabs_limousines",
                "telecommunication_equipment_and_telephone_sales",
                "telecommunication_services",
                "telegraph_services",
                "tent_and_awning_shops",
                "testing_laboratories",
                "theatrical_ticket_agencies",
                "timeshares",
                "tire_retreading_and_repair",
                "tolls_bridge_fees",
                "tourist_attractions_and_exhibits",
                "towing_services",
                "trailer_parks_campgrounds",
                "transportation_services",
                "travel_agencies_tour_operators",
                "truck_stop_iteration",
                "truck_utility_trailer_rentals",
                "typesetting_plate_making_and_related_services",
                "typewriter_stores",
                "u_s_federal_government_agencies_or_departments",
                "uniforms_commercial_clothing",
                "used_merchandise_and_secondhand_stores",
                "utilities",
                "variety_stores",
                "veterinary_services",
                "video_amusement_game_supplies",
                "video_game_arcades",
                "video_tape_rental_stores",
                "vocational_trade_schools",
                "watch_jewelry_repair",
                "welding_repair",
                "wholesale_clubs",
                "wig_and_toupee_stores",
                "wires_money_orders",
                "womens_accessory_and_specialty_shops",
                "womens_ready_to_wear_stores",
                "wrecking_and_salvage_yards"
              ],
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "blocked_merchant_countries": {
            "description": "Array of strings containing representing countries from which authorizations will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `allowed_merchant_countries`. Provide an empty value to unset this control.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "spending_limits": {
            "description": "Limit spending with amount-based rules that apply across this cardholder's cards.",
            "items": {
              "$ref": "#/components/schemas/issuing_cardholder_spending_limit"
            },
            "nullable": true,
            "type": "array"
          },
          "spending_limits_currency": {
            "description": "Currency of the amounts within `spending_limits`.",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "allowed_categories",
          "allowed_merchant_countries",
          "blocked_categories",
          "blocked_merchant_countries",
          "spending_limits",
          "spending_limits_currency"
        ],
        "title": "IssuingCardholderAuthorizationControls",
        "type": "object",
        "x-expandableFields": [
          "spending_limits"
        ],
        "x-stripeMostCommon": [
          "allowed_categories",
          "allowed_merchant_countries",
          "blocked_categories",
          "blocked_merchant_countries",
          "spending_limits",
          "spending_limits_currency"
        ]
      },
      "issuing_cardholder_card_issuing": {
        "description": "",
        "properties": {
          "user_terms_acceptance": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_cardholder_user_terms_acceptance"
              }
            ],
            "description": "Information about cardholder acceptance of Celtic [Authorized User Terms](https://stripe.com/docs/issuing/cards#accept-authorized-user-terms). Required for cards backed by a Celtic program.",
            "nullable": true
          }
        },
        "required": [
          "user_terms_acceptance"
        ],
        "title": "IssuingCardholderCardIssuing",
        "type": "object",
        "x-expandableFields": [
          "user_terms_acceptance"
        ],
        "x-stripeMostCommon": [
          "user_terms_acceptance"
        ]
      },
      "issuing_cardholder_company": {
        "description": "",
        "properties": {
          "tax_id_provided": {
            "description": "Whether the company's business ID number was provided.",
            "type": "boolean"
          }
        },
        "required": [
          "tax_id_provided"
        ],
        "title": "IssuingCardholderCompany",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "tax_id_provided"
        ]
      },
      "issuing_cardholder_id_document": {
        "description": "",
        "properties": {
          "back": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          },
          "front": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          }
        },
        "required": [
          "back",
          "front"
        ],
        "title": "IssuingCardholderIdDocument",
        "type": "object",
        "x-expandableFields": [
          "back",
          "front"
        ],
        "x-stripeMostCommon": [
          "back",
          "front"
        ]
      },
      "issuing_cardholder_individual": {
        "description": "",
        "properties": {
          "card_issuing": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_cardholder_card_issuing"
              }
            ],
            "description": "Information related to the card_issuing program for this cardholder.",
            "nullable": true
          },
          "dob": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_cardholder_individual_dob"
              }
            ],
            "description": "The date of birth of this cardholder.",
            "nullable": true
          },
          "first_name": {
            "description": "The first name of this cardholder. Required before activating Cards. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "last_name": {
            "description": "The last name of this cardholder. Required before activating Cards. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "verification": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_cardholder_verification"
              }
            ],
            "description": "Government-issued ID document for this cardholder.",
            "nullable": true
          }
        },
        "required": [
          "dob",
          "first_name",
          "last_name",
          "verification"
        ],
        "title": "IssuingCardholderIndividual",
        "type": "object",
        "x-expandableFields": [
          "card_issuing",
          "dob",
          "verification"
        ],
        "x-stripeMostCommon": [
          "card_issuing",
          "dob",
          "first_name",
          "last_name",
          "verification"
        ]
      },
      "issuing_cardholder_individual_dob": {
        "description": "",
        "properties": {
          "day": {
            "description": "The day of birth, between 1 and 31.",
            "nullable": true,
            "type": "integer"
          },
          "month": {
            "description": "The month of birth, between 1 and 12.",
            "nullable": true,
            "type": "integer"
          },
          "year": {
            "description": "The four-digit year of birth.",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "day",
          "month",
          "year"
        ],
        "title": "IssuingCardholderIndividualDOB",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "day",
          "month",
          "year"
        ]
      },
      "issuing_cardholder_requirements": {
        "description": "",
        "properties": {
          "disabled_reason": {
            "description": "If `disabled_reason` is present, all cards will decline authorizations with `cardholder_verification_required` reason.",
            "enum": [
              "listed",
              "rejected.listed",
              "requirements.past_due",
              "under_review"
            ],
            "nullable": true,
            "type": "string"
          },
          "past_due": {
            "description": "Array of fields that need to be collected in order to verify and re-enable the cardholder.",
            "items": {
              "enum": [
                "company.tax_id",
                "individual.card_issuing.user_terms_acceptance.date",
                "individual.card_issuing.user_terms_acceptance.ip",
                "individual.dob.day",
                "individual.dob.month",
                "individual.dob.year",
                "individual.first_name",
                "individual.last_name",
                "individual.verification.document"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "nullable": true,
            "type": "array"
          }
        },
        "required": [
          "disabled_reason",
          "past_due"
        ],
        "title": "IssuingCardholderRequirements",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "disabled_reason",
          "past_due"
        ]
      },
      "issuing_cardholder_spending_limit": {
        "description": "",
        "properties": {
          "amount": {
            "description": "Maximum amount allowed to spend per interval. This amount is in the card's currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
            "type": "integer"
          },
          "categories": {
            "description": "Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories.",
            "items": {
              "enum": [
                "ac_refrigeration_repair",
                "accounting_bookkeeping_services",
                "advertising_services",
                "agricultural_cooperative",
                "airlines_air_carriers",
                "airports_flying_fields",
                "ambulance_services",
                "amusement_parks_carnivals",
                "antique_reproductions",
                "antique_shops",
                "aquariums",
                "architectural_surveying_services",
                "art_dealers_and_galleries",
                "artists_supply_and_craft_shops",
                "auto_and_home_supply_stores",
                "auto_body_repair_shops",
                "auto_paint_shops",
                "auto_service_shops",
                "automated_cash_disburse",
                "automated_fuel_dispensers",
                "automobile_associations",
                "automotive_parts_and_accessories_stores",
                "automotive_tire_stores",
                "bail_and_bond_payments",
                "bakeries",
                "bands_orchestras",
                "barber_and_beauty_shops",
                "betting_casino_gambling",
                "bicycle_shops",
                "billiard_pool_establishments",
                "boat_dealers",
                "boat_rentals_and_leases",
                "book_stores",
                "books_periodicals_and_newspapers",
                "bowling_alleys",
                "bus_lines",
                "business_secretarial_schools",
                "buying_shopping_services",
                "cable_satellite_and_other_pay_television_and_radio",
                "camera_and_photographic_supply_stores",
                "candy_nut_and_confectionery_stores",
                "car_and_truck_dealers_new_used",
                "car_and_truck_dealers_used_only",
                "car_rental_agencies",
                "car_washes",
                "carpentry_services",
                "carpet_upholstery_cleaning",
                "caterers",
                "charitable_and_social_service_organizations_fundraising",
                "chemicals_and_allied_products",
                "child_care_services",
                "childrens_and_infants_wear_stores",
                "chiropodists_podiatrists",
                "chiropractors",
                "cigar_stores_and_stands",
                "civic_social_fraternal_associations",
                "cleaning_and_maintenance",
                "clothing_rental",
                "colleges_universities",
                "commercial_equipment",
                "commercial_footwear",
                "commercial_photography_art_and_graphics",
                "commuter_transport_and_ferries",
                "computer_network_services",
                "computer_programming",
                "computer_repair",
                "computer_software_stores",
                "computers_peripherals_and_software",
                "concrete_work_services",
                "construction_materials",
                "consulting_public_relations",
                "correspondence_schools",
                "cosmetic_stores",
                "counseling_services",
                "country_clubs",
                "courier_services",
                "court_costs",
                "credit_reporting_agencies",
                "cruise_lines",
                "dairy_products_stores",
                "dance_hall_studios_schools",
                "dating_escort_services",
                "dentists_orthodontists",
                "department_stores",
                "detective_agencies",
                "digital_goods_applications",
                "digital_goods_games",
                "digital_goods_large_volume",
                "digital_goods_media",
                "direct_marketing_catalog_merchant",
                "direct_marketing_combination_catalog_and_retail_merchant",
                "direct_marketing_inbound_telemarketing",
                "direct_marketing_insurance_services",
                "direct_marketing_other",
                "direct_marketing_outbound_telemarketing",
                "direct_marketing_subscription",
                "direct_marketing_travel",
                "discount_stores",
                "doctors",
                "door_to_door_sales",
                "drapery_window_covering_and_upholstery_stores",
                "drinking_places",
                "drug_stores_and_pharmacies",
                "drugs_drug_proprietaries_and_druggist_sundries",
                "dry_cleaners",
                "durable_goods",
                "duty_free_stores",
                "eating_places_restaurants",
                "educational_services",
                "electric_razor_stores",
                "electric_vehicle_charging",
                "electrical_parts_and_equipment",
                "electrical_services",
                "electronics_repair_shops",
                "electronics_stores",
                "elementary_secondary_schools",
                "emergency_services_gcas_visa_use_only",
                "employment_temp_agencies",
                "equipment_rental",
                "exterminating_services",
                "family_clothing_stores",
                "fast_food_restaurants",
                "financial_institutions",
                "fines_government_administrative_entities",
                "fireplace_fireplace_screens_and_accessories_stores",
                "floor_covering_stores",
                "florists",
                "florists_supplies_nursery_stock_and_flowers",
                "freezer_and_locker_meat_provisioners",
                "fuel_dealers_non_automotive",
                "funeral_services_crematories",
                "furniture_home_furnishings_and_equipment_stores_except_appliances",
                "furniture_repair_refinishing",
                "furriers_and_fur_shops",
                "general_services",
                "gift_card_novelty_and_souvenir_shops",
                "glass_paint_and_wallpaper_stores",
                "glassware_crystal_stores",
                "golf_courses_public",
                "government_licensed_horse_dog_racing_us_region_only",
                "government_licensed_online_casions_online_gambling_us_region_only",
                "government_owned_lotteries_non_us_region",
                "government_owned_lotteries_us_region_only",
                "government_services",
                "grocery_stores_supermarkets",
                "hardware_equipment_and_supplies",
                "hardware_stores",
                "health_and_beauty_spas",
                "hearing_aids_sales_and_supplies",
                "heating_plumbing_a_c",
                "hobby_toy_and_game_shops",
                "home_supply_warehouse_stores",
                "hospitals",
                "hotels_motels_and_resorts",
                "household_appliance_stores",
                "industrial_supplies",
                "information_retrieval_services",
                "insurance_default",
                "insurance_underwriting_premiums",
                "intra_company_purchases",
                "jewelry_stores_watches_clocks_and_silverware_stores",
                "landscaping_services",
                "laundries",
                "laundry_cleaning_services",
                "legal_services_attorneys",
                "luggage_and_leather_goods_stores",
                "lumber_building_materials_stores",
                "manual_cash_disburse",
                "marinas_service_and_supplies",
                "marketplaces",
                "masonry_stonework_and_plaster",
                "massage_parlors",
                "medical_and_dental_labs",
                "medical_dental_ophthalmic_and_hospital_equipment_and_supplies",
                "medical_services",
                "membership_organizations",
                "mens_and_boys_clothing_and_accessories_stores",
                "mens_womens_clothing_stores",
                "metal_service_centers",
                "miscellaneous",
                "miscellaneous_apparel_and_accessory_shops",
                "miscellaneous_auto_dealers",
                "miscellaneous_business_services",
                "miscellaneous_food_stores",
                "miscellaneous_general_merchandise",
                "miscellaneous_general_services",
                "miscellaneous_home_furnishing_specialty_stores",
                "miscellaneous_publishing_and_printing",
                "miscellaneous_recreation_services",
                "miscellaneous_repair_shops",
                "miscellaneous_specialty_retail",
                "mobile_home_dealers",
                "motion_picture_theaters",
                "motor_freight_carriers_and_trucking",
                "motor_homes_dealers",
                "motor_vehicle_supplies_and_new_parts",
                "motorcycle_shops_and_dealers",
                "motorcycle_shops_dealers",
                "music_stores_musical_instruments_pianos_and_sheet_music",
                "news_dealers_and_newsstands",
                "non_fi_money_orders",
                "non_fi_stored_value_card_purchase_load",
                "nondurable_goods",
                "nurseries_lawn_and_garden_supply_stores",
                "nursing_personal_care",
                "office_and_commercial_furniture",
                "opticians_eyeglasses",
                "optometrists_ophthalmologist",
                "orthopedic_goods_prosthetic_devices",
                "osteopaths",
                "package_stores_beer_wine_and_liquor",
                "paints_varnishes_and_supplies",
                "parking_lots_garages",
                "passenger_railways",
                "pawn_shops",
                "pet_shops_pet_food_and_supplies",
                "petroleum_and_petroleum_products",
                "photo_developing",
                "photographic_photocopy_microfilm_equipment_and_supplies",
                "photographic_studios",
                "picture_video_production",
                "piece_goods_notions_and_other_dry_goods",
                "plumbing_heating_equipment_and_supplies",
                "political_organizations",
                "postal_services_government_only",
                "precious_stones_and_metals_watches_and_jewelry",
                "professional_services",
                "public_warehousing_and_storage",
                "quick_copy_repro_and_blueprint",
                "railroads",
                "real_estate_agents_and_managers_rentals",
                "record_stores",
                "recreational_vehicle_rentals",
                "religious_goods_stores",
                "religious_organizations",
                "roofing_siding_sheet_metal",
                "secretarial_support_services",
                "security_brokers_dealers",
                "service_stations",
                "sewing_needlework_fabric_and_piece_goods_stores",
                "shoe_repair_hat_cleaning",
                "shoe_stores",
                "small_appliance_repair",
                "snowmobile_dealers",
                "special_trade_services",
                "specialty_cleaning",
                "sporting_goods_stores",
                "sporting_recreation_camps",
                "sports_and_riding_apparel_stores",
                "sports_clubs_fields",
                "stamp_and_coin_stores",
                "stationary_office_supplies_printing_and_writing_paper",
                "stationery_stores_office_and_school_supply_stores",
                "swimming_pools_sales",
                "t_ui_travel_germany",
                "tailors_alterations",
                "tax_payments_government_agencies",
                "tax_preparation_services",
                "taxicabs_limousines",
                "telecommunication_equipment_and_telephone_sales",
                "telecommunication_services",
                "telegraph_services",
                "tent_and_awning_shops",
                "testing_laboratories",
                "theatrical_ticket_agencies",
                "timeshares",
                "tire_retreading_and_repair",
                "tolls_bridge_fees",
                "tourist_attractions_and_exhibits",
                "towing_services",
                "trailer_parks_campgrounds",
                "transportation_services",
                "travel_agencies_tour_operators",
                "truck_stop_iteration",
                "truck_utility_trailer_rentals",
                "typesetting_plate_making_and_related_services",
                "typewriter_stores",
                "u_s_federal_government_agencies_or_departments",
                "uniforms_commercial_clothing",
                "used_merchandise_and_secondhand_stores",
                "utilities",
                "variety_stores",
                "veterinary_services",
                "video_amusement_game_supplies",
                "video_game_arcades",
                "video_tape_rental_stores",
                "vocational_trade_schools",
                "watch_jewelry_repair",
                "welding_repair",
                "wholesale_clubs",
                "wig_and_toupee_stores",
                "wires_money_orders",
                "womens_accessory_and_specialty_shops",
                "womens_ready_to_wear_stores",
                "wrecking_and_salvage_yards"
              ],
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "interval": {
            "description": "Interval (or event) to which the amount applies.",
            "enum": [
              "all_time",
              "daily",
              "monthly",
              "per_authorization",
              "weekly",
              "yearly"
            ],
            "type": "string"
          }
        },
        "required": [
          "amount",
          "categories",
          "interval"
        ],
        "title": "IssuingCardholderSpendingLimit",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "amount",
          "categories",
          "interval"
        ]
      },
      "issuing_cardholder_user_terms_acceptance": {
        "description": "",
        "properties": {
          "date": {
            "description": "The Unix timestamp marking when the cardholder accepted the Authorized User Terms.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "ip": {
            "description": "The IP address from which the cardholder accepted the Authorized User Terms.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "user_agent": {
            "description": "The user agent of the browser from which the cardholder accepted the Authorized User Terms.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "date",
          "ip",
          "user_agent"
        ],
        "title": "IssuingCardholderUserTermsAcceptance",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "date",
          "ip",
          "user_agent"
        ]
      },
      "issuing_cardholder_verification": {
        "description": "",
        "properties": {
          "document": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_cardholder_id_document"
              }
            ],
            "description": "An identifying document, either a passport or local ID card.",
            "nullable": true
          }
        },
        "required": [
          "document"
        ],
        "title": "IssuingCardholderVerification",
        "type": "object",
        "x-expandableFields": [
          "document"
        ],
        "x-stripeMostCommon": [
          "document"
        ]
      },
      "issuing_dispute.closed": {
        "description": "Occurs whenever a dispute is won, lost or expired.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/issuing.dispute"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "issuing_dispute.closed"
        }
      },
      "issuing_dispute.created": {
        "description": "Occurs whenever a dispute is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/issuing.dispute"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "issuing_dispute.created"
        }
      },
      "issuing_dispute.funds_reinstated": {
        "description": "Occurs whenever funds are reinstated to your account for an Issuing dispute.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/issuing.dispute"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "issuing_dispute.funds_reinstated"
        }
      },
      "issuing_dispute.funds_rescinded": {
        "description": "Occurs whenever funds are deducted from your account for an Issuing dispute.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/issuing.dispute"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "issuing_dispute.funds_rescinded"
        }
      },
      "issuing_dispute.submitted": {
        "description": "Occurs whenever a dispute is submitted.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/issuing.dispute"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "issuing_dispute.submitted"
        }
      },
      "issuing_dispute.updated": {
        "description": "Occurs whenever a dispute is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/issuing.dispute"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "issuing_dispute.updated"
        }
      },
      "issuing_dispute_canceled_evidence": {
        "description": "",
        "properties": {
          "additional_documentation": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          },
          "canceled_at": {
            "description": "Date when order was canceled.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "cancellation_policy_provided": {
            "description": "Whether the cardholder was provided with a cancellation policy.",
            "nullable": true,
            "type": "boolean"
          },
          "cancellation_reason": {
            "description": "Reason for canceling the order.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "expected_at": {
            "description": "Date when the cardholder expected to receive the product.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "explanation": {
            "description": "Explanation of why the cardholder is disputing this transaction.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "product_description": {
            "description": "Description of the merchandise or service that was purchased.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "product_type": {
            "description": "Whether the product was a merchandise or service.",
            "enum": [
              "merchandise",
              "service"
            ],
            "nullable": true,
            "type": "string"
          },
          "return_status": {
            "description": "Result of cardholder's attempt to return the product.",
            "enum": [
              "merchant_rejected",
              "successful"
            ],
            "nullable": true,
            "type": "string"
          },
          "returned_at": {
            "description": "Date when the product was returned or attempted to be returned.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "additional_documentation",
          "canceled_at",
          "cancellation_policy_provided",
          "cancellation_reason",
          "expected_at",
          "explanation",
          "product_description",
          "product_type",
          "return_status",
          "returned_at"
        ],
        "title": "IssuingDisputeCanceledEvidence",
        "type": "object",
        "x-expandableFields": [
          "additional_documentation"
        ],
        "x-stripeMostCommon": [
          "additional_documentation",
          "canceled_at",
          "cancellation_policy_provided",
          "cancellation_reason",
          "expected_at",
          "explanation",
          "product_description",
          "product_type",
          "return_status",
          "returned_at"
        ]
      },
      "issuing_dispute_duplicate_evidence": {
        "description": "",
        "properties": {
          "additional_documentation": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          },
          "card_statement": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Copy of the card statement showing that the product had already been paid for.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          },
          "cash_receipt": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Copy of the receipt showing that the product had been paid for in cash.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          },
          "check_image": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Image of the front and back of the check that was used to pay for the product.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          },
          "explanation": {
            "description": "Explanation of why the cardholder is disputing this transaction.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "original_transaction": {
            "description": "Transaction (e.g., ipi_...) that the disputed transaction is a duplicate of. Of the two or more transactions that are copies of each other, this is original undisputed one.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "additional_documentation",
          "card_statement",
          "cash_receipt",
          "check_image",
          "explanation",
          "original_transaction"
        ],
        "title": "IssuingDisputeDuplicateEvidence",
        "type": "object",
        "x-expandableFields": [
          "additional_documentation",
          "card_statement",
          "cash_receipt",
          "check_image"
        ],
        "x-stripeMostCommon": [
          "additional_documentation",
          "card_statement",
          "cash_receipt",
          "check_image",
          "explanation",
          "original_transaction"
        ]
      },
      "issuing_dispute_evidence": {
        "description": "",
        "properties": {
          "canceled": {
            "$ref": "#/components/schemas/issuing_dispute_canceled_evidence"
          },
          "duplicate": {
            "$ref": "#/components/schemas/issuing_dispute_duplicate_evidence"
          },
          "fraudulent": {
            "$ref": "#/components/schemas/issuing_dispute_fraudulent_evidence"
          },
          "merchandise_not_as_described": {
            "$ref": "#/components/schemas/issuing_dispute_merchandise_not_as_described_evidence"
          },
          "no_valid_authorization": {
            "$ref": "#/components/schemas/issuing_dispute_no_valid_authorization_evidence"
          },
          "not_received": {
            "$ref": "#/components/schemas/issuing_dispute_not_received_evidence"
          },
          "other": {
            "$ref": "#/components/schemas/issuing_dispute_other_evidence"
          },
          "reason": {
            "description": "The reason for filing the dispute. Its value will match the field containing the evidence.",
            "enum": [
              "canceled",
              "duplicate",
              "fraudulent",
              "merchandise_not_as_described",
              "no_valid_authorization",
              "not_received",
              "other",
              "service_not_as_described"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "service_not_as_described": {
            "$ref": "#/components/schemas/issuing_dispute_service_not_as_described_evidence"
          }
        },
        "required": [
          "reason"
        ],
        "title": "IssuingDisputeEvidence",
        "type": "object",
        "x-expandableFields": [
          "canceled",
          "duplicate",
          "fraudulent",
          "merchandise_not_as_described",
          "no_valid_authorization",
          "not_received",
          "other",
          "service_not_as_described"
        ],
        "x-stripeMostCommon": [
          "canceled",
          "duplicate",
          "fraudulent",
          "merchandise_not_as_described",
          "no_valid_authorization",
          "not_received",
          "other",
          "reason",
          "service_not_as_described"
        ]
      },
      "issuing_dispute_fraudulent_evidence": {
        "description": "",
        "properties": {
          "additional_documentation": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          },
          "explanation": {
            "description": "Explanation of why the cardholder is disputing this transaction.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "additional_documentation",
          "explanation"
        ],
        "title": "IssuingDisputeFraudulentEvidence",
        "type": "object",
        "x-expandableFields": [
          "additional_documentation"
        ],
        "x-stripeMostCommon": [
          "additional_documentation",
          "explanation"
        ]
      },
      "issuing_dispute_merchandise_not_as_described_evidence": {
        "description": "",
        "properties": {
          "additional_documentation": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          },
          "explanation": {
            "description": "Explanation of why the cardholder is disputing this transaction.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "received_at": {
            "description": "Date when the product was received.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "return_description": {
            "description": "Description of the cardholder's attempt to return the product.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "return_status": {
            "description": "Result of cardholder's attempt to return the product.",
            "enum": [
              "merchant_rejected",
              "successful"
            ],
            "nullable": true,
            "type": "string"
          },
          "returned_at": {
            "description": "Date when the product was returned or attempted to be returned.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "additional_documentation",
          "explanation",
          "received_at",
          "return_description",
          "return_status",
          "returned_at"
        ],
        "title": "IssuingDisputeMerchandiseNotAsDescribedEvidence",
        "type": "object",
        "x-expandableFields": [
          "additional_documentation"
        ],
        "x-stripeMostCommon": [
          "additional_documentation",
          "explanation",
          "received_at",
          "return_description",
          "return_status",
          "returned_at"
        ]
      },
      "issuing_dispute_no_valid_authorization_evidence": {
        "description": "",
        "properties": {
          "additional_documentation": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          },
          "explanation": {
            "description": "Explanation of why the cardholder is disputing this transaction.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "additional_documentation",
          "explanation"
        ],
        "title": "IssuingDisputeNoValidAuthorizationEvidence",
        "type": "object",
        "x-expandableFields": [
          "additional_documentation"
        ],
        "x-stripeMostCommon": [
          "additional_documentation",
          "explanation"
        ]
      },
      "issuing_dispute_not_received_evidence": {
        "description": "",
        "properties": {
          "additional_documentation": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          },
          "expected_at": {
            "description": "Date when the cardholder expected to receive the product.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "explanation": {
            "description": "Explanation of why the cardholder is disputing this transaction.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "product_description": {
            "description": "Description of the merchandise or service that was purchased.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "product_type": {
            "description": "Whether the product was a merchandise or service.",
            "enum": [
              "merchandise",
              "service"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "additional_documentation",
          "expected_at",
          "explanation",
          "product_description",
          "product_type"
        ],
        "title": "IssuingDisputeNotReceivedEvidence",
        "type": "object",
        "x-expandableFields": [
          "additional_documentation"
        ],
        "x-stripeMostCommon": [
          "additional_documentation",
          "expected_at",
          "explanation",
          "product_description",
          "product_type"
        ]
      },
      "issuing_dispute_other_evidence": {
        "description": "",
        "properties": {
          "additional_documentation": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          },
          "explanation": {
            "description": "Explanation of why the cardholder is disputing this transaction.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "product_description": {
            "description": "Description of the merchandise or service that was purchased.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "product_type": {
            "description": "Whether the product was a merchandise or service.",
            "enum": [
              "merchandise",
              "service"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "additional_documentation",
          "explanation",
          "product_description",
          "product_type"
        ],
        "title": "IssuingDisputeOtherEvidence",
        "type": "object",
        "x-expandableFields": [
          "additional_documentation"
        ],
        "x-stripeMostCommon": [
          "additional_documentation",
          "explanation",
          "product_description",
          "product_type"
        ]
      },
      "issuing_dispute_service_not_as_described_evidence": {
        "description": "",
        "properties": {
          "additional_documentation": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          },
          "canceled_at": {
            "description": "Date when order was canceled.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "cancellation_reason": {
            "description": "Reason for canceling the order.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "explanation": {
            "description": "Explanation of why the cardholder is disputing this transaction.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "received_at": {
            "description": "Date when the product was received.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "additional_documentation",
          "canceled_at",
          "cancellation_reason",
          "explanation",
          "received_at"
        ],
        "title": "IssuingDisputeServiceNotAsDescribedEvidence",
        "type": "object",
        "x-expandableFields": [
          "additional_documentation"
        ],
        "x-stripeMostCommon": [
          "additional_documentation",
          "canceled_at",
          "cancellation_reason",
          "explanation",
          "received_at"
        ]
      },
      "issuing_dispute_treasury": {
        "description": "",
        "properties": {
          "debit_reversal": {
            "description": "The Treasury [DebitReversal](https://stripe.com/docs/api/treasury/debit_reversals) representing this Issuing dispute",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "received_debit": {
            "description": "The Treasury [ReceivedDebit](https://stripe.com/docs/api/treasury/received_debits) that is being disputed.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "debit_reversal",
          "received_debit"
        ],
        "title": "IssuingDisputeTreasury",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "debit_reversal",
          "received_debit"
        ]
      },
      "issuing_network_token_address": {
        "description": "",
        "properties": {
          "line1": {
            "description": "The street address of the cardholder tokenizing the card.",
            "maxLength": 5000,
            "type": "string"
          },
          "postal_code": {
            "description": "The postal code of the cardholder tokenizing the card.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "line1",
          "postal_code"
        ],
        "title": "IssuingNetworkTokenAddress",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "line1",
          "postal_code"
        ]
      },
      "issuing_network_token_device": {
        "description": "",
        "properties": {
          "device_fingerprint": {
            "description": "An obfuscated ID derived from the device ID.",
            "maxLength": 5000,
            "type": "string"
          },
          "ip_address": {
            "description": "The IP address of the device at provisioning time.",
            "maxLength": 5000,
            "type": "string"
          },
          "location": {
            "description": "The geographic latitude/longitude coordinates of the device at provisioning time. The format is [+-]decimal/[+-]decimal.",
            "maxLength": 5000,
            "type": "string"
          },
          "name": {
            "description": "The name of the device used for tokenization.",
            "maxLength": 5000,
            "type": "string"
          },
          "phone_number": {
            "description": "The phone number of the device used for tokenization.",
            "maxLength": 5000,
            "type": "string"
          },
          "type": {
            "description": "The type of device used for tokenization.",
            "enum": [
              "other",
              "phone",
              "watch"
            ],
            "type": "string"
          }
        },
        "title": "IssuingNetworkTokenDevice",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "device_fingerprint",
          "ip_address",
          "location",
          "name",
          "phone_number",
          "type"
        ]
      },
      "issuing_network_token_mastercard": {
        "description": "",
        "properties": {
          "card_reference_id": {
            "description": "A unique reference ID from MasterCard to represent the card account number.",
            "maxLength": 5000,
            "type": "string"
          },
          "token_reference_id": {
            "description": "The network-unique identifier for the token.",
            "maxLength": 5000,
            "type": "string"
          },
          "token_requestor_id": {
            "description": "The ID of the entity requesting tokenization, specific to MasterCard.",
            "maxLength": 5000,
            "type": "string"
          },
          "token_requestor_name": {
            "description": "The name of the entity requesting tokenization, if known. This is directly provided from MasterCard.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "token_reference_id",
          "token_requestor_id"
        ],
        "title": "IssuingNetworkTokenMastercard",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "card_reference_id",
          "token_reference_id",
          "token_requestor_id",
          "token_requestor_name"
        ]
      },
      "issuing_network_token_network_data": {
        "description": "",
        "properties": {
          "device": {
            "$ref": "#/components/schemas/issuing_network_token_device"
          },
          "mastercard": {
            "$ref": "#/components/schemas/issuing_network_token_mastercard"
          },
          "type": {
            "description": "The network that the token is associated with. An additional hash is included with a name matching this value, containing tokenization data specific to the card network.",
            "enum": [
              "mastercard",
              "visa"
            ],
            "type": "string"
          },
          "visa": {
            "$ref": "#/components/schemas/issuing_network_token_visa"
          },
          "wallet_provider": {
            "$ref": "#/components/schemas/issuing_network_token_wallet_provider"
          }
        },
        "required": [
          "type"
        ],
        "title": "IssuingNetworkTokenNetworkData",
        "type": "object",
        "x-expandableFields": [
          "device",
          "mastercard",
          "visa",
          "wallet_provider"
        ],
        "x-stripeMostCommon": [
          "device",
          "mastercard",
          "type",
          "visa",
          "wallet_provider"
        ]
      },
      "issuing_network_token_visa": {
        "description": "",
        "properties": {
          "card_reference_id": {
            "description": "A unique reference ID from Visa to represent the card account number.",
            "maxLength": 5000,
            "type": "string"
          },
          "token_reference_id": {
            "description": "The network-unique identifier for the token.",
            "maxLength": 5000,
            "type": "string"
          },
          "token_requestor_id": {
            "description": "The ID of the entity requesting tokenization, specific to Visa.",
            "maxLength": 5000,
            "type": "string"
          },
          "token_risk_score": {
            "description": "Degree of risk associated with the token between `01` and `99`, with higher number indicating higher risk. A `00` value indicates the token was not scored by Visa.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "card_reference_id",
          "token_reference_id",
          "token_requestor_id"
        ],
        "title": "IssuingNetworkTokenVisa",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "card_reference_id",
          "token_reference_id",
          "token_requestor_id",
          "token_risk_score"
        ]
      },
      "issuing_network_token_wallet_provider": {
        "description": "",
        "properties": {
          "account_id": {
            "description": "The wallet provider-given account ID of the digital wallet the token belongs to.",
            "maxLength": 5000,
            "type": "string"
          },
          "account_trust_score": {
            "description": "An evaluation on the trustworthiness of the wallet account between 1 and 5. A higher score indicates more trustworthy.",
            "type": "integer"
          },
          "card_number_source": {
            "description": "The method used for tokenizing a card.",
            "enum": [
              "app",
              "manual",
              "on_file",
              "other"
            ],
            "type": "string"
          },
          "cardholder_address": {
            "$ref": "#/components/schemas/issuing_network_token_address"
          },
          "cardholder_name": {
            "description": "The name of the cardholder tokenizing the card.",
            "maxLength": 5000,
            "type": "string"
          },
          "device_trust_score": {
            "description": "An evaluation on the trustworthiness of the device. A higher score indicates more trustworthy.",
            "type": "integer"
          },
          "hashed_account_email_address": {
            "description": "The hashed email address of the cardholder's account with the wallet provider.",
            "maxLength": 5000,
            "type": "string"
          },
          "reason_codes": {
            "description": "The reasons for suggested tokenization given by the card network.",
            "items": {
              "enum": [
                "account_card_too_new",
                "account_recently_changed",
                "account_too_new",
                "account_too_new_since_launch",
                "additional_device",
                "data_expired",
                "defer_id_v_decision",
                "device_recently_lost",
                "good_activity_history",
                "has_suspended_tokens",
                "high_risk",
                "inactive_account",
                "long_account_tenure",
                "low_account_score",
                "low_device_score",
                "low_phone_number_score",
                "network_service_error",
                "outside_home_territory",
                "provisioning_cardholder_mismatch",
                "provisioning_device_and_cardholder_mismatch",
                "provisioning_device_mismatch",
                "same_device_no_prior_authentication",
                "same_device_successful_prior_authentication",
                "software_update",
                "suspicious_activity",
                "too_many_different_cardholders",
                "too_many_recent_attempts",
                "too_many_recent_tokens"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "suggested_decision": {
            "description": "The recommendation on responding to the tokenization request.",
            "enum": [
              "approve",
              "decline",
              "require_auth"
            ],
            "type": "string"
          },
          "suggested_decision_version": {
            "description": "The version of the standard for mapping reason codes followed by the wallet provider.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "title": "IssuingNetworkTokenWalletProvider",
        "type": "object",
        "x-expandableFields": [
          "cardholder_address"
        ],
        "x-stripeMostCommon": [
          "account_id",
          "account_trust_score",
          "card_number_source",
          "cardholder_address",
          "cardholder_name",
          "device_trust_score",
          "hashed_account_email_address",
          "reason_codes",
          "suggested_decision",
          "suggested_decision_version"
        ]
      },
      "issuing_personalization_design.activated": {
        "description": "Occurs whenever a personalization design is activated following the activation of the physical bundle that belongs to it.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/issuing.personalization_design"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "issuing_personalization_design.activated"
        }
      },
      "issuing_personalization_design.deactivated": {
        "description": "Occurs whenever a personalization design is deactivated following the deactivation of the physical bundle that belongs to it.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/issuing.personalization_design"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "issuing_personalization_design.deactivated"
        }
      },
      "issuing_personalization_design.rejected": {
        "description": "Occurs whenever a personalization design is rejected by design review.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/issuing.personalization_design"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "issuing_personalization_design.rejected"
        }
      },
      "issuing_personalization_design.updated": {
        "description": "Occurs whenever a personalization design is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/issuing.personalization_design"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "issuing_personalization_design.updated"
        }
      },
      "issuing_personalization_design_carrier_text": {
        "description": "",
        "properties": {
          "footer_body": {
            "description": "The footer body text of the carrier letter.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "footer_title": {
            "description": "The footer title text of the carrier letter.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "header_body": {
            "description": "The header body text of the carrier letter.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "header_title": {
            "description": "The header title text of the carrier letter.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "footer_body",
          "footer_title",
          "header_body",
          "header_title"
        ],
        "title": "IssuingPersonalizationDesignCarrierText",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "footer_body",
          "footer_title",
          "header_body",
          "header_title"
        ]
      },
      "issuing_personalization_design_preferences": {
        "description": "",
        "properties": {
          "is_default": {
            "description": "Whether we use this personalization design to create cards when one isn't specified. A connected account uses the Connect platform's default design if no personalization design is set as the default design.",
            "type": "boolean"
          },
          "is_platform_default": {
            "description": "Whether this personalization design is used to create cards when one is not specified and a default for this connected account does not exist.",
            "nullable": true,
            "type": "boolean"
          }
        },
        "required": [
          "is_default",
          "is_platform_default"
        ],
        "title": "IssuingPersonalizationDesignPreferences",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "is_default",
          "is_platform_default"
        ]
      },
      "issuing_personalization_design_rejection_reasons": {
        "description": "",
        "properties": {
          "card_logo": {
            "description": "The reason(s) the card logo was rejected.",
            "items": {
              "enum": [
                "geographic_location",
                "inappropriate",
                "network_name",
                "non_binary_image",
                "non_fiat_currency",
                "other",
                "other_entity",
                "promotional_material"
              ],
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "carrier_text": {
            "description": "The reason(s) the carrier text was rejected.",
            "items": {
              "enum": [
                "geographic_location",
                "inappropriate",
                "network_name",
                "non_fiat_currency",
                "other",
                "other_entity",
                "promotional_material"
              ],
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "required": [
          "card_logo",
          "carrier_text"
        ],
        "title": "IssuingPersonalizationDesignRejectionReasons",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "card_logo",
          "carrier_text"
        ]
      },
      "issuing_physical_bundle_features": {
        "description": "",
        "properties": {
          "card_logo": {
            "description": "The policy for how to use card logo images in a card design with this physical bundle.",
            "enum": [
              "optional",
              "required",
              "unsupported"
            ],
            "type": "string"
          },
          "carrier_text": {
            "description": "The policy for how to use carrier letter text in a card design with this physical bundle.",
            "enum": [
              "optional",
              "required",
              "unsupported"
            ],
            "type": "string"
          },
          "second_line": {
            "description": "The policy for how to use a second line on a card with this physical bundle.",
            "enum": [
              "optional",
              "required",
              "unsupported"
            ],
            "type": "string"
          }
        },
        "required": [
          "card_logo",
          "carrier_text",
          "second_line"
        ],
        "title": "IssuingPhysicalBundleFeatures",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "card_logo",
          "carrier_text",
          "second_line"
        ]
      },
      "issuing_token.created": {
        "description": "Occurs whenever an issuing digital wallet token is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/issuing.token"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "issuing_token.created"
        }
      },
      "issuing_token.updated": {
        "description": "Occurs whenever an issuing digital wallet token is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/issuing.token"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "issuing_token.updated"
        }
      },
      "issuing_transaction.created": {
        "description": "Occurs whenever an issuing transaction is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/issuing.transaction"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "issuing_transaction.created"
        }
      },
      "issuing_transaction.purchase_details_receipt_updated": {
        "description": "Occurs whenever an issuing transaction is updated with receipt data.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/issuing.transaction"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "issuing_transaction.purchase_details_receipt_updated"
        }
      },
      "issuing_transaction.updated": {
        "description": "Occurs whenever an issuing transaction is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/issuing.transaction"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "issuing_transaction.updated"
        }
      },
      "issuing_transaction_amount_details": {
        "description": "",
        "properties": {
          "atm_fee": {
            "description": "The fee charged by the ATM for the cash withdrawal.",
            "nullable": true,
            "type": "integer"
          },
          "cashback_amount": {
            "description": "The amount of cash requested by the cardholder.",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "atm_fee",
          "cashback_amount"
        ],
        "title": "IssuingTransactionAmountDetails",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "atm_fee",
          "cashback_amount"
        ]
      },
      "issuing_transaction_fleet_cardholder_prompt_data": {
        "description": "",
        "properties": {
          "driver_id": {
            "description": "Driver ID.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "odometer": {
            "description": "Odometer reading.",
            "nullable": true,
            "type": "integer"
          },
          "unspecified_id": {
            "description": "An alphanumeric ID. This field is used when a vehicle ID, driver ID, or generic ID is entered by the cardholder, but the merchant or card network did not specify the prompt type.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "user_id": {
            "description": "User ID.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "vehicle_number": {
            "description": "Vehicle number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "driver_id",
          "odometer",
          "unspecified_id",
          "user_id",
          "vehicle_number"
        ],
        "title": "IssuingTransactionFleetCardholderPromptData",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "driver_id",
          "odometer",
          "unspecified_id",
          "user_id",
          "vehicle_number"
        ]
      },
      "issuing_transaction_fleet_data": {
        "description": "",
        "properties": {
          "cardholder_prompt_data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_transaction_fleet_cardholder_prompt_data"
              }
            ],
            "description": "Answers to prompts presented to cardholder at point of sale.",
            "nullable": true
          },
          "purchase_type": {
            "description": "The type of purchase. One of `fuel_purchase`, `non_fuel_purchase`, or `fuel_and_non_fuel_purchase`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "reported_breakdown": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_transaction_fleet_reported_breakdown"
              }
            ],
            "description": "More information about the total amount. This information is not guaranteed to be accurate as some merchants may provide unreliable data.",
            "nullable": true
          },
          "service_type": {
            "description": "The type of fuel service. One of `non_fuel_transaction`, `full_service`, or `self_service`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "cardholder_prompt_data",
          "purchase_type",
          "reported_breakdown",
          "service_type"
        ],
        "title": "IssuingTransactionFleetData",
        "type": "object",
        "x-expandableFields": [
          "cardholder_prompt_data",
          "reported_breakdown"
        ],
        "x-stripeMostCommon": [
          "cardholder_prompt_data",
          "purchase_type",
          "reported_breakdown",
          "service_type"
        ]
      },
      "issuing_transaction_fleet_fuel_price_data": {
        "description": "",
        "properties": {
          "gross_amount_decimal": {
            "description": "Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes.",
            "format": "decimal",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "gross_amount_decimal"
        ],
        "title": "IssuingTransactionFleetFuelPriceData",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "gross_amount_decimal"
        ]
      },
      "issuing_transaction_fleet_non_fuel_price_data": {
        "description": "",
        "properties": {
          "gross_amount_decimal": {
            "description": "Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes.",
            "format": "decimal",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "gross_amount_decimal"
        ],
        "title": "IssuingTransactionFleetNonFuelPriceData",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "gross_amount_decimal"
        ]
      },
      "issuing_transaction_fleet_reported_breakdown": {
        "description": "",
        "properties": {
          "fuel": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_transaction_fleet_fuel_price_data"
              }
            ],
            "description": "Breakdown of fuel portion of the purchase.",
            "nullable": true
          },
          "non_fuel": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_transaction_fleet_non_fuel_price_data"
              }
            ],
            "description": "Breakdown of non-fuel portion of the purchase.",
            "nullable": true
          },
          "tax": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_transaction_fleet_tax_data"
              }
            ],
            "description": "Information about tax included in this transaction.",
            "nullable": true
          }
        },
        "required": [
          "fuel",
          "non_fuel",
          "tax"
        ],
        "title": "IssuingTransactionFleetReportedBreakdown",
        "type": "object",
        "x-expandableFields": [
          "fuel",
          "non_fuel",
          "tax"
        ],
        "x-stripeMostCommon": [
          "fuel",
          "non_fuel",
          "tax"
        ]
      },
      "issuing_transaction_fleet_tax_data": {
        "description": "",
        "properties": {
          "local_amount_decimal": {
            "description": "Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax.",
            "format": "decimal",
            "nullable": true,
            "type": "string"
          },
          "national_amount_decimal": {
            "description": "Amount of national Sales Tax or VAT included in the transaction amount. Null if not reported by merchant or not subject to tax.",
            "format": "decimal",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "local_amount_decimal",
          "national_amount_decimal"
        ],
        "title": "IssuingTransactionFleetTaxData",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "local_amount_decimal",
          "national_amount_decimal"
        ]
      },
      "issuing_transaction_flight_data": {
        "description": "",
        "properties": {
          "departure_at": {
            "description": "The time that the flight departed.",
            "nullable": true,
            "type": "integer"
          },
          "passenger_name": {
            "description": "The name of the passenger.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "refundable": {
            "description": "Whether the ticket is refundable.",
            "nullable": true,
            "type": "boolean"
          },
          "segments": {
            "description": "The legs of the trip.",
            "items": {
              "$ref": "#/components/schemas/issuing_transaction_flight_data_leg"
            },
            "nullable": true,
            "type": "array"
          },
          "travel_agency": {
            "description": "The travel agency that issued the ticket.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "departure_at",
          "passenger_name",
          "refundable",
          "segments",
          "travel_agency"
        ],
        "title": "IssuingTransactionFlightData",
        "type": "object",
        "x-expandableFields": [
          "segments"
        ],
        "x-stripeMostCommon": [
          "departure_at",
          "passenger_name",
          "refundable",
          "segments",
          "travel_agency"
        ]
      },
      "issuing_transaction_flight_data_leg": {
        "description": "",
        "properties": {
          "arrival_airport_code": {
            "description": "The three-letter IATA airport code of the flight's destination.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "carrier": {
            "description": "The airline carrier code.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "departure_airport_code": {
            "description": "The three-letter IATA airport code that the flight departed from.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "flight_number": {
            "description": "The flight number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "service_class": {
            "description": "The flight's service class.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "stopover_allowed": {
            "description": "Whether a stopover is allowed on this flight.",
            "nullable": true,
            "type": "boolean"
          }
        },
        "required": [
          "arrival_airport_code",
          "carrier",
          "departure_airport_code",
          "flight_number",
          "service_class",
          "stopover_allowed"
        ],
        "title": "IssuingTransactionFlightDataLeg",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "arrival_airport_code",
          "carrier",
          "departure_airport_code",
          "flight_number",
          "service_class",
          "stopover_allowed"
        ]
      },
      "issuing_transaction_fuel_data": {
        "description": "",
        "properties": {
          "industry_product_code": {
            "description": "[Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "quantity_decimal": {
            "description": "The quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places.",
            "format": "decimal",
            "nullable": true,
            "type": "string"
          },
          "type": {
            "description": "The type of fuel that was purchased. One of `diesel`, `unleaded_plus`, `unleaded_regular`, `unleaded_super`, or `other`.",
            "maxLength": 5000,
            "type": "string"
          },
          "unit": {
            "description": "The units for `quantity_decimal`. One of `charging_minute`, `imperial_gallon`, `kilogram`, `kilowatt_hour`, `liter`, `pound`, `us_gallon`, or `other`.",
            "maxLength": 5000,
            "type": "string"
          },
          "unit_cost_decimal": {
            "description": "The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.",
            "format": "decimal",
            "type": "string"
          }
        },
        "required": [
          "industry_product_code",
          "quantity_decimal",
          "type",
          "unit",
          "unit_cost_decimal"
        ],
        "title": "IssuingTransactionFuelData",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "industry_product_code",
          "quantity_decimal",
          "type",
          "unit",
          "unit_cost_decimal"
        ]
      },
      "issuing_transaction_lodging_data": {
        "description": "",
        "properties": {
          "check_in_at": {
            "description": "The time of checking into the lodging.",
            "nullable": true,
            "type": "integer"
          },
          "nights": {
            "description": "The number of nights stayed at the lodging.",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "check_in_at",
          "nights"
        ],
        "title": "IssuingTransactionLodgingData",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "check_in_at",
          "nights"
        ]
      },
      "issuing_transaction_network_data": {
        "description": "",
        "properties": {
          "authorization_code": {
            "description": "A code created by Stripe which is shared with the merchant to validate the authorization. This field will be populated if the authorization message was approved. The code typically starts with the letter \"S\", followed by a six-digit number. For example, \"S498162\". Please note that the code is not guaranteed to be unique across authorizations.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "processing_date": {
            "description": "The date the transaction was processed by the card network. This can be different from the date the seller recorded the transaction depending on when the acquirer submits the transaction to the network.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "transaction_id": {
            "description": "Unique identifier for the authorization assigned by the card network used to match subsequent messages, disputes, and transactions.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "authorization_code",
          "processing_date",
          "transaction_id"
        ],
        "title": "IssuingTransactionNetworkData",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "authorization_code",
          "processing_date",
          "transaction_id"
        ]
      },
      "issuing_transaction_purchase_details": {
        "description": "",
        "properties": {
          "fleet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_transaction_fleet_data"
              }
            ],
            "description": "Fleet-specific information for transactions using Fleet cards.",
            "nullable": true
          },
          "flight": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_transaction_flight_data"
              }
            ],
            "description": "Information about the flight that was purchased with this transaction.",
            "nullable": true
          },
          "fuel": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_transaction_fuel_data"
              }
            ],
            "description": "Information about fuel that was purchased with this transaction.",
            "nullable": true
          },
          "lodging": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/issuing_transaction_lodging_data"
              }
            ],
            "description": "Information about lodging that was purchased with this transaction.",
            "nullable": true
          },
          "receipt": {
            "description": "The line items in the purchase.",
            "items": {
              "$ref": "#/components/schemas/issuing_transaction_receipt_data"
            },
            "nullable": true,
            "type": "array"
          },
          "reference": {
            "description": "A merchant-specific order number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "fleet",
          "flight",
          "fuel",
          "lodging",
          "receipt",
          "reference"
        ],
        "title": "IssuingTransactionPurchaseDetails",
        "type": "object",
        "x-expandableFields": [
          "fleet",
          "flight",
          "fuel",
          "lodging",
          "receipt"
        ],
        "x-stripeMostCommon": [
          "fleet",
          "flight",
          "fuel",
          "lodging",
          "receipt",
          "reference"
        ]
      },
      "issuing_transaction_receipt_data": {
        "description": "",
        "properties": {
          "description": {
            "description": "The description of the item. The maximum length of this field is 26 characters.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "quantity": {
            "description": "The quantity of the item.",
            "nullable": true,
            "type": "number"
          },
          "total": {
            "description": "The total for this line item in cents.",
            "nullable": true,
            "type": "integer"
          },
          "unit_cost": {
            "description": "The unit cost of the item in cents.",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "description",
          "quantity",
          "total",
          "unit_cost"
        ],
        "title": "IssuingTransactionReceiptData",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "description",
          "quantity",
          "total",
          "unit_cost"
        ]
      },
      "issuing_transaction_treasury": {
        "description": "",
        "properties": {
          "received_credit": {
            "description": "The Treasury [ReceivedCredit](https://stripe.com/docs/api/treasury/received_credits) representing this Issuing transaction if it is a refund",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "received_debit": {
            "description": "The Treasury [ReceivedDebit](https://stripe.com/docs/api/treasury/received_debits) representing this Issuing transaction if it is a capture",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "received_credit",
          "received_debit"
        ],
        "title": "IssuingTransactionTreasury",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "received_credit",
          "received_debit"
        ]
      },
      "item": {
        "description": "A line item.",
        "properties": {
          "amount_discount": {
            "description": "Total discount amount applied. If no discounts were applied, defaults to 0.",
            "type": "integer"
          },
          "amount_subtotal": {
            "description": "Total before any discounts or taxes are applied.",
            "type": "integer"
          },
          "amount_tax": {
            "description": "Total tax amount applied. If no tax was applied, defaults to 0.",
            "type": "integer"
          },
          "amount_total": {
            "description": "Total after discounts and taxes.",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "description": {
            "description": "An arbitrary string attached to the object. Often useful for displaying to users. Defaults to product name.",
            "maxLength": 5000,
            "type": "string"
          },
          "discounts": {
            "description": "The discounts applied to the line item.",
            "items": {
              "$ref": "#/components/schemas/line_items_discount_amount"
            },
            "type": "array"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "item"
            ],
            "type": "string"
          },
          "price": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/price"
              }
            ],
            "description": "The price used to generate the line item.",
            "nullable": true
          },
          "quantity": {
            "description": "The quantity of products being purchased.",
            "nullable": true,
            "type": "integer"
          },
          "taxes": {
            "description": "The taxes applied to the line item.",
            "items": {
              "$ref": "#/components/schemas/line_items_tax_amount"
            },
            "type": "array"
          }
        },
        "required": [
          "amount_discount",
          "amount_subtotal",
          "amount_tax",
          "amount_total",
          "currency",
          "id",
          "object",
          "price",
          "quantity"
        ],
        "title": "LineItem",
        "type": "object",
        "x-expandableFields": [
          "discounts",
          "price",
          "taxes"
        ],
        "x-resourceId": "item",
        "x-stripeMostCommon": [
          "amount_discount",
          "amount_subtotal",
          "amount_tax",
          "amount_total",
          "currency",
          "description",
          "discounts",
          "id",
          "object",
          "price",
          "quantity",
          "taxes"
        ],
        "x-stripeResource": {
          "class_name": "LineItem",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "klarna_address": {
        "description": "",
        "properties": {
          "country": {
            "description": "The payer address country",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "country"
        ],
        "title": "klarna_address",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "country"
        ]
      },
      "klarna_payer_details": {
        "description": "",
        "properties": {
          "address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/klarna_address"
              }
            ],
            "description": "The payer's address",
            "nullable": true
          }
        },
        "required": [
          "address"
        ],
        "title": "klarna_payer_details",
        "type": "object",
        "x-expandableFields": [
          "address"
        ],
        "x-stripeMostCommon": [
          "address"
        ]
      },
      "legal_entity_company": {
        "description": "",
        "properties": {
          "address": {
            "$ref": "#/components/schemas/address"
          },
          "address_kana": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/legal_entity_japan_address"
              }
            ],
            "description": "The Kana variation of the company's primary address (Japan only).",
            "nullable": true
          },
          "address_kanji": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/legal_entity_japan_address"
              }
            ],
            "description": "The Kanji variation of the company's primary address (Japan only).",
            "nullable": true
          },
          "directors_provided": {
            "description": "Whether the company's directors have been provided. This Boolean will be `true` if you've manually indicated that all directors are provided via [the `directors_provided` parameter](https://stripe.com/docs/api/accounts/update#update_account-company-directors_provided).",
            "type": "boolean"
          },
          "executives_provided": {
            "description": "Whether the company's executives have been provided. This Boolean will be `true` if you've manually indicated that all executives are provided via [the `executives_provided` parameter](https://stripe.com/docs/api/accounts/update#update_account-company-executives_provided), or if Stripe determined that sufficient executives were provided.",
            "type": "boolean"
          },
          "export_license_id": {
            "description": "The export license ID number of the company, also referred as Import Export Code (India only).",
            "maxLength": 5000,
            "type": "string"
          },
          "export_purpose_code": {
            "description": "The purpose code to use for export transactions (India only).",
            "maxLength": 5000,
            "type": "string"
          },
          "name": {
            "description": "The company's legal name.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "name_kana": {
            "description": "The Kana variation of the company's legal name (Japan only).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "name_kanji": {
            "description": "The Kanji variation of the company's legal name (Japan only).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "owners_provided": {
            "description": "Whether the company's owners have been provided. This Boolean will be `true` if you've manually indicated that all owners are provided via [the `owners_provided` parameter](https://stripe.com/docs/api/accounts/update#update_account-company-owners_provided), or if Stripe determined that sufficient owners were provided. Stripe determines ownership requirements using both the number of owners provided and their total percent ownership (calculated by adding the `percent_ownership` of each owner together).",
            "type": "boolean"
          },
          "ownership_declaration": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/legal_entity_ubo_declaration"
              }
            ],
            "description": "This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.",
            "nullable": true
          },
          "phone": {
            "description": "The company's phone number (used for verification).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "structure": {
            "description": "The category identifying the legal structure of the company or legal entity. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details.",
            "enum": [
              "free_zone_establishment",
              "free_zone_llc",
              "government_instrumentality",
              "governmental_unit",
              "incorporated_non_profit",
              "incorporated_partnership",
              "limited_liability_partnership",
              "llc",
              "multi_member_llc",
              "private_company",
              "private_corporation",
              "private_partnership",
              "public_company",
              "public_corporation",
              "public_partnership",
              "registered_charity",
              "single_member_llc",
              "sole_establishment",
              "sole_proprietorship",
              "tax_exempt_government_instrumentality",
              "unincorporated_association",
              "unincorporated_non_profit",
              "unincorporated_partnership"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "tax_id_provided": {
            "description": "Whether the company's business ID number was provided.",
            "type": "boolean"
          },
          "tax_id_registrar": {
            "description": "The jurisdiction in which the `tax_id` is registered (Germany-based companies only).",
            "maxLength": 5000,
            "type": "string"
          },
          "vat_id_provided": {
            "description": "Whether the company's business VAT number was provided.",
            "type": "boolean"
          },
          "verification": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/legal_entity_company_verification"
              }
            ],
            "description": "Information on the verification state of the company.",
            "nullable": true
          }
        },
        "title": "LegalEntityCompany",
        "type": "object",
        "x-expandableFields": [
          "address",
          "address_kana",
          "address_kanji",
          "ownership_declaration",
          "verification"
        ],
        "x-stripeMostCommon": [
          "address",
          "address_kana",
          "address_kanji",
          "directors_provided",
          "executives_provided",
          "export_license_id",
          "export_purpose_code",
          "name",
          "name_kana",
          "name_kanji",
          "owners_provided",
          "ownership_declaration",
          "phone",
          "structure",
          "tax_id_provided",
          "tax_id_registrar",
          "vat_id_provided",
          "verification"
        ]
      },
      "legal_entity_company_verification": {
        "description": "",
        "properties": {
          "document": {
            "$ref": "#/components/schemas/legal_entity_company_verification_document"
          }
        },
        "required": [
          "document"
        ],
        "title": "LegalEntityCompanyVerification",
        "type": "object",
        "x-expandableFields": [
          "document"
        ],
        "x-stripeMostCommon": [
          "document"
        ]
      },
      "legal_entity_company_verification_document": {
        "description": "",
        "properties": {
          "back": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          },
          "details": {
            "description": "A user-displayable string describing the verification state of this document.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "details_code": {
            "description": "One of `document_corrupt`, `document_expired`, `document_failed_copy`, `document_failed_greyscale`, `document_failed_other`, `document_failed_test_mode`, `document_fraudulent`, `document_incomplete`, `document_invalid`, `document_manipulated`, `document_not_readable`, `document_not_uploaded`, `document_type_not_supported`, or `document_too_large`. A machine-readable code specifying the verification state for this document.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "front": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          }
        },
        "required": [
          "back",
          "details",
          "details_code",
          "front"
        ],
        "title": "LegalEntityCompanyVerificationDocument",
        "type": "object",
        "x-expandableFields": [
          "back",
          "front"
        ],
        "x-stripeMostCommon": [
          "back",
          "details",
          "details_code",
          "front"
        ]
      },
      "legal_entity_dob": {
        "description": "",
        "properties": {
          "day": {
            "description": "The day of birth, between 1 and 31.",
            "nullable": true,
            "type": "integer"
          },
          "month": {
            "description": "The month of birth, between 1 and 12.",
            "nullable": true,
            "type": "integer"
          },
          "year": {
            "description": "The four-digit year of birth.",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "day",
          "month",
          "year"
        ],
        "title": "LegalEntityDOB",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "day",
          "month",
          "year"
        ]
      },
      "legal_entity_japan_address": {
        "description": "",
        "properties": {
          "city": {
            "description": "City/Ward.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "country": {
            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "line1": {
            "description": "Block/Building number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "line2": {
            "description": "Building details.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "postal_code": {
            "description": "ZIP or postal code.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "state": {
            "description": "Prefecture.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "town": {
            "description": "Town/cho-me.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "city",
          "country",
          "line1",
          "line2",
          "postal_code",
          "state",
          "town"
        ],
        "title": "LegalEntityJapanAddress",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "city",
          "country",
          "line1",
          "line2",
          "postal_code",
          "state",
          "town"
        ]
      },
      "legal_entity_person_verification": {
        "description": "",
        "properties": {
          "additional_document": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/legal_entity_person_verification_document"
              }
            ],
            "description": "A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.",
            "nullable": true
          },
          "details": {
            "description": "A user-displayable string describing the verification state for the person. For example, this may say \"Provided identity information could not be verified\".",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "details_code": {
            "description": "One of `document_address_mismatch`, `document_dob_mismatch`, `document_duplicate_type`, `document_id_number_mismatch`, `document_name_mismatch`, `document_nationality_mismatch`, `failed_keyed_identity`, or `failed_other`. A machine-readable code specifying the verification state for the person.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "document": {
            "$ref": "#/components/schemas/legal_entity_person_verification_document"
          },
          "status": {
            "description": "The state of verification for the person. Possible values are `unverified`, `pending`, or `verified`.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "title": "LegalEntityPersonVerification",
        "type": "object",
        "x-expandableFields": [
          "additional_document",
          "document"
        ],
        "x-stripeMostCommon": [
          "additional_document",
          "details",
          "details_code",
          "document",
          "status"
        ]
      },
      "legal_entity_person_verification_document": {
        "description": "",
        "properties": {
          "back": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          },
          "details": {
            "description": "A user-displayable string describing the verification state of this document. For example, if a document is uploaded and the picture is too fuzzy, this may say \"Identity document is too unclear to read\".",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "details_code": {
            "description": "One of `document_corrupt`, `document_country_not_supported`, `document_expired`, `document_failed_copy`, `document_failed_other`, `document_failed_test_mode`, `document_fraudulent`, `document_failed_greyscale`, `document_incomplete`, `document_invalid`, `document_manipulated`, `document_missing_back`, `document_missing_front`, `document_not_readable`, `document_not_uploaded`, `document_photo_mismatch`, `document_too_large`, or `document_type_not_supported`. A machine-readable code specifying the verification state for this document.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "front": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          }
        },
        "required": [
          "back",
          "details",
          "details_code",
          "front"
        ],
        "title": "LegalEntityPersonVerificationDocument",
        "type": "object",
        "x-expandableFields": [
          "back",
          "front"
        ],
        "x-stripeMostCommon": [
          "back",
          "details",
          "details_code",
          "front"
        ]
      },
      "legal_entity_ubo_declaration": {
        "description": "",
        "properties": {
          "date": {
            "description": "The Unix timestamp marking when the beneficial owner attestation was made.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "ip": {
            "description": "The IP address from which the beneficial owner attestation was made.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "user_agent": {
            "description": "The user-agent string from the browser where the beneficial owner attestation was made.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "date",
          "ip",
          "user_agent"
        ],
        "title": "LegalEntityUBODeclaration",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "date",
          "ip",
          "user_agent"
        ]
      },
      "level3": {
        "description": "",
        "properties": {
          "customer_reference": {
            "maxLength": 5000,
            "type": "string"
          },
          "line_items": {
            "items": {
              "$ref": "#/components/schemas/level3_line_items"
            },
            "type": "array"
          },
          "merchant_reference": {
            "maxLength": 5000,
            "type": "string"
          },
          "shipping_address_zip": {
            "maxLength": 5000,
            "type": "string"
          },
          "shipping_amount": {
            "type": "integer"
          },
          "shipping_from_zip": {
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "line_items",
          "merchant_reference"
        ],
        "title": "Level3",
        "type": "object",
        "x-expandableFields": [
          "line_items"
        ],
        "x-stripeMostCommon": [
          "customer_reference",
          "line_items",
          "merchant_reference",
          "shipping_address_zip",
          "shipping_amount",
          "shipping_from_zip"
        ]
      },
      "level3_line_items": {
        "description": "",
        "properties": {
          "discount_amount": {
            "nullable": true,
            "type": "integer"
          },
          "product_code": {
            "maxLength": 5000,
            "type": "string"
          },
          "product_description": {
            "maxLength": 5000,
            "type": "string"
          },
          "quantity": {
            "nullable": true,
            "type": "integer"
          },
          "tax_amount": {
            "nullable": true,
            "type": "integer"
          },
          "unit_cost": {
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "discount_amount",
          "product_code",
          "product_description",
          "quantity",
          "tax_amount",
          "unit_cost"
        ],
        "title": "Level3LineItems",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "discount_amount",
          "product_code",
          "product_description",
          "quantity",
          "tax_amount",
          "unit_cost"
        ]
      },
      "line_item": {
        "description": "Invoice Line Items represent the individual lines within an [invoice](https://stripe.com/docs/api/invoices) and only exist within the context of an invoice.\n\nEach line item is backed by either an [invoice item](https://stripe.com/docs/api/invoiceitems) or a [subscription item](https://stripe.com/docs/api/subscription_items).",
        "properties": {
          "amount": {
            "description": "The amount, in cents (or local equivalent).",
            "type": "integer"
          },
          "amount_excluding_tax": {
            "description": "The integer amount in cents (or local equivalent) representing the amount for this line item, excluding all tax and discounts.",
            "nullable": true,
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "description": {
            "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "discount_amounts": {
            "description": "The amount of discount calculated per discount for this line item.",
            "items": {
              "$ref": "#/components/schemas/discounts_resource_discount_amount"
            },
            "nullable": true,
            "type": "array"
          },
          "discountable": {
            "description": "If true, discounts will apply to this line item. Always false for prorations.",
            "type": "boolean"
          },
          "discounts": {
            "description": "The discounts applied to the invoice line item. Line item discounts are applied before invoice discounts. Use `expand[]=discounts` to expand each discount.",
            "items": {
              "anyOf": [
                {
                  "maxLength": 5000,
                  "type": "string"
                },
                {
                  "$ref": "#/components/schemas/discount"
                }
              ],
              "x-expansionResources": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/discount"
                  }
                ]
              }
            },
            "type": "array"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "invoice": {
            "description": "The ID of the invoice that contains this line item.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "invoice_item": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/invoiceitem"
              }
            ],
            "description": "The ID of the [invoice item](https://stripe.com/docs/api/invoiceitems) associated with this line item if any.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/invoiceitem"
                }
              ]
            }
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. 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": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "line_item"
            ],
            "type": "string"
          },
          "period": {
            "$ref": "#/components/schemas/invoice_line_item_period"
          },
          "plan": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/plan"
              }
            ],
            "description": "The plan of the subscription, if the line item is a subscription or a proration.",
            "nullable": true
          },
          "pretax_credit_amounts": {
            "description": "Contains pretax credit amounts (ex: discount, credit grants, etc) that apply to this line item.",
            "items": {
              "$ref": "#/components/schemas/invoices_resource_pretax_credit_amount"
            },
            "nullable": true,
            "type": "array"
          },
          "price": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/price"
              }
            ],
            "description": "The price of the line item.",
            "nullable": true
          },
          "proration": {
            "description": "Whether this is a proration.",
            "type": "boolean"
          },
          "proration_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/invoices_resource_line_items_proration_details"
              }
            ],
            "description": "Additional details for proration line items",
            "nullable": true
          },
          "quantity": {
            "description": "The quantity of the subscription, if the line item is a subscription or a proration.",
            "nullable": true,
            "type": "integer"
          },
          "subscription": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/subscription"
              }
            ],
            "description": "The subscription that the invoice item pertains to, if any.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/subscription"
                }
              ]
            }
          },
          "subscription_item": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/subscription_item"
              }
            ],
            "description": "The subscription item that generated this line item. Left empty if the line item is not an explicit result of a subscription.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/subscription_item"
                }
              ]
            }
          },
          "tax_amounts": {
            "description": "The amount of tax calculated per tax rate for this line item",
            "items": {
              "$ref": "#/components/schemas/invoice_tax_amount"
            },
            "type": "array"
          },
          "tax_rates": {
            "description": "The tax rates which apply to the line item.",
            "items": {
              "$ref": "#/components/schemas/tax_rate"
            },
            "type": "array"
          },
          "type": {
            "description": "A string identifying the type of the source of this line item, either an `invoiceitem` or a `subscription`.",
            "enum": [
              "invoiceitem",
              "subscription"
            ],
            "type": "string"
          },
          "unit_amount_excluding_tax": {
            "description": "The amount in cents (or local equivalent) representing the unit amount for this line item, excluding all tax and discounts.",
            "format": "decimal",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "amount",
          "amount_excluding_tax",
          "currency",
          "description",
          "discount_amounts",
          "discountable",
          "discounts",
          "id",
          "invoice",
          "livemode",
          "metadata",
          "object",
          "period",
          "plan",
          "price",
          "proration",
          "proration_details",
          "quantity",
          "subscription",
          "tax_amounts",
          "tax_rates",
          "type",
          "unit_amount_excluding_tax"
        ],
        "title": "InvoiceLineItem",
        "type": "object",
        "x-expandableFields": [
          "discount_amounts",
          "discounts",
          "invoice_item",
          "period",
          "plan",
          "pretax_credit_amounts",
          "price",
          "proration_details",
          "subscription",
          "subscription_item",
          "tax_amounts",
          "tax_rates"
        ],
        "x-resourceId": "line_item",
        "x-stripeMostCommon": [
          "amount",
          "currency",
          "description",
          "id",
          "invoice",
          "metadata",
          "period",
          "price",
          "proration",
          "quantity",
          "type"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "collection",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/invoices/{invoice}/lines"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/invoices/{invoice}/lines"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/invoices/{invoice}/lines/{line_item_id}"
          }
        ],
        "x-stripeResource": {
          "class_name": "InvoiceLineItem",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "line_items_discount_amount": {
        "description": "",
        "properties": {
          "amount": {
            "description": "The amount discounted.",
            "type": "integer"
          },
          "discount": {
            "$ref": "#/components/schemas/discount"
          }
        },
        "required": [
          "amount",
          "discount"
        ],
        "title": "LineItemsDiscountAmount",
        "type": "object",
        "x-expandableFields": [
          "discount"
        ],
        "x-stripeMostCommon": [
          "amount",
          "discount"
        ]
      },
      "line_items_tax_amount": {
        "description": "",
        "properties": {
          "amount": {
            "description": "Amount of tax applied for this rate.",
            "type": "integer"
          },
          "rate": {
            "$ref": "#/components/schemas/tax_rate"
          },
          "taxability_reason": {
            "description": "The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported.",
            "enum": [
              "customer_exempt",
              "not_collecting",
              "not_subject_to_tax",
              "not_supported",
              "portion_product_exempt",
              "portion_reduced_rated",
              "portion_standard_rated",
              "product_exempt",
              "product_exempt_holiday",
              "proportionally_rated",
              "reduced_rated",
              "reverse_charge",
              "standard_rated",
              "taxable_basis_reduced",
              "zero_rated"
            ],
            "nullable": true,
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "taxable_amount": {
            "description": "The amount on which tax is calculated, in cents (or local equivalent).",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "amount",
          "rate",
          "taxability_reason",
          "taxable_amount"
        ],
        "title": "LineItemsTaxAmount",
        "type": "object",
        "x-expandableFields": [
          "rate"
        ],
        "x-stripeMostCommon": [
          "amount",
          "rate",
          "taxability_reason",
          "taxable_amount"
        ]
      },
      "linked_account_options_us_bank_account": {
        "description": "",
        "properties": {
          "filters": {
            "$ref": "#/components/schemas/payment_flows_private_payment_methods_us_bank_account_linked_account_options_filters"
          },
          "permissions": {
            "description": "The list of permissions to request. The `payment_method` permission must be included.",
            "items": {
              "enum": [
                "balances",
                "ownership",
                "payment_method",
                "transactions"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "prefetch": {
            "description": "Data features requested to be retrieved upon account creation.",
            "items": {
              "enum": [
                "balances",
                "ownership",
                "transactions"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "nullable": true,
            "type": "array"
          },
          "return_url": {
            "description": "For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "prefetch"
        ],
        "title": "linked_account_options_us_bank_account",
        "type": "object",
        "x-expandableFields": [
          "filters"
        ],
        "x-stripeMostCommon": [
          "filters",
          "permissions",
          "prefetch",
          "return_url"
        ]
      },
      "login_link": {
        "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.",
        "properties": {
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "login_link"
            ],
            "type": "string"
          },
          "url": {
            "description": "The URL for the login link.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "created",
          "object",
          "url"
        ],
        "title": "LoginLink",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "login_link",
        "x-stripeMostCommon": [
          "url"
        ],
        "x-stripeOperations": [
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/accounts/{account}/login_links"
          }
        ],
        "x-stripeResource": {
          "class_name": "LoginLink",
          "in_package": ""
        }
      },
      "mandate": {
        "description": "A Mandate is a record of the permission that your customer gives you to debit their payment method.",
        "properties": {
          "customer_acceptance": {
            "$ref": "#/components/schemas/customer_acceptance"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "multi_use": {
            "$ref": "#/components/schemas/mandate_multi_use"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "mandate"
            ],
            "type": "string"
          },
          "on_behalf_of": {
            "description": "The account (if any) that the mandate is intended for.",
            "maxLength": 5000,
            "type": "string"
          },
          "payment_method": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_method"
              }
            ],
            "description": "ID of the payment method associated with this mandate.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_method"
                }
              ]
            }
          },
          "payment_method_details": {
            "$ref": "#/components/schemas/mandate_payment_method_details"
          },
          "single_use": {
            "$ref": "#/components/schemas/mandate_single_use"
          },
          "status": {
            "description": "The mandate status indicates whether or not you can use it to initiate a payment.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "type": {
            "description": "The type of the mandate.",
            "enum": [
              "multi_use",
              "single_use"
            ],
            "type": "string"
          }
        },
        "required": [
          "customer_acceptance",
          "id",
          "livemode",
          "object",
          "payment_method",
          "payment_method_details",
          "status",
          "type"
        ],
        "title": "Mandate",
        "type": "object",
        "x-expandableFields": [
          "customer_acceptance",
          "multi_use",
          "payment_method",
          "payment_method_details",
          "single_use"
        ],
        "x-resourceId": "mandate",
        "x-stripeMostCommon": [
          "customer_acceptance",
          "id",
          "payment_method",
          "payment_method_details",
          "status",
          "type"
        ],
        "x-stripeOperations": [
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/mandates/{mandate}"
          }
        ],
        "x-stripeResource": {
          "class_name": "Mandate",
          "in_package": ""
        }
      },
      "mandate.updated": {
        "description": "Occurs whenever a Mandate is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/mandate"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "mandate.updated"
        }
      },
      "mandate_acss_debit": {
        "description": "",
        "properties": {
          "default_for": {
            "description": "List of Stripe products where this mandate can be selected automatically.",
            "items": {
              "enum": [
                "invoice",
                "subscription"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "interval_description": {
            "description": "Description of the interval. Only required if the 'payment_schedule' parameter is 'interval' or 'combined'.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "payment_schedule": {
            "description": "Payment schedule for the mandate.",
            "enum": [
              "combined",
              "interval",
              "sporadic"
            ],
            "type": "string"
          },
          "transaction_type": {
            "description": "Transaction type of the mandate.",
            "enum": [
              "business",
              "personal"
            ],
            "type": "string"
          }
        },
        "required": [
          "interval_description",
          "payment_schedule",
          "transaction_type"
        ],
        "title": "mandate_acss_debit",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "default_for",
          "interval_description",
          "payment_schedule",
          "transaction_type"
        ],
        "x-stripeResource": {
          "class_name": "AcssDebit",
          "in_package": ""
        }
      },
      "mandate_amazon_pay": {
        "description": "",
        "properties": {},
        "title": "mandate_amazon_pay",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeResource": {
          "class_name": "AmazonPay",
          "in_package": ""
        }
      },
      "mandate_au_becs_debit": {
        "description": "",
        "properties": {
          "url": {
            "description": "The URL of the mandate. This URL generally contains sensitive information about the customer and should be shared with them exclusively.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "title": "mandate_au_becs_debit",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "url"
        ]
      },
      "mandate_bacs_debit": {
        "description": "",
        "properties": {
          "network_status": {
            "description": "The status of the mandate on the Bacs network. Can be one of `pending`, `revoked`, `refused`, or `accepted`.",
            "enum": [
              "accepted",
              "pending",
              "refused",
              "revoked"
            ],
            "type": "string"
          },
          "reference": {
            "description": "The unique reference identifying the mandate on the Bacs network.",
            "maxLength": 5000,
            "type": "string"
          },
          "revocation_reason": {
            "description": "When the mandate is revoked on the Bacs network this field displays the reason for the revocation.",
            "enum": [
              "account_closed",
              "bank_account_restricted",
              "bank_ownership_changed",
              "could_not_process",
              "debit_not_authorized"
            ],
            "nullable": true,
            "type": "string"
          },
          "url": {
            "description": "The URL that will contain the mandate that the customer has signed.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "network_status",
          "reference",
          "revocation_reason",
          "url"
        ],
        "title": "mandate_bacs_debit",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "network_status",
          "reference",
          "revocation_reason",
          "url"
        ]
      },
      "mandate_cashapp": {
        "description": "",
        "properties": {},
        "title": "mandate_cashapp",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeResource": {
          "class_name": "Cashapp",
          "in_package": ""
        }
      },
      "mandate_kakao_pay": {
        "description": "",
        "properties": {},
        "title": "mandate_kakao_pay",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeResource": {
          "class_name": "KakaoPay",
          "in_package": ""
        }
      },
      "mandate_kr_card": {
        "description": "",
        "properties": {},
        "title": "mandate_kr_card",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeResource": {
          "class_name": "KrCard",
          "in_package": ""
        }
      },
      "mandate_link": {
        "description": "",
        "properties": {},
        "title": "mandate_link",
        "type": "object",
        "x-expandableFields": []
      },
      "mandate_multi_use": {
        "description": "",
        "properties": {},
        "title": "mandate_multi_use",
        "type": "object",
        "x-expandableFields": []
      },
      "mandate_payment_method_details": {
        "description": "",
        "properties": {
          "acss_debit": {
            "$ref": "#/components/schemas/mandate_acss_debit"
          },
          "amazon_pay": {
            "$ref": "#/components/schemas/mandate_amazon_pay"
          },
          "au_becs_debit": {
            "$ref": "#/components/schemas/mandate_au_becs_debit"
          },
          "bacs_debit": {
            "$ref": "#/components/schemas/mandate_bacs_debit"
          },
          "card": {
            "$ref": "#/components/schemas/card_mandate_payment_method_details"
          },
          "cashapp": {
            "$ref": "#/components/schemas/mandate_cashapp"
          },
          "kakao_pay": {
            "$ref": "#/components/schemas/mandate_kakao_pay"
          },
          "kr_card": {
            "$ref": "#/components/schemas/mandate_kr_card"
          },
          "link": {
            "$ref": "#/components/schemas/mandate_link"
          },
          "paypal": {
            "$ref": "#/components/schemas/mandate_paypal"
          },
          "revolut_pay": {
            "$ref": "#/components/schemas/mandate_revolut_pay"
          },
          "sepa_debit": {
            "$ref": "#/components/schemas/mandate_sepa_debit"
          },
          "type": {
            "description": "This mandate corresponds with a specific payment method type. The `payment_method_details` includes an additional hash with the same name and contains mandate information that's specific to that payment method.",
            "maxLength": 5000,
            "type": "string"
          },
          "us_bank_account": {
            "$ref": "#/components/schemas/mandate_us_bank_account"
          }
        },
        "required": [
          "type"
        ],
        "title": "mandate_payment_method_details",
        "type": "object",
        "x-expandableFields": [
          "acss_debit",
          "amazon_pay",
          "au_becs_debit",
          "bacs_debit",
          "card",
          "cashapp",
          "kakao_pay",
          "kr_card",
          "link",
          "paypal",
          "revolut_pay",
          "sepa_debit",
          "us_bank_account"
        ],
        "x-stripeMostCommon": [
          "acss_debit",
          "amazon_pay",
          "au_becs_debit",
          "bacs_debit",
          "card",
          "cashapp",
          "kakao_pay",
          "kr_card",
          "link",
          "paypal",
          "revolut_pay",
          "sepa_debit",
          "type",
          "us_bank_account"
        ]
      },
      "mandate_paypal": {
        "description": "",
        "properties": {
          "billing_agreement_id": {
            "description": "The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "payer_id": {
            "description": "PayPal account PayerID. This identifier uniquely identifies the PayPal customer.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "billing_agreement_id",
          "payer_id"
        ],
        "title": "mandate_paypal",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "billing_agreement_id",
          "payer_id"
        ]
      },
      "mandate_revolut_pay": {
        "description": "",
        "properties": {},
        "title": "mandate_revolut_pay",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeResource": {
          "class_name": "RevolutPay",
          "in_package": ""
        }
      },
      "mandate_sepa_debit": {
        "description": "",
        "properties": {
          "reference": {
            "description": "The unique reference of the mandate.",
            "maxLength": 5000,
            "type": "string"
          },
          "url": {
            "description": "The URL of the mandate. This URL generally contains sensitive information about the customer and should be shared with them exclusively.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "reference",
          "url"
        ],
        "title": "mandate_sepa_debit",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "reference",
          "url"
        ],
        "x-stripeResource": {
          "class_name": "SepaDebit",
          "in_package": ""
        }
      },
      "mandate_single_use": {
        "description": "",
        "properties": {
          "amount": {
            "description": "The amount of the payment on a single use mandate.",
            "type": "integer"
          },
          "currency": {
            "description": "The currency of the payment on a single use mandate.",
            "type": "string"
          }
        },
        "required": [
          "amount",
          "currency"
        ],
        "title": "mandate_single_use",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "amount",
          "currency"
        ]
      },
      "mandate_us_bank_account": {
        "description": "",
        "properties": {
          "collection_method": {
            "description": "Mandate collection method",
            "enum": [
              "paper"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "title": "mandate_us_bank_account",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "collection_method"
        ],
        "x-stripeResource": {
          "class_name": "UsBankAccount",
          "in_package": ""
        }
      },
      "networks": {
        "description": "",
        "properties": {
          "available": {
            "description": "All available networks for the card.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "preferred": {
            "description": "The preferred network for co-branded cards. Can be `cartes_bancaires`, `mastercard`, `visa` or `invalid_preference` if requested network is not valid for the card.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "available",
          "preferred"
        ],
        "title": "networks",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "available",
          "preferred"
        ]
      },
      "notification_event_data": {
        "description": "",
        "properties": {
          "object": {
            "description": "Object containing the API resource relevant to the event. For example, an `invoice.created` event will have a full [invoice object](https://stripe.com/docs/api#invoice_object) as the value of the object key.",
            "type": "object"
          },
          "previous_attributes": {
            "description": "Object containing the names of the updated attributes and their values prior to the event (only included in events of type `*.updated`). If an array attribute has any updated elements, this object contains the entire array. In Stripe API versions 2017-04-06 or earlier, an updated array attribute in this object includes only the updated array elements.",
            "type": "object"
          }
        },
        "required": [
          "object"
        ],
        "title": "NotificationEventData",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "object",
          "previous_attributes"
        ],
        "x-stripeResource": {
          "class_name": "EventData",
          "in_package": ""
        }
      },
      "notification_event_request": {
        "description": "",
        "properties": {
          "id": {
            "description": "ID of the API request that caused the event. If null, the event was automatic (e.g., Stripe's automatic subscription handling). Request logs are available in the [dashboard](https://dashboard.stripe.com/logs), but currently not in the API.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "idempotency_key": {
            "description": "The idempotency key transmitted during the request, if any. *Note: This property is populated only for events on or after May 23, 2017*.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "idempotency_key"
        ],
        "title": "NotificationEventRequest",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "id",
          "idempotency_key"
        ]
      },
      "offline_acceptance": {
        "description": "",
        "properties": {},
        "title": "offline_acceptance",
        "type": "object",
        "x-expandableFields": []
      },
      "online_acceptance": {
        "description": "",
        "properties": {
          "ip_address": {
            "description": "The customer accepts the mandate from this IP address.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "user_agent": {
            "description": "The customer accepts the mandate using the user agent of the browser.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "ip_address",
          "user_agent"
        ],
        "title": "online_acceptance",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "ip_address",
          "user_agent"
        ]
      },
      "outbound_payments_payment_method_details": {
        "description": "",
        "properties": {
          "billing_details": {
            "$ref": "#/components/schemas/treasury_shared_resource_billing_details"
          },
          "financial_account": {
            "$ref": "#/components/schemas/outbound_payments_payment_method_details_financial_account"
          },
          "type": {
            "description": "The type of the payment method used in the OutboundPayment.",
            "enum": [
              "financial_account",
              "us_bank_account"
            ],
            "type": "string"
          },
          "us_bank_account": {
            "$ref": "#/components/schemas/outbound_payments_payment_method_details_us_bank_account"
          }
        },
        "required": [
          "billing_details",
          "type"
        ],
        "title": "OutboundPaymentsPaymentMethodDetails",
        "type": "object",
        "x-expandableFields": [
          "billing_details",
          "financial_account",
          "us_bank_account"
        ],
        "x-stripeMostCommon": [
          "billing_details",
          "financial_account",
          "type",
          "us_bank_account"
        ]
      },
      "outbound_payments_payment_method_details_financial_account": {
        "description": "",
        "properties": {
          "id": {
            "description": "Token of the FinancialAccount.",
            "maxLength": 5000,
            "type": "string"
          },
          "network": {
            "description": "The rails used to send funds.",
            "enum": [
              "stripe"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "network"
        ],
        "title": "outbound_payments_payment_method_details_financial_account",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "id",
          "network"
        ],
        "x-stripeResource": {
          "class_name": "FinancialAccount",
          "in_package": ""
        }
      },
      "outbound_payments_payment_method_details_us_bank_account": {
        "description": "",
        "properties": {
          "account_holder_type": {
            "description": "Account holder type: individual or company.",
            "enum": [
              "company",
              "individual"
            ],
            "nullable": true,
            "type": "string"
          },
          "account_type": {
            "description": "Account type: checkings or savings. Defaults to checking if omitted.",
            "enum": [
              "checking",
              "savings"
            ],
            "nullable": true,
            "type": "string"
          },
          "bank_name": {
            "description": "Name of the bank associated with the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "fingerprint": {
            "description": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "last4": {
            "description": "Last four digits of the bank account number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "mandate": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/mandate"
              }
            ],
            "description": "ID of the mandate used to make this payment.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/mandate"
                }
              ]
            }
          },
          "network": {
            "description": "The network rails used. See the [docs](https://stripe.com/docs/treasury/money-movement/timelines) to learn more about money movement timelines for each network type.",
            "enum": [
              "ach",
              "us_domestic_wire"
            ],
            "type": "string"
          },
          "routing_number": {
            "description": "Routing number of the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "account_holder_type",
          "account_type",
          "bank_name",
          "fingerprint",
          "last4",
          "network",
          "routing_number"
        ],
        "title": "outbound_payments_payment_method_details_us_bank_account",
        "type": "object",
        "x-expandableFields": [
          "mandate"
        ],
        "x-stripeMostCommon": [
          "account_holder_type",
          "account_type",
          "bank_name",
          "fingerprint",
          "last4",
          "mandate",
          "network",
          "routing_number"
        ],
        "x-stripeResource": {
          "class_name": "UsBankAccount",
          "in_package": ""
        }
      },
      "outbound_transfers_payment_method_details": {
        "description": "",
        "properties": {
          "billing_details": {
            "$ref": "#/components/schemas/treasury_shared_resource_billing_details"
          },
          "type": {
            "description": "The type of the payment method used in the OutboundTransfer.",
            "enum": [
              "us_bank_account"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "us_bank_account": {
            "$ref": "#/components/schemas/outbound_transfers_payment_method_details_us_bank_account"
          }
        },
        "required": [
          "billing_details",
          "type"
        ],
        "title": "OutboundTransfersPaymentMethodDetails",
        "type": "object",
        "x-expandableFields": [
          "billing_details",
          "us_bank_account"
        ],
        "x-stripeMostCommon": [
          "billing_details",
          "type",
          "us_bank_account"
        ],
        "x-stripeResource": {
          "class_name": "DestinationPaymentMethodDetails",
          "in_package": ""
        }
      },
      "outbound_transfers_payment_method_details_us_bank_account": {
        "description": "",
        "properties": {
          "account_holder_type": {
            "description": "Account holder type: individual or company.",
            "enum": [
              "company",
              "individual"
            ],
            "nullable": true,
            "type": "string"
          },
          "account_type": {
            "description": "Account type: checkings or savings. Defaults to checking if omitted.",
            "enum": [
              "checking",
              "savings"
            ],
            "nullable": true,
            "type": "string"
          },
          "bank_name": {
            "description": "Name of the bank associated with the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "fingerprint": {
            "description": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "last4": {
            "description": "Last four digits of the bank account number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "mandate": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/mandate"
              }
            ],
            "description": "ID of the mandate used to make this payment.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/mandate"
                }
              ]
            }
          },
          "network": {
            "description": "The network rails used. See the [docs](https://stripe.com/docs/treasury/money-movement/timelines) to learn more about money movement timelines for each network type.",
            "enum": [
              "ach",
              "us_domestic_wire"
            ],
            "type": "string"
          },
          "routing_number": {
            "description": "Routing number of the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "account_holder_type",
          "account_type",
          "bank_name",
          "fingerprint",
          "last4",
          "network",
          "routing_number"
        ],
        "title": "outbound_transfers_payment_method_details_us_bank_account",
        "type": "object",
        "x-expandableFields": [
          "mandate"
        ],
        "x-stripeMostCommon": [
          "account_holder_type",
          "account_type",
          "bank_name",
          "fingerprint",
          "last4",
          "mandate",
          "network",
          "routing_number"
        ],
        "x-stripeResource": {
          "class_name": "UsBankAccount",
          "in_package": ""
        }
      },
      "package_dimensions": {
        "description": "",
        "properties": {
          "height": {
            "description": "Height, in inches.",
            "type": "number"
          },
          "length": {
            "description": "Length, in inches.",
            "type": "number"
          },
          "weight": {
            "description": "Weight, in ounces.",
            "type": "number"
          },
          "width": {
            "description": "Width, in inches.",
            "type": "number"
          }
        },
        "required": [
          "height",
          "length",
          "weight",
          "width"
        ],
        "title": "PackageDimensions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "height",
          "length",
          "weight",
          "width"
        ]
      },
      "payment_flows_amount_details": {
        "description": "",
        "properties": {
          "tip": {
            "$ref": "#/components/schemas/payment_flows_amount_details_client_resource_tip"
          }
        },
        "title": "PaymentFlowsAmountDetails",
        "type": "object",
        "x-expandableFields": [
          "tip"
        ],
        "x-stripeMostCommon": [
          "tip"
        ]
      },
      "payment_flows_amount_details_client": {
        "description": "",
        "properties": {
          "tip": {
            "$ref": "#/components/schemas/payment_flows_amount_details_client_resource_tip"
          }
        },
        "title": "PaymentFlowsAmountDetailsClient",
        "type": "object",
        "x-expandableFields": [
          "tip"
        ],
        "x-stripeMostCommon": [
          "tip"
        ]
      },
      "payment_flows_amount_details_client_resource_tip": {
        "description": "",
        "properties": {
          "amount": {
            "description": "Portion of the amount that corresponds to a tip.",
            "type": "integer"
          }
        },
        "title": "PaymentFlowsAmountDetailsClientResourceTip",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "amount"
        ]
      },
      "payment_flows_automatic_payment_methods_payment_intent": {
        "description": "",
        "properties": {
          "allow_redirects": {
            "description": "Controls whether this PaymentIntent will accept redirect-based payment methods.\n\nRedirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/payment_intents/confirm) this PaymentIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the payment.",
            "enum": [
              "always",
              "never"
            ],
            "type": "string"
          },
          "enabled": {
            "description": "Automatically calculates compatible payment methods",
            "type": "boolean"
          }
        },
        "required": [
          "enabled"
        ],
        "title": "PaymentFlowsAutomaticPaymentMethodsPaymentIntent",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "allow_redirects",
          "enabled"
        ]
      },
      "payment_flows_automatic_payment_methods_setup_intent": {
        "description": "",
        "properties": {
          "allow_redirects": {
            "description": "Controls whether this SetupIntent will accept redirect-based payment methods.\n\nRedirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/setup_intents/confirm) this SetupIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the setup.",
            "enum": [
              "always",
              "never"
            ],
            "type": "string"
          },
          "enabled": {
            "description": "Automatically calculates compatible payment methods",
            "nullable": true,
            "type": "boolean"
          }
        },
        "required": [
          "enabled"
        ],
        "title": "PaymentFlowsAutomaticPaymentMethodsSetupIntent",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "allow_redirects",
          "enabled"
        ]
      },
      "payment_flows_installment_options": {
        "description": "",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "plan": {
            "$ref": "#/components/schemas/payment_method_details_card_installments_plan"
          }
        },
        "required": [
          "enabled"
        ],
        "title": "PaymentFlowsInstallmentOptions",
        "type": "object",
        "x-expandableFields": [
          "plan"
        ],
        "x-stripeMostCommon": [
          "enabled",
          "plan"
        ],
        "x-stripeResource": {
          "class_name": "Installments",
          "in_package": ""
        }
      },
      "payment_flows_private_payment_methods_alipay": {
        "description": "",
        "properties": {},
        "title": "PaymentFlowsPrivatePaymentMethodsAlipay",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_flows_private_payment_methods_alipay_details": {
        "description": "",
        "properties": {
          "buyer_id": {
            "description": "Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same.",
            "maxLength": 5000,
            "type": "string"
          },
          "fingerprint": {
            "description": "Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "transaction_id": {
            "description": "Transaction ID of this particular Alipay transaction.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "fingerprint",
          "transaction_id"
        ],
        "title": "PaymentFlowsPrivatePaymentMethodsAlipayDetails",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "buyer_id",
          "fingerprint",
          "transaction_id"
        ]
      },
      "payment_flows_private_payment_methods_card_details_api_resource_enterprise_features_extended_authorization_extended_authorization": {
        "description": "",
        "properties": {
          "status": {
            "description": "Indicates whether or not the capture window is extended beyond the standard authorization.",
            "enum": [
              "disabled",
              "enabled"
            ],
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "title": "PaymentFlowsPrivatePaymentMethodsCardDetailsAPIResourceEnterpriseFeaturesExtendedAuthorizationExtendedAuthorization",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "status"
        ]
      },
      "payment_flows_private_payment_methods_card_details_api_resource_enterprise_features_incremental_authorization_incremental_authorization": {
        "description": "",
        "properties": {
          "status": {
            "description": "Indicates whether or not the incremental authorization feature is supported.",
            "enum": [
              "available",
              "unavailable"
            ],
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "title": "PaymentFlowsPrivatePaymentMethodsCardDetailsAPIResourceEnterpriseFeaturesIncrementalAuthorizationIncrementalAuthorization",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "status"
        ]
      },
      "payment_flows_private_payment_methods_card_details_api_resource_enterprise_features_overcapture_overcapture": {
        "description": "",
        "properties": {
          "maximum_amount_capturable": {
            "description": "The maximum amount that can be captured.",
            "type": "integer"
          },
          "status": {
            "description": "Indicates whether or not the authorized amount can be over-captured.",
            "enum": [
              "available",
              "unavailable"
            ],
            "type": "string"
          }
        },
        "required": [
          "maximum_amount_capturable",
          "status"
        ],
        "title": "PaymentFlowsPrivatePaymentMethodsCardDetailsAPIResourceEnterpriseFeaturesOvercaptureOvercapture",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "maximum_amount_capturable",
          "status"
        ]
      },
      "payment_flows_private_payment_methods_card_details_api_resource_multicapture": {
        "description": "",
        "properties": {
          "status": {
            "description": "Indicates whether or not multiple captures are supported.",
            "enum": [
              "available",
              "unavailable"
            ],
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "title": "PaymentFlowsPrivatePaymentMethodsCardDetailsAPIResourceMulticapture",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "status"
        ]
      },
      "payment_flows_private_payment_methods_card_present_common_wallet": {
        "description": "",
        "properties": {
          "type": {
            "description": "The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.",
            "enum": [
              "apple_pay",
              "google_pay",
              "samsung_pay",
              "unknown"
            ],
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "title": "PaymentFlowsPrivatePaymentMethodsCardPresentCommonWallet",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "type"
        ]
      },
      "payment_flows_private_payment_methods_kakao_pay_payment_method_options": {
        "description": "",
        "properties": {
          "capture_method": {
            "description": "Controls when the funds will be captured from the customer's account.",
            "enum": [
              "manual"
            ],
            "type": "string"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session"
            ],
            "type": "string"
          }
        },
        "title": "PaymentFlowsPrivatePaymentMethodsKakaoPayPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "capture_method",
          "setup_future_usage"
        ]
      },
      "payment_flows_private_payment_methods_klarna_dob": {
        "description": "",
        "properties": {
          "day": {
            "description": "The day of birth, between 1 and 31.",
            "nullable": true,
            "type": "integer"
          },
          "month": {
            "description": "The month of birth, between 1 and 12.",
            "nullable": true,
            "type": "integer"
          },
          "year": {
            "description": "The four-digit year of birth.",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "day",
          "month",
          "year"
        ],
        "title": "PaymentFlowsPrivatePaymentMethodsKlarnaDOB",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "day",
          "month",
          "year"
        ]
      },
      "payment_flows_private_payment_methods_naver_pay_payment_method_options": {
        "description": "",
        "properties": {
          "capture_method": {
            "description": "Controls when the funds will be captured from the customer's account.",
            "enum": [
              "manual"
            ],
            "type": "string"
          }
        },
        "title": "PaymentFlowsPrivatePaymentMethodsNaverPayPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "capture_method"
        ]
      },
      "payment_flows_private_payment_methods_payco_payment_method_options": {
        "description": "",
        "properties": {
          "capture_method": {
            "description": "Controls when the funds will be captured from the customer's account.",
            "enum": [
              "manual"
            ],
            "type": "string"
          }
        },
        "title": "PaymentFlowsPrivatePaymentMethodsPaycoPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "capture_method"
        ]
      },
      "payment_flows_private_payment_methods_samsung_pay_payment_method_options": {
        "description": "",
        "properties": {
          "capture_method": {
            "description": "Controls when the funds will be captured from the customer's account.",
            "enum": [
              "manual"
            ],
            "type": "string"
          }
        },
        "title": "PaymentFlowsPrivatePaymentMethodsSamsungPayPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "capture_method"
        ]
      },
      "payment_flows_private_payment_methods_us_bank_account_linked_account_options_filters": {
        "description": "",
        "properties": {
          "account_subcategories": {
            "description": "The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.",
            "items": {
              "enum": [
                "checking",
                "savings"
              ],
              "type": "string"
            },
            "type": "array"
          }
        },
        "title": "PaymentFlowsPrivatePaymentMethodsUsBankAccountLinkedAccountOptionsFilters",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "account_subcategories"
        ]
      },
      "payment_intent": {
        "description": "A PaymentIntent guides you through the process of collecting a payment from your customer.\nWe recommend that you create exactly one PaymentIntent for each order or\ncustomer session in your system. You can reference the PaymentIntent later to\nsee the history of payment attempts for a particular session.\n\nA PaymentIntent transitions through\n[multiple statuses](https://stripe.com/docs/payments/intents#intent-statuses)\nthroughout its lifetime as it interfaces with Stripe.js to perform\nauthentication flows and ultimately creates at most one successful charge.\n\nRelated guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents)",
        "properties": {
          "amount": {
            "description": "Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).",
            "type": "integer"
          },
          "amount_capturable": {
            "description": "Amount that can be captured from this PaymentIntent.",
            "type": "integer"
          },
          "amount_details": {
            "$ref": "#/components/schemas/payment_flows_amount_details"
          },
          "amount_received": {
            "description": "Amount that this PaymentIntent collects.",
            "type": "integer"
          },
          "application": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/application"
              }
            ],
            "description": "ID of the Connect application that created the PaymentIntent.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/application"
                }
              ]
            }
          },
          "application_fee_amount": {
            "description": "The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total payment amount. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).",
            "nullable": true,
            "type": "integer"
          },
          "automatic_payment_methods": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_flows_automatic_payment_methods_payment_intent"
              }
            ],
            "description": "Settings to configure compatible payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods)",
            "nullable": true
          },
          "canceled_at": {
            "description": "Populated when `status` is `canceled`, this is the time at which the PaymentIntent was canceled. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "cancellation_reason": {
            "description": "Reason for cancellation of this PaymentIntent, either user-provided (`duplicate`, `fraudulent`, `requested_by_customer`, or `abandoned`) or generated by Stripe internally (`failed_invoice`, `void_invoice`, or `automatic`).",
            "enum": [
              "abandoned",
              "automatic",
              "duplicate",
              "failed_invoice",
              "fraudulent",
              "requested_by_customer",
              "void_invoice"
            ],
            "nullable": true,
            "type": "string"
          },
          "capture_method": {
            "description": "Controls when the funds will be captured from the customer's account.",
            "enum": [
              "automatic",
              "automatic_async",
              "manual"
            ],
            "type": "string"
          },
          "client_secret": {
            "description": "The client secret of this PaymentIntent. Used for client-side retrieval using a publishable key. \n\nThe client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.\n\nRefer to our docs to [accept a payment](https://stripe.com/docs/payments/accept-a-payment?ui=elements) and learn about how `client_secret` should be handled.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "confirmation_method": {
            "description": "Describes whether we can confirm this PaymentIntent automatically, or if it requires customer action to confirm the payment.",
            "enum": [
              "automatic",
              "manual"
            ],
            "type": "string"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "customer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer"
              },
              {
                "$ref": "#/components/schemas/deleted_customer"
              }
            ],
            "description": "ID of the Customer this PaymentIntent belongs to, if one exists.\n\nPayment methods attached to other Customers cannot be used with this PaymentIntent.\n\nIf [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer"
                },
                {
                  "$ref": "#/components/schemas/deleted_customer"
                }
              ]
            }
          },
          "description": {
            "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "invoice": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/invoice"
              }
            ],
            "description": "ID of the invoice that created this PaymentIntent, if it exists.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/invoice"
                }
              ]
            }
          },
          "last_payment_error": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/api_errors"
              }
            ],
            "description": "The payment error encountered in the previous PaymentIntent confirmation. It will be cleared if the PaymentIntent is later updated for any reason.",
            "nullable": true
          },
          "latest_charge": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/charge"
              }
            ],
            "description": "ID of the latest [Charge object](https://stripe.com/docs/api/charges) created by this PaymentIntent. This property is `null` until PaymentIntent confirmation is attempted.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/charge"
                }
              ]
            }
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Learn more about [storing information in metadata](https://stripe.com/docs/payments/payment-intents/creating-payment-intents#storing-information-in-metadata).",
            "type": "object"
          },
          "next_action": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_intent_next_action"
              }
            ],
            "description": "If present, this property tells you what actions you need to take in order for your customer to fulfill a payment using the provided source.",
            "nullable": true
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "payment_intent"
            ],
            "type": "string"
          },
          "on_behalf_of": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/account"
              }
            ],
            "description": "The account (if any) for which the funds of the PaymentIntent are intended. See the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts) for details.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/account"
                }
              ]
            }
          },
          "payment_method": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_method"
              }
            ],
            "description": "ID of the payment method used in this PaymentIntent.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_method"
                }
              ]
            }
          },
          "payment_method_configuration_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_method_config_biz_payment_method_configuration_details"
              }
            ],
            "description": "Information about the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) used for this PaymentIntent.",
            "nullable": true
          },
          "payment_method_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_intent_payment_method_options"
              }
            ],
            "description": "Payment-method-specific configuration for this PaymentIntent.",
            "nullable": true
          },
          "payment_method_types": {
            "description": "The list of payment method types (e.g. card) that this PaymentIntent is allowed to use.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "processing": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_intent_processing"
              }
            ],
            "description": "If present, this property tells you about the processing state of the payment.",
            "nullable": true
          },
          "receipt_email": {
            "description": "Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "review": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/review"
              }
            ],
            "description": "ID of the review associated with this PaymentIntent, if any.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/review"
                }
              ]
            }
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "off_session",
              "on_session"
            ],
            "nullable": true,
            "type": "string"
          },
          "shipping": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shipping"
              }
            ],
            "description": "Shipping information for this PaymentIntent.",
            "nullable": true
          },
          "source": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_source"
              },
              {
                "$ref": "#/components/schemas/deleted_payment_source"
              }
            ],
            "description": "This is a legacy field that will be removed in the future. It is the ID of the Source object that is associated with this PaymentIntent, if one was supplied.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_source"
                },
                {
                  "$ref": "#/components/schemas/deleted_payment_source"
                }
              ]
            }
          },
          "statement_descriptor": {
            "description": "Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).\n\nSetting this value for a card charge returns an error. For card charges, set the [statement_descriptor_suffix](https://docs.stripe.com/get-started/account/statement-descriptors#dynamic) instead.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "statement_descriptor_suffix": {
            "description": "Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "status": {
            "description": "Status of this PaymentIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `requires_capture`, `canceled`, or `succeeded`. Read more about each PaymentIntent [status](https://stripe.com/docs/payments/intents#intent-statuses).",
            "enum": [
              "canceled",
              "processing",
              "requires_action",
              "requires_capture",
              "requires_confirmation",
              "requires_payment_method",
              "succeeded"
            ],
            "type": "string"
          },
          "transfer_data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/transfer_data"
              }
            ],
            "description": "The data that automatically creates a Transfer after the payment finalizes. Learn more about the [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).",
            "nullable": true
          },
          "transfer_group": {
            "description": "A string that identifies the resulting payment as part of a group. Learn more about the [use case for connected accounts](https://stripe.com/docs/connect/separate-charges-and-transfers).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "amount",
          "amount_capturable",
          "amount_received",
          "application",
          "application_fee_amount",
          "automatic_payment_methods",
          "canceled_at",
          "cancellation_reason",
          "capture_method",
          "client_secret",
          "confirmation_method",
          "created",
          "currency",
          "customer",
          "description",
          "id",
          "invoice",
          "last_payment_error",
          "latest_charge",
          "livemode",
          "metadata",
          "next_action",
          "object",
          "on_behalf_of",
          "payment_method",
          "payment_method_configuration_details",
          "payment_method_options",
          "payment_method_types",
          "processing",
          "receipt_email",
          "review",
          "setup_future_usage",
          "shipping",
          "source",
          "statement_descriptor",
          "statement_descriptor_suffix",
          "status",
          "transfer_data",
          "transfer_group"
        ],
        "title": "PaymentIntent",
        "type": "object",
        "x-expandableFields": [
          "amount_details",
          "application",
          "automatic_payment_methods",
          "customer",
          "invoice",
          "last_payment_error",
          "latest_charge",
          "next_action",
          "on_behalf_of",
          "payment_method",
          "payment_method_configuration_details",
          "payment_method_options",
          "processing",
          "review",
          "shipping",
          "source",
          "transfer_data"
        ],
        "x-resourceId": "payment_intent",
        "x-stripeMostCommon": [
          "amount",
          "automatic_payment_methods",
          "client_secret",
          "currency",
          "customer",
          "description",
          "id",
          "last_payment_error",
          "latest_charge",
          "metadata",
          "next_action",
          "payment_method",
          "receipt_email",
          "setup_future_usage",
          "shipping",
          "statement_descriptor",
          "statement_descriptor_suffix",
          "status"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/payment_intents"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/payment_intents/{intent}"
          },
          {
            "method_name": "search",
            "method_on": "service",
            "method_type": "custom",
            "operation": "get",
            "path": "/v1/payment_intents/search"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/payment_intents"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/payment_intents/{intent}"
          },
          {
            "method_name": "apply_customer_balance",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/payment_intents/{intent}/apply_customer_balance"
          },
          {
            "method_name": "cancel",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/payment_intents/{intent}/cancel"
          },
          {
            "method_name": "capture",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/payment_intents/{intent}/capture"
          },
          {
            "method_name": "confirm",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/payment_intents/{intent}/confirm"
          },
          {
            "method_name": "increment_authorization",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/payment_intents/{intent}/increment_authorization"
          },
          {
            "method_name": "verify_microdeposits",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/payment_intents/{intent}/verify_microdeposits"
          }
        ],
        "x-stripeResource": {
          "class_name": "PaymentIntent",
          "has_collection_class": true,
          "has_search_result_class": true,
          "in_package": ""
        }
      },
      "payment_intent.amount_capturable_updated": {
        "description": "Occurs when a PaymentIntent has funds to be captured. Check the `amount_capturable` property on the PaymentIntent to determine the amount that can be captured. You may capture the PaymentIntent with an `amount_to_capture` value up to the specified amount. [Learn more about capturing PaymentIntents.](https://docs.stripe.com/api/payment_intents/capture)",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/payment_intent"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "payment_intent.amount_capturable_updated"
        }
      },
      "payment_intent.canceled": {
        "description": "Occurs when a PaymentIntent is canceled.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/payment_intent"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "payment_intent.canceled"
        }
      },
      "payment_intent.created": {
        "description": "Occurs when a new PaymentIntent is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/payment_intent"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "payment_intent.created"
        }
      },
      "payment_intent.partially_funded": {
        "description": "Occurs when funds are applied to a customer_balance PaymentIntent and the 'amount_remaining' changes.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/payment_intent"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "payment_intent.partially_funded"
        }
      },
      "payment_intent.payment_failed": {
        "description": "Occurs when a PaymentIntent has failed the attempt to create a payment method or a payment.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/payment_intent"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "payment_intent.payment_failed"
        }
      },
      "payment_intent.processing": {
        "description": "Occurs when a PaymentIntent has started processing.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/payment_intent"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "payment_intent.processing"
        }
      },
      "payment_intent.requires_action": {
        "description": "Occurs when a PaymentIntent transitions to requires_action state",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/payment_intent"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "payment_intent.requires_action"
        }
      },
      "payment_intent.succeeded": {
        "description": "Occurs when a PaymentIntent has successfully completed payment.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/payment_intent"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "payment_intent.succeeded"
        }
      },
      "payment_intent_card_processing": {
        "description": "",
        "properties": {
          "customer_notification": {
            "$ref": "#/components/schemas/payment_intent_processing_customer_notification"
          }
        },
        "title": "PaymentIntentCardProcessing",
        "type": "object",
        "x-expandableFields": [
          "customer_notification"
        ],
        "x-stripeMostCommon": [
          "customer_notification"
        ],
        "x-stripeResource": {
          "class_name": "Card",
          "in_package": ""
        }
      },
      "payment_intent_next_action": {
        "description": "",
        "properties": {
          "alipay_handle_redirect": {
            "$ref": "#/components/schemas/payment_intent_next_action_alipay_handle_redirect"
          },
          "boleto_display_details": {
            "$ref": "#/components/schemas/payment_intent_next_action_boleto"
          },
          "card_await_notification": {
            "$ref": "#/components/schemas/payment_intent_next_action_card_await_notification"
          },
          "cashapp_handle_redirect_or_display_qr_code": {
            "$ref": "#/components/schemas/payment_intent_next_action_cashapp_handle_redirect_or_display_qr_code"
          },
          "display_bank_transfer_instructions": {
            "$ref": "#/components/schemas/payment_intent_next_action_display_bank_transfer_instructions"
          },
          "konbini_display_details": {
            "$ref": "#/components/schemas/payment_intent_next_action_konbini"
          },
          "multibanco_display_details": {
            "$ref": "#/components/schemas/payment_intent_next_action_display_multibanco_details"
          },
          "oxxo_display_details": {
            "$ref": "#/components/schemas/payment_intent_next_action_display_oxxo_details"
          },
          "paynow_display_qr_code": {
            "$ref": "#/components/schemas/payment_intent_next_action_paynow_display_qr_code"
          },
          "pix_display_qr_code": {
            "$ref": "#/components/schemas/payment_intent_next_action_pix_display_qr_code"
          },
          "promptpay_display_qr_code": {
            "$ref": "#/components/schemas/payment_intent_next_action_promptpay_display_qr_code"
          },
          "redirect_to_url": {
            "$ref": "#/components/schemas/payment_intent_next_action_redirect_to_url"
          },
          "swish_handle_redirect_or_display_qr_code": {
            "$ref": "#/components/schemas/payment_intent_next_action_swish_handle_redirect_or_display_qr_code"
          },
          "type": {
            "description": "Type of the next action to perform, one of `redirect_to_url`, `use_stripe_sdk`, `alipay_handle_redirect`, `oxxo_display_details`, or `verify_with_microdeposits`.",
            "maxLength": 5000,
            "type": "string"
          },
          "use_stripe_sdk": {
            "description": "When confirming a PaymentIntent with Stripe.js, Stripe.js depends on the contents of this dictionary to invoke authentication flows. The shape of the contents is subject to change and is only intended to be used by Stripe.js.",
            "type": "object"
          },
          "verify_with_microdeposits": {
            "$ref": "#/components/schemas/payment_intent_next_action_verify_with_microdeposits"
          },
          "wechat_pay_display_qr_code": {
            "$ref": "#/components/schemas/payment_intent_next_action_wechat_pay_display_qr_code"
          },
          "wechat_pay_redirect_to_android_app": {
            "$ref": "#/components/schemas/payment_intent_next_action_wechat_pay_redirect_to_android_app"
          },
          "wechat_pay_redirect_to_ios_app": {
            "$ref": "#/components/schemas/payment_intent_next_action_wechat_pay_redirect_to_ios_app"
          }
        },
        "required": [
          "type"
        ],
        "title": "PaymentIntentNextAction",
        "type": "object",
        "x-expandableFields": [
          "alipay_handle_redirect",
          "boleto_display_details",
          "card_await_notification",
          "cashapp_handle_redirect_or_display_qr_code",
          "display_bank_transfer_instructions",
          "konbini_display_details",
          "multibanco_display_details",
          "oxxo_display_details",
          "paynow_display_qr_code",
          "pix_display_qr_code",
          "promptpay_display_qr_code",
          "redirect_to_url",
          "swish_handle_redirect_or_display_qr_code",
          "verify_with_microdeposits",
          "wechat_pay_display_qr_code",
          "wechat_pay_redirect_to_android_app",
          "wechat_pay_redirect_to_ios_app"
        ],
        "x-stripeMostCommon": [
          "alipay_handle_redirect",
          "boleto_display_details",
          "card_await_notification",
          "cashapp_handle_redirect_or_display_qr_code",
          "display_bank_transfer_instructions",
          "konbini_display_details",
          "multibanco_display_details",
          "oxxo_display_details",
          "paynow_display_qr_code",
          "pix_display_qr_code",
          "promptpay_display_qr_code",
          "redirect_to_url",
          "swish_handle_redirect_or_display_qr_code",
          "type",
          "use_stripe_sdk",
          "verify_with_microdeposits",
          "wechat_pay_display_qr_code",
          "wechat_pay_redirect_to_android_app",
          "wechat_pay_redirect_to_ios_app"
        ]
      },
      "payment_intent_next_action_alipay_handle_redirect": {
        "description": "",
        "properties": {
          "native_data": {
            "description": "The native data to be used with Alipay SDK you must redirect your customer to in order to authenticate the payment in an Android App.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "native_url": {
            "description": "The native URL you must redirect your customer to in order to authenticate the payment in an iOS App.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "return_url": {
            "description": "If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "url": {
            "description": "The URL you must redirect your customer to in order to authenticate the payment.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "native_data",
          "native_url",
          "return_url",
          "url"
        ],
        "title": "PaymentIntentNextActionAlipayHandleRedirect",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "native_data",
          "native_url",
          "return_url",
          "url"
        ],
        "x-stripeResource": {
          "class_name": "NextActionAlipayHandleRedirect",
          "in_package": ""
        }
      },
      "payment_intent_next_action_boleto": {
        "description": "",
        "properties": {
          "expires_at": {
            "description": "The timestamp after which the boleto expires.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "hosted_voucher_url": {
            "description": "The URL to the hosted boleto voucher page, which allows customers to view the boleto voucher.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "number": {
            "description": "The boleto number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "pdf": {
            "description": "The URL to the downloadable boleto voucher PDF.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "expires_at",
          "hosted_voucher_url",
          "number",
          "pdf"
        ],
        "title": "payment_intent_next_action_boleto",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "expires_at",
          "hosted_voucher_url",
          "number",
          "pdf"
        ],
        "x-stripeResource": {
          "class_name": "NextActionDisplayBoletoDetails",
          "in_package": ""
        }
      },
      "payment_intent_next_action_card_await_notification": {
        "description": "",
        "properties": {
          "charge_attempt_at": {
            "description": "The time that payment will be attempted. If customer approval is required, they need to provide approval before this time.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "customer_approval_required": {
            "description": "For payments greater than INR 15000, the customer must provide explicit approval of the payment with their bank. For payments of lower amount, no customer action is required.",
            "nullable": true,
            "type": "boolean"
          }
        },
        "required": [
          "charge_attempt_at",
          "customer_approval_required"
        ],
        "title": "PaymentIntentNextActionCardAwaitNotification",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "charge_attempt_at",
          "customer_approval_required"
        ],
        "x-stripeResource": {
          "class_name": "NextActionCardAwaitNotification",
          "in_package": ""
        }
      },
      "payment_intent_next_action_cashapp_handle_redirect_or_display_qr_code": {
        "description": "",
        "properties": {
          "hosted_instructions_url": {
            "description": "The URL to the hosted Cash App Pay instructions page, which allows customers to view the QR code, and supports QR code refreshing on expiration.",
            "maxLength": 5000,
            "type": "string"
          },
          "mobile_auth_url": {
            "description": "The url for mobile redirect based auth",
            "maxLength": 5000,
            "type": "string"
          },
          "qr_code": {
            "$ref": "#/components/schemas/payment_intent_next_action_cashapp_qr_code"
          }
        },
        "required": [
          "hosted_instructions_url",
          "mobile_auth_url",
          "qr_code"
        ],
        "title": "PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCode",
        "type": "object",
        "x-expandableFields": [
          "qr_code"
        ],
        "x-stripeMostCommon": [
          "hosted_instructions_url",
          "mobile_auth_url",
          "qr_code"
        ],
        "x-stripeResource": {
          "class_name": "CashappHandleRedirectOrDisplayQrCode",
          "in_package": ""
        }
      },
      "payment_intent_next_action_cashapp_qr_code": {
        "description": "",
        "properties": {
          "expires_at": {
            "description": "The date (unix timestamp) when the QR code expires.",
            "format": "unix-time",
            "type": "integer"
          },
          "image_url_png": {
            "description": "The image_url_png string used to render QR code",
            "maxLength": 5000,
            "type": "string"
          },
          "image_url_svg": {
            "description": "The image_url_svg string used to render QR code",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "expires_at",
          "image_url_png",
          "image_url_svg"
        ],
        "title": "PaymentIntentNextActionCashappQRCode",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "expires_at",
          "image_url_png",
          "image_url_svg"
        ],
        "x-stripeResource": {
          "class_name": "CashappQrCode",
          "in_package": ""
        }
      },
      "payment_intent_next_action_display_bank_transfer_instructions": {
        "description": "",
        "properties": {
          "amount_remaining": {
            "description": "The remaining amount that needs to be transferred to complete the payment.",
            "nullable": true,
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "nullable": true,
            "type": "string"
          },
          "financial_addresses": {
            "description": "A list of financial addresses that can be used to fund the customer balance",
            "items": {
              "$ref": "#/components/schemas/funding_instructions_bank_transfer_financial_address"
            },
            "type": "array"
          },
          "hosted_instructions_url": {
            "description": "A link to a hosted page that guides your customer through completing the transfer.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "reference": {
            "description": "A string identifying this payment. Instruct your customer to include this code in the reference or memo field of their bank transfer.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "type": {
            "description": "Type of bank transfer",
            "enum": [
              "eu_bank_transfer",
              "gb_bank_transfer",
              "jp_bank_transfer",
              "mx_bank_transfer",
              "us_bank_transfer"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "amount_remaining",
          "currency",
          "hosted_instructions_url",
          "reference",
          "type"
        ],
        "title": "PaymentIntentNextActionDisplayBankTransferInstructions",
        "type": "object",
        "x-expandableFields": [
          "financial_addresses"
        ],
        "x-stripeMostCommon": [
          "amount_remaining",
          "currency",
          "financial_addresses",
          "hosted_instructions_url",
          "reference",
          "type"
        ],
        "x-stripeResource": {
          "class_name": "NextActionDisplayBankTransferInstructions",
          "in_package": ""
        }
      },
      "payment_intent_next_action_display_multibanco_details": {
        "description": "",
        "properties": {
          "entity": {
            "description": "Entity number associated with this Multibanco payment.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "expires_at": {
            "description": "The timestamp at which the Multibanco voucher expires.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "hosted_voucher_url": {
            "description": "The URL for the hosted Multibanco voucher page, which allows customers to view a Multibanco voucher.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "reference": {
            "description": "Reference number associated with this Multibanco payment.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "entity",
          "expires_at",
          "hosted_voucher_url",
          "reference"
        ],
        "title": "PaymentIntentNextActionDisplayMultibancoDetails",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "entity",
          "expires_at",
          "hosted_voucher_url",
          "reference"
        ],
        "x-stripeResource": {
          "class_name": "NextActionMultibancoDisplayDetails",
          "in_package": ""
        }
      },
      "payment_intent_next_action_display_oxxo_details": {
        "description": "",
        "properties": {
          "expires_after": {
            "description": "The timestamp after which the OXXO voucher expires.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "hosted_voucher_url": {
            "description": "The URL for the hosted OXXO voucher page, which allows customers to view and print an OXXO voucher.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "number": {
            "description": "OXXO reference number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "expires_after",
          "hosted_voucher_url",
          "number"
        ],
        "title": "PaymentIntentNextActionDisplayOxxoDetails",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "expires_after",
          "hosted_voucher_url",
          "number"
        ],
        "x-stripeResource": {
          "class_name": "NextActionOxxoDisplayDetails",
          "in_package": ""
        }
      },
      "payment_intent_next_action_konbini": {
        "description": "",
        "properties": {
          "expires_at": {
            "description": "The timestamp at which the pending Konbini payment expires.",
            "format": "unix-time",
            "type": "integer"
          },
          "hosted_voucher_url": {
            "description": "The URL for the Konbini payment instructions page, which allows customers to view and print a Konbini voucher.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "stores": {
            "$ref": "#/components/schemas/payment_intent_next_action_konbini_stores"
          }
        },
        "required": [
          "expires_at",
          "hosted_voucher_url",
          "stores"
        ],
        "title": "payment_intent_next_action_konbini",
        "type": "object",
        "x-expandableFields": [
          "stores"
        ],
        "x-stripeMostCommon": [
          "expires_at",
          "hosted_voucher_url",
          "stores"
        ],
        "x-stripeResource": {
          "class_name": "NextActionKonbiniDisplayDetails",
          "in_package": ""
        }
      },
      "payment_intent_next_action_konbini_familymart": {
        "description": "",
        "properties": {
          "confirmation_number": {
            "description": "The confirmation number.",
            "maxLength": 5000,
            "type": "string"
          },
          "payment_code": {
            "description": "The payment code.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "payment_code"
        ],
        "title": "payment_intent_next_action_konbini_familymart",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "confirmation_number",
          "payment_code"
        ],
        "x-stripeResource": {
          "class_name": "Familymart",
          "in_package": ""
        }
      },
      "payment_intent_next_action_konbini_lawson": {
        "description": "",
        "properties": {
          "confirmation_number": {
            "description": "The confirmation number.",
            "maxLength": 5000,
            "type": "string"
          },
          "payment_code": {
            "description": "The payment code.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "payment_code"
        ],
        "title": "payment_intent_next_action_konbini_lawson",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "confirmation_number",
          "payment_code"
        ],
        "x-stripeResource": {
          "class_name": "Lawson",
          "in_package": ""
        }
      },
      "payment_intent_next_action_konbini_ministop": {
        "description": "",
        "properties": {
          "confirmation_number": {
            "description": "The confirmation number.",
            "maxLength": 5000,
            "type": "string"
          },
          "payment_code": {
            "description": "The payment code.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "payment_code"
        ],
        "title": "payment_intent_next_action_konbini_ministop",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "confirmation_number",
          "payment_code"
        ],
        "x-stripeResource": {
          "class_name": "Ministop",
          "in_package": ""
        }
      },
      "payment_intent_next_action_konbini_seicomart": {
        "description": "",
        "properties": {
          "confirmation_number": {
            "description": "The confirmation number.",
            "maxLength": 5000,
            "type": "string"
          },
          "payment_code": {
            "description": "The payment code.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "payment_code"
        ],
        "title": "payment_intent_next_action_konbini_seicomart",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "confirmation_number",
          "payment_code"
        ],
        "x-stripeResource": {
          "class_name": "Seicomart",
          "in_package": ""
        }
      },
      "payment_intent_next_action_konbini_stores": {
        "description": "",
        "properties": {
          "familymart": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_intent_next_action_konbini_familymart"
              }
            ],
            "description": "FamilyMart instruction details.",
            "nullable": true
          },
          "lawson": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_intent_next_action_konbini_lawson"
              }
            ],
            "description": "Lawson instruction details.",
            "nullable": true
          },
          "ministop": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_intent_next_action_konbini_ministop"
              }
            ],
            "description": "Ministop instruction details.",
            "nullable": true
          },
          "seicomart": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_intent_next_action_konbini_seicomart"
              }
            ],
            "description": "Seicomart instruction details.",
            "nullable": true
          }
        },
        "required": [
          "familymart",
          "lawson",
          "ministop",
          "seicomart"
        ],
        "title": "payment_intent_next_action_konbini_stores",
        "type": "object",
        "x-expandableFields": [
          "familymart",
          "lawson",
          "ministop",
          "seicomart"
        ],
        "x-stripeMostCommon": [
          "familymart",
          "lawson",
          "ministop",
          "seicomart"
        ],
        "x-stripeResource": {
          "class_name": "Stores",
          "in_package": ""
        }
      },
      "payment_intent_next_action_paynow_display_qr_code": {
        "description": "",
        "properties": {
          "data": {
            "description": "The raw data string used to generate QR code, it should be used together with QR code library.",
            "maxLength": 5000,
            "type": "string"
          },
          "hosted_instructions_url": {
            "description": "The URL to the hosted PayNow instructions page, which allows customers to view the PayNow QR code.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "image_url_png": {
            "description": "The image_url_png string used to render QR code",
            "maxLength": 5000,
            "type": "string"
          },
          "image_url_svg": {
            "description": "The image_url_svg string used to render QR code",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "data",
          "hosted_instructions_url",
          "image_url_png",
          "image_url_svg"
        ],
        "title": "PaymentIntentNextActionPaynowDisplayQrCode",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "data",
          "hosted_instructions_url",
          "image_url_png",
          "image_url_svg"
        ],
        "x-stripeResource": {
          "class_name": "PaynowDisplayQrCode",
          "in_package": ""
        }
      },
      "payment_intent_next_action_pix_display_qr_code": {
        "description": "",
        "properties": {
          "data": {
            "description": "The raw data string used to generate QR code, it should be used together with QR code library.",
            "maxLength": 5000,
            "type": "string"
          },
          "expires_at": {
            "description": "The date (unix timestamp) when the PIX expires.",
            "type": "integer"
          },
          "hosted_instructions_url": {
            "description": "The URL to the hosted pix instructions page, which allows customers to view the pix QR code.",
            "maxLength": 5000,
            "type": "string"
          },
          "image_url_png": {
            "description": "The image_url_png string used to render png QR code",
            "maxLength": 5000,
            "type": "string"
          },
          "image_url_svg": {
            "description": "The image_url_svg string used to render svg QR code",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "title": "PaymentIntentNextActionPixDisplayQrCode",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "data",
          "expires_at",
          "hosted_instructions_url",
          "image_url_png",
          "image_url_svg"
        ],
        "x-stripeResource": {
          "class_name": "PixDisplayQrCode",
          "in_package": ""
        }
      },
      "payment_intent_next_action_promptpay_display_qr_code": {
        "description": "",
        "properties": {
          "data": {
            "description": "The raw data string used to generate QR code, it should be used together with QR code library.",
            "maxLength": 5000,
            "type": "string"
          },
          "hosted_instructions_url": {
            "description": "The URL to the hosted PromptPay instructions page, which allows customers to view the PromptPay QR code.",
            "maxLength": 5000,
            "type": "string"
          },
          "image_url_png": {
            "description": "The PNG path used to render the QR code, can be used as the source in an HTML img tag",
            "maxLength": 5000,
            "type": "string"
          },
          "image_url_svg": {
            "description": "The SVG path used to render the QR code, can be used as the source in an HTML img tag",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "data",
          "hosted_instructions_url",
          "image_url_png",
          "image_url_svg"
        ],
        "title": "PaymentIntentNextActionPromptpayDisplayQrCode",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "data",
          "hosted_instructions_url",
          "image_url_png",
          "image_url_svg"
        ],
        "x-stripeResource": {
          "class_name": "PromptpayDisplayQrCode",
          "in_package": ""
        }
      },
      "payment_intent_next_action_redirect_to_url": {
        "description": "",
        "properties": {
          "return_url": {
            "description": "If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "url": {
            "description": "The URL you must redirect your customer to in order to authenticate the payment.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "return_url",
          "url"
        ],
        "title": "PaymentIntentNextActionRedirectToUrl",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "return_url",
          "url"
        ],
        "x-stripeResource": {
          "class_name": "NextActionRedirectToUrl",
          "in_package": ""
        }
      },
      "payment_intent_next_action_swish_handle_redirect_or_display_qr_code": {
        "description": "",
        "properties": {
          "hosted_instructions_url": {
            "description": "The URL to the hosted Swish instructions page, which allows customers to view the QR code.",
            "maxLength": 5000,
            "type": "string"
          },
          "mobile_auth_url": {
            "description": "The url for mobile redirect based auth (for internal use only and not typically available in standard API requests).",
            "maxLength": 5000,
            "type": "string"
          },
          "qr_code": {
            "$ref": "#/components/schemas/payment_intent_next_action_swish_qr_code"
          }
        },
        "required": [
          "hosted_instructions_url",
          "mobile_auth_url",
          "qr_code"
        ],
        "title": "PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCode",
        "type": "object",
        "x-expandableFields": [
          "qr_code"
        ],
        "x-stripeMostCommon": [
          "hosted_instructions_url",
          "mobile_auth_url",
          "qr_code"
        ],
        "x-stripeResource": {
          "class_name": "SwishHandleRedirectOrDisplayQrCode",
          "in_package": ""
        }
      },
      "payment_intent_next_action_swish_qr_code": {
        "description": "",
        "properties": {
          "data": {
            "description": "The raw data string used to generate QR code, it should be used together with QR code library.",
            "maxLength": 5000,
            "type": "string"
          },
          "image_url_png": {
            "description": "The image_url_png string used to render QR code",
            "maxLength": 5000,
            "type": "string"
          },
          "image_url_svg": {
            "description": "The image_url_svg string used to render QR code",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "data",
          "image_url_png",
          "image_url_svg"
        ],
        "title": "PaymentIntentNextActionSwishQRCode",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "data",
          "image_url_png",
          "image_url_svg"
        ],
        "x-stripeResource": {
          "class_name": "SwishQrCode",
          "in_package": ""
        }
      },
      "payment_intent_next_action_verify_with_microdeposits": {
        "description": "",
        "properties": {
          "arrival_date": {
            "description": "The timestamp when the microdeposits are expected to land.",
            "format": "unix-time",
            "type": "integer"
          },
          "hosted_verification_url": {
            "description": "The URL for the hosted verification page, which allows customers to verify their bank account.",
            "maxLength": 5000,
            "type": "string"
          },
          "microdeposit_type": {
            "description": "The type of the microdeposit sent to the customer. Used to distinguish between different verification methods.",
            "enum": [
              "amounts",
              "descriptor_code"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "arrival_date",
          "hosted_verification_url",
          "microdeposit_type"
        ],
        "title": "PaymentIntentNextActionVerifyWithMicrodeposits",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "arrival_date",
          "hosted_verification_url",
          "microdeposit_type"
        ]
      },
      "payment_intent_next_action_wechat_pay_display_qr_code": {
        "description": "",
        "properties": {
          "data": {
            "description": "The data being used to generate QR code",
            "maxLength": 5000,
            "type": "string"
          },
          "hosted_instructions_url": {
            "description": "The URL to the hosted WeChat Pay instructions page, which allows customers to view the WeChat Pay QR code.",
            "maxLength": 5000,
            "type": "string"
          },
          "image_data_url": {
            "description": "The base64 image data for a pre-generated QR code",
            "maxLength": 5000,
            "type": "string"
          },
          "image_url_png": {
            "description": "The image_url_png string used to render QR code",
            "maxLength": 5000,
            "type": "string"
          },
          "image_url_svg": {
            "description": "The image_url_svg string used to render QR code",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "data",
          "hosted_instructions_url",
          "image_data_url",
          "image_url_png",
          "image_url_svg"
        ],
        "title": "PaymentIntentNextActionWechatPayDisplayQrCode",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "data",
          "hosted_instructions_url",
          "image_data_url",
          "image_url_png",
          "image_url_svg"
        ],
        "x-stripeResource": {
          "class_name": "WechatPayDisplayQrCode",
          "in_package": ""
        }
      },
      "payment_intent_next_action_wechat_pay_redirect_to_android_app": {
        "description": "",
        "properties": {
          "app_id": {
            "description": "app_id is the APP ID registered on WeChat open platform",
            "maxLength": 5000,
            "type": "string"
          },
          "nonce_str": {
            "description": "nonce_str is a random string",
            "maxLength": 5000,
            "type": "string"
          },
          "package": {
            "description": "package is static value",
            "maxLength": 5000,
            "type": "string"
          },
          "partner_id": {
            "description": "an unique merchant ID assigned by WeChat Pay",
            "maxLength": 5000,
            "type": "string"
          },
          "prepay_id": {
            "description": "an unique trading ID assigned by WeChat Pay",
            "maxLength": 5000,
            "type": "string"
          },
          "sign": {
            "description": "A signature",
            "maxLength": 5000,
            "type": "string"
          },
          "timestamp": {
            "description": "Specifies the current time in epoch format",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "app_id",
          "nonce_str",
          "package",
          "partner_id",
          "prepay_id",
          "sign",
          "timestamp"
        ],
        "title": "PaymentIntentNextActionWechatPayRedirectToAndroidApp",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "app_id",
          "nonce_str",
          "package",
          "partner_id",
          "prepay_id",
          "sign",
          "timestamp"
        ],
        "x-stripeResource": {
          "class_name": "WechatPayRedirectToAndroidApp",
          "in_package": ""
        }
      },
      "payment_intent_next_action_wechat_pay_redirect_to_ios_app": {
        "description": "",
        "properties": {
          "native_url": {
            "description": "An universal link that redirect to WeChat Pay app",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "native_url"
        ],
        "title": "PaymentIntentNextActionWechatPayRedirectToIOSApp",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "native_url"
        ],
        "x-stripeResource": {
          "class_name": "WechatPayRedirectToIosApp",
          "in_package": ""
        }
      },
      "payment_intent_payment_method_options": {
        "description": "",
        "properties": {
          "acss_debit": {
            "$ref": "#/components/schemas/payment_intent_payment_method_options_acss_debit"
          },
          "affirm": {
            "$ref": "#/components/schemas/payment_method_options_affirm"
          },
          "afterpay_clearpay": {
            "$ref": "#/components/schemas/payment_method_options_afterpay_clearpay"
          },
          "alipay": {
            "$ref": "#/components/schemas/payment_method_options_alipay"
          },
          "alma": {
            "$ref": "#/components/schemas/payment_method_options_alma"
          },
          "amazon_pay": {
            "$ref": "#/components/schemas/payment_method_options_amazon_pay"
          },
          "au_becs_debit": {
            "$ref": "#/components/schemas/payment_intent_payment_method_options_au_becs_debit"
          },
          "bacs_debit": {
            "$ref": "#/components/schemas/payment_intent_payment_method_options_bacs_debit"
          },
          "bancontact": {
            "$ref": "#/components/schemas/payment_method_options_bancontact"
          },
          "blik": {
            "$ref": "#/components/schemas/payment_intent_payment_method_options_blik"
          },
          "boleto": {
            "$ref": "#/components/schemas/payment_method_options_boleto"
          },
          "card": {
            "$ref": "#/components/schemas/payment_intent_payment_method_options_card"
          },
          "card_present": {
            "$ref": "#/components/schemas/payment_method_options_card_present"
          },
          "cashapp": {
            "$ref": "#/components/schemas/payment_method_options_cashapp"
          },
          "customer_balance": {
            "$ref": "#/components/schemas/payment_method_options_customer_balance"
          },
          "eps": {
            "$ref": "#/components/schemas/payment_intent_payment_method_options_eps"
          },
          "fpx": {
            "$ref": "#/components/schemas/payment_method_options_fpx"
          },
          "giropay": {
            "$ref": "#/components/schemas/payment_method_options_giropay"
          },
          "grabpay": {
            "$ref": "#/components/schemas/payment_method_options_grabpay"
          },
          "ideal": {
            "$ref": "#/components/schemas/payment_method_options_ideal"
          },
          "interac_present": {
            "$ref": "#/components/schemas/payment_method_options_interac_present"
          },
          "kakao_pay": {
            "$ref": "#/components/schemas/payment_flows_private_payment_methods_kakao_pay_payment_method_options"
          },
          "klarna": {
            "$ref": "#/components/schemas/payment_method_options_klarna"
          },
          "konbini": {
            "$ref": "#/components/schemas/payment_method_options_konbini"
          },
          "kr_card": {
            "$ref": "#/components/schemas/payment_method_options_kr_card"
          },
          "link": {
            "$ref": "#/components/schemas/payment_intent_payment_method_options_link"
          },
          "mobilepay": {
            "$ref": "#/components/schemas/payment_intent_payment_method_options_mobilepay"
          },
          "multibanco": {
            "$ref": "#/components/schemas/payment_method_options_multibanco"
          },
          "naver_pay": {
            "$ref": "#/components/schemas/payment_flows_private_payment_methods_naver_pay_payment_method_options"
          },
          "oxxo": {
            "$ref": "#/components/schemas/payment_method_options_oxxo"
          },
          "p24": {
            "$ref": "#/components/schemas/payment_method_options_p24"
          },
          "payco": {
            "$ref": "#/components/schemas/payment_flows_private_payment_methods_payco_payment_method_options"
          },
          "paynow": {
            "$ref": "#/components/schemas/payment_method_options_paynow"
          },
          "paypal": {
            "$ref": "#/components/schemas/payment_method_options_paypal"
          },
          "pix": {
            "$ref": "#/components/schemas/payment_method_options_pix"
          },
          "promptpay": {
            "$ref": "#/components/schemas/payment_method_options_promptpay"
          },
          "revolut_pay": {
            "$ref": "#/components/schemas/payment_method_options_revolut_pay"
          },
          "samsung_pay": {
            "$ref": "#/components/schemas/payment_flows_private_payment_methods_samsung_pay_payment_method_options"
          },
          "sepa_debit": {
            "$ref": "#/components/schemas/payment_intent_payment_method_options_sepa_debit"
          },
          "sofort": {
            "$ref": "#/components/schemas/payment_method_options_sofort"
          },
          "swish": {
            "$ref": "#/components/schemas/payment_intent_payment_method_options_swish"
          },
          "twint": {
            "$ref": "#/components/schemas/payment_method_options_twint"
          },
          "us_bank_account": {
            "$ref": "#/components/schemas/payment_intent_payment_method_options_us_bank_account"
          },
          "wechat_pay": {
            "$ref": "#/components/schemas/payment_method_options_wechat_pay"
          },
          "zip": {
            "$ref": "#/components/schemas/payment_method_options_zip"
          }
        },
        "title": "PaymentIntentPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [
          "acss_debit",
          "affirm",
          "afterpay_clearpay",
          "alipay",
          "alma",
          "amazon_pay",
          "au_becs_debit",
          "bacs_debit",
          "bancontact",
          "blik",
          "boleto",
          "card",
          "card_present",
          "cashapp",
          "customer_balance",
          "eps",
          "fpx",
          "giropay",
          "grabpay",
          "ideal",
          "interac_present",
          "kakao_pay",
          "klarna",
          "konbini",
          "kr_card",
          "link",
          "mobilepay",
          "multibanco",
          "naver_pay",
          "oxxo",
          "p24",
          "payco",
          "paynow",
          "paypal",
          "pix",
          "promptpay",
          "revolut_pay",
          "samsung_pay",
          "sepa_debit",
          "sofort",
          "swish",
          "twint",
          "us_bank_account",
          "wechat_pay",
          "zip"
        ],
        "x-stripeMostCommon": [
          "acss_debit",
          "affirm",
          "afterpay_clearpay",
          "alipay",
          "alma",
          "amazon_pay",
          "au_becs_debit",
          "bacs_debit",
          "bancontact",
          "blik",
          "boleto",
          "card",
          "card_present",
          "cashapp",
          "customer_balance",
          "eps",
          "fpx",
          "giropay",
          "grabpay",
          "ideal",
          "interac_present",
          "kakao_pay",
          "klarna",
          "konbini",
          "kr_card",
          "link",
          "mobilepay",
          "multibanco",
          "naver_pay",
          "oxxo",
          "p24",
          "payco",
          "paynow",
          "paypal",
          "pix",
          "promptpay",
          "revolut_pay",
          "samsung_pay",
          "sepa_debit",
          "sofort",
          "swish",
          "twint",
          "us_bank_account",
          "wechat_pay",
          "zip"
        ]
      },
      "payment_intent_payment_method_options_acss_debit": {
        "description": "",
        "properties": {
          "mandate_options": {
            "$ref": "#/components/schemas/payment_intent_payment_method_options_mandate_options_acss_debit"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session",
              "on_session"
            ],
            "type": "string"
          },
          "verification_method": {
            "description": "Bank account verification method.",
            "enum": [
              "automatic",
              "instant",
              "microdeposits"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "title": "payment_intent_payment_method_options_acss_debit",
        "type": "object",
        "x-expandableFields": [
          "mandate_options"
        ],
        "x-stripeMostCommon": [
          "mandate_options",
          "setup_future_usage",
          "verification_method"
        ]
      },
      "payment_intent_payment_method_options_au_becs_debit": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session",
              "on_session"
            ],
            "type": "string"
          }
        },
        "title": "payment_intent_payment_method_options_au_becs_debit",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "payment_intent_payment_method_options_bacs_debit": {
        "description": "",
        "properties": {
          "mandate_options": {
            "$ref": "#/components/schemas/payment_intent_payment_method_options_mandate_options_bacs_debit"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session",
              "on_session"
            ],
            "type": "string"
          }
        },
        "title": "payment_intent_payment_method_options_bacs_debit",
        "type": "object",
        "x-expandableFields": [
          "mandate_options"
        ],
        "x-stripeMostCommon": [
          "mandate_options",
          "setup_future_usage"
        ]
      },
      "payment_intent_payment_method_options_blik": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "title": "payment_intent_payment_method_options_blik",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "payment_intent_payment_method_options_card": {
        "description": "",
        "properties": {
          "capture_method": {
            "description": "Controls when the funds will be captured from the customer's account.",
            "enum": [
              "manual"
            ],
            "type": "string"
          },
          "installments": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_method_options_card_installments"
              }
            ],
            "description": "Installment details for this payment (Mexico only).\n\nFor more information, see the [installments integration guide](https://stripe.com/docs/payments/installments).",
            "nullable": true
          },
          "mandate_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_method_options_card_mandate_options"
              }
            ],
            "description": "Configuration options for setting up an eMandate for cards issued in India.",
            "nullable": true
          },
          "network": {
            "description": "Selected network to process this payment intent on. Depends on the available networks of the card attached to the payment intent. Can be only set confirm-time.",
            "enum": [
              "amex",
              "cartes_bancaires",
              "diners",
              "discover",
              "eftpos_au",
              "girocard",
              "interac",
              "jcb",
              "link",
              "mastercard",
              "unionpay",
              "unknown",
              "visa"
            ],
            "nullable": true,
            "type": "string"
          },
          "request_extended_authorization": {
            "description": "Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.",
            "enum": [
              "if_available",
              "never"
            ],
            "type": "string"
          },
          "request_incremental_authorization": {
            "description": "Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.",
            "enum": [
              "if_available",
              "never"
            ],
            "type": "string"
          },
          "request_multicapture": {
            "description": "Request ability to make [multiple captures](https://stripe.com/docs/payments/multicapture) for this PaymentIntent.",
            "enum": [
              "if_available",
              "never"
            ],
            "type": "string"
          },
          "request_overcapture": {
            "description": "Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.",
            "enum": [
              "if_available",
              "never"
            ],
            "type": "string"
          },
          "request_three_d_secure": {
            "description": "We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.",
            "enum": [
              "any",
              "automatic",
              "challenge"
            ],
            "nullable": true,
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "require_cvc_recollection": {
            "description": "When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).",
            "type": "boolean"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session",
              "on_session"
            ],
            "type": "string"
          },
          "statement_descriptor_suffix_kana": {
            "description": "Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters.",
            "maxLength": 5000,
            "type": "string"
          },
          "statement_descriptor_suffix_kanji": {
            "description": "Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "installments",
          "mandate_options",
          "network",
          "request_three_d_secure"
        ],
        "title": "payment_intent_payment_method_options_card",
        "type": "object",
        "x-expandableFields": [
          "installments",
          "mandate_options"
        ],
        "x-stripeMostCommon": [
          "capture_method",
          "installments",
          "mandate_options",
          "network",
          "request_extended_authorization",
          "request_incremental_authorization",
          "request_multicapture",
          "request_overcapture",
          "request_three_d_secure",
          "require_cvc_recollection",
          "setup_future_usage",
          "statement_descriptor_suffix_kana",
          "statement_descriptor_suffix_kanji"
        ]
      },
      "payment_intent_payment_method_options_eps": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "title": "payment_intent_payment_method_options_eps",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "payment_intent_payment_method_options_link": {
        "description": "",
        "properties": {
          "capture_method": {
            "description": "Controls when the funds will be captured from the customer's account.",
            "enum": [
              "manual"
            ],
            "type": "string"
          },
          "persistent_token": {
            "description": "[Deprecated] This is a legacy parameter that no longer has any function.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session"
            ],
            "type": "string"
          }
        },
        "required": [
          "persistent_token"
        ],
        "title": "payment_intent_payment_method_options_link",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "capture_method",
          "persistent_token",
          "setup_future_usage"
        ]
      },
      "payment_intent_payment_method_options_mandate_options_acss_debit": {
        "description": "",
        "properties": {
          "custom_mandate_url": {
            "description": "A URL for custom mandate text",
            "maxLength": 5000,
            "type": "string"
          },
          "interval_description": {
            "description": "Description of the interval. Only required if the 'payment_schedule' parameter is 'interval' or 'combined'.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "payment_schedule": {
            "description": "Payment schedule for the mandate.",
            "enum": [
              "combined",
              "interval",
              "sporadic"
            ],
            "nullable": true,
            "type": "string"
          },
          "transaction_type": {
            "description": "Transaction type of the mandate.",
            "enum": [
              "business",
              "personal"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "interval_description",
          "payment_schedule",
          "transaction_type"
        ],
        "title": "payment_intent_payment_method_options_mandate_options_acss_debit",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "custom_mandate_url",
          "interval_description",
          "payment_schedule",
          "transaction_type"
        ]
      },
      "payment_intent_payment_method_options_mandate_options_bacs_debit": {
        "description": "",
        "properties": {},
        "title": "payment_intent_payment_method_options_mandate_options_bacs_debit",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeResource": {
          "class_name": "BacsDebitMandateOptions",
          "in_package": ""
        }
      },
      "payment_intent_payment_method_options_mandate_options_sepa_debit": {
        "description": "",
        "properties": {},
        "title": "payment_intent_payment_method_options_mandate_options_sepa_debit",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeResource": {
          "class_name": "SepaDebitMandateOptions",
          "in_package": ""
        }
      },
      "payment_intent_payment_method_options_mobilepay": {
        "description": "",
        "properties": {
          "capture_method": {
            "description": "Controls when the funds will be captured from the customer's account.",
            "enum": [
              "manual"
            ],
            "type": "string"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "title": "payment_intent_payment_method_options_mobilepay",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "capture_method",
          "setup_future_usage"
        ]
      },
      "payment_intent_payment_method_options_sepa_debit": {
        "description": "",
        "properties": {
          "mandate_options": {
            "$ref": "#/components/schemas/payment_intent_payment_method_options_mandate_options_sepa_debit"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session",
              "on_session"
            ],
            "type": "string"
          }
        },
        "title": "payment_intent_payment_method_options_sepa_debit",
        "type": "object",
        "x-expandableFields": [
          "mandate_options"
        ],
        "x-stripeMostCommon": [
          "mandate_options",
          "setup_future_usage"
        ]
      },
      "payment_intent_payment_method_options_swish": {
        "description": "",
        "properties": {
          "reference": {
            "description": "The order ID displayed in the Swish app after the payment is authorized.",
            "maxLength": 35,
            "nullable": true,
            "type": "string"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "required": [
          "reference"
        ],
        "title": "payment_intent_payment_method_options_swish",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "reference",
          "setup_future_usage"
        ]
      },
      "payment_intent_payment_method_options_us_bank_account": {
        "description": "",
        "properties": {
          "financial_connections": {
            "$ref": "#/components/schemas/linked_account_options_us_bank_account"
          },
          "mandate_options": {
            "$ref": "#/components/schemas/payment_method_options_us_bank_account_mandate_options"
          },
          "preferred_settlement_speed": {
            "description": "Preferred transaction settlement speed",
            "enum": [
              "fastest",
              "standard"
            ],
            "type": "string"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session",
              "on_session"
            ],
            "type": "string"
          },
          "verification_method": {
            "description": "Bank account verification method.",
            "enum": [
              "automatic",
              "instant",
              "microdeposits"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "title": "payment_intent_payment_method_options_us_bank_account",
        "type": "object",
        "x-expandableFields": [
          "financial_connections",
          "mandate_options"
        ],
        "x-stripeMostCommon": [
          "financial_connections",
          "mandate_options",
          "preferred_settlement_speed",
          "setup_future_usage",
          "verification_method"
        ]
      },
      "payment_intent_processing": {
        "description": "",
        "properties": {
          "card": {
            "$ref": "#/components/schemas/payment_intent_card_processing"
          },
          "type": {
            "description": "Type of the payment method for which payment is in `processing` state, one of `card`.",
            "enum": [
              "card"
            ],
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "title": "PaymentIntentProcessing",
        "type": "object",
        "x-expandableFields": [
          "card"
        ],
        "x-stripeMostCommon": [
          "card",
          "type"
        ]
      },
      "payment_intent_processing_customer_notification": {
        "description": "",
        "properties": {
          "approval_requested": {
            "description": "Whether customer approval has been requested for this payment. For payments greater than INR 15000 or mandate amount, the customer must provide explicit approval of the payment with their bank.",
            "nullable": true,
            "type": "boolean"
          },
          "completes_at": {
            "description": "If customer approval is required, they need to provide approval before this time.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "approval_requested",
          "completes_at"
        ],
        "title": "PaymentIntentProcessingCustomerNotification",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "approval_requested",
          "completes_at"
        ],
        "x-stripeResource": {
          "class_name": "CustomerNotification",
          "in_package": ""
        }
      },
      "payment_intent_type_specific_payment_method_options_client": {
        "description": "",
        "properties": {
          "capture_method": {
            "description": "Controls when the funds will be captured from the customer's account.",
            "enum": [
              "manual",
              "manual_preferred"
            ],
            "type": "string"
          },
          "installments": {
            "$ref": "#/components/schemas/payment_flows_installment_options"
          },
          "request_incremental_authorization_support": {
            "description": "Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.",
            "type": "boolean"
          },
          "require_cvc_recollection": {
            "description": "When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).",
            "type": "boolean"
          },
          "routing": {
            "$ref": "#/components/schemas/payment_method_options_card_present_routing"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session",
              "on_session"
            ],
            "type": "string"
          },
          "verification_method": {
            "description": "Bank account verification method.",
            "enum": [
              "automatic",
              "instant",
              "microdeposits"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "title": "PaymentIntentTypeSpecificPaymentMethodOptionsClient",
        "type": "object",
        "x-expandableFields": [
          "installments",
          "routing"
        ],
        "x-stripeMostCommon": [
          "capture_method",
          "installments",
          "request_incremental_authorization_support",
          "require_cvc_recollection",
          "routing",
          "setup_future_usage",
          "verification_method"
        ]
      },
      "payment_link": {
        "description": "A payment link is a shareable URL that will take your customers to a hosted payment page. A payment link can be shared and used multiple times.\n\nWhen a customer opens a payment link it will open a new [checkout session](https://stripe.com/docs/api/checkout/sessions) to render the payment page. You can use [checkout session events](https://stripe.com/docs/api/events/types#event_types-checkout.session.completed) to track payments through payment links.\n\nRelated guide: [Payment Links API](https://stripe.com/docs/payment-links)",
        "properties": {
          "active": {
            "description": "Whether the payment link's `url` is active. If `false`, customers visiting the URL will be shown a page saying that the link has been deactivated.",
            "type": "boolean"
          },
          "after_completion": {
            "$ref": "#/components/schemas/payment_links_resource_after_completion"
          },
          "allow_promotion_codes": {
            "description": "Whether user redeemable promotion codes are enabled.",
            "type": "boolean"
          },
          "application": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/application"
              },
              {
                "$ref": "#/components/schemas/deleted_application"
              }
            ],
            "description": "The ID of the Connect application that created the Payment Link.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/application"
                },
                {
                  "$ref": "#/components/schemas/deleted_application"
                }
              ]
            }
          },
          "application_fee_amount": {
            "description": "The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account.",
            "nullable": true,
            "type": "integer"
          },
          "application_fee_percent": {
            "description": "This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account.",
            "nullable": true,
            "type": "number"
          },
          "automatic_tax": {
            "$ref": "#/components/schemas/payment_links_resource_automatic_tax"
          },
          "billing_address_collection": {
            "description": "Configuration for collecting the customer's billing address. Defaults to `auto`.",
            "enum": [
              "auto",
              "required"
            ],
            "type": "string"
          },
          "consent_collection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_links_resource_consent_collection"
              }
            ],
            "description": "When set, provides configuration to gather active consent from customers.",
            "nullable": true
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "custom_fields": {
            "description": "Collect additional information from your customer using custom fields. Up to 3 fields are supported.",
            "items": {
              "$ref": "#/components/schemas/payment_links_resource_custom_fields"
            },
            "type": "array"
          },
          "custom_text": {
            "$ref": "#/components/schemas/payment_links_resource_custom_text"
          },
          "customer_creation": {
            "description": "Configuration for Customer creation during checkout.",
            "enum": [
              "always",
              "if_required"
            ],
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "inactive_message": {
            "description": "The custom message to be displayed to a customer when a payment link is no longer active.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "invoice_creation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_links_resource_invoice_creation"
              }
            ],
            "description": "Configuration for creating invoice for payment mode payment links.",
            "nullable": true
          },
          "line_items": {
            "description": "The line items representing what is being sold.",
            "properties": {
              "data": {
                "description": "Details about each object.",
                "items": {
                  "$ref": "#/components/schemas/item"
                },
                "type": "array"
              },
              "has_more": {
                "description": "True if this list has another page of items after this one that can be fetched.",
                "type": "boolean"
              },
              "object": {
                "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                "enum": [
                  "list"
                ],
                "type": "string"
              },
              "url": {
                "description": "The URL where this list can be accessed.",
                "maxLength": 5000,
                "type": "string"
              }
            },
            "required": [
              "data",
              "has_more",
              "object",
              "url"
            ],
            "title": "PaymentLinksResourceListLineItems",
            "type": "object",
            "x-expandableFields": [
              "data"
            ],
            "x-stripeMostCommon": [
              "data",
              "has_more",
              "object",
              "url"
            ]
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "payment_link"
            ],
            "type": "string"
          },
          "on_behalf_of": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/account"
              }
            ],
            "description": "The account on behalf of which to charge. See the [Connect documentation](https://support.stripe.com/questions/sending-invoices-on-behalf-of-connected-accounts) for details.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/account"
                }
              ]
            }
          },
          "payment_intent_data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_links_resource_payment_intent_data"
              }
            ],
            "description": "Indicates the parameters to be passed to PaymentIntent creation during checkout.",
            "nullable": true
          },
          "payment_method_collection": {
            "description": "Configuration for collecting a payment method during checkout. Defaults to `always`.",
            "enum": [
              "always",
              "if_required"
            ],
            "type": "string"
          },
          "payment_method_types": {
            "description": "The list of payment method types that customers can use. When `null`, Stripe will dynamically show relevant payment methods you've enabled in your [payment method settings](https://dashboard.stripe.com/settings/payment_methods).",
            "items": {
              "enum": [
                "affirm",
                "afterpay_clearpay",
                "alipay",
                "alma",
                "au_becs_debit",
                "bacs_debit",
                "bancontact",
                "blik",
                "boleto",
                "card",
                "cashapp",
                "eps",
                "fpx",
                "giropay",
                "grabpay",
                "ideal",
                "klarna",
                "konbini",
                "link",
                "mobilepay",
                "multibanco",
                "oxxo",
                "p24",
                "paynow",
                "paypal",
                "pix",
                "promptpay",
                "sepa_debit",
                "sofort",
                "swish",
                "twint",
                "us_bank_account",
                "wechat_pay",
                "zip"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "nullable": true,
            "type": "array"
          },
          "phone_number_collection": {
            "$ref": "#/components/schemas/payment_links_resource_phone_number_collection"
          },
          "restrictions": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_links_resource_restrictions"
              }
            ],
            "description": "Settings that restrict the usage of a payment link.",
            "nullable": true
          },
          "shipping_address_collection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_links_resource_shipping_address_collection"
              }
            ],
            "description": "Configuration for collecting the customer's shipping address.",
            "nullable": true
          },
          "shipping_options": {
            "description": "The shipping rate options applied to the session.",
            "items": {
              "$ref": "#/components/schemas/payment_links_resource_shipping_option"
            },
            "type": "array"
          },
          "submit_type": {
            "description": "Indicates the type of transaction being performed which customizes relevant text on the page, such as the submit button.",
            "enum": [
              "auto",
              "book",
              "donate",
              "pay",
              "subscribe"
            ],
            "type": "string"
          },
          "subscription_data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_links_resource_subscription_data"
              }
            ],
            "description": "When creating a subscription, the specified configuration data will be used. There must be at least one line item with a recurring price to use `subscription_data`.",
            "nullable": true
          },
          "tax_id_collection": {
            "$ref": "#/components/schemas/payment_links_resource_tax_id_collection"
          },
          "transfer_data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_links_resource_transfer_data"
              }
            ],
            "description": "The account (if any) the payments will be attributed to for tax reporting, and where funds from each payment will be transferred to.",
            "nullable": true
          },
          "url": {
            "description": "The public URL that can be shared with customers.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "active",
          "after_completion",
          "allow_promotion_codes",
          "application",
          "application_fee_amount",
          "application_fee_percent",
          "automatic_tax",
          "billing_address_collection",
          "consent_collection",
          "currency",
          "custom_fields",
          "custom_text",
          "customer_creation",
          "id",
          "inactive_message",
          "invoice_creation",
          "livemode",
          "metadata",
          "object",
          "on_behalf_of",
          "payment_intent_data",
          "payment_method_collection",
          "payment_method_types",
          "phone_number_collection",
          "restrictions",
          "shipping_address_collection",
          "shipping_options",
          "submit_type",
          "subscription_data",
          "tax_id_collection",
          "transfer_data",
          "url"
        ],
        "title": "PaymentLink",
        "type": "object",
        "x-expandableFields": [
          "after_completion",
          "application",
          "automatic_tax",
          "consent_collection",
          "custom_fields",
          "custom_text",
          "invoice_creation",
          "line_items",
          "on_behalf_of",
          "payment_intent_data",
          "phone_number_collection",
          "restrictions",
          "shipping_address_collection",
          "shipping_options",
          "subscription_data",
          "tax_id_collection",
          "transfer_data"
        ],
        "x-resourceId": "payment_link",
        "x-stripeMostCommon": [
          "active",
          "id",
          "line_items",
          "metadata",
          "url"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/payment_links"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/payment_links/{payment_link}"
          },
          {
            "method_name": "list_line_items",
            "method_on": "service",
            "method_type": "custom",
            "operation": "get",
            "path": "/v1/payment_links/{payment_link}/line_items"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/payment_links"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/payment_links/{payment_link}"
          }
        ],
        "x-stripeResource": {
          "class_name": "PaymentLink",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "payment_link.created": {
        "description": "Occurs when a payment link is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/payment_link"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "payment_link.created"
        }
      },
      "payment_link.updated": {
        "description": "Occurs when a payment link is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/payment_link"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "payment_link.updated"
        }
      },
      "payment_links_resource_after_completion": {
        "description": "",
        "properties": {
          "hosted_confirmation": {
            "$ref": "#/components/schemas/payment_links_resource_completion_behavior_confirmation_page"
          },
          "redirect": {
            "$ref": "#/components/schemas/payment_links_resource_completion_behavior_redirect"
          },
          "type": {
            "description": "The specified behavior after the purchase is complete.",
            "enum": [
              "hosted_confirmation",
              "redirect"
            ],
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "title": "PaymentLinksResourceAfterCompletion",
        "type": "object",
        "x-expandableFields": [
          "hosted_confirmation",
          "redirect"
        ],
        "x-stripeMostCommon": [
          "hosted_confirmation",
          "redirect",
          "type"
        ]
      },
      "payment_links_resource_automatic_tax": {
        "description": "",
        "properties": {
          "enabled": {
            "description": "If `true`, tax will be calculated automatically using the customer's location.",
            "type": "boolean"
          },
          "liability": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/connect_account_reference"
              }
            ],
            "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.",
            "nullable": true
          }
        },
        "required": [
          "enabled",
          "liability"
        ],
        "title": "PaymentLinksResourceAutomaticTax",
        "type": "object",
        "x-expandableFields": [
          "liability"
        ],
        "x-stripeMostCommon": [
          "enabled",
          "liability"
        ]
      },
      "payment_links_resource_completed_sessions": {
        "description": "",
        "properties": {
          "count": {
            "description": "The current number of checkout sessions that have been completed on the payment link which count towards the `completed_sessions` restriction to be met.",
            "type": "integer"
          },
          "limit": {
            "description": "The maximum number of checkout sessions that can be completed for the `completed_sessions` restriction to be met.",
            "type": "integer"
          }
        },
        "required": [
          "count",
          "limit"
        ],
        "title": "PaymentLinksResourceCompletedSessions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "count",
          "limit"
        ]
      },
      "payment_links_resource_completion_behavior_confirmation_page": {
        "description": "",
        "properties": {
          "custom_message": {
            "description": "The custom message that is displayed to the customer after the purchase is complete.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "custom_message"
        ],
        "title": "PaymentLinksResourceCompletionBehaviorConfirmationPage",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "custom_message"
        ]
      },
      "payment_links_resource_completion_behavior_redirect": {
        "description": "",
        "properties": {
          "url": {
            "description": "The URL the customer will be redirected to after the purchase is complete.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "title": "PaymentLinksResourceCompletionBehaviorRedirect",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "url"
        ]
      },
      "payment_links_resource_consent_collection": {
        "description": "",
        "properties": {
          "payment_method_reuse_agreement": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_links_resource_payment_method_reuse_agreement"
              }
            ],
            "description": "Settings related to the payment method reuse text shown in the Checkout UI.",
            "nullable": true
          },
          "promotions": {
            "description": "If set to `auto`, enables the collection of customer consent for promotional communications.",
            "enum": [
              "auto",
              "none"
            ],
            "nullable": true,
            "type": "string"
          },
          "terms_of_service": {
            "description": "If set to `required`, it requires cutomers to accept the terms of service before being able to pay. If set to `none`, customers won't be shown a checkbox to accept the terms of service.",
            "enum": [
              "none",
              "required"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "payment_method_reuse_agreement",
          "promotions",
          "terms_of_service"
        ],
        "title": "PaymentLinksResourceConsentCollection",
        "type": "object",
        "x-expandableFields": [
          "payment_method_reuse_agreement"
        ],
        "x-stripeMostCommon": [
          "payment_method_reuse_agreement",
          "promotions",
          "terms_of_service"
        ]
      },
      "payment_links_resource_custom_fields": {
        "description": "",
        "properties": {
          "dropdown": {
            "$ref": "#/components/schemas/payment_links_resource_custom_fields_dropdown"
          },
          "key": {
            "description": "String of your choice that your integration can use to reconcile this field. Must be unique to this field, alphanumeric, and up to 200 characters.",
            "maxLength": 5000,
            "type": "string"
          },
          "label": {
            "$ref": "#/components/schemas/payment_links_resource_custom_fields_label"
          },
          "numeric": {
            "$ref": "#/components/schemas/payment_links_resource_custom_fields_numeric"
          },
          "optional": {
            "description": "Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`.",
            "type": "boolean"
          },
          "text": {
            "$ref": "#/components/schemas/payment_links_resource_custom_fields_text"
          },
          "type": {
            "description": "The type of the field.",
            "enum": [
              "dropdown",
              "numeric",
              "text"
            ],
            "type": "string"
          }
        },
        "required": [
          "key",
          "label",
          "optional",
          "type"
        ],
        "title": "PaymentLinksResourceCustomFields",
        "type": "object",
        "x-expandableFields": [
          "dropdown",
          "label",
          "numeric",
          "text"
        ],
        "x-stripeMostCommon": [
          "dropdown",
          "key",
          "label",
          "numeric",
          "optional",
          "text",
          "type"
        ]
      },
      "payment_links_resource_custom_fields_dropdown": {
        "description": "",
        "properties": {
          "options": {
            "description": "The options available for the customer to select. Up to 200 options allowed.",
            "items": {
              "$ref": "#/components/schemas/payment_links_resource_custom_fields_dropdown_option"
            },
            "type": "array"
          }
        },
        "required": [
          "options"
        ],
        "title": "PaymentLinksResourceCustomFieldsDropdown",
        "type": "object",
        "x-expandableFields": [
          "options"
        ],
        "x-stripeMostCommon": [
          "options"
        ]
      },
      "payment_links_resource_custom_fields_dropdown_option": {
        "description": "",
        "properties": {
          "label": {
            "description": "The label for the option, displayed to the customer. Up to 100 characters.",
            "maxLength": 5000,
            "type": "string"
          },
          "value": {
            "description": "The value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer. Must be unique to this option, alphanumeric, and up to 100 characters.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "label",
          "value"
        ],
        "title": "PaymentLinksResourceCustomFieldsDropdownOption",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "label",
          "value"
        ],
        "x-stripeResource": {
          "class_name": "CustomFieldDropdownOption",
          "in_package": ""
        }
      },
      "payment_links_resource_custom_fields_label": {
        "description": "",
        "properties": {
          "custom": {
            "description": "Custom text for the label, displayed to the customer. Up to 50 characters.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "type": {
            "description": "The type of the label.",
            "enum": [
              "custom"
            ],
            "type": "string"
          }
        },
        "required": [
          "custom",
          "type"
        ],
        "title": "PaymentLinksResourceCustomFieldsLabel",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "custom",
          "type"
        ]
      },
      "payment_links_resource_custom_fields_numeric": {
        "description": "",
        "properties": {
          "maximum_length": {
            "description": "The maximum character length constraint for the customer's input.",
            "nullable": true,
            "type": "integer"
          },
          "minimum_length": {
            "description": "The minimum character length requirement for the customer's input.",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "maximum_length",
          "minimum_length"
        ],
        "title": "PaymentLinksResourceCustomFieldsNumeric",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "maximum_length",
          "minimum_length"
        ]
      },
      "payment_links_resource_custom_fields_text": {
        "description": "",
        "properties": {
          "maximum_length": {
            "description": "The maximum character length constraint for the customer's input.",
            "nullable": true,
            "type": "integer"
          },
          "minimum_length": {
            "description": "The minimum character length requirement for the customer's input.",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "maximum_length",
          "minimum_length"
        ],
        "title": "PaymentLinksResourceCustomFieldsText",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "maximum_length",
          "minimum_length"
        ]
      },
      "payment_links_resource_custom_text": {
        "description": "",
        "properties": {
          "after_submit": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_links_resource_custom_text_position"
              }
            ],
            "description": "Custom text that should be displayed after the payment confirmation button.",
            "nullable": true
          },
          "shipping_address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_links_resource_custom_text_position"
              }
            ],
            "description": "Custom text that should be displayed alongside shipping address collection.",
            "nullable": true
          },
          "submit": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_links_resource_custom_text_position"
              }
            ],
            "description": "Custom text that should be displayed alongside the payment confirmation button.",
            "nullable": true
          },
          "terms_of_service_acceptance": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_links_resource_custom_text_position"
              }
            ],
            "description": "Custom text that should be displayed in place of the default terms of service agreement text.",
            "nullable": true
          }
        },
        "required": [
          "after_submit",
          "shipping_address",
          "submit",
          "terms_of_service_acceptance"
        ],
        "title": "PaymentLinksResourceCustomText",
        "type": "object",
        "x-expandableFields": [
          "after_submit",
          "shipping_address",
          "submit",
          "terms_of_service_acceptance"
        ],
        "x-stripeMostCommon": [
          "after_submit",
          "shipping_address",
          "submit",
          "terms_of_service_acceptance"
        ]
      },
      "payment_links_resource_custom_text_position": {
        "description": "",
        "properties": {
          "message": {
            "description": "Text may be up to 1200 characters in length.",
            "maxLength": 500,
            "type": "string"
          }
        },
        "required": [
          "message"
        ],
        "title": "PaymentLinksResourceCustomTextPosition",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "message"
        ]
      },
      "payment_links_resource_invoice_creation": {
        "description": "",
        "properties": {
          "enabled": {
            "description": "Enable creating an invoice on successful payment.",
            "type": "boolean"
          },
          "invoice_data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_links_resource_invoice_settings"
              }
            ],
            "description": "Configuration for the invoice. Default invoice values will be used if unspecified.",
            "nullable": true
          }
        },
        "required": [
          "enabled",
          "invoice_data"
        ],
        "title": "PaymentLinksResourceInvoiceCreation",
        "type": "object",
        "x-expandableFields": [
          "invoice_data"
        ],
        "x-stripeMostCommon": [
          "enabled",
          "invoice_data"
        ]
      },
      "payment_links_resource_invoice_settings": {
        "description": "",
        "properties": {
          "account_tax_ids": {
            "description": "The account tax IDs associated with the invoice.",
            "items": {
              "anyOf": [
                {
                  "maxLength": 5000,
                  "type": "string"
                },
                {
                  "$ref": "#/components/schemas/tax_id"
                },
                {
                  "$ref": "#/components/schemas/deleted_tax_id"
                }
              ],
              "x-expansionResources": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/tax_id"
                  },
                  {
                    "$ref": "#/components/schemas/deleted_tax_id"
                  }
                ]
              }
            },
            "nullable": true,
            "type": "array"
          },
          "custom_fields": {
            "description": "A list of up to 4 custom fields to be displayed on the invoice.",
            "items": {
              "$ref": "#/components/schemas/invoice_setting_custom_field"
            },
            "nullable": true,
            "type": "array"
          },
          "description": {
            "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "footer": {
            "description": "Footer to be displayed on the invoice.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "issuer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/connect_account_reference"
              }
            ],
            "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.",
            "nullable": true
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "nullable": true,
            "type": "object"
          },
          "rendering_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/invoice_setting_rendering_options"
              }
            ],
            "description": "Options for invoice PDF rendering.",
            "nullable": true
          }
        },
        "required": [
          "account_tax_ids",
          "custom_fields",
          "description",
          "footer",
          "issuer",
          "metadata",
          "rendering_options"
        ],
        "title": "PaymentLinksResourceInvoiceSettings",
        "type": "object",
        "x-expandableFields": [
          "account_tax_ids",
          "custom_fields",
          "issuer",
          "rendering_options"
        ],
        "x-stripeMostCommon": [
          "account_tax_ids",
          "custom_fields",
          "description",
          "footer",
          "issuer",
          "metadata",
          "rendering_options"
        ]
      },
      "payment_links_resource_payment_intent_data": {
        "description": "",
        "properties": {
          "capture_method": {
            "description": "Indicates when the funds will be captured from the customer's account.",
            "enum": [
              "automatic",
              "automatic_async",
              "manual"
            ],
            "nullable": true,
            "type": "string"
          },
          "description": {
            "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that will set metadata on [Payment Intents](https://stripe.com/docs/api/payment_intents) generated from this payment link.",
            "type": "object"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with the payment method collected during checkout.",
            "enum": [
              "off_session",
              "on_session"
            ],
            "nullable": true,
            "type": "string"
          },
          "statement_descriptor": {
            "description": "For a non-card payment, information about the charge that appears on the customer's statement when this payment succeeds in creating a charge.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "statement_descriptor_suffix": {
            "description": "For a card payment, information about the charge that appears on the customer's statement when this payment succeeds in creating a charge. Concatenated with the account's statement descriptor prefix to form the complete statement descriptor.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "transfer_group": {
            "description": "A string that identifies the resulting payment as part of a group. See the PaymentIntents [use case for connected accounts](https://stripe.com/docs/connect/separate-charges-and-transfers) for details.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "capture_method",
          "description",
          "metadata",
          "setup_future_usage",
          "statement_descriptor",
          "statement_descriptor_suffix",
          "transfer_group"
        ],
        "title": "PaymentLinksResourcePaymentIntentData",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "capture_method",
          "description",
          "metadata",
          "setup_future_usage",
          "statement_descriptor",
          "statement_descriptor_suffix",
          "transfer_group"
        ]
      },
      "payment_links_resource_payment_method_reuse_agreement": {
        "description": "",
        "properties": {
          "position": {
            "description": "Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's defaults will be used.\n\nWhen set to `hidden`, the payment method reuse agreement text will always be hidden in the UI.",
            "enum": [
              "auto",
              "hidden"
            ],
            "type": "string"
          }
        },
        "required": [
          "position"
        ],
        "title": "PaymentLinksResourcePaymentMethodReuseAgreement",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "position"
        ]
      },
      "payment_links_resource_phone_number_collection": {
        "description": "",
        "properties": {
          "enabled": {
            "description": "If `true`, a phone number will be collected during checkout.",
            "type": "boolean"
          }
        },
        "required": [
          "enabled"
        ],
        "title": "PaymentLinksResourcePhoneNumberCollection",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "enabled"
        ]
      },
      "payment_links_resource_restrictions": {
        "description": "",
        "properties": {
          "completed_sessions": {
            "$ref": "#/components/schemas/payment_links_resource_completed_sessions"
          }
        },
        "required": [
          "completed_sessions"
        ],
        "title": "PaymentLinksResourceRestrictions",
        "type": "object",
        "x-expandableFields": [
          "completed_sessions"
        ],
        "x-stripeMostCommon": [
          "completed_sessions"
        ]
      },
      "payment_links_resource_shipping_address_collection": {
        "description": "",
        "properties": {
          "allowed_countries": {
            "description": "An array of two-letter ISO country codes representing which countries Checkout should provide as options for shipping locations. Unsupported country codes: `AS, CX, CC, CU, HM, IR, KP, MH, FM, NF, MP, PW, SD, SY, UM, VI`.",
            "items": {
              "enum": [
                "AC",
                "AD",
                "AE",
                "AF",
                "AG",
                "AI",
                "AL",
                "AM",
                "AO",
                "AQ",
                "AR",
                "AT",
                "AU",
                "AW",
                "AX",
                "AZ",
                "BA",
                "BB",
                "BD",
                "BE",
                "BF",
                "BG",
                "BH",
                "BI",
                "BJ",
                "BL",
                "BM",
                "BN",
                "BO",
                "BQ",
                "BR",
                "BS",
                "BT",
                "BV",
                "BW",
                "BY",
                "BZ",
                "CA",
                "CD",
                "CF",
                "CG",
                "CH",
                "CI",
                "CK",
                "CL",
                "CM",
                "CN",
                "CO",
                "CR",
                "CV",
                "CW",
                "CY",
                "CZ",
                "DE",
                "DJ",
                "DK",
                "DM",
                "DO",
                "DZ",
                "EC",
                "EE",
                "EG",
                "EH",
                "ER",
                "ES",
                "ET",
                "FI",
                "FJ",
                "FK",
                "FO",
                "FR",
                "GA",
                "GB",
                "GD",
                "GE",
                "GF",
                "GG",
                "GH",
                "GI",
                "GL",
                "GM",
                "GN",
                "GP",
                "GQ",
                "GR",
                "GS",
                "GT",
                "GU",
                "GW",
                "GY",
                "HK",
                "HN",
                "HR",
                "HT",
                "HU",
                "ID",
                "IE",
                "IL",
                "IM",
                "IN",
                "IO",
                "IQ",
                "IS",
                "IT",
                "JE",
                "JM",
                "JO",
                "JP",
                "KE",
                "KG",
                "KH",
                "KI",
                "KM",
                "KN",
                "KR",
                "KW",
                "KY",
                "KZ",
                "LA",
                "LB",
                "LC",
                "LI",
                "LK",
                "LR",
                "LS",
                "LT",
                "LU",
                "LV",
                "LY",
                "MA",
                "MC",
                "MD",
                "ME",
                "MF",
                "MG",
                "MK",
                "ML",
                "MM",
                "MN",
                "MO",
                "MQ",
                "MR",
                "MS",
                "MT",
                "MU",
                "MV",
                "MW",
                "MX",
                "MY",
                "MZ",
                "NA",
                "NC",
                "NE",
                "NG",
                "NI",
                "NL",
                "NO",
                "NP",
                "NR",
                "NU",
                "NZ",
                "OM",
                "PA",
                "PE",
                "PF",
                "PG",
                "PH",
                "PK",
                "PL",
                "PM",
                "PN",
                "PR",
                "PS",
                "PT",
                "PY",
                "QA",
                "RE",
                "RO",
                "RS",
                "RU",
                "RW",
                "SA",
                "SB",
                "SC",
                "SE",
                "SG",
                "SH",
                "SI",
                "SJ",
                "SK",
                "SL",
                "SM",
                "SN",
                "SO",
                "SR",
                "SS",
                "ST",
                "SV",
                "SX",
                "SZ",
                "TA",
                "TC",
                "TD",
                "TF",
                "TG",
                "TH",
                "TJ",
                "TK",
                "TL",
                "TM",
                "TN",
                "TO",
                "TR",
                "TT",
                "TV",
                "TW",
                "TZ",
                "UA",
                "UG",
                "US",
                "UY",
                "UZ",
                "VA",
                "VC",
                "VE",
                "VG",
                "VN",
                "VU",
                "WF",
                "WS",
                "XK",
                "YE",
                "YT",
                "ZA",
                "ZM",
                "ZW",
                "ZZ"
              ],
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "allowed_countries"
        ],
        "title": "PaymentLinksResourceShippingAddressCollection",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "allowed_countries"
        ]
      },
      "payment_links_resource_shipping_option": {
        "description": "",
        "properties": {
          "shipping_amount": {
            "description": "A non-negative integer in cents representing how much to charge.",
            "type": "integer"
          },
          "shipping_rate": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/shipping_rate"
              }
            ],
            "description": "The ID of the Shipping Rate to use for this shipping option.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/shipping_rate"
                }
              ]
            }
          }
        },
        "required": [
          "shipping_amount",
          "shipping_rate"
        ],
        "title": "PaymentLinksResourceShippingOption",
        "type": "object",
        "x-expandableFields": [
          "shipping_rate"
        ],
        "x-stripeMostCommon": [
          "shipping_amount",
          "shipping_rate"
        ]
      },
      "payment_links_resource_subscription_data": {
        "description": "",
        "properties": {
          "description": {
            "description": "The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "invoice_settings": {
            "$ref": "#/components/schemas/payment_links_resource_subscription_data_invoice_settings"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that will set metadata on [Subscriptions](https://stripe.com/docs/api/subscriptions) generated from this payment link.",
            "type": "object"
          },
          "trial_period_days": {
            "description": "Integer representing the number of trial period days before the customer is charged for the first time.",
            "nullable": true,
            "type": "integer"
          },
          "trial_settings": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/subscriptions_trials_resource_trial_settings"
              }
            ],
            "description": "Settings related to subscription trials.",
            "nullable": true
          }
        },
        "required": [
          "description",
          "invoice_settings",
          "metadata",
          "trial_period_days",
          "trial_settings"
        ],
        "title": "PaymentLinksResourceSubscriptionData",
        "type": "object",
        "x-expandableFields": [
          "invoice_settings",
          "trial_settings"
        ],
        "x-stripeMostCommon": [
          "description",
          "invoice_settings",
          "metadata",
          "trial_period_days",
          "trial_settings"
        ]
      },
      "payment_links_resource_subscription_data_invoice_settings": {
        "description": "",
        "properties": {
          "issuer": {
            "$ref": "#/components/schemas/connect_account_reference"
          }
        },
        "required": [
          "issuer"
        ],
        "title": "PaymentLinksResourceSubscriptionDataInvoiceSettings",
        "type": "object",
        "x-expandableFields": [
          "issuer"
        ],
        "x-stripeMostCommon": [
          "issuer"
        ]
      },
      "payment_links_resource_tax_id_collection": {
        "description": "",
        "properties": {
          "enabled": {
            "description": "Indicates whether tax ID collection is enabled for the session.",
            "type": "boolean"
          },
          "required": {
            "enum": [
              "if_supported",
              "never"
            ],
            "type": "string"
          }
        },
        "required": [
          "enabled",
          "required"
        ],
        "title": "PaymentLinksResourceTaxIdCollection",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "enabled",
          "required"
        ]
      },
      "payment_links_resource_transfer_data": {
        "description": "",
        "properties": {
          "amount": {
            "description": "The amount in cents (or local equivalent) that will be transferred to the destination account. By default, the entire amount is transferred to the destination.",
            "nullable": true,
            "type": "integer"
          },
          "destination": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/account"
              }
            ],
            "description": "The connected account receiving the transfer.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/account"
                }
              ]
            }
          }
        },
        "required": [
          "amount",
          "destination"
        ],
        "title": "PaymentLinksResourceTransferData",
        "type": "object",
        "x-expandableFields": [
          "destination"
        ],
        "x-stripeMostCommon": [
          "amount",
          "destination"
        ]
      },
      "payment_method": {
        "description": "PaymentMethod objects represent your customer's payment instruments.\nYou can use them with [PaymentIntents](https://stripe.com/docs/payments/payment-intents) to collect payments or save them to\nCustomer objects to store instrument details for future payments.\n\nRelated guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios).",
        "properties": {
          "acss_debit": {
            "$ref": "#/components/schemas/payment_method_acss_debit"
          },
          "affirm": {
            "$ref": "#/components/schemas/payment_method_affirm"
          },
          "afterpay_clearpay": {
            "$ref": "#/components/schemas/payment_method_afterpay_clearpay"
          },
          "alipay": {
            "$ref": "#/components/schemas/payment_flows_private_payment_methods_alipay"
          },
          "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”.",
            "enum": [
              "always",
              "limited",
              "unspecified"
            ],
            "type": "string"
          },
          "alma": {
            "$ref": "#/components/schemas/payment_method_alma"
          },
          "amazon_pay": {
            "$ref": "#/components/schemas/payment_method_amazon_pay"
          },
          "au_becs_debit": {
            "$ref": "#/components/schemas/payment_method_au_becs_debit"
          },
          "bacs_debit": {
            "$ref": "#/components/schemas/payment_method_bacs_debit"
          },
          "bancontact": {
            "$ref": "#/components/schemas/payment_method_bancontact"
          },
          "billing_details": {
            "$ref": "#/components/schemas/billing_details"
          },
          "blik": {
            "$ref": "#/components/schemas/payment_method_blik"
          },
          "boleto": {
            "$ref": "#/components/schemas/payment_method_boleto"
          },
          "card": {
            "$ref": "#/components/schemas/payment_method_card"
          },
          "card_present": {
            "$ref": "#/components/schemas/payment_method_card_present"
          },
          "cashapp": {
            "$ref": "#/components/schemas/payment_method_cashapp"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "customer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer"
              }
            ],
            "description": "The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer"
                }
              ]
            }
          },
          "customer_balance": {
            "$ref": "#/components/schemas/payment_method_customer_balance"
          },
          "eps": {
            "$ref": "#/components/schemas/payment_method_eps"
          },
          "fpx": {
            "$ref": "#/components/schemas/payment_method_fpx"
          },
          "giropay": {
            "$ref": "#/components/schemas/payment_method_giropay"
          },
          "grabpay": {
            "$ref": "#/components/schemas/payment_method_grabpay"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "ideal": {
            "$ref": "#/components/schemas/payment_method_ideal"
          },
          "interac_present": {
            "$ref": "#/components/schemas/payment_method_interac_present"
          },
          "kakao_pay": {
            "$ref": "#/components/schemas/payment_method_kakao_pay"
          },
          "klarna": {
            "$ref": "#/components/schemas/payment_method_klarna"
          },
          "konbini": {
            "$ref": "#/components/schemas/payment_method_konbini"
          },
          "kr_card": {
            "$ref": "#/components/schemas/payment_method_kr_card"
          },
          "link": {
            "$ref": "#/components/schemas/payment_method_link"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "nullable": true,
            "type": "object"
          },
          "mobilepay": {
            "$ref": "#/components/schemas/payment_method_mobilepay"
          },
          "multibanco": {
            "$ref": "#/components/schemas/payment_method_multibanco"
          },
          "naver_pay": {
            "$ref": "#/components/schemas/payment_method_naver_pay"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "payment_method"
            ],
            "type": "string"
          },
          "oxxo": {
            "$ref": "#/components/schemas/payment_method_oxxo"
          },
          "p24": {
            "$ref": "#/components/schemas/payment_method_p24"
          },
          "payco": {
            "$ref": "#/components/schemas/payment_method_payco"
          },
          "paynow": {
            "$ref": "#/components/schemas/payment_method_paynow"
          },
          "paypal": {
            "$ref": "#/components/schemas/payment_method_paypal"
          },
          "pix": {
            "$ref": "#/components/schemas/payment_method_pix"
          },
          "promptpay": {
            "$ref": "#/components/schemas/payment_method_promptpay"
          },
          "radar_options": {
            "$ref": "#/components/schemas/radar_radar_options"
          },
          "revolut_pay": {
            "$ref": "#/components/schemas/payment_method_revolut_pay"
          },
          "samsung_pay": {
            "$ref": "#/components/schemas/payment_method_samsung_pay"
          },
          "sepa_debit": {
            "$ref": "#/components/schemas/payment_method_sepa_debit"
          },
          "sofort": {
            "$ref": "#/components/schemas/payment_method_sofort"
          },
          "swish": {
            "$ref": "#/components/schemas/payment_method_swish"
          },
          "twint": {
            "$ref": "#/components/schemas/payment_method_twint"
          },
          "type": {
            "description": "The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.",
            "enum": [
              "acss_debit",
              "affirm",
              "afterpay_clearpay",
              "alipay",
              "alma",
              "amazon_pay",
              "au_becs_debit",
              "bacs_debit",
              "bancontact",
              "blik",
              "boleto",
              "card",
              "card_present",
              "cashapp",
              "customer_balance",
              "eps",
              "fpx",
              "giropay",
              "grabpay",
              "ideal",
              "interac_present",
              "kakao_pay",
              "klarna",
              "konbini",
              "kr_card",
              "link",
              "mobilepay",
              "multibanco",
              "naver_pay",
              "oxxo",
              "p24",
              "payco",
              "paynow",
              "paypal",
              "pix",
              "promptpay",
              "revolut_pay",
              "samsung_pay",
              "sepa_debit",
              "sofort",
              "swish",
              "twint",
              "us_bank_account",
              "wechat_pay",
              "zip"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "us_bank_account": {
            "$ref": "#/components/schemas/payment_method_us_bank_account"
          },
          "wechat_pay": {
            "$ref": "#/components/schemas/payment_method_wechat_pay"
          },
          "zip": {
            "$ref": "#/components/schemas/payment_method_zip"
          }
        },
        "required": [
          "billing_details",
          "created",
          "customer",
          "id",
          "livemode",
          "metadata",
          "object",
          "type"
        ],
        "title": "PaymentMethod",
        "type": "object",
        "x-expandableFields": [
          "acss_debit",
          "affirm",
          "afterpay_clearpay",
          "alipay",
          "alma",
          "amazon_pay",
          "au_becs_debit",
          "bacs_debit",
          "bancontact",
          "billing_details",
          "blik",
          "boleto",
          "card",
          "card_present",
          "cashapp",
          "customer",
          "customer_balance",
          "eps",
          "fpx",
          "giropay",
          "grabpay",
          "ideal",
          "interac_present",
          "kakao_pay",
          "klarna",
          "konbini",
          "kr_card",
          "link",
          "mobilepay",
          "multibanco",
          "naver_pay",
          "oxxo",
          "p24",
          "payco",
          "paynow",
          "paypal",
          "pix",
          "promptpay",
          "radar_options",
          "revolut_pay",
          "samsung_pay",
          "sepa_debit",
          "sofort",
          "swish",
          "twint",
          "us_bank_account",
          "wechat_pay",
          "zip"
        ],
        "x-resourceId": "payment_method",
        "x-stripeMostCommon": [
          "billing_details",
          "customer",
          "id",
          "metadata",
          "type"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/payment_methods"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/payment_methods/{payment_method}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/payment_methods"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/payment_methods/{payment_method}"
          },
          {
            "method_name": "attach",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/payment_methods/{payment_method}/attach"
          },
          {
            "method_name": "detach",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/payment_methods/{payment_method}/detach"
          }
        ],
        "x-stripeResource": {
          "class_name": "PaymentMethod",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "payment_method.attached": {
        "description": "Occurs whenever a new payment method is attached to a customer.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/payment_method"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "payment_method.attached"
        }
      },
      "payment_method.automatically_updated": {
        "description": "Occurs whenever a payment method's details are automatically updated by the network.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/payment_method"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "payment_method.automatically_updated"
        }
      },
      "payment_method.detached": {
        "description": "Occurs whenever a payment method is detached from a customer.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/payment_method"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "payment_method.detached"
        }
      },
      "payment_method.updated": {
        "description": "Occurs whenever a payment method is updated via the [PaymentMethod update API](https://docs.stripe.com/api/payment_methods/update).",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/payment_method"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "payment_method.updated"
        }
      },
      "payment_method_acss_debit": {
        "description": "",
        "properties": {
          "bank_name": {
            "description": "Name of the bank associated with the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "fingerprint": {
            "description": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "institution_number": {
            "description": "Institution number of the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "last4": {
            "description": "Last four digits of the bank account number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "transit_number": {
            "description": "Transit number of the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "bank_name",
          "fingerprint",
          "institution_number",
          "last4",
          "transit_number"
        ],
        "title": "payment_method_acss_debit",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "bank_name",
          "fingerprint",
          "institution_number",
          "last4",
          "transit_number"
        ]
      },
      "payment_method_affirm": {
        "description": "",
        "properties": {},
        "title": "payment_method_affirm",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_afterpay_clearpay": {
        "description": "",
        "properties": {},
        "title": "payment_method_afterpay_clearpay",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_alma": {
        "description": "",
        "properties": {},
        "title": "payment_method_alma",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_amazon_pay": {
        "description": "",
        "properties": {},
        "title": "payment_method_amazon_pay",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_au_becs_debit": {
        "description": "",
        "properties": {
          "bsb_number": {
            "description": "Six-digit number identifying bank and branch associated with this bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "fingerprint": {
            "description": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "last4": {
            "description": "Last four digits of the bank account number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "bsb_number",
          "fingerprint",
          "last4"
        ],
        "title": "payment_method_au_becs_debit",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "bsb_number",
          "fingerprint",
          "last4"
        ]
      },
      "payment_method_bacs_debit": {
        "description": "",
        "properties": {
          "fingerprint": {
            "description": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "last4": {
            "description": "Last four digits of the bank account number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "sort_code": {
            "description": "Sort code of the bank account. (e.g., `10-20-30`)",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "fingerprint",
          "last4",
          "sort_code"
        ],
        "title": "payment_method_bacs_debit",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "fingerprint",
          "last4",
          "sort_code"
        ]
      },
      "payment_method_bancontact": {
        "description": "",
        "properties": {},
        "title": "payment_method_bancontact",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_blik": {
        "description": "",
        "properties": {},
        "title": "payment_method_blik",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_boleto": {
        "description": "",
        "properties": {
          "tax_id": {
            "description": "Uniquely identifies the customer tax id (CNPJ or CPF)",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "tax_id"
        ],
        "title": "payment_method_boleto",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "tax_id"
        ]
      },
      "payment_method_card": {
        "description": "",
        "properties": {
          "brand": {
            "description": "Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.",
            "maxLength": 5000,
            "type": "string"
          },
          "checks": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_method_card_checks"
              }
            ],
            "description": "Checks on Card address and CVC if provided.",
            "nullable": true
          },
          "country": {
            "description": "Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "description": {
            "description": "A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "display_brand": {
            "description": "The brand to use when displaying the card, this accounts for customer's brand choice on dual-branded cards. Can be `american_express`, `cartes_bancaires`, `diners_club`, `discover`, `eftpos_australia`, `interac`, `jcb`, `mastercard`, `union_pay`, `visa`, or `other` and may contain more values in the future.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "exp_month": {
            "description": "Two-digit number representing the card's expiration month.",
            "type": "integer"
          },
          "exp_year": {
            "description": "Four-digit number representing the card's expiration year.",
            "type": "integer"
          },
          "fingerprint": {
            "description": "Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.\n\n*As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "funding": {
            "description": "Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.",
            "maxLength": 5000,
            "type": "string"
          },
          "generated_from": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_method_card_generated_card"
              }
            ],
            "description": "Details of the original PaymentMethod that created this object.",
            "nullable": true
          },
          "iin": {
            "description": "Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "issuer": {
            "description": "The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "last4": {
            "description": "The last four digits of the card.",
            "maxLength": 5000,
            "type": "string"
          },
          "networks": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/networks"
              }
            ],
            "description": "Contains information about card networks that can be used to process the payment.",
            "nullable": true
          },
          "three_d_secure_usage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/three_d_secure_usage"
              }
            ],
            "description": "Contains details on how this Card may be used for 3D Secure authentication.",
            "nullable": true
          },
          "wallet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_method_card_wallet"
              }
            ],
            "description": "If this Card is part of a card wallet, this contains the details of the card wallet.",
            "nullable": true
          }
        },
        "required": [
          "brand",
          "checks",
          "country",
          "display_brand",
          "exp_month",
          "exp_year",
          "funding",
          "generated_from",
          "last4",
          "networks",
          "three_d_secure_usage",
          "wallet"
        ],
        "title": "payment_method_card",
        "type": "object",
        "x-expandableFields": [
          "checks",
          "generated_from",
          "networks",
          "three_d_secure_usage",
          "wallet"
        ],
        "x-stripeMostCommon": [
          "brand",
          "checks",
          "country",
          "description",
          "display_brand",
          "exp_month",
          "exp_year",
          "fingerprint",
          "funding",
          "generated_from",
          "iin",
          "issuer",
          "last4",
          "networks",
          "three_d_secure_usage",
          "wallet"
        ]
      },
      "payment_method_card_checks": {
        "description": "",
        "properties": {
          "address_line1_check": {
            "description": "If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "address_postal_code_check": {
            "description": "If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "cvc_check": {
            "description": "If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "address_line1_check",
          "address_postal_code_check",
          "cvc_check"
        ],
        "title": "payment_method_card_checks",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "address_line1_check",
          "address_postal_code_check",
          "cvc_check"
        ]
      },
      "payment_method_card_generated_card": {
        "description": "",
        "properties": {
          "charge": {
            "description": "The charge that created this object.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "payment_method_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/card_generated_from_payment_method_details"
              }
            ],
            "description": "Transaction-specific details of the payment method used in the payment.",
            "nullable": true
          },
          "setup_attempt": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/setup_attempt"
              }
            ],
            "description": "The ID of the SetupAttempt that generated this PaymentMethod, if any.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/setup_attempt"
                }
              ]
            }
          }
        },
        "required": [
          "charge",
          "payment_method_details",
          "setup_attempt"
        ],
        "title": "payment_method_card_generated_card",
        "type": "object",
        "x-expandableFields": [
          "payment_method_details",
          "setup_attempt"
        ],
        "x-stripeMostCommon": [
          "charge",
          "payment_method_details",
          "setup_attempt"
        ]
      },
      "payment_method_card_present": {
        "description": "",
        "properties": {
          "brand": {
            "description": "Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "brand_product": {
            "description": "The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "cardholder_name": {
            "description": "The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "country": {
            "description": "Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "description": {
            "description": "A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "exp_month": {
            "description": "Two-digit number representing the card's expiration month.",
            "type": "integer"
          },
          "exp_year": {
            "description": "Four-digit number representing the card's expiration year.",
            "type": "integer"
          },
          "fingerprint": {
            "description": "Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.\n\n*As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "funding": {
            "description": "Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "iin": {
            "description": "Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "issuer": {
            "description": "The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "last4": {
            "description": "The last four digits of the card.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "networks": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_method_card_present_networks"
              }
            ],
            "description": "Contains information about card networks that can be used to process the payment.",
            "nullable": true
          },
          "offline": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_method_details_card_present_offline"
              }
            ],
            "description": "Details about payment methods collected offline.",
            "nullable": true
          },
          "preferred_locales": {
            "description": "EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "read_method": {
            "description": "How card details were read in this transaction.",
            "enum": [
              "contact_emv",
              "contactless_emv",
              "contactless_magstripe_mode",
              "magnetic_stripe_fallback",
              "magnetic_stripe_track2"
            ],
            "nullable": true,
            "type": "string"
          },
          "wallet": {
            "$ref": "#/components/schemas/payment_flows_private_payment_methods_card_present_common_wallet"
          }
        },
        "required": [
          "brand",
          "brand_product",
          "cardholder_name",
          "country",
          "exp_month",
          "exp_year",
          "fingerprint",
          "funding",
          "last4",
          "networks",
          "offline",
          "preferred_locales",
          "read_method"
        ],
        "title": "payment_method_card_present",
        "type": "object",
        "x-expandableFields": [
          "networks",
          "offline",
          "wallet"
        ],
        "x-stripeMostCommon": [
          "brand",
          "brand_product",
          "cardholder_name",
          "country",
          "description",
          "exp_month",
          "exp_year",
          "fingerprint",
          "funding",
          "iin",
          "issuer",
          "last4",
          "networks",
          "offline",
          "preferred_locales",
          "read_method",
          "wallet"
        ]
      },
      "payment_method_card_present_networks": {
        "description": "",
        "properties": {
          "available": {
            "description": "All available networks for the card.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "preferred": {
            "description": "The preferred network for the card.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "available",
          "preferred"
        ],
        "title": "payment_method_card_present_networks",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "available",
          "preferred"
        ]
      },
      "payment_method_card_wallet": {
        "description": "",
        "properties": {
          "amex_express_checkout": {
            "$ref": "#/components/schemas/payment_method_card_wallet_amex_express_checkout"
          },
          "apple_pay": {
            "$ref": "#/components/schemas/payment_method_card_wallet_apple_pay"
          },
          "dynamic_last4": {
            "description": "(For tokenized numbers only.) The last four digits of the device account number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "google_pay": {
            "$ref": "#/components/schemas/payment_method_card_wallet_google_pay"
          },
          "link": {
            "$ref": "#/components/schemas/payment_method_card_wallet_link"
          },
          "masterpass": {
            "$ref": "#/components/schemas/payment_method_card_wallet_masterpass"
          },
          "samsung_pay": {
            "$ref": "#/components/schemas/payment_method_card_wallet_samsung_pay"
          },
          "type": {
            "description": "The type of the card wallet, one of `amex_express_checkout`, `apple_pay`, `google_pay`, `masterpass`, `samsung_pay`, `visa_checkout`, or `link`. An additional hash is included on the Wallet subhash with a name matching this value. It contains additional information specific to the card wallet type.",
            "enum": [
              "amex_express_checkout",
              "apple_pay",
              "google_pay",
              "link",
              "masterpass",
              "samsung_pay",
              "visa_checkout"
            ],
            "type": "string"
          },
          "visa_checkout": {
            "$ref": "#/components/schemas/payment_method_card_wallet_visa_checkout"
          }
        },
        "required": [
          "dynamic_last4",
          "type"
        ],
        "title": "payment_method_card_wallet",
        "type": "object",
        "x-expandableFields": [
          "amex_express_checkout",
          "apple_pay",
          "google_pay",
          "link",
          "masterpass",
          "samsung_pay",
          "visa_checkout"
        ],
        "x-stripeMostCommon": [
          "amex_express_checkout",
          "apple_pay",
          "dynamic_last4",
          "google_pay",
          "link",
          "masterpass",
          "samsung_pay",
          "type",
          "visa_checkout"
        ]
      },
      "payment_method_card_wallet_amex_express_checkout": {
        "description": "",
        "properties": {},
        "title": "payment_method_card_wallet_amex_express_checkout",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_card_wallet_apple_pay": {
        "description": "",
        "properties": {},
        "title": "payment_method_card_wallet_apple_pay",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_card_wallet_google_pay": {
        "description": "",
        "properties": {},
        "title": "payment_method_card_wallet_google_pay",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_card_wallet_link": {
        "description": "",
        "properties": {},
        "title": "payment_method_card_wallet_link",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_card_wallet_masterpass": {
        "description": "",
        "properties": {
          "billing_address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/address"
              }
            ],
            "description": "Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "nullable": true
          },
          "email": {
            "description": "Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "name": {
            "description": "Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "shipping_address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/address"
              }
            ],
            "description": "Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "nullable": true
          }
        },
        "required": [
          "billing_address",
          "email",
          "name",
          "shipping_address"
        ],
        "title": "payment_method_card_wallet_masterpass",
        "type": "object",
        "x-expandableFields": [
          "billing_address",
          "shipping_address"
        ],
        "x-stripeMostCommon": [
          "billing_address",
          "email",
          "name",
          "shipping_address"
        ]
      },
      "payment_method_card_wallet_samsung_pay": {
        "description": "",
        "properties": {},
        "title": "payment_method_card_wallet_samsung_pay",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_card_wallet_visa_checkout": {
        "description": "",
        "properties": {
          "billing_address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/address"
              }
            ],
            "description": "Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "nullable": true
          },
          "email": {
            "description": "Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "name": {
            "description": "Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "shipping_address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/address"
              }
            ],
            "description": "Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "nullable": true
          }
        },
        "required": [
          "billing_address",
          "email",
          "name",
          "shipping_address"
        ],
        "title": "payment_method_card_wallet_visa_checkout",
        "type": "object",
        "x-expandableFields": [
          "billing_address",
          "shipping_address"
        ],
        "x-stripeMostCommon": [
          "billing_address",
          "email",
          "name",
          "shipping_address"
        ]
      },
      "payment_method_cashapp": {
        "description": "",
        "properties": {
          "buyer_id": {
            "description": "A unique and immutable identifier assigned by Cash App to every buyer.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "cashtag": {
            "description": "A public identifier for buyers using Cash App.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "buyer_id",
          "cashtag"
        ],
        "title": "payment_method_cashapp",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "buyer_id",
          "cashtag"
        ]
      },
      "payment_method_config_biz_payment_method_configuration_details": {
        "description": "",
        "properties": {
          "id": {
            "description": "ID of the payment method configuration used.",
            "maxLength": 5000,
            "type": "string"
          },
          "parent": {
            "description": "ID of the parent payment method configuration used.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "parent"
        ],
        "title": "PaymentMethodConfigBizPaymentMethodConfigurationDetails",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "id",
          "parent"
        ]
      },
      "payment_method_config_resource_display_preference": {
        "description": "",
        "properties": {
          "overridable": {
            "description": "For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.",
            "nullable": true,
            "type": "boolean"
          },
          "preference": {
            "description": "The account's display preference.",
            "enum": [
              "none",
              "off",
              "on"
            ],
            "type": "string"
          },
          "value": {
            "description": "The effective display preference value.",
            "enum": [
              "off",
              "on"
            ],
            "type": "string"
          }
        },
        "required": [
          "overridable",
          "preference",
          "value"
        ],
        "title": "PaymentMethodConfigResourceDisplayPreference",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "overridable",
          "preference",
          "value"
        ]
      },
      "payment_method_config_resource_payment_method_properties": {
        "description": "",
        "properties": {
          "available": {
            "description": "Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.",
            "type": "boolean"
          },
          "display_preference": {
            "$ref": "#/components/schemas/payment_method_config_resource_display_preference"
          }
        },
        "required": [
          "available",
          "display_preference"
        ],
        "title": "PaymentMethodConfigResourcePaymentMethodProperties",
        "type": "object",
        "x-expandableFields": [
          "display_preference"
        ],
        "x-stripeMostCommon": [
          "available",
          "display_preference"
        ]
      },
      "payment_method_configuration": {
        "description": "PaymentMethodConfigurations control which payment methods are displayed to your customers when you don't explicitly specify payment method types. You can have multiple configurations with different sets of payment methods for different scenarios.\n\nThere are two types of PaymentMethodConfigurations. Which is used depends on the [charge type](https://stripe.com/docs/connect/charges):\n\n**Direct** configurations apply to payments created on your account, including Connect destination charges, Connect separate charges and transfers, and payments not involving Connect.\n\n**Child** configurations apply to payments created on your connected accounts using direct charges, and charges with the on_behalf_of parameter.\n\nChild configurations have a `parent` that sets default values and controls which settings connected accounts may override. You can specify a parent ID at payment time, and Stripe will automatically resolve the connected account’s associated child configuration. Parent configurations are [managed in the dashboard](https://dashboard.stripe.com/settings/payment_methods/connected_accounts) and are not available in this API.\n\nRelated guides:\n- [Payment Method Configurations API](https://stripe.com/docs/connect/payment-method-configurations)\n- [Multiple configurations on dynamic payment methods](https://stripe.com/docs/payments/multiple-payment-method-configs)\n- [Multiple configurations for your Connect accounts](https://stripe.com/docs/connect/multiple-payment-method-configurations)",
        "properties": {
          "acss_debit": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "active": {
            "description": "Whether the configuration can be used for new payments.",
            "type": "boolean"
          },
          "affirm": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "afterpay_clearpay": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "alipay": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "alma": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "amazon_pay": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "apple_pay": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "application": {
            "description": "For child configs, the Connect application associated with the configuration.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "au_becs_debit": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "bacs_debit": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "bancontact": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "blik": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "boleto": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "card": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "cartes_bancaires": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "cashapp": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "customer_balance": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "eps": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "fpx": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "giropay": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "google_pay": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "grabpay": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "ideal": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "is_default": {
            "description": "The default configuration is used whenever a payment method configuration is not specified.",
            "type": "boolean"
          },
          "jcb": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "klarna": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "konbini": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "link": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "mobilepay": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "multibanco": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "name": {
            "description": "The configuration's name.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "payment_method_configuration"
            ],
            "type": "string"
          },
          "oxxo": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "p24": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "parent": {
            "description": "For child configs, the configuration's parent configuration.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "paynow": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "paypal": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "promptpay": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "revolut_pay": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "sepa_debit": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "sofort": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "swish": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "twint": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "us_bank_account": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "wechat_pay": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          },
          "zip": {
            "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
          }
        },
        "required": [
          "active",
          "application",
          "id",
          "is_default",
          "livemode",
          "name",
          "object",
          "parent"
        ],
        "title": "PaymentMethodConfigResourcePaymentMethodConfiguration",
        "type": "object",
        "x-expandableFields": [
          "acss_debit",
          "affirm",
          "afterpay_clearpay",
          "alipay",
          "alma",
          "amazon_pay",
          "apple_pay",
          "au_becs_debit",
          "bacs_debit",
          "bancontact",
          "blik",
          "boleto",
          "card",
          "cartes_bancaires",
          "cashapp",
          "customer_balance",
          "eps",
          "fpx",
          "giropay",
          "google_pay",
          "grabpay",
          "ideal",
          "jcb",
          "klarna",
          "konbini",
          "link",
          "mobilepay",
          "multibanco",
          "oxxo",
          "p24",
          "paynow",
          "paypal",
          "promptpay",
          "revolut_pay",
          "sepa_debit",
          "sofort",
          "swish",
          "twint",
          "us_bank_account",
          "wechat_pay",
          "zip"
        ],
        "x-resourceId": "payment_method_configuration",
        "x-stripeMostCommon": [
          "active",
          "application",
          "id",
          "is_default",
          "name",
          "object",
          "parent"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/payment_method_configurations"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/payment_method_configurations/{configuration}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/payment_method_configurations"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/payment_method_configurations/{configuration}"
          }
        ],
        "x-stripeResource": {
          "class_name": "PaymentMethodConfiguration",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "payment_method_customer_balance": {
        "description": "",
        "properties": {},
        "title": "payment_method_customer_balance",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_details": {
        "description": "",
        "properties": {
          "ach_credit_transfer": {
            "$ref": "#/components/schemas/payment_method_details_ach_credit_transfer"
          },
          "ach_debit": {
            "$ref": "#/components/schemas/payment_method_details_ach_debit"
          },
          "acss_debit": {
            "$ref": "#/components/schemas/payment_method_details_acss_debit"
          },
          "affirm": {
            "$ref": "#/components/schemas/payment_method_details_affirm"
          },
          "afterpay_clearpay": {
            "$ref": "#/components/schemas/payment_method_details_afterpay_clearpay"
          },
          "alipay": {
            "$ref": "#/components/schemas/payment_flows_private_payment_methods_alipay_details"
          },
          "alma": {
            "$ref": "#/components/schemas/payment_method_details_alma"
          },
          "amazon_pay": {
            "$ref": "#/components/schemas/payment_method_details_amazon_pay"
          },
          "au_becs_debit": {
            "$ref": "#/components/schemas/payment_method_details_au_becs_debit"
          },
          "bacs_debit": {
            "$ref": "#/components/schemas/payment_method_details_bacs_debit"
          },
          "bancontact": {
            "$ref": "#/components/schemas/payment_method_details_bancontact"
          },
          "blik": {
            "$ref": "#/components/schemas/payment_method_details_blik"
          },
          "boleto": {
            "$ref": "#/components/schemas/payment_method_details_boleto"
          },
          "card": {
            "$ref": "#/components/schemas/payment_method_details_card"
          },
          "card_present": {
            "$ref": "#/components/schemas/payment_method_details_card_present"
          },
          "cashapp": {
            "$ref": "#/components/schemas/payment_method_details_cashapp"
          },
          "customer_balance": {
            "$ref": "#/components/schemas/payment_method_details_customer_balance"
          },
          "eps": {
            "$ref": "#/components/schemas/payment_method_details_eps"
          },
          "fpx": {
            "$ref": "#/components/schemas/payment_method_details_fpx"
          },
          "giropay": {
            "$ref": "#/components/schemas/payment_method_details_giropay"
          },
          "grabpay": {
            "$ref": "#/components/schemas/payment_method_details_grabpay"
          },
          "ideal": {
            "$ref": "#/components/schemas/payment_method_details_ideal"
          },
          "interac_present": {
            "$ref": "#/components/schemas/payment_method_details_interac_present"
          },
          "kakao_pay": {
            "$ref": "#/components/schemas/payment_method_details_kakao_pay"
          },
          "klarna": {
            "$ref": "#/components/schemas/payment_method_details_klarna"
          },
          "konbini": {
            "$ref": "#/components/schemas/payment_method_details_konbini"
          },
          "kr_card": {
            "$ref": "#/components/schemas/payment_method_details_kr_card"
          },
          "link": {
            "$ref": "#/components/schemas/payment_method_details_link"
          },
          "mobilepay": {
            "$ref": "#/components/schemas/payment_method_details_mobilepay"
          },
          "multibanco": {
            "$ref": "#/components/schemas/payment_method_details_multibanco"
          },
          "naver_pay": {
            "$ref": "#/components/schemas/payment_method_details_naver_pay"
          },
          "oxxo": {
            "$ref": "#/components/schemas/payment_method_details_oxxo"
          },
          "p24": {
            "$ref": "#/components/schemas/payment_method_details_p24"
          },
          "payco": {
            "$ref": "#/components/schemas/payment_method_details_payco"
          },
          "paynow": {
            "$ref": "#/components/schemas/payment_method_details_paynow"
          },
          "paypal": {
            "$ref": "#/components/schemas/payment_method_details_paypal"
          },
          "pix": {
            "$ref": "#/components/schemas/payment_method_details_pix"
          },
          "promptpay": {
            "$ref": "#/components/schemas/payment_method_details_promptpay"
          },
          "revolut_pay": {
            "$ref": "#/components/schemas/payment_method_details_revolut_pay"
          },
          "samsung_pay": {
            "$ref": "#/components/schemas/payment_method_details_samsung_pay"
          },
          "sepa_credit_transfer": {
            "$ref": "#/components/schemas/payment_method_details_sepa_credit_transfer"
          },
          "sepa_debit": {
            "$ref": "#/components/schemas/payment_method_details_sepa_debit"
          },
          "sofort": {
            "$ref": "#/components/schemas/payment_method_details_sofort"
          },
          "stripe_account": {
            "$ref": "#/components/schemas/payment_method_details_stripe_account"
          },
          "swish": {
            "$ref": "#/components/schemas/payment_method_details_swish"
          },
          "twint": {
            "$ref": "#/components/schemas/payment_method_details_twint"
          },
          "type": {
            "description": "The type of transaction-specific details of the payment method used in the payment, one of `ach_credit_transfer`, `ach_debit`, `acss_debit`, `alipay`, `au_becs_debit`, `bancontact`, `card`, `card_present`, `eps`, `giropay`, `ideal`, `klarna`, `multibanco`, `p24`, `sepa_debit`, `sofort`, `stripe_account`, or `wechat`.\nAn additional hash is included on `payment_method_details` with a name matching this value.\nIt contains information specific to the payment method.",
            "maxLength": 5000,
            "type": "string"
          },
          "us_bank_account": {
            "$ref": "#/components/schemas/payment_method_details_us_bank_account"
          },
          "wechat": {
            "$ref": "#/components/schemas/payment_method_details_wechat"
          },
          "wechat_pay": {
            "$ref": "#/components/schemas/payment_method_details_wechat_pay"
          },
          "zip": {
            "$ref": "#/components/schemas/payment_method_details_zip"
          }
        },
        "required": [
          "type"
        ],
        "title": "payment_method_details",
        "type": "object",
        "x-expandableFields": [
          "ach_credit_transfer",
          "ach_debit",
          "acss_debit",
          "affirm",
          "afterpay_clearpay",
          "alipay",
          "alma",
          "amazon_pay",
          "au_becs_debit",
          "bacs_debit",
          "bancontact",
          "blik",
          "boleto",
          "card",
          "card_present",
          "cashapp",
          "customer_balance",
          "eps",
          "fpx",
          "giropay",
          "grabpay",
          "ideal",
          "interac_present",
          "kakao_pay",
          "klarna",
          "konbini",
          "kr_card",
          "link",
          "mobilepay",
          "multibanco",
          "naver_pay",
          "oxxo",
          "p24",
          "payco",
          "paynow",
          "paypal",
          "pix",
          "promptpay",
          "revolut_pay",
          "samsung_pay",
          "sepa_credit_transfer",
          "sepa_debit",
          "sofort",
          "stripe_account",
          "swish",
          "twint",
          "us_bank_account",
          "wechat",
          "wechat_pay",
          "zip"
        ],
        "x-stripeMostCommon": [
          "ach_credit_transfer",
          "ach_debit",
          "acss_debit",
          "affirm",
          "afterpay_clearpay",
          "alipay",
          "alma",
          "amazon_pay",
          "au_becs_debit",
          "bacs_debit",
          "bancontact",
          "blik",
          "boleto",
          "card",
          "card_present",
          "cashapp",
          "customer_balance",
          "eps",
          "fpx",
          "giropay",
          "grabpay",
          "ideal",
          "interac_present",
          "kakao_pay",
          "klarna",
          "konbini",
          "kr_card",
          "link",
          "mobilepay",
          "multibanco",
          "naver_pay",
          "oxxo",
          "p24",
          "payco",
          "paynow",
          "paypal",
          "pix",
          "promptpay",
          "revolut_pay",
          "samsung_pay",
          "sepa_credit_transfer",
          "sepa_debit",
          "sofort",
          "stripe_account",
          "swish",
          "twint",
          "type",
          "us_bank_account",
          "wechat",
          "wechat_pay",
          "zip"
        ]
      },
      "payment_method_details_ach_credit_transfer": {
        "description": "",
        "properties": {
          "account_number": {
            "description": "Account number to transfer funds to.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "bank_name": {
            "description": "Name of the bank associated with the routing number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "routing_number": {
            "description": "Routing transit number for the bank account to transfer funds to.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "swift_code": {
            "description": "SWIFT code of the bank associated with the routing number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "account_number",
          "bank_name",
          "routing_number",
          "swift_code"
        ],
        "title": "payment_method_details_ach_credit_transfer",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "account_number",
          "bank_name",
          "routing_number",
          "swift_code"
        ]
      },
      "payment_method_details_ach_debit": {
        "description": "",
        "properties": {
          "account_holder_type": {
            "description": "Type of entity that holds the account. This can be either `individual` or `company`.",
            "enum": [
              "company",
              "individual"
            ],
            "nullable": true,
            "type": "string"
          },
          "bank_name": {
            "description": "Name of the bank associated with the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "country": {
            "description": "Two-letter ISO code representing the country the bank account is located in.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "fingerprint": {
            "description": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "last4": {
            "description": "Last four digits of the bank account number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "routing_number": {
            "description": "Routing transit number of the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "account_holder_type",
          "bank_name",
          "country",
          "fingerprint",
          "last4",
          "routing_number"
        ],
        "title": "payment_method_details_ach_debit",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "account_holder_type",
          "bank_name",
          "country",
          "fingerprint",
          "last4",
          "routing_number"
        ]
      },
      "payment_method_details_acss_debit": {
        "description": "",
        "properties": {
          "bank_name": {
            "description": "Name of the bank associated with the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "fingerprint": {
            "description": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "institution_number": {
            "description": "Institution number of the bank account",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "last4": {
            "description": "Last four digits of the bank account number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "mandate": {
            "description": "ID of the mandate used to make this payment.",
            "maxLength": 5000,
            "type": "string"
          },
          "transit_number": {
            "description": "Transit number of the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "bank_name",
          "fingerprint",
          "institution_number",
          "last4",
          "transit_number"
        ],
        "title": "payment_method_details_acss_debit",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "bank_name",
          "fingerprint",
          "institution_number",
          "last4",
          "mandate",
          "transit_number"
        ]
      },
      "payment_method_details_affirm": {
        "description": "",
        "properties": {
          "transaction_id": {
            "description": "The Affirm transaction ID associated with this payment.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "transaction_id"
        ],
        "title": "payment_method_details_affirm",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "transaction_id"
        ]
      },
      "payment_method_details_afterpay_clearpay": {
        "description": "",
        "properties": {
          "order_id": {
            "description": "The Afterpay order ID associated with this payment intent.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "reference": {
            "description": "Order identifier shown to the merchant in Afterpay’s online portal.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "order_id",
          "reference"
        ],
        "title": "payment_method_details_afterpay_clearpay",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "order_id",
          "reference"
        ]
      },
      "payment_method_details_alma": {
        "description": "",
        "properties": {},
        "title": "payment_method_details_alma",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_details_amazon_pay": {
        "description": "",
        "properties": {},
        "title": "payment_method_details_amazon_pay",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_details_au_becs_debit": {
        "description": "",
        "properties": {
          "bsb_number": {
            "description": "Bank-State-Branch number of the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "fingerprint": {
            "description": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "last4": {
            "description": "Last four digits of the bank account number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "mandate": {
            "description": "ID of the mandate used to make this payment.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "bsb_number",
          "fingerprint",
          "last4"
        ],
        "title": "payment_method_details_au_becs_debit",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "bsb_number",
          "fingerprint",
          "last4",
          "mandate"
        ]
      },
      "payment_method_details_bacs_debit": {
        "description": "",
        "properties": {
          "fingerprint": {
            "description": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "last4": {
            "description": "Last four digits of the bank account number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "mandate": {
            "description": "ID of the mandate used to make this payment.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "sort_code": {
            "description": "Sort code of the bank account. (e.g., `10-20-30`)",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "fingerprint",
          "last4",
          "mandate",
          "sort_code"
        ],
        "title": "payment_method_details_bacs_debit",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "fingerprint",
          "last4",
          "mandate",
          "sort_code"
        ]
      },
      "payment_method_details_bancontact": {
        "description": "",
        "properties": {
          "bank_code": {
            "description": "Bank code of bank associated with the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "bank_name": {
            "description": "Name of the bank associated with the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "bic": {
            "description": "Bank Identifier Code of the bank associated with the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "generated_sepa_debit": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_method"
              }
            ],
            "description": "The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_method"
                }
              ]
            }
          },
          "generated_sepa_debit_mandate": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/mandate"
              }
            ],
            "description": "The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/mandate"
                }
              ]
            }
          },
          "iban_last4": {
            "description": "Last four characters of the IBAN.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "preferred_language": {
            "description": "Preferred language of the Bancontact authorization page that the customer is redirected to.\nCan be one of `en`, `de`, `fr`, or `nl`",
            "enum": [
              "de",
              "en",
              "fr",
              "nl"
            ],
            "nullable": true,
            "type": "string"
          },
          "verified_name": {
            "description": "Owner's verified full name. Values are verified or provided by Bancontact directly\n(if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "bank_code",
          "bank_name",
          "bic",
          "generated_sepa_debit",
          "generated_sepa_debit_mandate",
          "iban_last4",
          "preferred_language",
          "verified_name"
        ],
        "title": "payment_method_details_bancontact",
        "type": "object",
        "x-expandableFields": [
          "generated_sepa_debit",
          "generated_sepa_debit_mandate"
        ],
        "x-stripeMostCommon": [
          "bank_code",
          "bank_name",
          "bic",
          "generated_sepa_debit",
          "generated_sepa_debit_mandate",
          "iban_last4",
          "preferred_language",
          "verified_name"
        ]
      },
      "payment_method_details_blik": {
        "description": "",
        "properties": {
          "buyer_id": {
            "description": "A unique and immutable identifier assigned by BLIK to every buyer.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "buyer_id"
        ],
        "title": "payment_method_details_blik",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "buyer_id"
        ]
      },
      "payment_method_details_boleto": {
        "description": "",
        "properties": {
          "tax_id": {
            "description": "The tax ID of the customer (CPF for individuals consumers or CNPJ for businesses consumers)",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "tax_id"
        ],
        "title": "payment_method_details_boleto",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "tax_id"
        ]
      },
      "payment_method_details_card": {
        "description": "",
        "properties": {
          "amount_authorized": {
            "description": "The authorized amount.",
            "nullable": true,
            "type": "integer"
          },
          "authorization_code": {
            "description": "Authorization code on the charge.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "brand": {
            "description": "Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "capture_before": {
            "description": "When using manual capture, a future timestamp at which the charge will be automatically refunded if uncaptured.",
            "format": "unix-time",
            "type": "integer"
          },
          "checks": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_method_details_card_checks"
              }
            ],
            "description": "Check results by Card networks on Card address and CVC at time of payment.",
            "nullable": true
          },
          "country": {
            "description": "Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "description": {
            "description": "A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "exp_month": {
            "description": "Two-digit number representing the card's expiration month.",
            "type": "integer"
          },
          "exp_year": {
            "description": "Four-digit number representing the card's expiration year.",
            "type": "integer"
          },
          "extended_authorization": {
            "$ref": "#/components/schemas/payment_flows_private_payment_methods_card_details_api_resource_enterprise_features_extended_authorization_extended_authorization"
          },
          "fingerprint": {
            "description": "Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.\n\n*As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "funding": {
            "description": "Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "iin": {
            "description": "Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "incremental_authorization": {
            "$ref": "#/components/schemas/payment_flows_private_payment_methods_card_details_api_resource_enterprise_features_incremental_authorization_incremental_authorization"
          },
          "installments": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_method_details_card_installments"
              }
            ],
            "description": "Installment details for this payment (Mexico only).\n\nFor more information, see the [installments integration guide](https://stripe.com/docs/payments/installments).",
            "nullable": true
          },
          "issuer": {
            "description": "The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "last4": {
            "description": "The last four digits of the card.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "mandate": {
            "description": "ID of the mandate used to make this payment or created by it.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "moto": {
            "description": "True if this payment was marked as MOTO and out of scope for SCA.",
            "nullable": true,
            "type": "boolean"
          },
          "multicapture": {
            "$ref": "#/components/schemas/payment_flows_private_payment_methods_card_details_api_resource_multicapture"
          },
          "network": {
            "description": "Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "network_token": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_method_details_card_network_token"
              }
            ],
            "description": "If this card has network token credentials, this contains the details of the network token credentials.",
            "nullable": true
          },
          "overcapture": {
            "$ref": "#/components/schemas/payment_flows_private_payment_methods_card_details_api_resource_enterprise_features_overcapture_overcapture"
          },
          "three_d_secure": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/three_d_secure_details_charge"
              }
            ],
            "description": "Populated if this transaction used 3D Secure authentication.",
            "nullable": true
          },
          "wallet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_method_details_card_wallet"
              }
            ],
            "description": "If this Card is part of a card wallet, this contains the details of the card wallet.",
            "nullable": true
          }
        },
        "required": [
          "amount_authorized",
          "authorization_code",
          "brand",
          "checks",
          "country",
          "exp_month",
          "exp_year",
          "funding",
          "installments",
          "last4",
          "mandate",
          "network",
          "three_d_secure",
          "wallet"
        ],
        "title": "payment_method_details_card",
        "type": "object",
        "x-expandableFields": [
          "checks",
          "extended_authorization",
          "incremental_authorization",
          "installments",
          "multicapture",
          "network_token",
          "overcapture",
          "three_d_secure",
          "wallet"
        ],
        "x-stripeMostCommon": [
          "amount_authorized",
          "authorization_code",
          "brand",
          "capture_before",
          "checks",
          "country",
          "description",
          "exp_month",
          "exp_year",
          "extended_authorization",
          "fingerprint",
          "funding",
          "iin",
          "incremental_authorization",
          "installments",
          "issuer",
          "last4",
          "mandate",
          "moto",
          "multicapture",
          "network",
          "network_token",
          "overcapture",
          "three_d_secure",
          "wallet"
        ]
      },
      "payment_method_details_card_checks": {
        "description": "",
        "properties": {
          "address_line1_check": {
            "description": "If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "address_postal_code_check": {
            "description": "If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "cvc_check": {
            "description": "If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "address_line1_check",
          "address_postal_code_check",
          "cvc_check"
        ],
        "title": "payment_method_details_card_checks",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "address_line1_check",
          "address_postal_code_check",
          "cvc_check"
        ]
      },
      "payment_method_details_card_installments": {
        "description": "",
        "properties": {
          "plan": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_method_details_card_installments_plan"
              }
            ],
            "description": "Installment plan selected for the payment.",
            "nullable": true
          }
        },
        "required": [
          "plan"
        ],
        "title": "payment_method_details_card_installments",
        "type": "object",
        "x-expandableFields": [
          "plan"
        ],
        "x-stripeMostCommon": [
          "plan"
        ]
      },
      "payment_method_details_card_installments_plan": {
        "description": "",
        "properties": {
          "count": {
            "description": "For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card.",
            "nullable": true,
            "type": "integer"
          },
          "interval": {
            "description": "For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card.\nOne of `month`.",
            "enum": [
              "month"
            ],
            "nullable": true,
            "type": "string"
          },
          "type": {
            "description": "Type of installment plan, one of `fixed_count`.",
            "enum": [
              "fixed_count"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "count",
          "interval",
          "type"
        ],
        "title": "payment_method_details_card_installments_plan",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "count",
          "interval",
          "type"
        ]
      },
      "payment_method_details_card_network_token": {
        "description": "",
        "properties": {
          "used": {
            "description": "Indicates if Stripe used a network token, either user provided or Stripe managed when processing the transaction.",
            "type": "boolean"
          }
        },
        "required": [
          "used"
        ],
        "title": "payment_method_details_card_network_token",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "used"
        ]
      },
      "payment_method_details_card_present": {
        "description": "",
        "properties": {
          "amount_authorized": {
            "description": "The authorized amount",
            "nullable": true,
            "type": "integer"
          },
          "brand": {
            "description": "Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "brand_product": {
            "description": "The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "capture_before": {
            "description": "When using manual capture, a future timestamp after which the charge will be automatically refunded if uncaptured.",
            "format": "unix-time",
            "type": "integer"
          },
          "cardholder_name": {
            "description": "The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "country": {
            "description": "Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "description": {
            "description": "A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "emv_auth_data": {
            "description": "Authorization response cryptogram.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "exp_month": {
            "description": "Two-digit number representing the card's expiration month.",
            "type": "integer"
          },
          "exp_year": {
            "description": "Four-digit number representing the card's expiration year.",
            "type": "integer"
          },
          "fingerprint": {
            "description": "Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.\n\n*As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "funding": {
            "description": "Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "generated_card": {
            "description": "ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "iin": {
            "description": "Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "incremental_authorization_supported": {
            "description": "Whether this [PaymentIntent](https://stripe.com/docs/api/payment_intents) is eligible for incremental authorizations. Request support using [request_incremental_authorization_support](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method_options-card_present-request_incremental_authorization_support).",
            "type": "boolean"
          },
          "issuer": {
            "description": "The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "last4": {
            "description": "The last four digits of the card.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "network": {
            "description": "Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "network_transaction_id": {
            "description": "This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "offline": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_method_details_card_present_offline"
              }
            ],
            "description": "Details about payments collected offline.",
            "nullable": true
          },
          "overcapture_supported": {
            "description": "Defines whether the authorized amount can be over-captured or not",
            "type": "boolean"
          },
          "preferred_locales": {
            "description": "EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "read_method": {
            "description": "How card details were read in this transaction.",
            "enum": [
              "contact_emv",
              "contactless_emv",
              "contactless_magstripe_mode",
              "magnetic_stripe_fallback",
              "magnetic_stripe_track2"
            ],
            "nullable": true,
            "type": "string"
          },
          "receipt": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_method_details_card_present_receipt"
              }
            ],
            "description": "A collection of fields required to be displayed on receipts. Only required for EMV transactions.",
            "nullable": true
          },
          "wallet": {
            "$ref": "#/components/schemas/payment_flows_private_payment_methods_card_present_common_wallet"
          }
        },
        "required": [
          "amount_authorized",
          "brand",
          "brand_product",
          "cardholder_name",
          "country",
          "emv_auth_data",
          "exp_month",
          "exp_year",
          "fingerprint",
          "funding",
          "generated_card",
          "incremental_authorization_supported",
          "last4",
          "network",
          "network_transaction_id",
          "offline",
          "overcapture_supported",
          "preferred_locales",
          "read_method",
          "receipt"
        ],
        "title": "payment_method_details_card_present",
        "type": "object",
        "x-expandableFields": [
          "offline",
          "receipt",
          "wallet"
        ],
        "x-stripeMostCommon": [
          "amount_authorized",
          "brand",
          "brand_product",
          "capture_before",
          "cardholder_name",
          "country",
          "description",
          "emv_auth_data",
          "exp_month",
          "exp_year",
          "fingerprint",
          "funding",
          "generated_card",
          "iin",
          "incremental_authorization_supported",
          "issuer",
          "last4",
          "network",
          "network_transaction_id",
          "offline",
          "overcapture_supported",
          "preferred_locales",
          "read_method",
          "receipt",
          "wallet"
        ]
      },
      "payment_method_details_card_present_offline": {
        "description": "",
        "properties": {
          "stored_at": {
            "description": "Time at which the payment was collected while offline",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "type": {
            "description": "The method used to process this payment method offline. Only deferred is allowed.",
            "enum": [
              "deferred"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "stored_at",
          "type"
        ],
        "title": "payment_method_details_card_present_offline",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "stored_at",
          "type"
        ],
        "x-stripeResource": {
          "class_name": "Offline",
          "in_package": ""
        }
      },
      "payment_method_details_card_present_receipt": {
        "description": "",
        "properties": {
          "account_type": {
            "description": "The type of account being debited or credited",
            "enum": [
              "checking",
              "credit",
              "prepaid",
              "unknown"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "application_cryptogram": {
            "description": "EMV tag 9F26, cryptogram generated by the integrated circuit chip.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "application_preferred_name": {
            "description": "Mnenomic of the Application Identifier.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "authorization_code": {
            "description": "Identifier for this transaction.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "authorization_response_code": {
            "description": "EMV tag 8A. A code returned by the card issuer.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "cardholder_verification_method": {
            "description": "Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "dedicated_file_name": {
            "description": "EMV tag 84. Similar to the application identifier stored on the integrated circuit chip.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "terminal_verification_results": {
            "description": "The outcome of a series of EMV functions performed by the card reader.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "transaction_status_information": {
            "description": "An indication of various EMV functions performed during the transaction.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "application_cryptogram",
          "application_preferred_name",
          "authorization_code",
          "authorization_response_code",
          "cardholder_verification_method",
          "dedicated_file_name",
          "terminal_verification_results",
          "transaction_status_information"
        ],
        "title": "payment_method_details_card_present_receipt",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "account_type",
          "application_cryptogram",
          "application_preferred_name",
          "authorization_code",
          "authorization_response_code",
          "cardholder_verification_method",
          "dedicated_file_name",
          "terminal_verification_results",
          "transaction_status_information"
        ]
      },
      "payment_method_details_card_wallet": {
        "description": "",
        "properties": {
          "amex_express_checkout": {
            "$ref": "#/components/schemas/payment_method_details_card_wallet_amex_express_checkout"
          },
          "apple_pay": {
            "$ref": "#/components/schemas/payment_method_details_card_wallet_apple_pay"
          },
          "dynamic_last4": {
            "description": "(For tokenized numbers only.) The last four digits of the device account number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "google_pay": {
            "$ref": "#/components/schemas/payment_method_details_card_wallet_google_pay"
          },
          "link": {
            "$ref": "#/components/schemas/payment_method_details_card_wallet_link"
          },
          "masterpass": {
            "$ref": "#/components/schemas/payment_method_details_card_wallet_masterpass"
          },
          "samsung_pay": {
            "$ref": "#/components/schemas/payment_method_details_card_wallet_samsung_pay"
          },
          "type": {
            "description": "The type of the card wallet, one of `amex_express_checkout`, `apple_pay`, `google_pay`, `masterpass`, `samsung_pay`, `visa_checkout`, or `link`. An additional hash is included on the Wallet subhash with a name matching this value. It contains additional information specific to the card wallet type.",
            "enum": [
              "amex_express_checkout",
              "apple_pay",
              "google_pay",
              "link",
              "masterpass",
              "samsung_pay",
              "visa_checkout"
            ],
            "type": "string"
          },
          "visa_checkout": {
            "$ref": "#/components/schemas/payment_method_details_card_wallet_visa_checkout"
          }
        },
        "required": [
          "dynamic_last4",
          "type"
        ],
        "title": "payment_method_details_card_wallet",
        "type": "object",
        "x-expandableFields": [
          "amex_express_checkout",
          "apple_pay",
          "google_pay",
          "link",
          "masterpass",
          "samsung_pay",
          "visa_checkout"
        ],
        "x-stripeMostCommon": [
          "amex_express_checkout",
          "apple_pay",
          "dynamic_last4",
          "google_pay",
          "link",
          "masterpass",
          "samsung_pay",
          "type",
          "visa_checkout"
        ]
      },
      "payment_method_details_card_wallet_amex_express_checkout": {
        "description": "",
        "properties": {},
        "title": "payment_method_details_card_wallet_amex_express_checkout",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_details_card_wallet_apple_pay": {
        "description": "",
        "properties": {},
        "title": "payment_method_details_card_wallet_apple_pay",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_details_card_wallet_google_pay": {
        "description": "",
        "properties": {},
        "title": "payment_method_details_card_wallet_google_pay",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_details_card_wallet_link": {
        "description": "",
        "properties": {},
        "title": "payment_method_details_card_wallet_link",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_details_card_wallet_masterpass": {
        "description": "",
        "properties": {
          "billing_address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/address"
              }
            ],
            "description": "Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "nullable": true
          },
          "email": {
            "description": "Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "name": {
            "description": "Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "shipping_address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/address"
              }
            ],
            "description": "Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "nullable": true
          }
        },
        "required": [
          "billing_address",
          "email",
          "name",
          "shipping_address"
        ],
        "title": "payment_method_details_card_wallet_masterpass",
        "type": "object",
        "x-expandableFields": [
          "billing_address",
          "shipping_address"
        ],
        "x-stripeMostCommon": [
          "billing_address",
          "email",
          "name",
          "shipping_address"
        ]
      },
      "payment_method_details_card_wallet_samsung_pay": {
        "description": "",
        "properties": {},
        "title": "payment_method_details_card_wallet_samsung_pay",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_details_card_wallet_visa_checkout": {
        "description": "",
        "properties": {
          "billing_address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/address"
              }
            ],
            "description": "Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "nullable": true
          },
          "email": {
            "description": "Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "name": {
            "description": "Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "shipping_address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/address"
              }
            ],
            "description": "Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "nullable": true
          }
        },
        "required": [
          "billing_address",
          "email",
          "name",
          "shipping_address"
        ],
        "title": "payment_method_details_card_wallet_visa_checkout",
        "type": "object",
        "x-expandableFields": [
          "billing_address",
          "shipping_address"
        ],
        "x-stripeMostCommon": [
          "billing_address",
          "email",
          "name",
          "shipping_address"
        ]
      },
      "payment_method_details_cashapp": {
        "description": "",
        "properties": {
          "buyer_id": {
            "description": "A unique and immutable identifier assigned by Cash App to every buyer.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "cashtag": {
            "description": "A public identifier for buyers using Cash App.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "buyer_id",
          "cashtag"
        ],
        "title": "payment_method_details_cashapp",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "buyer_id",
          "cashtag"
        ]
      },
      "payment_method_details_customer_balance": {
        "description": "",
        "properties": {},
        "title": "payment_method_details_customer_balance",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_details_eps": {
        "description": "",
        "properties": {
          "bank": {
            "description": "The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`.",
            "enum": [
              "arzte_und_apotheker_bank",
              "austrian_anadi_bank_ag",
              "bank_austria",
              "bankhaus_carl_spangler",
              "bankhaus_schelhammer_und_schattera_ag",
              "bawag_psk_ag",
              "bks_bank_ag",
              "brull_kallmus_bank_ag",
              "btv_vier_lander_bank",
              "capital_bank_grawe_gruppe_ag",
              "deutsche_bank_ag",
              "dolomitenbank",
              "easybank_ag",
              "erste_bank_und_sparkassen",
              "hypo_alpeadriabank_international_ag",
              "hypo_bank_burgenland_aktiengesellschaft",
              "hypo_noe_lb_fur_niederosterreich_u_wien",
              "hypo_oberosterreich_salzburg_steiermark",
              "hypo_tirol_bank_ag",
              "hypo_vorarlberg_bank_ag",
              "marchfelder_bank",
              "oberbank_ag",
              "raiffeisen_bankengruppe_osterreich",
              "schoellerbank_ag",
              "sparda_bank_wien",
              "volksbank_gruppe",
              "volkskreditbank_ag",
              "vr_bank_braunau"
            ],
            "nullable": true,
            "type": "string"
          },
          "verified_name": {
            "description": "Owner's verified full name. Values are verified or provided by EPS directly\n(if supported) at the time of authorization or settlement. They cannot be set or mutated.\nEPS rarely provides this information so the attribute is usually empty.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "bank",
          "verified_name"
        ],
        "title": "payment_method_details_eps",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "bank",
          "verified_name"
        ]
      },
      "payment_method_details_fpx": {
        "description": "",
        "properties": {
          "account_holder_type": {
            "description": "Account holder type, if provided. Can be one of `individual` or `company`.",
            "enum": [
              "company",
              "individual"
            ],
            "nullable": true,
            "type": "string"
          },
          "bank": {
            "description": "The customer's bank. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `pb_enterprise`, or `bank_of_china`.",
            "enum": [
              "affin_bank",
              "agrobank",
              "alliance_bank",
              "ambank",
              "bank_islam",
              "bank_muamalat",
              "bank_of_china",
              "bank_rakyat",
              "bsn",
              "cimb",
              "deutsche_bank",
              "hong_leong_bank",
              "hsbc",
              "kfh",
              "maybank2e",
              "maybank2u",
              "ocbc",
              "pb_enterprise",
              "public_bank",
              "rhb",
              "standard_chartered",
              "uob"
            ],
            "type": "string"
          },
          "transaction_id": {
            "description": "Unique transaction id generated by FPX for every request from the merchant",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "account_holder_type",
          "bank",
          "transaction_id"
        ],
        "title": "payment_method_details_fpx",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "account_holder_type",
          "bank",
          "transaction_id"
        ]
      },
      "payment_method_details_giropay": {
        "description": "",
        "properties": {
          "bank_code": {
            "description": "Bank code of bank associated with the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "bank_name": {
            "description": "Name of the bank associated with the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "bic": {
            "description": "Bank Identifier Code of the bank associated with the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "verified_name": {
            "description": "Owner's verified full name. Values are verified or provided by Giropay directly\n(if supported) at the time of authorization or settlement. They cannot be set or mutated.\nGiropay rarely provides this information so the attribute is usually empty.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "bank_code",
          "bank_name",
          "bic",
          "verified_name"
        ],
        "title": "payment_method_details_giropay",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "bank_code",
          "bank_name",
          "bic",
          "verified_name"
        ]
      },
      "payment_method_details_grabpay": {
        "description": "",
        "properties": {
          "transaction_id": {
            "description": "Unique transaction id generated by GrabPay",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "transaction_id"
        ],
        "title": "payment_method_details_grabpay",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "transaction_id"
        ]
      },
      "payment_method_details_ideal": {
        "description": "",
        "properties": {
          "bank": {
            "description": "The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.",
            "enum": [
              "abn_amro",
              "asn_bank",
              "bunq",
              "handelsbanken",
              "ing",
              "knab",
              "moneyou",
              "n26",
              "nn",
              "rabobank",
              "regiobank",
              "revolut",
              "sns_bank",
              "triodos_bank",
              "van_lanschot",
              "yoursafe"
            ],
            "nullable": true,
            "type": "string"
          },
          "bic": {
            "description": "The Bank Identifier Code of the customer's bank.",
            "enum": [
              "ABNANL2A",
              "ASNBNL21",
              "BITSNL2A",
              "BUNQNL2A",
              "FVLBNL22",
              "HANDNL2A",
              "INGBNL2A",
              "KNABNL2H",
              "MOYONL21",
              "NNBANL2G",
              "NTSBDEB1",
              "RABONL2U",
              "RBRBNL21",
              "REVOIE23",
              "REVOLT21",
              "SNSBNL2A",
              "TRIONL2U"
            ],
            "nullable": true,
            "type": "string"
          },
          "generated_sepa_debit": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_method"
              }
            ],
            "description": "The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_method"
                }
              ]
            }
          },
          "generated_sepa_debit_mandate": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/mandate"
              }
            ],
            "description": "The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/mandate"
                }
              ]
            }
          },
          "iban_last4": {
            "description": "Last four characters of the IBAN.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "verified_name": {
            "description": "Owner's verified full name. Values are verified or provided by iDEAL directly\n(if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "bank",
          "bic",
          "generated_sepa_debit",
          "generated_sepa_debit_mandate",
          "iban_last4",
          "verified_name"
        ],
        "title": "payment_method_details_ideal",
        "type": "object",
        "x-expandableFields": [
          "generated_sepa_debit",
          "generated_sepa_debit_mandate"
        ],
        "x-stripeMostCommon": [
          "bank",
          "bic",
          "generated_sepa_debit",
          "generated_sepa_debit_mandate",
          "iban_last4",
          "verified_name"
        ]
      },
      "payment_method_details_interac_present": {
        "description": "",
        "properties": {
          "brand": {
            "description": "Card brand. Can be `interac`, `mastercard` or `visa`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "cardholder_name": {
            "description": "The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "country": {
            "description": "Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "description": {
            "description": "A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "emv_auth_data": {
            "description": "Authorization response cryptogram.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "exp_month": {
            "description": "Two-digit number representing the card's expiration month.",
            "type": "integer"
          },
          "exp_year": {
            "description": "Four-digit number representing the card's expiration year.",
            "type": "integer"
          },
          "fingerprint": {
            "description": "Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.\n\n*As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "funding": {
            "description": "Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "generated_card": {
            "description": "ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "iin": {
            "description": "Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "issuer": {
            "description": "The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "last4": {
            "description": "The last four digits of the card.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "network": {
            "description": "Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "network_transaction_id": {
            "description": "This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "preferred_locales": {
            "description": "EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "read_method": {
            "description": "How card details were read in this transaction.",
            "enum": [
              "contact_emv",
              "contactless_emv",
              "contactless_magstripe_mode",
              "magnetic_stripe_fallback",
              "magnetic_stripe_track2"
            ],
            "nullable": true,
            "type": "string"
          },
          "receipt": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_method_details_interac_present_receipt"
              }
            ],
            "description": "A collection of fields required to be displayed on receipts. Only required for EMV transactions.",
            "nullable": true
          }
        },
        "required": [
          "brand",
          "cardholder_name",
          "country",
          "emv_auth_data",
          "exp_month",
          "exp_year",
          "fingerprint",
          "funding",
          "generated_card",
          "last4",
          "network",
          "network_transaction_id",
          "preferred_locales",
          "read_method",
          "receipt"
        ],
        "title": "payment_method_details_interac_present",
        "type": "object",
        "x-expandableFields": [
          "receipt"
        ],
        "x-stripeMostCommon": [
          "brand",
          "cardholder_name",
          "country",
          "description",
          "emv_auth_data",
          "exp_month",
          "exp_year",
          "fingerprint",
          "funding",
          "generated_card",
          "iin",
          "issuer",
          "last4",
          "network",
          "network_transaction_id",
          "preferred_locales",
          "read_method",
          "receipt"
        ]
      },
      "payment_method_details_interac_present_receipt": {
        "description": "",
        "properties": {
          "account_type": {
            "description": "The type of account being debited or credited",
            "enum": [
              "checking",
              "savings",
              "unknown"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "application_cryptogram": {
            "description": "EMV tag 9F26, cryptogram generated by the integrated circuit chip.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "application_preferred_name": {
            "description": "Mnenomic of the Application Identifier.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "authorization_code": {
            "description": "Identifier for this transaction.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "authorization_response_code": {
            "description": "EMV tag 8A. A code returned by the card issuer.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "cardholder_verification_method": {
            "description": "Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "dedicated_file_name": {
            "description": "EMV tag 84. Similar to the application identifier stored on the integrated circuit chip.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "terminal_verification_results": {
            "description": "The outcome of a series of EMV functions performed by the card reader.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "transaction_status_information": {
            "description": "An indication of various EMV functions performed during the transaction.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "application_cryptogram",
          "application_preferred_name",
          "authorization_code",
          "authorization_response_code",
          "cardholder_verification_method",
          "dedicated_file_name",
          "terminal_verification_results",
          "transaction_status_information"
        ],
        "title": "payment_method_details_interac_present_receipt",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "account_type",
          "application_cryptogram",
          "application_preferred_name",
          "authorization_code",
          "authorization_response_code",
          "cardholder_verification_method",
          "dedicated_file_name",
          "terminal_verification_results",
          "transaction_status_information"
        ],
        "x-stripeResource": {
          "class_name": "Receipt",
          "in_package": ""
        }
      },
      "payment_method_details_kakao_pay": {
        "description": "",
        "properties": {
          "buyer_id": {
            "description": "A unique identifier for the buyer as determined by the local payment processor.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "buyer_id"
        ],
        "title": "payment_method_details_kakao_pay",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "buyer_id"
        ],
        "x-stripeResource": {
          "class_name": "KakaoPay",
          "in_package": ""
        }
      },
      "payment_method_details_klarna": {
        "description": "",
        "properties": {
          "payer_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/klarna_payer_details"
              }
            ],
            "description": "The payer details for this transaction.",
            "nullable": true
          },
          "payment_method_category": {
            "description": "The Klarna payment method used for this transaction.\nCan be one of `pay_later`, `pay_now`, `pay_with_financing`, or `pay_in_installments`",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "preferred_locale": {
            "description": "Preferred language of the Klarna authorization page that the customer is redirected to.\nCan be one of `de-AT`, `en-AT`, `nl-BE`, `fr-BE`, `en-BE`, `de-DE`, `en-DE`, `da-DK`, `en-DK`, `es-ES`, `en-ES`, `fi-FI`, `sv-FI`, `en-FI`, `en-GB`, `en-IE`, `it-IT`, `en-IT`, `nl-NL`, `en-NL`, `nb-NO`, `en-NO`, `sv-SE`, `en-SE`, `en-US`, `es-US`, `fr-FR`, `en-FR`, `cs-CZ`, `en-CZ`, `ro-RO`, `en-RO`, `el-GR`, `en-GR`, `en-AU`, `en-NZ`, `en-CA`, `fr-CA`, `pl-PL`, `en-PL`, `pt-PT`, `en-PT`, `de-CH`, `fr-CH`, `it-CH`, or `en-CH`",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "payer_details",
          "payment_method_category",
          "preferred_locale"
        ],
        "title": "payment_method_details_klarna",
        "type": "object",
        "x-expandableFields": [
          "payer_details"
        ],
        "x-stripeMostCommon": [
          "payer_details",
          "payment_method_category",
          "preferred_locale"
        ]
      },
      "payment_method_details_konbini": {
        "description": "",
        "properties": {
          "store": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_method_details_konbini_store"
              }
            ],
            "description": "If the payment succeeded, this contains the details of the convenience store where the payment was completed.",
            "nullable": true
          }
        },
        "required": [
          "store"
        ],
        "title": "payment_method_details_konbini",
        "type": "object",
        "x-expandableFields": [
          "store"
        ],
        "x-stripeMostCommon": [
          "store"
        ]
      },
      "payment_method_details_konbini_store": {
        "description": "",
        "properties": {
          "chain": {
            "description": "The name of the convenience store chain where the payment was completed.",
            "enum": [
              "familymart",
              "lawson",
              "ministop",
              "seicomart"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "chain"
        ],
        "title": "payment_method_details_konbini_store",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "chain"
        ]
      },
      "payment_method_details_kr_card": {
        "description": "",
        "properties": {
          "brand": {
            "description": "The local credit or debit card brand.",
            "enum": [
              "bc",
              "citi",
              "hana",
              "hyundai",
              "jeju",
              "jeonbuk",
              "kakaobank",
              "kbank",
              "kdbbank",
              "kookmin",
              "kwangju",
              "lotte",
              "mg",
              "nh",
              "post",
              "samsung",
              "savingsbank",
              "shinhan",
              "shinhyup",
              "suhyup",
              "tossbank",
              "woori"
            ],
            "nullable": true,
            "type": "string"
          },
          "buyer_id": {
            "description": "A unique identifier for the buyer as determined by the local payment processor.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "last4": {
            "description": "The last four digits of the card. This may not be present for American Express cards.",
            "maxLength": 4,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "brand",
          "buyer_id",
          "last4"
        ],
        "title": "payment_method_details_kr_card",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "brand",
          "buyer_id",
          "last4"
        ],
        "x-stripeResource": {
          "class_name": "KrCard",
          "in_package": ""
        }
      },
      "payment_method_details_link": {
        "description": "",
        "properties": {
          "country": {
            "description": "Two-letter ISO code representing the funding source country beneath the Link payment.\nYou could use this attribute to get a sense of international fees.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "country"
        ],
        "title": "payment_method_details_link",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "country"
        ]
      },
      "payment_method_details_mobilepay": {
        "description": "",
        "properties": {
          "card": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/internal_card"
              }
            ],
            "description": "Internal card details",
            "nullable": true
          }
        },
        "required": [
          "card"
        ],
        "title": "payment_method_details_mobilepay",
        "type": "object",
        "x-expandableFields": [
          "card"
        ],
        "x-stripeMostCommon": [
          "card"
        ]
      },
      "payment_method_details_multibanco": {
        "description": "",
        "properties": {
          "entity": {
            "description": "Entity number associated with this Multibanco payment.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "reference": {
            "description": "Reference number associated with this Multibanco payment.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "entity",
          "reference"
        ],
        "title": "payment_method_details_multibanco",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "entity",
          "reference"
        ]
      },
      "payment_method_details_naver_pay": {
        "description": "",
        "properties": {
          "buyer_id": {
            "description": "A unique identifier for the buyer as determined by the local payment processor.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "buyer_id"
        ],
        "title": "payment_method_details_naver_pay",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "buyer_id"
        ],
        "x-stripeResource": {
          "class_name": "NaverPay",
          "in_package": ""
        }
      },
      "payment_method_details_oxxo": {
        "description": "",
        "properties": {
          "number": {
            "description": "OXXO reference number",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "number"
        ],
        "title": "payment_method_details_oxxo",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "number"
        ]
      },
      "payment_method_details_p24": {
        "description": "",
        "properties": {
          "bank": {
            "description": "The customer's bank. Can be one of `ing`, `citi_handlowy`, `tmobile_usbugi_bankowe`, `plus_bank`, `etransfer_pocztowy24`, `banki_spbdzielcze`, `bank_nowy_bfg_sa`, `getin_bank`, `velobank`, `blik`, `noble_pay`, `ideabank`, `envelobank`, `santander_przelew24`, `nest_przelew`, `mbank_mtransfer`, `inteligo`, `pbac_z_ipko`, `bnp_paribas`, `credit_agricole`, `toyota_bank`, `bank_pekao_sa`, `volkswagen_bank`, `bank_millennium`, `alior_bank`, or `boz`.",
            "enum": [
              "alior_bank",
              "bank_millennium",
              "bank_nowy_bfg_sa",
              "bank_pekao_sa",
              "banki_spbdzielcze",
              "blik",
              "bnp_paribas",
              "boz",
              "citi_handlowy",
              "credit_agricole",
              "envelobank",
              "etransfer_pocztowy24",
              "getin_bank",
              "ideabank",
              "ing",
              "inteligo",
              "mbank_mtransfer",
              "nest_przelew",
              "noble_pay",
              "pbac_z_ipko",
              "plus_bank",
              "santander_przelew24",
              "tmobile_usbugi_bankowe",
              "toyota_bank",
              "velobank",
              "volkswagen_bank"
            ],
            "nullable": true,
            "type": "string"
          },
          "reference": {
            "description": "Unique reference for this Przelewy24 payment.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "verified_name": {
            "description": "Owner's verified full name. Values are verified or provided by Przelewy24 directly\n(if supported) at the time of authorization or settlement. They cannot be set or mutated.\nPrzelewy24 rarely provides this information so the attribute is usually empty.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "bank",
          "reference",
          "verified_name"
        ],
        "title": "payment_method_details_p24",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "bank",
          "reference",
          "verified_name"
        ]
      },
      "payment_method_details_payco": {
        "description": "",
        "properties": {
          "buyer_id": {
            "description": "A unique identifier for the buyer as determined by the local payment processor.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "buyer_id"
        ],
        "title": "payment_method_details_payco",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "buyer_id"
        ],
        "x-stripeResource": {
          "class_name": "Payco",
          "in_package": ""
        }
      },
      "payment_method_details_paynow": {
        "description": "",
        "properties": {
          "reference": {
            "description": "Reference number associated with this PayNow payment",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "reference"
        ],
        "title": "payment_method_details_paynow",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "reference"
        ]
      },
      "payment_method_details_paypal": {
        "description": "",
        "properties": {
          "payer_email": {
            "description": "Owner's email. Values are provided by PayPal directly\n(if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "payer_id": {
            "description": "PayPal account PayerID. This identifier uniquely identifies the PayPal customer.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "payer_name": {
            "description": "Owner's full name. Values provided by PayPal directly\n(if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "seller_protection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/paypal_seller_protection"
              }
            ],
            "description": "The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.",
            "nullable": true
          },
          "transaction_id": {
            "description": "A unique ID generated by PayPal for this transaction.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "payer_email",
          "payer_id",
          "payer_name",
          "seller_protection",
          "transaction_id"
        ],
        "title": "payment_method_details_paypal",
        "type": "object",
        "x-expandableFields": [
          "seller_protection"
        ],
        "x-stripeMostCommon": [
          "payer_email",
          "payer_id",
          "payer_name",
          "seller_protection",
          "transaction_id"
        ]
      },
      "payment_method_details_pix": {
        "description": "",
        "properties": {
          "bank_transaction_id": {
            "description": "Unique transaction id generated by BCB",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "title": "payment_method_details_pix",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "bank_transaction_id"
        ]
      },
      "payment_method_details_promptpay": {
        "description": "",
        "properties": {
          "reference": {
            "description": "Bill reference generated by PromptPay",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "reference"
        ],
        "title": "payment_method_details_promptpay",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "reference"
        ]
      },
      "payment_method_details_revolut_pay": {
        "description": "",
        "properties": {},
        "title": "payment_method_details_revolut_pay",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_details_samsung_pay": {
        "description": "",
        "properties": {
          "buyer_id": {
            "description": "A unique identifier for the buyer as determined by the local payment processor.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "buyer_id"
        ],
        "title": "payment_method_details_samsung_pay",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "buyer_id"
        ],
        "x-stripeResource": {
          "class_name": "SamsungPay",
          "in_package": ""
        }
      },
      "payment_method_details_sepa_credit_transfer": {
        "description": "",
        "properties": {
          "bank_name": {
            "description": "Name of the bank associated with the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "bic": {
            "description": "Bank Identifier Code of the bank associated with the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "iban": {
            "description": "IBAN of the bank account to transfer funds to.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "bank_name",
          "bic",
          "iban"
        ],
        "title": "payment_method_details_sepa_credit_transfer",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "bank_name",
          "bic",
          "iban"
        ]
      },
      "payment_method_details_sepa_debit": {
        "description": "",
        "properties": {
          "bank_code": {
            "description": "Bank code of bank associated with the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "branch_code": {
            "description": "Branch code of bank associated with the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "country": {
            "description": "Two-letter ISO code representing the country the bank account is located in.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "fingerprint": {
            "description": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "last4": {
            "description": "Last four characters of the IBAN.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "mandate": {
            "description": "Find the ID of the mandate used for this payment under the [payment_method_details.sepa_debit.mandate](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-sepa_debit-mandate) property on the Charge. Use this mandate ID to [retrieve the Mandate](https://stripe.com/docs/api/mandates/retrieve).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "bank_code",
          "branch_code",
          "country",
          "fingerprint",
          "last4",
          "mandate"
        ],
        "title": "payment_method_details_sepa_debit",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "bank_code",
          "branch_code",
          "country",
          "fingerprint",
          "last4",
          "mandate"
        ]
      },
      "payment_method_details_sofort": {
        "description": "",
        "properties": {
          "bank_code": {
            "description": "Bank code of bank associated with the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "bank_name": {
            "description": "Name of the bank associated with the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "bic": {
            "description": "Bank Identifier Code of the bank associated with the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "country": {
            "description": "Two-letter ISO code representing the country the bank account is located in.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "generated_sepa_debit": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_method"
              }
            ],
            "description": "The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_method"
                }
              ]
            }
          },
          "generated_sepa_debit_mandate": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/mandate"
              }
            ],
            "description": "The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/mandate"
                }
              ]
            }
          },
          "iban_last4": {
            "description": "Last four characters of the IBAN.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "preferred_language": {
            "description": "Preferred language of the SOFORT authorization page that the customer is redirected to.\nCan be one of `de`, `en`, `es`, `fr`, `it`, `nl`, or `pl`",
            "enum": [
              "de",
              "en",
              "es",
              "fr",
              "it",
              "nl",
              "pl"
            ],
            "nullable": true,
            "type": "string"
          },
          "verified_name": {
            "description": "Owner's verified full name. Values are verified or provided by SOFORT directly\n(if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "bank_code",
          "bank_name",
          "bic",
          "country",
          "generated_sepa_debit",
          "generated_sepa_debit_mandate",
          "iban_last4",
          "preferred_language",
          "verified_name"
        ],
        "title": "payment_method_details_sofort",
        "type": "object",
        "x-expandableFields": [
          "generated_sepa_debit",
          "generated_sepa_debit_mandate"
        ],
        "x-stripeMostCommon": [
          "bank_code",
          "bank_name",
          "bic",
          "country",
          "generated_sepa_debit",
          "generated_sepa_debit_mandate",
          "iban_last4",
          "preferred_language",
          "verified_name"
        ]
      },
      "payment_method_details_stripe_account": {
        "description": "",
        "properties": {},
        "title": "payment_method_details_stripe_account",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_details_swish": {
        "description": "",
        "properties": {
          "fingerprint": {
            "description": "Uniquely identifies the payer's Swish account. You can use this attribute to check whether two Swish transactions were paid for by the same payer",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "payment_reference": {
            "description": "Payer bank reference number for the payment",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "verified_phone_last4": {
            "description": "The last four digits of the Swish account phone number",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "fingerprint",
          "payment_reference",
          "verified_phone_last4"
        ],
        "title": "payment_method_details_swish",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "fingerprint",
          "payment_reference",
          "verified_phone_last4"
        ]
      },
      "payment_method_details_twint": {
        "description": "",
        "properties": {},
        "title": "payment_method_details_twint",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_details_us_bank_account": {
        "description": "",
        "properties": {
          "account_holder_type": {
            "description": "Account holder type: individual or company.",
            "enum": [
              "company",
              "individual"
            ],
            "nullable": true,
            "type": "string"
          },
          "account_type": {
            "description": "Account type: checkings or savings. Defaults to checking if omitted.",
            "enum": [
              "checking",
              "savings"
            ],
            "nullable": true,
            "type": "string"
          },
          "bank_name": {
            "description": "Name of the bank associated with the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "fingerprint": {
            "description": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "last4": {
            "description": "Last four digits of the bank account number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "mandate": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/mandate"
              }
            ],
            "description": "ID of the mandate used to make this payment.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/mandate"
                }
              ]
            }
          },
          "payment_reference": {
            "description": "Reference number to locate ACH payments with customer's bank.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "routing_number": {
            "description": "Routing number of the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "account_holder_type",
          "account_type",
          "bank_name",
          "fingerprint",
          "last4",
          "payment_reference",
          "routing_number"
        ],
        "title": "payment_method_details_us_bank_account",
        "type": "object",
        "x-expandableFields": [
          "mandate"
        ],
        "x-stripeMostCommon": [
          "account_holder_type",
          "account_type",
          "bank_name",
          "fingerprint",
          "last4",
          "mandate",
          "payment_reference",
          "routing_number"
        ]
      },
      "payment_method_details_wechat": {
        "description": "",
        "properties": {},
        "title": "payment_method_details_wechat",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_details_wechat_pay": {
        "description": "",
        "properties": {
          "fingerprint": {
            "description": "Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "transaction_id": {
            "description": "Transaction ID of this particular WeChat Pay transaction.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "fingerprint",
          "transaction_id"
        ],
        "title": "payment_method_details_wechat_pay",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "fingerprint",
          "transaction_id"
        ]
      },
      "payment_method_details_zip": {
        "description": "",
        "properties": {},
        "title": "payment_method_details_zip",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_domain": {
        "description": "A payment method domain represents a web domain that you have registered with Stripe.\nStripe Elements use registered payment method domains to control where certain payment methods are shown.\n\nRelated guide: [Payment method domains](https://stripe.com/docs/payments/payment-methods/pmd-registration).",
        "properties": {
          "amazon_pay": {
            "$ref": "#/components/schemas/payment_method_domain_resource_payment_method_status"
          },
          "apple_pay": {
            "$ref": "#/components/schemas/payment_method_domain_resource_payment_method_status"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "domain_name": {
            "description": "The domain name that this payment method domain object represents.",
            "maxLength": 5000,
            "type": "string"
          },
          "enabled": {
            "description": "Whether this payment method domain is enabled. If the domain is not enabled, payment methods that require a payment method domain will not appear in Elements.",
            "type": "boolean"
          },
          "google_pay": {
            "$ref": "#/components/schemas/payment_method_domain_resource_payment_method_status"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "link": {
            "$ref": "#/components/schemas/payment_method_domain_resource_payment_method_status"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "payment_method_domain"
            ],
            "type": "string"
          },
          "paypal": {
            "$ref": "#/components/schemas/payment_method_domain_resource_payment_method_status"
          }
        },
        "required": [
          "amazon_pay",
          "apple_pay",
          "created",
          "domain_name",
          "enabled",
          "google_pay",
          "id",
          "link",
          "livemode",
          "object",
          "paypal"
        ],
        "title": "PaymentMethodDomainResourcePaymentMethodDomain",
        "type": "object",
        "x-expandableFields": [
          "amazon_pay",
          "apple_pay",
          "google_pay",
          "link",
          "paypal"
        ],
        "x-resourceId": "payment_method_domain",
        "x-stripeMostCommon": [
          "domain_name",
          "enabled",
          "id"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/payment_method_domains"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/payment_method_domains/{payment_method_domain}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/payment_method_domains"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/payment_method_domains/{payment_method_domain}"
          },
          {
            "method_name": "validate",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/payment_method_domains/{payment_method_domain}/validate"
          }
        ],
        "x-stripeResource": {
          "class_name": "PaymentMethodDomain",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "payment_method_domain_resource_payment_method_status": {
        "description": "Indicates the status of a specific payment method on a payment method domain.",
        "properties": {
          "status": {
            "description": "The status of the payment method on the domain.",
            "enum": [
              "active",
              "inactive"
            ],
            "type": "string"
          },
          "status_details": {
            "$ref": "#/components/schemas/payment_method_domain_resource_payment_method_status_details"
          }
        },
        "required": [
          "status"
        ],
        "title": "PaymentMethodDomainResourcePaymentMethodStatus",
        "type": "object",
        "x-expandableFields": [
          "status_details"
        ],
        "x-stripeMostCommon": [
          "status"
        ]
      },
      "payment_method_domain_resource_payment_method_status_details": {
        "description": "Contains additional details about the status of a payment method for a specific payment method domain.",
        "properties": {
          "error_message": {
            "description": "The error message associated with the status of the payment method on the domain.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "error_message"
        ],
        "title": "PaymentMethodDomainResourcePaymentMethodStatusDetails",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "error_message"
        ]
      },
      "payment_method_eps": {
        "description": "",
        "properties": {
          "bank": {
            "description": "The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`.",
            "enum": [
              "arzte_und_apotheker_bank",
              "austrian_anadi_bank_ag",
              "bank_austria",
              "bankhaus_carl_spangler",
              "bankhaus_schelhammer_und_schattera_ag",
              "bawag_psk_ag",
              "bks_bank_ag",
              "brull_kallmus_bank_ag",
              "btv_vier_lander_bank",
              "capital_bank_grawe_gruppe_ag",
              "deutsche_bank_ag",
              "dolomitenbank",
              "easybank_ag",
              "erste_bank_und_sparkassen",
              "hypo_alpeadriabank_international_ag",
              "hypo_bank_burgenland_aktiengesellschaft",
              "hypo_noe_lb_fur_niederosterreich_u_wien",
              "hypo_oberosterreich_salzburg_steiermark",
              "hypo_tirol_bank_ag",
              "hypo_vorarlberg_bank_ag",
              "marchfelder_bank",
              "oberbank_ag",
              "raiffeisen_bankengruppe_osterreich",
              "schoellerbank_ag",
              "sparda_bank_wien",
              "volksbank_gruppe",
              "volkskreditbank_ag",
              "vr_bank_braunau"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "bank"
        ],
        "title": "payment_method_eps",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "bank"
        ]
      },
      "payment_method_fpx": {
        "description": "",
        "properties": {
          "account_holder_type": {
            "description": "Account holder type, if provided. Can be one of `individual` or `company`.",
            "enum": [
              "company",
              "individual"
            ],
            "nullable": true,
            "type": "string"
          },
          "bank": {
            "description": "The customer's bank, if provided. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `pb_enterprise`, or `bank_of_china`.",
            "enum": [
              "affin_bank",
              "agrobank",
              "alliance_bank",
              "ambank",
              "bank_islam",
              "bank_muamalat",
              "bank_of_china",
              "bank_rakyat",
              "bsn",
              "cimb",
              "deutsche_bank",
              "hong_leong_bank",
              "hsbc",
              "kfh",
              "maybank2e",
              "maybank2u",
              "ocbc",
              "pb_enterprise",
              "public_bank",
              "rhb",
              "standard_chartered",
              "uob"
            ],
            "type": "string"
          }
        },
        "required": [
          "account_holder_type",
          "bank"
        ],
        "title": "payment_method_fpx",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "account_holder_type",
          "bank"
        ]
      },
      "payment_method_giropay": {
        "description": "",
        "properties": {},
        "title": "payment_method_giropay",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_grabpay": {
        "description": "",
        "properties": {},
        "title": "payment_method_grabpay",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_ideal": {
        "description": "",
        "properties": {
          "bank": {
            "description": "The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.",
            "enum": [
              "abn_amro",
              "asn_bank",
              "bunq",
              "handelsbanken",
              "ing",
              "knab",
              "moneyou",
              "n26",
              "nn",
              "rabobank",
              "regiobank",
              "revolut",
              "sns_bank",
              "triodos_bank",
              "van_lanschot",
              "yoursafe"
            ],
            "nullable": true,
            "type": "string"
          },
          "bic": {
            "description": "The Bank Identifier Code of the customer's bank, if the bank was provided.",
            "enum": [
              "ABNANL2A",
              "ASNBNL21",
              "BITSNL2A",
              "BUNQNL2A",
              "FVLBNL22",
              "HANDNL2A",
              "INGBNL2A",
              "KNABNL2H",
              "MOYONL21",
              "NNBANL2G",
              "NTSBDEB1",
              "RABONL2U",
              "RBRBNL21",
              "REVOIE23",
              "REVOLT21",
              "SNSBNL2A",
              "TRIONL2U"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "bank",
          "bic"
        ],
        "title": "payment_method_ideal",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "bank",
          "bic"
        ]
      },
      "payment_method_interac_present": {
        "description": "",
        "properties": {
          "brand": {
            "description": "Card brand. Can be `interac`, `mastercard` or `visa`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "cardholder_name": {
            "description": "The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "country": {
            "description": "Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "description": {
            "description": "A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "exp_month": {
            "description": "Two-digit number representing the card's expiration month.",
            "type": "integer"
          },
          "exp_year": {
            "description": "Four-digit number representing the card's expiration year.",
            "type": "integer"
          },
          "fingerprint": {
            "description": "Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.\n\n*As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "funding": {
            "description": "Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "iin": {
            "description": "Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "issuer": {
            "description": "The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "last4": {
            "description": "The last four digits of the card.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "networks": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_method_card_present_networks"
              }
            ],
            "description": "Contains information about card networks that can be used to process the payment.",
            "nullable": true
          },
          "preferred_locales": {
            "description": "EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "read_method": {
            "description": "How card details were read in this transaction.",
            "enum": [
              "contact_emv",
              "contactless_emv",
              "contactless_magstripe_mode",
              "magnetic_stripe_fallback",
              "magnetic_stripe_track2"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "brand",
          "cardholder_name",
          "country",
          "exp_month",
          "exp_year",
          "fingerprint",
          "funding",
          "last4",
          "networks",
          "preferred_locales",
          "read_method"
        ],
        "title": "payment_method_interac_present",
        "type": "object",
        "x-expandableFields": [
          "networks"
        ],
        "x-stripeMostCommon": [
          "brand",
          "cardholder_name",
          "country",
          "description",
          "exp_month",
          "exp_year",
          "fingerprint",
          "funding",
          "iin",
          "issuer",
          "last4",
          "networks",
          "preferred_locales",
          "read_method"
        ]
      },
      "payment_method_kakao_pay": {
        "description": "",
        "properties": {},
        "title": "payment_method_kakao_pay",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeResource": {
          "class_name": "KakaoPay",
          "in_package": ""
        }
      },
      "payment_method_klarna": {
        "description": "",
        "properties": {
          "dob": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_flows_private_payment_methods_klarna_dob"
              }
            ],
            "description": "The customer's date of birth, if provided.",
            "nullable": true
          }
        },
        "title": "payment_method_klarna",
        "type": "object",
        "x-expandableFields": [
          "dob"
        ],
        "x-stripeMostCommon": [
          "dob"
        ]
      },
      "payment_method_konbini": {
        "description": "",
        "properties": {},
        "title": "payment_method_konbini",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_kr_card": {
        "description": "",
        "properties": {
          "brand": {
            "description": "The local credit or debit card brand.",
            "enum": [
              "bc",
              "citi",
              "hana",
              "hyundai",
              "jeju",
              "jeonbuk",
              "kakaobank",
              "kbank",
              "kdbbank",
              "kookmin",
              "kwangju",
              "lotte",
              "mg",
              "nh",
              "post",
              "samsung",
              "savingsbank",
              "shinhan",
              "shinhyup",
              "suhyup",
              "tossbank",
              "woori"
            ],
            "nullable": true,
            "type": "string"
          },
          "last4": {
            "description": "The last four digits of the card. This may not be present for American Express cards.",
            "maxLength": 4,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "brand",
          "last4"
        ],
        "title": "payment_method_kr_card",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "brand",
          "last4"
        ],
        "x-stripeResource": {
          "class_name": "KrCard",
          "in_package": ""
        }
      },
      "payment_method_link": {
        "description": "",
        "properties": {
          "email": {
            "description": "Account owner's email address.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "persistent_token": {
            "description": "[Deprecated] This is a legacy parameter that no longer has any function.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "email"
        ],
        "title": "payment_method_link",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "email",
          "persistent_token"
        ]
      },
      "payment_method_mobilepay": {
        "description": "",
        "properties": {},
        "title": "payment_method_mobilepay",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_multibanco": {
        "description": "",
        "properties": {},
        "title": "payment_method_multibanco",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_naver_pay": {
        "description": "",
        "properties": {
          "funding": {
            "description": "Whether to fund this transaction with Naver Pay points or a card.",
            "enum": [
              "card",
              "points"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "funding"
        ],
        "title": "payment_method_naver_pay",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "funding"
        ],
        "x-stripeResource": {
          "class_name": "NaverPay",
          "in_package": ""
        }
      },
      "payment_method_options_affirm": {
        "description": "",
        "properties": {
          "capture_method": {
            "description": "Controls when the funds will be captured from the customer's account.",
            "enum": [
              "manual"
            ],
            "type": "string"
          },
          "preferred_locale": {
            "description": "Preferred language of the Affirm authorization page that the customer is redirected to.",
            "maxLength": 30,
            "type": "string"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "title": "payment_method_options_affirm",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "capture_method",
          "preferred_locale",
          "setup_future_usage"
        ]
      },
      "payment_method_options_afterpay_clearpay": {
        "description": "",
        "properties": {
          "capture_method": {
            "description": "Controls when the funds will be captured from the customer's account.",
            "enum": [
              "manual"
            ],
            "type": "string"
          },
          "reference": {
            "description": "An internal identifier or reference that this payment corresponds to. You must limit the identifier to 128 characters, and it can only contain letters, numbers, underscores, backslashes, and dashes.\nThis field differs from the statement descriptor and item name.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "reference"
        ],
        "title": "payment_method_options_afterpay_clearpay",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "capture_method",
          "reference",
          "setup_future_usage"
        ]
      },
      "payment_method_options_alipay": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session"
            ],
            "type": "string"
          }
        },
        "title": "payment_method_options_alipay",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "payment_method_options_alma": {
        "description": "",
        "properties": {
          "capture_method": {
            "description": "Controls when the funds will be captured from the customer's account.",
            "enum": [
              "manual"
            ],
            "type": "string"
          }
        },
        "title": "payment_method_options_alma",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "capture_method"
        ]
      },
      "payment_method_options_amazon_pay": {
        "description": "",
        "properties": {
          "capture_method": {
            "description": "Controls when the funds will be captured from the customer's account.",
            "enum": [
              "manual"
            ],
            "type": "string"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session"
            ],
            "type": "string"
          }
        },
        "title": "payment_method_options_amazon_pay",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "capture_method",
          "setup_future_usage"
        ]
      },
      "payment_method_options_bancontact": {
        "description": "",
        "properties": {
          "preferred_language": {
            "description": "Preferred language of the Bancontact authorization page that the customer is redirected to.",
            "enum": [
              "de",
              "en",
              "fr",
              "nl"
            ],
            "type": "string"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session"
            ],
            "type": "string"
          }
        },
        "required": [
          "preferred_language"
        ],
        "title": "payment_method_options_bancontact",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "preferred_language",
          "setup_future_usage"
        ]
      },
      "payment_method_options_boleto": {
        "description": "",
        "properties": {
          "expires_after_days": {
            "description": "The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto voucher will expire on Wednesday at 23:59 America/Sao_Paulo time.",
            "type": "integer"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session",
              "on_session"
            ],
            "type": "string"
          }
        },
        "required": [
          "expires_after_days"
        ],
        "title": "payment_method_options_boleto",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "expires_after_days",
          "setup_future_usage"
        ]
      },
      "payment_method_options_card_installments": {
        "description": "",
        "properties": {
          "available_plans": {
            "description": "Installment plans that may be selected for this PaymentIntent.",
            "items": {
              "$ref": "#/components/schemas/payment_method_details_card_installments_plan"
            },
            "nullable": true,
            "type": "array"
          },
          "enabled": {
            "description": "Whether Installments are enabled for this PaymentIntent.",
            "type": "boolean"
          },
          "plan": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_method_details_card_installments_plan"
              }
            ],
            "description": "Installment plan selected for this PaymentIntent.",
            "nullable": true
          }
        },
        "required": [
          "available_plans",
          "enabled",
          "plan"
        ],
        "title": "payment_method_options_card_installments",
        "type": "object",
        "x-expandableFields": [
          "available_plans",
          "plan"
        ],
        "x-stripeMostCommon": [
          "available_plans",
          "enabled",
          "plan"
        ]
      },
      "payment_method_options_card_mandate_options": {
        "description": "",
        "properties": {
          "amount": {
            "description": "Amount to be charged for future payments.",
            "type": "integer"
          },
          "amount_type": {
            "description": "One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.",
            "enum": [
              "fixed",
              "maximum"
            ],
            "type": "string"
          },
          "description": {
            "description": "A description of the mandate or subscription that is meant to be displayed to the customer.",
            "maxLength": 200,
            "nullable": true,
            "type": "string"
          },
          "end_date": {
            "description": "End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "interval": {
            "description": "Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.",
            "enum": [
              "day",
              "month",
              "sporadic",
              "week",
              "year"
            ],
            "type": "string"
          },
          "interval_count": {
            "description": "The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.",
            "nullable": true,
            "type": "integer"
          },
          "reference": {
            "description": "Unique identifier for the mandate or subscription.",
            "maxLength": 80,
            "type": "string"
          },
          "start_date": {
            "description": "Start date of the mandate or subscription. Start date should not be lesser than yesterday.",
            "format": "unix-time",
            "type": "integer"
          },
          "supported_types": {
            "description": "Specifies the type of mandates supported. Possible values are `india`.",
            "items": {
              "enum": [
                "india"
              ],
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "required": [
          "amount",
          "amount_type",
          "description",
          "end_date",
          "interval",
          "interval_count",
          "reference",
          "start_date",
          "supported_types"
        ],
        "title": "payment_method_options_card_mandate_options",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "amount",
          "amount_type",
          "description",
          "end_date",
          "interval",
          "interval_count",
          "reference",
          "start_date",
          "supported_types"
        ],
        "x-stripeResource": {
          "class_name": "MandateOptions",
          "in_package": ""
        }
      },
      "payment_method_options_card_present": {
        "description": "",
        "properties": {
          "request_extended_authorization": {
            "description": "Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity)",
            "nullable": true,
            "type": "boolean"
          },
          "request_incremental_authorization_support": {
            "description": "Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.",
            "nullable": true,
            "type": "boolean"
          },
          "routing": {
            "$ref": "#/components/schemas/payment_method_options_card_present_routing"
          }
        },
        "required": [
          "request_extended_authorization",
          "request_incremental_authorization_support"
        ],
        "title": "payment_method_options_card_present",
        "type": "object",
        "x-expandableFields": [
          "routing"
        ],
        "x-stripeMostCommon": [
          "request_extended_authorization",
          "request_incremental_authorization_support",
          "routing"
        ]
      },
      "payment_method_options_card_present_routing": {
        "description": "",
        "properties": {
          "requested_priority": {
            "description": "Requested routing priority",
            "enum": [
              "domestic",
              "international"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "requested_priority"
        ],
        "title": "payment_method_options_card_present_routing",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "requested_priority"
        ],
        "x-stripeResource": {
          "class_name": "Routing",
          "in_package": ""
        }
      },
      "payment_method_options_cashapp": {
        "description": "",
        "properties": {
          "capture_method": {
            "description": "Controls when the funds will be captured from the customer's account.",
            "enum": [
              "manual"
            ],
            "type": "string"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session",
              "on_session"
            ],
            "type": "string"
          }
        },
        "title": "payment_method_options_cashapp",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "capture_method",
          "setup_future_usage"
        ]
      },
      "payment_method_options_customer_balance": {
        "description": "",
        "properties": {
          "bank_transfer": {
            "$ref": "#/components/schemas/payment_method_options_customer_balance_bank_transfer"
          },
          "funding_type": {
            "description": "The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.",
            "enum": [
              "bank_transfer"
            ],
            "nullable": true,
            "type": "string"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "required": [
          "funding_type"
        ],
        "title": "payment_method_options_customer_balance",
        "type": "object",
        "x-expandableFields": [
          "bank_transfer"
        ],
        "x-stripeMostCommon": [
          "bank_transfer",
          "funding_type",
          "setup_future_usage"
        ]
      },
      "payment_method_options_customer_balance_bank_transfer": {
        "description": "",
        "properties": {
          "eu_bank_transfer": {
            "$ref": "#/components/schemas/payment_method_options_customer_balance_eu_bank_account"
          },
          "requested_address_types": {
            "description": "List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.\n\nPermitted values include: `sort_code`, `zengin`, `iban`, or `spei`.",
            "items": {
              "enum": [
                "aba",
                "iban",
                "sepa",
                "sort_code",
                "spei",
                "swift",
                "zengin"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "type": "array"
          },
          "type": {
            "description": "The bank transfer type that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.",
            "enum": [
              "eu_bank_transfer",
              "gb_bank_transfer",
              "jp_bank_transfer",
              "mx_bank_transfer",
              "us_bank_transfer"
            ],
            "nullable": true,
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "type"
        ],
        "title": "payment_method_options_customer_balance_bank_transfer",
        "type": "object",
        "x-expandableFields": [
          "eu_bank_transfer"
        ],
        "x-stripeMostCommon": [
          "eu_bank_transfer",
          "requested_address_types",
          "type"
        ]
      },
      "payment_method_options_customer_balance_eu_bank_account": {
        "description": "",
        "properties": {
          "country": {
            "description": "The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.",
            "enum": [
              "BE",
              "DE",
              "ES",
              "FR",
              "IE",
              "NL"
            ],
            "type": "string"
          }
        },
        "required": [
          "country"
        ],
        "title": "payment_method_options_customer_balance_eu_bank_account",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "country"
        ]
      },
      "payment_method_options_fpx": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "title": "payment_method_options_fpx",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "payment_method_options_giropay": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "title": "payment_method_options_giropay",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "payment_method_options_grabpay": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "title": "payment_method_options_grabpay",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "payment_method_options_ideal": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session"
            ],
            "type": "string"
          }
        },
        "title": "payment_method_options_ideal",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "payment_method_options_interac_present": {
        "description": "",
        "properties": {},
        "title": "payment_method_options_interac_present",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_options_klarna": {
        "description": "",
        "properties": {
          "capture_method": {
            "description": "Controls when the funds will be captured from the customer's account.",
            "enum": [
              "manual"
            ],
            "type": "string"
          },
          "preferred_locale": {
            "description": "Preferred locale of the Klarna checkout page that the customer is redirected to.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "preferred_locale"
        ],
        "title": "payment_method_options_klarna",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "capture_method",
          "preferred_locale",
          "setup_future_usage"
        ]
      },
      "payment_method_options_konbini": {
        "description": "",
        "properties": {
          "confirmation_number": {
            "description": "An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "expires_after_days": {
            "description": "The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST.",
            "nullable": true,
            "type": "integer"
          },
          "expires_at": {
            "description": "The timestamp at which the Konbini payment instructions will expire. Only one of `expires_after_days` or `expires_at` may be set.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "product_description": {
            "description": "A product descriptor of up to 22 characters, which will appear to customers at the convenience store.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "required": [
          "confirmation_number",
          "expires_after_days",
          "expires_at",
          "product_description"
        ],
        "title": "payment_method_options_konbini",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "confirmation_number",
          "expires_after_days",
          "expires_at",
          "product_description",
          "setup_future_usage"
        ]
      },
      "payment_method_options_kr_card": {
        "description": "",
        "properties": {
          "capture_method": {
            "description": "Controls when the funds will be captured from the customer's account.",
            "enum": [
              "manual"
            ],
            "type": "string"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session"
            ],
            "type": "string"
          }
        },
        "title": "payment_method_options_kr_card",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "capture_method",
          "setup_future_usage"
        ]
      },
      "payment_method_options_multibanco": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "title": "payment_method_options_multibanco",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "payment_method_options_oxxo": {
        "description": "",
        "properties": {
          "expires_after_days": {
            "description": "The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.",
            "type": "integer"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "required": [
          "expires_after_days"
        ],
        "title": "payment_method_options_oxxo",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "expires_after_days",
          "setup_future_usage"
        ]
      },
      "payment_method_options_p24": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "title": "payment_method_options_p24",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "payment_method_options_paynow": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "title": "payment_method_options_paynow",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "payment_method_options_paypal": {
        "description": "",
        "properties": {
          "capture_method": {
            "description": "Controls when the funds will be captured from the customer's account.",
            "enum": [
              "manual"
            ],
            "type": "string"
          },
          "preferred_locale": {
            "description": "Preferred locale of the PayPal checkout page that the customer is redirected to.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "reference": {
            "description": "A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session"
            ],
            "type": "string"
          }
        },
        "required": [
          "preferred_locale",
          "reference"
        ],
        "title": "payment_method_options_paypal",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "capture_method",
          "preferred_locale",
          "reference",
          "setup_future_usage"
        ]
      },
      "payment_method_options_pix": {
        "description": "",
        "properties": {
          "expires_after_seconds": {
            "description": "The number of seconds (between 10 and 1209600) after which Pix payment will expire.",
            "nullable": true,
            "type": "integer"
          },
          "expires_at": {
            "description": "The timestamp at which the Pix expires.",
            "nullable": true,
            "type": "integer"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "required": [
          "expires_after_seconds",
          "expires_at"
        ],
        "title": "payment_method_options_pix",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "expires_after_seconds",
          "expires_at",
          "setup_future_usage"
        ]
      },
      "payment_method_options_promptpay": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "title": "payment_method_options_promptpay",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "payment_method_options_revolut_pay": {
        "description": "",
        "properties": {
          "capture_method": {
            "description": "Controls when the funds will be captured from the customer's account.",
            "enum": [
              "manual"
            ],
            "type": "string"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session"
            ],
            "type": "string"
          }
        },
        "title": "payment_method_options_revolut_pay",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "capture_method",
          "setup_future_usage"
        ]
      },
      "payment_method_options_sofort": {
        "description": "",
        "properties": {
          "preferred_language": {
            "description": "Preferred language of the SOFORT authorization page that the customer is redirected to.",
            "enum": [
              "de",
              "en",
              "es",
              "fr",
              "it",
              "nl",
              "pl"
            ],
            "nullable": true,
            "type": "string"
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none",
              "off_session"
            ],
            "type": "string"
          }
        },
        "required": [
          "preferred_language"
        ],
        "title": "payment_method_options_sofort",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "preferred_language",
          "setup_future_usage"
        ]
      },
      "payment_method_options_twint": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "title": "payment_method_options_twint",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "payment_method_options_us_bank_account_mandate_options": {
        "description": "",
        "properties": {
          "collection_method": {
            "description": "Mandate collection method",
            "enum": [
              "paper"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "title": "payment_method_options_us_bank_account_mandate_options",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "collection_method"
        ]
      },
      "payment_method_options_wechat_pay": {
        "description": "",
        "properties": {
          "app_id": {
            "description": "The app ID registered with WeChat Pay. Only required when client is ios or android.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "client": {
            "description": "The client type that the end customer will pay from",
            "enum": [
              "android",
              "ios",
              "web"
            ],
            "nullable": true,
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "required": [
          "app_id",
          "client"
        ],
        "title": "payment_method_options_wechat_pay",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "app_id",
          "client",
          "setup_future_usage"
        ]
      },
      "payment_method_options_zip": {
        "description": "",
        "properties": {
          "setup_future_usage": {
            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
            "enum": [
              "none"
            ],
            "type": "string"
          }
        },
        "title": "payment_method_options_zip",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "setup_future_usage"
        ]
      },
      "payment_method_oxxo": {
        "description": "",
        "properties": {},
        "title": "payment_method_oxxo",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_p24": {
        "description": "",
        "properties": {
          "bank": {
            "description": "The customer's bank, if provided.",
            "enum": [
              "alior_bank",
              "bank_millennium",
              "bank_nowy_bfg_sa",
              "bank_pekao_sa",
              "banki_spbdzielcze",
              "blik",
              "bnp_paribas",
              "boz",
              "citi_handlowy",
              "credit_agricole",
              "envelobank",
              "etransfer_pocztowy24",
              "getin_bank",
              "ideabank",
              "ing",
              "inteligo",
              "mbank_mtransfer",
              "nest_przelew",
              "noble_pay",
              "pbac_z_ipko",
              "plus_bank",
              "santander_przelew24",
              "tmobile_usbugi_bankowe",
              "toyota_bank",
              "velobank",
              "volkswagen_bank"
            ],
            "nullable": true,
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "bank"
        ],
        "title": "payment_method_p24",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "bank"
        ]
      },
      "payment_method_payco": {
        "description": "",
        "properties": {},
        "title": "payment_method_payco",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeResource": {
          "class_name": "Payco",
          "in_package": ""
        }
      },
      "payment_method_paynow": {
        "description": "",
        "properties": {},
        "title": "payment_method_paynow",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_paypal": {
        "description": "",
        "properties": {
          "payer_email": {
            "description": "Owner's email. Values are provided by PayPal directly\n(if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "payer_id": {
            "description": "PayPal account PayerID. This identifier uniquely identifies the PayPal customer.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "payer_email",
          "payer_id"
        ],
        "title": "payment_method_paypal",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "payer_email",
          "payer_id"
        ]
      },
      "payment_method_pix": {
        "description": "",
        "properties": {},
        "title": "payment_method_pix",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_promptpay": {
        "description": "",
        "properties": {},
        "title": "payment_method_promptpay",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_revolut_pay": {
        "description": "",
        "properties": {},
        "title": "payment_method_revolut_pay",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_samsung_pay": {
        "description": "",
        "properties": {},
        "title": "payment_method_samsung_pay",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeResource": {
          "class_name": "SamsungPay",
          "in_package": ""
        }
      },
      "payment_method_sepa_debit": {
        "description": "",
        "properties": {
          "bank_code": {
            "description": "Bank code of bank associated with the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "branch_code": {
            "description": "Branch code of bank associated with the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "country": {
            "description": "Two-letter ISO code representing the country the bank account is located in.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "fingerprint": {
            "description": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "generated_from": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/sepa_debit_generated_from"
              }
            ],
            "description": "Information about the object that generated this PaymentMethod.",
            "nullable": true
          },
          "last4": {
            "description": "Last four characters of the IBAN.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "bank_code",
          "branch_code",
          "country",
          "fingerprint",
          "generated_from",
          "last4"
        ],
        "title": "payment_method_sepa_debit",
        "type": "object",
        "x-expandableFields": [
          "generated_from"
        ],
        "x-stripeMostCommon": [
          "bank_code",
          "branch_code",
          "country",
          "fingerprint",
          "generated_from",
          "last4"
        ]
      },
      "payment_method_sofort": {
        "description": "",
        "properties": {
          "country": {
            "description": "Two-letter ISO code representing the country the bank account is located in.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "country"
        ],
        "title": "payment_method_sofort",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "country"
        ]
      },
      "payment_method_swish": {
        "description": "",
        "properties": {},
        "title": "payment_method_swish",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_twint": {
        "description": "",
        "properties": {},
        "title": "payment_method_twint",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_us_bank_account": {
        "description": "",
        "properties": {
          "account_holder_type": {
            "description": "Account holder type: individual or company.",
            "enum": [
              "company",
              "individual"
            ],
            "nullable": true,
            "type": "string"
          },
          "account_type": {
            "description": "Account type: checkings or savings. Defaults to checking if omitted.",
            "enum": [
              "checking",
              "savings"
            ],
            "nullable": true,
            "type": "string"
          },
          "bank_name": {
            "description": "The name of the bank.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "financial_connections_account": {
            "description": "The ID of the Financial Connections Account used to create the payment method.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "fingerprint": {
            "description": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "last4": {
            "description": "Last four digits of the bank account number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "networks": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/us_bank_account_networks"
              }
            ],
            "description": "Contains information about US bank account networks that can be used.",
            "nullable": true
          },
          "routing_number": {
            "description": "Routing number of the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "status_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_method_us_bank_account_status_details"
              }
            ],
            "description": "Contains information about the future reusability of this PaymentMethod.",
            "nullable": true
          }
        },
        "required": [
          "account_holder_type",
          "account_type",
          "bank_name",
          "financial_connections_account",
          "fingerprint",
          "last4",
          "networks",
          "routing_number",
          "status_details"
        ],
        "title": "payment_method_us_bank_account",
        "type": "object",
        "x-expandableFields": [
          "networks",
          "status_details"
        ],
        "x-stripeMostCommon": [
          "account_holder_type",
          "account_type",
          "bank_name",
          "financial_connections_account",
          "fingerprint",
          "last4",
          "networks",
          "routing_number",
          "status_details"
        ]
      },
      "payment_method_us_bank_account_blocked": {
        "description": "",
        "properties": {
          "network_code": {
            "description": "The ACH network code that resulted in this block.",
            "enum": [
              "R02",
              "R03",
              "R04",
              "R05",
              "R07",
              "R08",
              "R10",
              "R11",
              "R16",
              "R20",
              "R29",
              "R31"
            ],
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "description": "The reason why this PaymentMethod's fingerprint has been blocked",
            "enum": [
              "bank_account_closed",
              "bank_account_frozen",
              "bank_account_invalid_details",
              "bank_account_restricted",
              "bank_account_unusable",
              "debit_not_authorized"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "network_code",
          "reason"
        ],
        "title": "payment_method_us_bank_account_blocked",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "network_code",
          "reason"
        ]
      },
      "payment_method_us_bank_account_status_details": {
        "description": "",
        "properties": {
          "blocked": {
            "$ref": "#/components/schemas/payment_method_us_bank_account_blocked"
          }
        },
        "title": "payment_method_us_bank_account_status_details",
        "type": "object",
        "x-expandableFields": [
          "blocked"
        ],
        "x-stripeMostCommon": [
          "blocked"
        ]
      },
      "payment_method_wechat_pay": {
        "description": "",
        "properties": {},
        "title": "payment_method_wechat_pay",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_method_zip": {
        "description": "",
        "properties": {},
        "title": "payment_method_zip",
        "type": "object",
        "x-expandableFields": []
      },
      "payment_pages_checkout_session_adaptive_pricing": {
        "description": "",
        "properties": {
          "enabled": {
            "description": "Whether Adaptive Pricing is enabled.",
            "type": "boolean"
          }
        },
        "required": [
          "enabled"
        ],
        "title": "PaymentPagesCheckoutSessionAdaptivePricing",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "enabled"
        ]
      },
      "payment_pages_checkout_session_after_expiration": {
        "description": "",
        "properties": {
          "recovery": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_pages_checkout_session_after_expiration_recovery"
              }
            ],
            "description": "When set, configuration used to recover the Checkout Session on expiry.",
            "nullable": true
          }
        },
        "required": [
          "recovery"
        ],
        "title": "PaymentPagesCheckoutSessionAfterExpiration",
        "type": "object",
        "x-expandableFields": [
          "recovery"
        ],
        "x-stripeMostCommon": [
          "recovery"
        ]
      },
      "payment_pages_checkout_session_after_expiration_recovery": {
        "description": "",
        "properties": {
          "allow_promotion_codes": {
            "description": "Enables user redeemable promotion codes on the recovered Checkout Sessions. Defaults to `false`",
            "type": "boolean"
          },
          "enabled": {
            "description": "If `true`, a recovery url will be generated to recover this Checkout Session if it\nexpires before a transaction is completed. It will be attached to the\nCheckout Session object upon expiration.",
            "type": "boolean"
          },
          "expires_at": {
            "description": "The timestamp at which the recovery URL will expire.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "url": {
            "description": "URL that creates a new Checkout Session when clicked that is a copy of this expired Checkout Session",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "allow_promotion_codes",
          "enabled",
          "expires_at",
          "url"
        ],
        "title": "PaymentPagesCheckoutSessionAfterExpirationRecovery",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "allow_promotion_codes",
          "enabled",
          "expires_at",
          "url"
        ]
      },
      "payment_pages_checkout_session_automatic_tax": {
        "description": "",
        "properties": {
          "enabled": {
            "description": "Indicates whether automatic tax is enabled for the session",
            "type": "boolean"
          },
          "liability": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/connect_account_reference"
              }
            ],
            "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.",
            "nullable": true
          },
          "status": {
            "description": "The status of the most recent automated tax calculation for this session.",
            "enum": [
              "complete",
              "failed",
              "requires_location_inputs"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "enabled",
          "liability",
          "status"
        ],
        "title": "PaymentPagesCheckoutSessionAutomaticTax",
        "type": "object",
        "x-expandableFields": [
          "liability"
        ],
        "x-stripeMostCommon": [
          "enabled",
          "liability",
          "status"
        ]
      },
      "payment_pages_checkout_session_consent": {
        "description": "",
        "properties": {
          "promotions": {
            "description": "If `opt_in`, the customer consents to receiving promotional communications\nfrom the merchant about this Checkout Session.",
            "enum": [
              "opt_in",
              "opt_out"
            ],
            "nullable": true,
            "type": "string"
          },
          "terms_of_service": {
            "description": "If `accepted`, the customer in this Checkout Session has agreed to the merchant's terms of service.",
            "enum": [
              "accepted"
            ],
            "nullable": true,
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "promotions",
          "terms_of_service"
        ],
        "title": "PaymentPagesCheckoutSessionConsent",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "promotions",
          "terms_of_service"
        ]
      },
      "payment_pages_checkout_session_consent_collection": {
        "description": "",
        "properties": {
          "payment_method_reuse_agreement": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_pages_checkout_session_payment_method_reuse_agreement"
              }
            ],
            "description": "If set to `hidden`, it will hide legal text related to the reuse of a payment method.",
            "nullable": true
          },
          "promotions": {
            "description": "If set to `auto`, enables the collection of customer consent for promotional communications. The Checkout\nSession will determine whether to display an option to opt into promotional communication\nfrom the merchant depending on the customer's locale. Only available to US merchants.",
            "enum": [
              "auto",
              "none"
            ],
            "nullable": true,
            "type": "string"
          },
          "terms_of_service": {
            "description": "If set to `required`, it requires customers to accept the terms of service before being able to pay.",
            "enum": [
              "none",
              "required"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "payment_method_reuse_agreement",
          "promotions",
          "terms_of_service"
        ],
        "title": "PaymentPagesCheckoutSessionConsentCollection",
        "type": "object",
        "x-expandableFields": [
          "payment_method_reuse_agreement"
        ],
        "x-stripeMostCommon": [
          "payment_method_reuse_agreement",
          "promotions",
          "terms_of_service"
        ]
      },
      "payment_pages_checkout_session_currency_conversion": {
        "description": "",
        "properties": {
          "amount_subtotal": {
            "description": "Total of all items in source currency before discounts or taxes are applied.",
            "type": "integer"
          },
          "amount_total": {
            "description": "Total of all items in source currency after discounts and taxes are applied.",
            "type": "integer"
          },
          "fx_rate": {
            "description": "Exchange rate used to convert source currency amounts to customer currency amounts",
            "format": "decimal",
            "type": "string"
          },
          "source_currency": {
            "description": "Creation currency of the CheckoutSession before localization",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "amount_subtotal",
          "amount_total",
          "fx_rate",
          "source_currency"
        ],
        "title": "PaymentPagesCheckoutSessionCurrencyConversion",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "amount_subtotal",
          "amount_total",
          "fx_rate",
          "source_currency"
        ]
      },
      "payment_pages_checkout_session_custom_fields": {
        "description": "",
        "properties": {
          "dropdown": {
            "$ref": "#/components/schemas/payment_pages_checkout_session_custom_fields_dropdown"
          },
          "key": {
            "description": "String of your choice that your integration can use to reconcile this field. Must be unique to this field, alphanumeric, and up to 200 characters.",
            "maxLength": 5000,
            "type": "string"
          },
          "label": {
            "$ref": "#/components/schemas/payment_pages_checkout_session_custom_fields_label"
          },
          "numeric": {
            "$ref": "#/components/schemas/payment_pages_checkout_session_custom_fields_numeric"
          },
          "optional": {
            "description": "Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`.",
            "type": "boolean"
          },
          "text": {
            "$ref": "#/components/schemas/payment_pages_checkout_session_custom_fields_text"
          },
          "type": {
            "description": "The type of the field.",
            "enum": [
              "dropdown",
              "numeric",
              "text"
            ],
            "type": "string"
          }
        },
        "required": [
          "key",
          "label",
          "optional",
          "type"
        ],
        "title": "PaymentPagesCheckoutSessionCustomFields",
        "type": "object",
        "x-expandableFields": [
          "dropdown",
          "label",
          "numeric",
          "text"
        ],
        "x-stripeMostCommon": [
          "dropdown",
          "key",
          "label",
          "numeric",
          "optional",
          "text",
          "type"
        ]
      },
      "payment_pages_checkout_session_custom_fields_dropdown": {
        "description": "",
        "properties": {
          "default_value": {
            "description": "The value that will pre-fill on the payment page.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "options": {
            "description": "The options available for the customer to select. Up to 200 options allowed.",
            "items": {
              "$ref": "#/components/schemas/payment_pages_checkout_session_custom_fields_option"
            },
            "type": "array"
          },
          "value": {
            "description": "The option selected by the customer. This will be the `value` for the option.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "default_value",
          "options",
          "value"
        ],
        "title": "PaymentPagesCheckoutSessionCustomFieldsDropdown",
        "type": "object",
        "x-expandableFields": [
          "options"
        ],
        "x-stripeMostCommon": [
          "default_value",
          "options",
          "value"
        ],
        "x-stripeResource": {
          "class_name": "CustomFieldDropdown",
          "in_package": ""
        }
      },
      "payment_pages_checkout_session_custom_fields_label": {
        "description": "",
        "properties": {
          "custom": {
            "description": "Custom text for the label, displayed to the customer. Up to 50 characters.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "type": {
            "description": "The type of the label.",
            "enum": [
              "custom"
            ],
            "type": "string"
          }
        },
        "required": [
          "custom",
          "type"
        ],
        "title": "PaymentPagesCheckoutSessionCustomFieldsLabel",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "custom",
          "type"
        ]
      },
      "payment_pages_checkout_session_custom_fields_numeric": {
        "description": "",
        "properties": {
          "default_value": {
            "description": "The value that will pre-fill the field on the payment page.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "maximum_length": {
            "description": "The maximum character length constraint for the customer's input.",
            "nullable": true,
            "type": "integer"
          },
          "minimum_length": {
            "description": "The minimum character length requirement for the customer's input.",
            "nullable": true,
            "type": "integer"
          },
          "value": {
            "description": "The value entered by the customer, containing only digits.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "default_value",
          "maximum_length",
          "minimum_length",
          "value"
        ],
        "title": "PaymentPagesCheckoutSessionCustomFieldsNumeric",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "default_value",
          "maximum_length",
          "minimum_length",
          "value"
        ],
        "x-stripeResource": {
          "class_name": "CustomFieldNumeric",
          "in_package": ""
        }
      },
      "payment_pages_checkout_session_custom_fields_option": {
        "description": "",
        "properties": {
          "label": {
            "description": "The label for the option, displayed to the customer. Up to 100 characters.",
            "maxLength": 5000,
            "type": "string"
          },
          "value": {
            "description": "The value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer. Must be unique to this option, alphanumeric, and up to 100 characters.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "label",
          "value"
        ],
        "title": "PaymentPagesCheckoutSessionCustomFieldsOption",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "label",
          "value"
        ],
        "x-stripeResource": {
          "class_name": "CustomFieldDropdownOption",
          "in_package": ""
        }
      },
      "payment_pages_checkout_session_custom_fields_text": {
        "description": "",
        "properties": {
          "default_value": {
            "description": "The value that will pre-fill the field on the payment page.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "maximum_length": {
            "description": "The maximum character length constraint for the customer's input.",
            "nullable": true,
            "type": "integer"
          },
          "minimum_length": {
            "description": "The minimum character length requirement for the customer's input.",
            "nullable": true,
            "type": "integer"
          },
          "value": {
            "description": "The value entered by the customer.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "default_value",
          "maximum_length",
          "minimum_length",
          "value"
        ],
        "title": "PaymentPagesCheckoutSessionCustomFieldsText",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "default_value",
          "maximum_length",
          "minimum_length",
          "value"
        ]
      },
      "payment_pages_checkout_session_custom_text": {
        "description": "",
        "properties": {
          "after_submit": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_pages_checkout_session_custom_text_position"
              }
            ],
            "description": "Custom text that should be displayed after the payment confirmation button.",
            "nullable": true
          },
          "shipping_address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_pages_checkout_session_custom_text_position"
              }
            ],
            "description": "Custom text that should be displayed alongside shipping address collection.",
            "nullable": true
          },
          "submit": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_pages_checkout_session_custom_text_position"
              }
            ],
            "description": "Custom text that should be displayed alongside the payment confirmation button.",
            "nullable": true
          },
          "terms_of_service_acceptance": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_pages_checkout_session_custom_text_position"
              }
            ],
            "description": "Custom text that should be displayed in place of the default terms of service agreement text.",
            "nullable": true
          }
        },
        "required": [
          "after_submit",
          "shipping_address",
          "submit",
          "terms_of_service_acceptance"
        ],
        "title": "PaymentPagesCheckoutSessionCustomText",
        "type": "object",
        "x-expandableFields": [
          "after_submit",
          "shipping_address",
          "submit",
          "terms_of_service_acceptance"
        ],
        "x-stripeMostCommon": [
          "after_submit",
          "shipping_address",
          "submit",
          "terms_of_service_acceptance"
        ]
      },
      "payment_pages_checkout_session_custom_text_position": {
        "description": "",
        "properties": {
          "message": {
            "description": "Text may be up to 1200 characters in length.",
            "maxLength": 500,
            "type": "string"
          }
        },
        "required": [
          "message"
        ],
        "title": "PaymentPagesCheckoutSessionCustomTextPosition",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "message"
        ]
      },
      "payment_pages_checkout_session_customer_details": {
        "description": "",
        "properties": {
          "address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/address"
              }
            ],
            "description": "The customer's address after a completed Checkout Session. Note: This property is populated only for sessions on or after March 30, 2022.",
            "nullable": true
          },
          "email": {
            "description": "The email associated with the Customer, if one exists, on the Checkout Session after a completed Checkout Session or at time of session expiry.\nOtherwise, if the customer has consented to promotional content, this value is the most recent valid email provided by the customer on the Checkout form.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "name": {
            "description": "The customer's name after a completed Checkout Session. Note: This property is populated only for sessions on or after March 30, 2022.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "phone": {
            "description": "The customer's phone number after a completed Checkout Session.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "tax_exempt": {
            "description": "The customer’s tax exempt status after a completed Checkout Session.",
            "enum": [
              "exempt",
              "none",
              "reverse"
            ],
            "nullable": true,
            "type": "string"
          },
          "tax_ids": {
            "description": "The customer’s tax IDs after a completed Checkout Session.",
            "items": {
              "$ref": "#/components/schemas/payment_pages_checkout_session_tax_id"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "required": [
          "address",
          "email",
          "name",
          "phone",
          "tax_exempt",
          "tax_ids"
        ],
        "title": "PaymentPagesCheckoutSessionCustomerDetails",
        "type": "object",
        "x-expandableFields": [
          "address",
          "tax_ids"
        ],
        "x-stripeMostCommon": [
          "address",
          "email",
          "name",
          "phone",
          "tax_exempt",
          "tax_ids"
        ]
      },
      "payment_pages_checkout_session_invoice_creation": {
        "description": "",
        "properties": {
          "enabled": {
            "description": "Indicates whether invoice creation is enabled for the Checkout Session.",
            "type": "boolean"
          },
          "invoice_data": {
            "$ref": "#/components/schemas/payment_pages_checkout_session_invoice_settings"
          }
        },
        "required": [
          "enabled",
          "invoice_data"
        ],
        "title": "PaymentPagesCheckoutSessionInvoiceCreation",
        "type": "object",
        "x-expandableFields": [
          "invoice_data"
        ],
        "x-stripeMostCommon": [
          "enabled",
          "invoice_data"
        ]
      },
      "payment_pages_checkout_session_invoice_settings": {
        "description": "",
        "properties": {
          "account_tax_ids": {
            "description": "The account tax IDs associated with the invoice.",
            "items": {
              "anyOf": [
                {
                  "maxLength": 5000,
                  "type": "string"
                },
                {
                  "$ref": "#/components/schemas/tax_id"
                },
                {
                  "$ref": "#/components/schemas/deleted_tax_id"
                }
              ],
              "x-expansionResources": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/tax_id"
                  },
                  {
                    "$ref": "#/components/schemas/deleted_tax_id"
                  }
                ]
              }
            },
            "nullable": true,
            "type": "array"
          },
          "custom_fields": {
            "description": "Custom fields displayed on the invoice.",
            "items": {
              "$ref": "#/components/schemas/invoice_setting_custom_field"
            },
            "nullable": true,
            "type": "array"
          },
          "description": {
            "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "footer": {
            "description": "Footer displayed on the invoice.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "issuer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/connect_account_reference"
              }
            ],
            "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.",
            "nullable": true
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "nullable": true,
            "type": "object"
          },
          "rendering_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/invoice_setting_rendering_options"
              }
            ],
            "description": "Options for invoice PDF rendering.",
            "nullable": true
          }
        },
        "required": [
          "account_tax_ids",
          "custom_fields",
          "description",
          "footer",
          "issuer",
          "metadata",
          "rendering_options"
        ],
        "title": "PaymentPagesCheckoutSessionInvoiceSettings",
        "type": "object",
        "x-expandableFields": [
          "account_tax_ids",
          "custom_fields",
          "issuer",
          "rendering_options"
        ],
        "x-stripeMostCommon": [
          "account_tax_ids",
          "custom_fields",
          "description",
          "footer",
          "issuer",
          "metadata",
          "rendering_options"
        ]
      },
      "payment_pages_checkout_session_payment_method_reuse_agreement": {
        "description": "",
        "properties": {
          "position": {
            "description": "Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's defaults will be used.\n\nWhen set to `hidden`, the payment method reuse agreement text will always be hidden in the UI.",
            "enum": [
              "auto",
              "hidden"
            ],
            "type": "string"
          }
        },
        "required": [
          "position"
        ],
        "title": "PaymentPagesCheckoutSessionPaymentMethodReuseAgreement",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "position"
        ]
      },
      "payment_pages_checkout_session_phone_number_collection": {
        "description": "",
        "properties": {
          "enabled": {
            "description": "Indicates whether phone number collection is enabled for the session",
            "type": "boolean"
          }
        },
        "required": [
          "enabled"
        ],
        "title": "PaymentPagesCheckoutSessionPhoneNumberCollection",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "enabled"
        ]
      },
      "payment_pages_checkout_session_saved_payment_method_options": {
        "description": "",
        "properties": {
          "allow_redisplay_filters": {
            "description": "Uses the `allow_redisplay` value of each saved payment method to filter the set presented to a returning customer. By default, only saved payment methods with ’allow_redisplay: ‘always’ are shown in Checkout.",
            "items": {
              "enum": [
                "always",
                "limited",
                "unspecified"
              ],
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "payment_method_remove": {
            "description": "Enable customers to choose if they wish to remove their saved payment methods. Disabled by default.",
            "enum": [
              "disabled",
              "enabled"
            ],
            "nullable": true,
            "type": "string"
          },
          "payment_method_save": {
            "description": "Enable customers to choose if they wish to save their payment method for future use. Disabled by default.",
            "enum": [
              "disabled",
              "enabled"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "allow_redisplay_filters",
          "payment_method_remove",
          "payment_method_save"
        ],
        "title": "PaymentPagesCheckoutSessionSavedPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "allow_redisplay_filters",
          "payment_method_remove",
          "payment_method_save"
        ]
      },
      "payment_pages_checkout_session_shipping_address_collection": {
        "description": "",
        "properties": {
          "allowed_countries": {
            "description": "An array of two-letter ISO country codes representing which countries Checkout should provide as options for\nshipping locations. Unsupported country codes: `AS, CX, CC, CU, HM, IR, KP, MH, FM, NF, MP, PW, SD, SY, UM, VI`.",
            "items": {
              "enum": [
                "AC",
                "AD",
                "AE",
                "AF",
                "AG",
                "AI",
                "AL",
                "AM",
                "AO",
                "AQ",
                "AR",
                "AT",
                "AU",
                "AW",
                "AX",
                "AZ",
                "BA",
                "BB",
                "BD",
                "BE",
                "BF",
                "BG",
                "BH",
                "BI",
                "BJ",
                "BL",
                "BM",
                "BN",
                "BO",
                "BQ",
                "BR",
                "BS",
                "BT",
                "BV",
                "BW",
                "BY",
                "BZ",
                "CA",
                "CD",
                "CF",
                "CG",
                "CH",
                "CI",
                "CK",
                "CL",
                "CM",
                "CN",
                "CO",
                "CR",
                "CV",
                "CW",
                "CY",
                "CZ",
                "DE",
                "DJ",
                "DK",
                "DM",
                "DO",
                "DZ",
                "EC",
                "EE",
                "EG",
                "EH",
                "ER",
                "ES",
                "ET",
                "FI",
                "FJ",
                "FK",
                "FO",
                "FR",
                "GA",
                "GB",
                "GD",
                "GE",
                "GF",
                "GG",
                "GH",
                "GI",
                "GL",
                "GM",
                "GN",
                "GP",
                "GQ",
                "GR",
                "GS",
                "GT",
                "GU",
                "GW",
                "GY",
                "HK",
                "HN",
                "HR",
                "HT",
                "HU",
                "ID",
                "IE",
                "IL",
                "IM",
                "IN",
                "IO",
                "IQ",
                "IS",
                "IT",
                "JE",
                "JM",
                "JO",
                "JP",
                "KE",
                "KG",
                "KH",
                "KI",
                "KM",
                "KN",
                "KR",
                "KW",
                "KY",
                "KZ",
                "LA",
                "LB",
                "LC",
                "LI",
                "LK",
                "LR",
                "LS",
                "LT",
                "LU",
                "LV",
                "LY",
                "MA",
                "MC",
                "MD",
                "ME",
                "MF",
                "MG",
                "MK",
                "ML",
                "MM",
                "MN",
                "MO",
                "MQ",
                "MR",
                "MS",
                "MT",
                "MU",
                "MV",
                "MW",
                "MX",
                "MY",
                "MZ",
                "NA",
                "NC",
                "NE",
                "NG",
                "NI",
                "NL",
                "NO",
                "NP",
                "NR",
                "NU",
                "NZ",
                "OM",
                "PA",
                "PE",
                "PF",
                "PG",
                "PH",
                "PK",
                "PL",
                "PM",
                "PN",
                "PR",
                "PS",
                "PT",
                "PY",
                "QA",
                "RE",
                "RO",
                "RS",
                "RU",
                "RW",
                "SA",
                "SB",
                "SC",
                "SE",
                "SG",
                "SH",
                "SI",
                "SJ",
                "SK",
                "SL",
                "SM",
                "SN",
                "SO",
                "SR",
                "SS",
                "ST",
                "SV",
                "SX",
                "SZ",
                "TA",
                "TC",
                "TD",
                "TF",
                "TG",
                "TH",
                "TJ",
                "TK",
                "TL",
                "TM",
                "TN",
                "TO",
                "TR",
                "TT",
                "TV",
                "TW",
                "TZ",
                "UA",
                "UG",
                "US",
                "UY",
                "UZ",
                "VA",
                "VC",
                "VE",
                "VG",
                "VN",
                "VU",
                "WF",
                "WS",
                "XK",
                "YE",
                "YT",
                "ZA",
                "ZM",
                "ZW",
                "ZZ"
              ],
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "allowed_countries"
        ],
        "title": "PaymentPagesCheckoutSessionShippingAddressCollection",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "allowed_countries"
        ],
        "x-stripeResource": {
          "class_name": "ShippingAddressCollection",
          "in_package": ""
        }
      },
      "payment_pages_checkout_session_shipping_cost": {
        "description": "",
        "properties": {
          "amount_subtotal": {
            "description": "Total shipping cost before any discounts or taxes are applied.",
            "type": "integer"
          },
          "amount_tax": {
            "description": "Total tax amount applied due to shipping costs. If no tax was applied, defaults to 0.",
            "type": "integer"
          },
          "amount_total": {
            "description": "Total shipping cost after discounts and taxes are applied.",
            "type": "integer"
          },
          "shipping_rate": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/shipping_rate"
              }
            ],
            "description": "The ID of the ShippingRate for this order.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/shipping_rate"
                }
              ]
            }
          },
          "taxes": {
            "description": "The taxes applied to the shipping rate.",
            "items": {
              "$ref": "#/components/schemas/line_items_tax_amount"
            },
            "type": "array"
          }
        },
        "required": [
          "amount_subtotal",
          "amount_tax",
          "amount_total",
          "shipping_rate"
        ],
        "title": "PaymentPagesCheckoutSessionShippingCost",
        "type": "object",
        "x-expandableFields": [
          "shipping_rate",
          "taxes"
        ],
        "x-stripeMostCommon": [
          "amount_subtotal",
          "amount_tax",
          "amount_total",
          "shipping_rate",
          "taxes"
        ]
      },
      "payment_pages_checkout_session_shipping_option": {
        "description": "",
        "properties": {
          "shipping_amount": {
            "description": "A non-negative integer in cents representing how much to charge.",
            "type": "integer"
          },
          "shipping_rate": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/shipping_rate"
              }
            ],
            "description": "The shipping rate.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/shipping_rate"
                }
              ]
            }
          }
        },
        "required": [
          "shipping_amount",
          "shipping_rate"
        ],
        "title": "PaymentPagesCheckoutSessionShippingOption",
        "type": "object",
        "x-expandableFields": [
          "shipping_rate"
        ],
        "x-stripeMostCommon": [
          "shipping_amount",
          "shipping_rate"
        ]
      },
      "payment_pages_checkout_session_tax_id": {
        "description": "",
        "properties": {
          "type": {
            "description": "The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, or `unknown`",
            "enum": [
              "ad_nrt",
              "ae_trn",
              "ar_cuit",
              "au_abn",
              "au_arn",
              "bg_uic",
              "bh_vat",
              "bo_tin",
              "br_cnpj",
              "br_cpf",
              "by_tin",
              "ca_bn",
              "ca_gst_hst",
              "ca_pst_bc",
              "ca_pst_mb",
              "ca_pst_sk",
              "ca_qst",
              "ch_uid",
              "ch_vat",
              "cl_tin",
              "cn_tin",
              "co_nit",
              "cr_tin",
              "de_stn",
              "do_rcn",
              "ec_ruc",
              "eg_tin",
              "es_cif",
              "eu_oss_vat",
              "eu_vat",
              "gb_vat",
              "ge_vat",
              "hk_br",
              "hr_oib",
              "hu_tin",
              "id_npwp",
              "il_vat",
              "in_gst",
              "is_vat",
              "jp_cn",
              "jp_rn",
              "jp_trn",
              "ke_pin",
              "kr_brn",
              "kz_bin",
              "li_uid",
              "li_vat",
              "ma_vat",
              "md_vat",
              "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",
              "tz_vat",
              "ua_vat",
              "unknown",
              "us_ein",
              "uy_ruc",
              "uz_tin",
              "uz_vat",
              "ve_rif",
              "vn_tin",
              "za_vat"
            ],
            "type": "string"
          },
          "value": {
            "description": "The value of the tax ID.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "type",
          "value"
        ],
        "title": "PaymentPagesCheckoutSessionTaxID",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "type",
          "value"
        ]
      },
      "payment_pages_checkout_session_tax_id_collection": {
        "description": "",
        "properties": {
          "enabled": {
            "description": "Indicates whether tax ID collection is enabled for the session",
            "type": "boolean"
          },
          "required": {
            "description": "Indicates whether a tax ID is required on the payment page",
            "enum": [
              "if_supported",
              "never"
            ],
            "type": "string"
          }
        },
        "required": [
          "enabled",
          "required"
        ],
        "title": "PaymentPagesCheckoutSessionTaxIDCollection",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "enabled",
          "required"
        ]
      },
      "payment_pages_checkout_session_total_details": {
        "description": "",
        "properties": {
          "amount_discount": {
            "description": "This is the sum of all the discounts.",
            "type": "integer"
          },
          "amount_shipping": {
            "description": "This is the sum of all the shipping amounts.",
            "nullable": true,
            "type": "integer"
          },
          "amount_tax": {
            "description": "This is the sum of all the tax amounts.",
            "type": "integer"
          },
          "breakdown": {
            "$ref": "#/components/schemas/payment_pages_checkout_session_total_details_resource_breakdown"
          }
        },
        "required": [
          "amount_discount",
          "amount_shipping",
          "amount_tax"
        ],
        "title": "PaymentPagesCheckoutSessionTotalDetails",
        "type": "object",
        "x-expandableFields": [
          "breakdown"
        ],
        "x-stripeMostCommon": [
          "amount_discount",
          "amount_shipping",
          "amount_tax",
          "breakdown"
        ]
      },
      "payment_pages_checkout_session_total_details_resource_breakdown": {
        "description": "",
        "properties": {
          "discounts": {
            "description": "The aggregated discounts.",
            "items": {
              "$ref": "#/components/schemas/line_items_discount_amount"
            },
            "type": "array"
          },
          "taxes": {
            "description": "The aggregated tax amounts by rate.",
            "items": {
              "$ref": "#/components/schemas/line_items_tax_amount"
            },
            "type": "array"
          }
        },
        "required": [
          "discounts",
          "taxes"
        ],
        "title": "PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown",
        "type": "object",
        "x-expandableFields": [
          "discounts",
          "taxes"
        ],
        "x-stripeMostCommon": [
          "discounts",
          "taxes"
        ]
      },
      "payment_source": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/account"
          },
          {
            "$ref": "#/components/schemas/bank_account"
          },
          {
            "$ref": "#/components/schemas/card"
          },
          {
            "$ref": "#/components/schemas/source"
          }
        ],
        "title": "Polymorphic",
        "x-resourceId": "payment_source",
        "x-stripeBypassValidation": true,
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "collection",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/customers/{customer}/sources"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/customers/{customer}/sources"
          },
          {
            "method_name": "retrieve",
            "method_on": "collection",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/customers/{customer}/sources/{id}"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/customers/{customer}/sources/{id}"
          },
          {
            "method_name": "create",
            "method_on": "collection",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/customers/{customer}/sources"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/customers/{customer}/sources"
          }
        ],
        "x-stripeResource": {
          "class_name": "PaymentSource",
          "has_collection_class": true
        }
      },
      "payout": {
        "description": "A `Payout` object is created when you receive funds from Stripe, or when you\ninitiate a payout to either a bank account or debit card of a [connected\nStripe account](/docs/connect/bank-debit-card-payouts). You can retrieve individual payouts,\nand list all payouts. Payouts are made on [varying\nschedules](/docs/connect/manage-payout-schedule), depending on your country and\nindustry.\n\nRelated guide: [Receiving payouts](https://stripe.com/docs/payouts)",
        "properties": {
          "amount": {
            "description": "The amount (in cents (or local equivalent)) that transfers to your bank account or debit card.",
            "type": "integer"
          },
          "application_fee": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/application_fee"
              }
            ],
            "description": "The application fee (if any) for the payout. [See the Connect documentation](https://stripe.com/docs/connect/instant-payouts#monetization-and-fees) for details.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/application_fee"
                }
              ]
            }
          },
          "application_fee_amount": {
            "description": "The amount of the application fee (if any) requested for the payout. [See the Connect documentation](https://stripe.com/docs/connect/instant-payouts#monetization-and-fees) for details.",
            "nullable": true,
            "type": "integer"
          },
          "arrival_date": {
            "description": "Date that you can expect the payout to arrive in the bank. This factors in delays to account for weekends or bank holidays.",
            "format": "unix-time",
            "type": "integer"
          },
          "automatic": {
            "description": "Returns `true` if the payout is created by an [automated payout schedule](https://stripe.com/docs/payouts#payout-schedule) and `false` if it's [requested manually](https://stripe.com/docs/payouts#manual-payouts).",
            "type": "boolean"
          },
          "balance_transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/balance_transaction"
              }
            ],
            "description": "ID of the balance transaction that describes the impact of this payout on your account balance.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/balance_transaction"
                }
              ]
            }
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "description": {
            "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "destination": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/external_account"
              },
              {
                "$ref": "#/components/schemas/deleted_external_account"
              }
            ],
            "description": "ID of the bank account or card the payout is sent to.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/external_account"
                },
                {
                  "$ref": "#/components/schemas/deleted_external_account"
                }
              ]
            }
          },
          "failure_balance_transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/balance_transaction"
              }
            ],
            "description": "If the payout fails or cancels, this is the ID of the balance transaction that reverses the initial balance transaction and returns the funds from the failed payout back in your balance.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/balance_transaction"
                }
              ]
            }
          },
          "failure_code": {
            "description": "Error code that provides a reason for a payout failure, if available. View our [list of failure codes](https://stripe.com/docs/api#payout_failures).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "failure_message": {
            "description": "Message that provides the reason for a payout failure, if available.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "nullable": true,
            "type": "object"
          },
          "method": {
            "description": "The method used to send this payout, which can be `standard` or `instant`. `instant` is supported for payouts to debit cards and bank accounts in certain countries. Learn more about [bank support for Instant Payouts](https://stripe.com/docs/payouts/instant-payouts-banks).",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "payout"
            ],
            "type": "string"
          },
          "original_payout": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payout"
              }
            ],
            "description": "If the payout reverses another, this is the ID of the original payout.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payout"
                }
              ]
            }
          },
          "reconciliation_status": {
            "description": "If `completed`, you can use the [Balance Transactions API](https://stripe.com/docs/api/balance_transactions/list#balance_transaction_list-payout) to list all balance transactions that are paid out in this payout.",
            "enum": [
              "completed",
              "in_progress",
              "not_applicable"
            ],
            "type": "string"
          },
          "reversed_by": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payout"
              }
            ],
            "description": "If the payout reverses, this is the ID of the payout that reverses this payout.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payout"
                }
              ]
            }
          },
          "source_type": {
            "description": "The source balance this payout came from, which can be one of the following: `card`, `fpx`, or `bank_account`.",
            "maxLength": 5000,
            "type": "string"
          },
          "statement_descriptor": {
            "description": "Extra information about a payout that displays on the user's bank statement.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "status": {
            "description": "Current status of the payout: `paid`, `pending`, `in_transit`, `canceled` or `failed`. A payout is `pending` until it's submitted to the bank, when it becomes `in_transit`. The status changes to `paid` if the transaction succeeds, or to `failed` or `canceled` (within 5 business days). Some payouts that fail might initially show as `paid`, then change to `failed`.",
            "maxLength": 5000,
            "type": "string"
          },
          "trace_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payouts_trace_id"
              }
            ],
            "description": "A value that generates from the beneficiary's bank that allows users to track payouts with their bank. Banks might call this a \"reference number\" or something similar.",
            "nullable": true
          },
          "type": {
            "description": "Can be `bank_account` or `card`.",
            "enum": [
              "bank_account",
              "card"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "amount",
          "application_fee",
          "application_fee_amount",
          "arrival_date",
          "automatic",
          "balance_transaction",
          "created",
          "currency",
          "description",
          "destination",
          "failure_balance_transaction",
          "failure_code",
          "failure_message",
          "id",
          "livemode",
          "metadata",
          "method",
          "object",
          "original_payout",
          "reconciliation_status",
          "reversed_by",
          "source_type",
          "statement_descriptor",
          "status",
          "type"
        ],
        "title": "Payout",
        "type": "object",
        "x-expandableFields": [
          "application_fee",
          "balance_transaction",
          "destination",
          "failure_balance_transaction",
          "original_payout",
          "reversed_by",
          "trace_id"
        ],
        "x-resourceId": "payout",
        "x-stripeMostCommon": [
          "amount",
          "arrival_date",
          "currency",
          "description",
          "id",
          "metadata",
          "statement_descriptor",
          "status"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/payouts"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/payouts/{payout}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/payouts"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/payouts/{payout}"
          },
          {
            "method_name": "cancel",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/payouts/{payout}/cancel"
          },
          {
            "method_name": "reverse",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/payouts/{payout}/reverse"
          }
        ],
        "x-stripeResource": {
          "class_name": "Payout",
          "has_collection_class": true,
          "in_package": "",
          "polymorphic_groups": [
            "balance_transaction_source"
          ]
        }
      },
      "payout.canceled": {
        "description": "Occurs whenever a payout is canceled.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/payout"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "payout.canceled"
        }
      },
      "payout.created": {
        "description": "Occurs whenever a payout is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/payout"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "payout.created"
        }
      },
      "payout.failed": {
        "description": "Occurs whenever a payout attempt fails.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/payout"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "payout.failed"
        }
      },
      "payout.paid": {
        "description": "Occurs whenever a payout is *expected* to be available in the destination account. If the payout fails, a `payout.failed` notification is also sent, at a later time.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/payout"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "payout.paid"
        }
      },
      "payout.reconciliation_completed": {
        "description": "Occurs whenever balance transactions paid out in an automatic payout can be queried.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/payout"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "payout.reconciliation_completed"
        }
      },
      "payout.updated": {
        "description": "Occurs whenever a payout is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/payout"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "payout.updated"
        }
      },
      "payouts_trace_id": {
        "description": "",
        "properties": {
          "status": {
            "description": "Possible values are `pending`, `supported`, and `unsupported`. When `payout.status` is `pending` or `in_transit`, this will be `pending`. When the payout transitions to `paid`, `failed`, or `canceled`, this status will become `supported` or `unsupported` shortly after in most cases. In some cases, this may appear as `pending` for up to 10 days after `arrival_date` until transitioning to `supported` or `unsupported`.",
            "maxLength": 5000,
            "type": "string"
          },
          "value": {
            "description": "The trace ID value if `trace_id.status` is `supported`, otherwise `nil`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "status",
          "value"
        ],
        "title": "PayoutsTraceID",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "status",
          "value"
        ]
      },
      "paypal_seller_protection": {
        "description": "",
        "properties": {
          "dispute_categories": {
            "description": "An array of conditions that are covered for the transaction, if applicable.",
            "items": {
              "enum": [
                "fraudulent",
                "product_not_received"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "nullable": true,
            "type": "array"
          },
          "status": {
            "description": "Indicates whether the transaction is eligible for PayPal's seller protection.",
            "enum": [
              "eligible",
              "not_eligible",
              "partially_eligible"
            ],
            "type": "string"
          }
        },
        "required": [
          "dispute_categories",
          "status"
        ],
        "title": "paypal_seller_protection",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "dispute_categories",
          "status"
        ]
      },
      "period": {
        "description": "",
        "properties": {
          "end": {
            "description": "The end date of this usage period. All usage up to and including this point in time is included.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "start": {
            "description": "The start date of this usage period. All usage after this point in time is included.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "end",
          "start"
        ],
        "title": "Period",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "end",
          "start"
        ]
      },
      "person": {
        "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).",
        "properties": {
          "account": {
            "description": "The account the person is associated with.",
            "maxLength": 5000,
            "type": "string"
          },
          "additional_tos_acceptances": {
            "$ref": "#/components/schemas/person_additional_tos_acceptances"
          },
          "address": {
            "$ref": "#/components/schemas/address"
          },
          "address_kana": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/legal_entity_japan_address"
              }
            ],
            "description": "The Kana variation of the person's address (Japan only).",
            "nullable": true
          },
          "address_kanji": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/legal_entity_japan_address"
              }
            ],
            "description": "The Kanji variation of the person's address (Japan only).",
            "nullable": true
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "dob": {
            "$ref": "#/components/schemas/legal_entity_dob"
          },
          "email": {
            "description": "The person's email address.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "first_name": {
            "description": "The person's first name.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "first_name_kana": {
            "description": "The Kana variation of the person's first name (Japan only).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "first_name_kanji": {
            "description": "The Kanji variation of the person's first name (Japan only).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "full_name_aliases": {
            "description": "A list of alternate names or aliases that the person is known by.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "future_requirements": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/person_future_requirements"
              }
            ],
            "description": "Information about the [upcoming new requirements for this person](https://stripe.com/docs/connect/custom-accounts/future-requirements), including what information needs to be collected, and by when.",
            "nullable": true
          },
          "gender": {
            "description": "The person's gender.",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "id_number_provided": {
            "description": "Whether the person's `id_number` was provided. True if either the full ID number was provided or if only the required part of the ID number was provided (ex. last four of an individual's SSN for the US indicated by `ssn_last_4_provided`).",
            "type": "boolean"
          },
          "id_number_secondary_provided": {
            "description": "Whether the person's `id_number_secondary` was provided.",
            "type": "boolean"
          },
          "last_name": {
            "description": "The person's last name.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "last_name_kana": {
            "description": "The Kana variation of the person's last name (Japan only).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "last_name_kanji": {
            "description": "The Kanji variation of the person's last name (Japan only).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "maiden_name": {
            "description": "The person's maiden name.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "nationality": {
            "description": "The country where the person is a national.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "person"
            ],
            "type": "string"
          },
          "phone": {
            "description": "The person's phone number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "political_exposure": {
            "description": "Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.",
            "enum": [
              "existing",
              "none"
            ],
            "type": "string"
          },
          "registered_address": {
            "$ref": "#/components/schemas/address"
          },
          "relationship": {
            "$ref": "#/components/schemas/person_relationship"
          },
          "requirements": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/person_requirements"
              }
            ],
            "description": "Information about the requirements for this person, including what information needs to be collected, and by when.",
            "nullable": true
          },
          "ssn_last_4_provided": {
            "description": "Whether the last four digits of the person's Social Security number have been provided (U.S. only).",
            "type": "boolean"
          },
          "verification": {
            "$ref": "#/components/schemas/legal_entity_person_verification"
          }
        },
        "required": [
          "created",
          "id",
          "object"
        ],
        "title": "Person",
        "type": "object",
        "x-expandableFields": [
          "additional_tos_acceptances",
          "address",
          "address_kana",
          "address_kanji",
          "dob",
          "future_requirements",
          "registered_address",
          "relationship",
          "requirements",
          "verification"
        ],
        "x-resourceId": "person",
        "x-stripeMostCommon": [
          "account",
          "address",
          "dob",
          "email",
          "first_name",
          "id",
          "last_name",
          "metadata",
          "phone",
          "relationship",
          "requirements"
        ],
        "x-stripeOperations": [
          {
            "method_name": "delete",
            "method_on": "service",
            "method_type": "delete",
            "operation": "delete",
            "path": "/v1/accounts/{account}/persons/{person}"
          },
          {
            "method_name": "list",
            "method_on": "collection",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/accounts/{account}/persons"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/accounts/{account}/persons"
          },
          {
            "method_name": "retrieve",
            "method_on": "collection",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/accounts/{account}/persons/{person}"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/accounts/{account}/persons/{person}"
          },
          {
            "method_name": "create",
            "method_on": "collection",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/accounts/{account}/persons"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/accounts/{account}/persons"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/accounts/{account}/persons/{person}"
          }
        ],
        "x-stripeResource": {
          "class_name": "Person",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "person.created": {
        "description": "Occurs whenever a person associated with an account is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/person"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "person.created"
        }
      },
      "person.deleted": {
        "description": "Occurs whenever a person associated with an account is deleted.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/person"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "person.deleted"
        }
      },
      "person.updated": {
        "description": "Occurs whenever a person associated with an account is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/person"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "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-stripeMostCommon": [
          "date",
          "ip",
          "user_agent"
        ]
      },
      "person_additional_tos_acceptances": {
        "description": "",
        "properties": {
          "account": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/person_additional_tos_acceptance"
              }
            ],
            "description": "Details on the legal guardian's acceptance of the main Stripe service agreement.",
            "nullable": true
          }
        },
        "required": [
          "account"
        ],
        "title": "PersonAdditionalTOSAcceptances",
        "type": "object",
        "x-expandableFields": [
          "account"
        ],
        "x-stripeMostCommon": [
          "account"
        ]
      },
      "person_future_requirements": {
        "description": "",
        "properties": {
          "alternatives": {
            "description": "Fields that are due and can be satisfied by providing the corresponding alternative fields instead.",
            "items": {
              "$ref": "#/components/schemas/account_requirements_alternative"
            },
            "nullable": true,
            "type": "array"
          },
          "currently_due": {
            "description": "Fields that need to be collected to keep the person's account enabled. If not collected by the account's `future_requirements[current_deadline]`, these fields will transition to the main `requirements` hash, and may immediately become `past_due`, but the account may also be given a grace period depending on the account's enablement state prior to transition.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "errors": {
            "description": "Fields that are `currently_due` and need to be collected again because validation or verification failed.",
            "items": {
              "$ref": "#/components/schemas/account_requirements_error"
            },
            "type": "array"
          },
          "eventually_due": {
            "description": "Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well, and the account's `future_requirements[current_deadline]` becomes set.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "past_due": {
            "description": "Fields that weren't collected by the account's `requirements.current_deadline`. These fields need to be collected to enable the person's account. New fields will never appear here; `future_requirements.past_due` will always be a subset of `requirements.past_due`.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "pending_verification": {
            "description": "Fields that might become required depending on the results of verification or review. It's an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due` or `currently_due`. Fields might appear in `eventually_due` or `currently_due` and in `pending_verification` if verification fails but another verification is still pending.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "alternatives",
          "currently_due",
          "errors",
          "eventually_due",
          "past_due",
          "pending_verification"
        ],
        "title": "PersonFutureRequirements",
        "type": "object",
        "x-expandableFields": [
          "alternatives",
          "errors"
        ],
        "x-stripeMostCommon": [
          "alternatives",
          "currently_due",
          "errors",
          "eventually_due",
          "past_due",
          "pending_verification"
        ]
      },
      "person_relationship": {
        "description": "",
        "properties": {
          "authorizer": {
            "description": "Whether the person is the authorizer of the account's representative.",
            "nullable": true,
            "type": "boolean"
          },
          "director": {
            "description": "Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.",
            "nullable": true,
            "type": "boolean"
          },
          "executive": {
            "description": "Whether the person has significant responsibility to control, manage, or direct the organization.",
            "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,
            "type": "boolean"
          },
          "percent_ownership": {
            "description": "The percent owned by the person of the account's legal entity.",
            "nullable": true,
            "type": "number"
          },
          "representative": {
            "description": "Whether the person is authorized as the primary representative of the account. This is the person nominated by the business to provide information about themselves, and general information about the account. There can only be one representative at any given time. At the time the account is created, this person should be set to the person responsible for opening the account.",
            "nullable": true,
            "type": "boolean"
          },
          "title": {
            "description": "The person's title (e.g., CEO, Support Engineer).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "authorizer",
          "director",
          "executive",
          "legal_guardian",
          "owner",
          "percent_ownership",
          "representative",
          "title"
        ],
        "title": "PersonRelationship",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "authorizer",
          "director",
          "executive",
          "legal_guardian",
          "owner",
          "percent_ownership",
          "representative",
          "title"
        ]
      },
      "person_requirements": {
        "description": "",
        "properties": {
          "alternatives": {
            "description": "Fields that are due and can be satisfied by providing the corresponding alternative fields instead.",
            "items": {
              "$ref": "#/components/schemas/account_requirements_alternative"
            },
            "nullable": true,
            "type": "array"
          },
          "currently_due": {
            "description": "Fields that need to be collected to keep the person's account enabled. If not collected by the account's `current_deadline`, these fields appear in `past_due` as well, and the account is disabled.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "errors": {
            "description": "Fields that are `currently_due` and need to be collected again because validation or verification failed.",
            "items": {
              "$ref": "#/components/schemas/account_requirements_error"
            },
            "type": "array"
          },
          "eventually_due": {
            "description": "Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well, and the account's `current_deadline` becomes set.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "past_due": {
            "description": "Fields that weren't collected by the account's `current_deadline`. These fields need to be collected to enable the person's account.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "pending_verification": {
            "description": "Fields that might become required depending on the results of verification or review. It's an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due`, `currently_due`, or `past_due`. Fields might appear in `eventually_due`, `currently_due`, or `past_due` and in `pending_verification` if verification fails but another verification is still pending.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "alternatives",
          "currently_due",
          "errors",
          "eventually_due",
          "past_due",
          "pending_verification"
        ],
        "title": "PersonRequirements",
        "type": "object",
        "x-expandableFields": [
          "alternatives",
          "errors"
        ],
        "x-stripeMostCommon": [
          "alternatives",
          "currently_due",
          "errors",
          "eventually_due",
          "past_due",
          "pending_verification"
        ]
      },
      "plan": {
        "description": "You can now model subscriptions more flexibly using the [Prices API](https://stripe.com/docs/api#prices). It replaces the Plans API and is backwards compatible to simplify your migration.\n\nPlans define the base price, currency, and billing cycle for recurring purchases of products.\n[Products](https://stripe.com/docs/api#products) help you track inventory or provisioning, and plans help you track pricing. Different physical goods or levels of service should be represented by products, and pricing options should be represented by plans. This approach lets you change prices without having to change your provisioning scheme.\n\nFor example, you might have a single \"gold\" product that has plans for $10/month, $100/year, €9/month, and €90/year.\n\nRelated guides: [Set up a subscription](https://stripe.com/docs/billing/subscriptions/set-up-subscription) and more about [products and prices](https://stripe.com/docs/products-prices/overview).",
        "properties": {
          "active": {
            "description": "Whether the plan can be used for new purchases.",
            "type": "boolean"
          },
          "aggregate_usage": {
            "description": "Specifies a usage aggregation strategy for plans of `usage_type=metered`. Allowed values are `sum` for summing up all usage during a period, `last_during_period` for using the last usage record reported within a period, `last_ever` for using the last usage record ever (across period bounds) or `max` which uses the usage record with the maximum reported usage during a period. Defaults to `sum`.",
            "enum": [
              "last_during_period",
              "last_ever",
              "max",
              "sum"
            ],
            "nullable": true,
            "type": "string"
          },
          "amount": {
            "description": "The unit amount in cents (or local equivalent) to be charged, represented as a whole integer if possible. Only set if `billing_scheme=per_unit`.",
            "nullable": true,
            "type": "integer"
          },
          "amount_decimal": {
            "description": "The unit amount in cents (or local equivalent) to be charged, represented as a decimal string with at most 12 decimal places. Only set if `billing_scheme=per_unit`.",
            "format": "decimal",
            "nullable": true,
            "type": "string"
          },
          "billing_scheme": {
            "description": "Describes how to compute the price per period. Either `per_unit` or `tiered`. `per_unit` indicates that the fixed amount (specified in `amount`) will be charged per unit in `quantity` (for plans with `usage_type=licensed`), or per unit of total usage (for plans with `usage_type=metered`). `tiered` indicates that the unit pricing will be computed using a tiering strategy as defined using the `tiers` and `tiers_mode` attributes.",
            "enum": [
              "per_unit",
              "tiered"
            ],
            "type": "string"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "interval": {
            "description": "The frequency at which a subscription is billed. One of `day`, `week`, `month` or `year`.",
            "enum": [
              "day",
              "month",
              "week",
              "year"
            ],
            "type": "string"
          },
          "interval_count": {
            "description": "The number of intervals (specified in the `interval` attribute) between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months.",
            "type": "integer"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "nullable": true,
            "type": "object"
          },
          "meter": {
            "description": "The meter tracking the usage of a metered price",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "nickname": {
            "description": "A brief description of the plan, hidden from customers.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "plan"
            ],
            "type": "string"
          },
          "product": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/product"
              },
              {
                "$ref": "#/components/schemas/deleted_product"
              }
            ],
            "description": "The product whose pricing this plan determines.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/product"
                },
                {
                  "$ref": "#/components/schemas/deleted_product"
                }
              ]
            }
          },
          "tiers": {
            "description": "Each element represents a pricing tier. This parameter requires `billing_scheme` to be set to `tiered`. See also the documentation for `billing_scheme`.",
            "items": {
              "$ref": "#/components/schemas/plan_tier"
            },
            "type": "array"
          },
          "tiers_mode": {
            "description": "Defines if the tiering price should be `graduated` or `volume` based. In `volume`-based tiering, the maximum quantity within a period determines the per unit price. In `graduated` tiering, pricing can change as the quantity grows.",
            "enum": [
              "graduated",
              "volume"
            ],
            "nullable": true,
            "type": "string"
          },
          "transform_usage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/transform_usage"
              }
            ],
            "description": "Apply a transformation to the reported usage or set quantity before computing the amount billed. Cannot be combined with `tiers`.",
            "nullable": true
          },
          "trial_period_days": {
            "description": "Default number of trial days when subscribing a customer to this plan using [`trial_from_plan=true`](https://stripe.com/docs/api#create_subscription-trial_from_plan).",
            "nullable": true,
            "type": "integer"
          },
          "usage_type": {
            "description": "Configures how the quantity per period should be determined. Can be either `metered` or `licensed`. `licensed` automatically bills the `quantity` set when adding it to a subscription. `metered` aggregates the total usage based on usage records. Defaults to `licensed`.",
            "enum": [
              "licensed",
              "metered"
            ],
            "type": "string"
          }
        },
        "required": [
          "active",
          "aggregate_usage",
          "amount",
          "amount_decimal",
          "billing_scheme",
          "created",
          "currency",
          "id",
          "interval",
          "interval_count",
          "livemode",
          "metadata",
          "meter",
          "nickname",
          "object",
          "product",
          "tiers_mode",
          "transform_usage",
          "trial_period_days",
          "usage_type"
        ],
        "title": "Plan",
        "type": "object",
        "x-expandableFields": [
          "product",
          "tiers",
          "transform_usage"
        ],
        "x-resourceId": "plan",
        "x-stripeMostCommon": [
          "active",
          "amount",
          "currency",
          "id",
          "interval",
          "metadata",
          "nickname",
          "product"
        ],
        "x-stripeOperations": [
          {
            "method_name": "delete",
            "method_on": "service",
            "method_type": "delete",
            "operation": "delete",
            "path": "/v1/plans/{plan}"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/plans"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/plans/{plan}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/plans"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/plans/{plan}"
          }
        ],
        "x-stripeResource": {
          "class_name": "Plan",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "plan.created": {
        "description": "Occurs whenever a plan is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/plan"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "plan.created"
        }
      },
      "plan.deleted": {
        "description": "Occurs whenever a plan is deleted.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/plan"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "plan.deleted"
        }
      },
      "plan.updated": {
        "description": "Occurs whenever a plan is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/plan"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "plan.updated"
        }
      },
      "plan_tier": {
        "description": "",
        "properties": {
          "flat_amount": {
            "description": "Price for the entire tier.",
            "nullable": true,
            "type": "integer"
          },
          "flat_amount_decimal": {
            "description": "Same as `flat_amount`, but contains a decimal value with at most 12 decimal places.",
            "format": "decimal",
            "nullable": true,
            "type": "string"
          },
          "unit_amount": {
            "description": "Per unit price for units relevant to the tier.",
            "nullable": true,
            "type": "integer"
          },
          "unit_amount_decimal": {
            "description": "Same as `unit_amount`, but contains a decimal value with at most 12 decimal places.",
            "format": "decimal",
            "nullable": true,
            "type": "string"
          },
          "up_to": {
            "description": "Up to and including to this quantity will be contained in the tier.",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "flat_amount",
          "flat_amount_decimal",
          "unit_amount",
          "unit_amount_decimal",
          "up_to"
        ],
        "title": "PlanTier",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "flat_amount",
          "flat_amount_decimal",
          "unit_amount",
          "unit_amount_decimal",
          "up_to"
        ]
      },
      "platform_earning_fee_source": {
        "description": "",
        "properties": {
          "charge": {
            "description": "Charge ID that created this application fee.",
            "maxLength": 5000,
            "type": "string"
          },
          "payout": {
            "description": "Payout ID that created this application fee.",
            "maxLength": 5000,
            "type": "string"
          },
          "type": {
            "description": "Type of object that created the application fee, either `charge` or `payout`.",
            "enum": [
              "charge",
              "payout"
            ],
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "title": "PlatformEarningFeeSource",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "charge",
          "payout",
          "type"
        ]
      },
      "portal_business_profile": {
        "description": "",
        "properties": {
          "headline": {
            "description": "The messaging shown to customers in the portal.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "privacy_policy_url": {
            "description": "A link to the business’s publicly available privacy policy.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "terms_of_service_url": {
            "description": "A link to the business’s publicly available terms of service.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "headline",
          "privacy_policy_url",
          "terms_of_service_url"
        ],
        "title": "PortalBusinessProfile",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "headline",
          "privacy_policy_url",
          "terms_of_service_url"
        ]
      },
      "portal_customer_update": {
        "description": "",
        "properties": {
          "allowed_updates": {
            "description": "The types of customer updates that are supported. When empty, customers are not updateable.",
            "items": {
              "enum": [
                "address",
                "email",
                "name",
                "phone",
                "shipping",
                "tax_id"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "enabled": {
            "description": "Whether the feature is enabled.",
            "type": "boolean"
          }
        },
        "required": [
          "allowed_updates",
          "enabled"
        ],
        "title": "PortalCustomerUpdate",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "allowed_updates",
          "enabled"
        ]
      },
      "portal_features": {
        "description": "",
        "properties": {
          "customer_update": {
            "$ref": "#/components/schemas/portal_customer_update"
          },
          "invoice_history": {
            "$ref": "#/components/schemas/portal_invoice_list"
          },
          "payment_method_update": {
            "$ref": "#/components/schemas/portal_payment_method_update"
          },
          "subscription_cancel": {
            "$ref": "#/components/schemas/portal_subscription_cancel"
          },
          "subscription_update": {
            "$ref": "#/components/schemas/portal_subscription_update"
          }
        },
        "required": [
          "customer_update",
          "invoice_history",
          "payment_method_update",
          "subscription_cancel",
          "subscription_update"
        ],
        "title": "PortalFeatures",
        "type": "object",
        "x-expandableFields": [
          "customer_update",
          "invoice_history",
          "payment_method_update",
          "subscription_cancel",
          "subscription_update"
        ],
        "x-stripeMostCommon": [
          "customer_update",
          "invoice_history",
          "payment_method_update",
          "subscription_cancel",
          "subscription_update"
        ]
      },
      "portal_flows_after_completion_hosted_confirmation": {
        "description": "",
        "properties": {
          "custom_message": {
            "description": "A custom message to display to the customer after the flow is completed.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "custom_message"
        ],
        "title": "PortalFlowsAfterCompletionHostedConfirmation",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "custom_message"
        ]
      },
      "portal_flows_after_completion_redirect": {
        "description": "",
        "properties": {
          "return_url": {
            "description": "The URL the customer will be redirected to after the flow is completed.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "return_url"
        ],
        "title": "PortalFlowsAfterCompletionRedirect",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "return_url"
        ]
      },
      "portal_flows_coupon_offer": {
        "description": "",
        "properties": {
          "coupon": {
            "description": "The ID of the coupon to be offered.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "coupon"
        ],
        "title": "PortalFlowsCouponOffer",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "coupon"
        ]
      },
      "portal_flows_flow": {
        "description": "",
        "properties": {
          "after_completion": {
            "$ref": "#/components/schemas/portal_flows_flow_after_completion"
          },
          "subscription_cancel": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/portal_flows_flow_subscription_cancel"
              }
            ],
            "description": "Configuration when `flow.type=subscription_cancel`.",
            "nullable": true
          },
          "subscription_update": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/portal_flows_flow_subscription_update"
              }
            ],
            "description": "Configuration when `flow.type=subscription_update`.",
            "nullable": true
          },
          "subscription_update_confirm": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/portal_flows_flow_subscription_update_confirm"
              }
            ],
            "description": "Configuration when `flow.type=subscription_update_confirm`.",
            "nullable": true
          },
          "type": {
            "description": "Type of flow that the customer will go through.",
            "enum": [
              "payment_method_update",
              "subscription_cancel",
              "subscription_update",
              "subscription_update_confirm"
            ],
            "type": "string"
          }
        },
        "required": [
          "after_completion",
          "subscription_cancel",
          "subscription_update",
          "subscription_update_confirm",
          "type"
        ],
        "title": "PortalFlowsFlow",
        "type": "object",
        "x-expandableFields": [
          "after_completion",
          "subscription_cancel",
          "subscription_update",
          "subscription_update_confirm"
        ],
        "x-stripeMostCommon": [
          "after_completion",
          "subscription_cancel",
          "subscription_update",
          "subscription_update_confirm",
          "type"
        ]
      },
      "portal_flows_flow_after_completion": {
        "description": "",
        "properties": {
          "hosted_confirmation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/portal_flows_after_completion_hosted_confirmation"
              }
            ],
            "description": "Configuration when `after_completion.type=hosted_confirmation`.",
            "nullable": true
          },
          "redirect": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/portal_flows_after_completion_redirect"
              }
            ],
            "description": "Configuration when `after_completion.type=redirect`.",
            "nullable": true
          },
          "type": {
            "description": "The specified type of behavior after the flow is completed.",
            "enum": [
              "hosted_confirmation",
              "portal_homepage",
              "redirect"
            ],
            "type": "string"
          }
        },
        "required": [
          "hosted_confirmation",
          "redirect",
          "type"
        ],
        "title": "PortalFlowsFlowAfterCompletion",
        "type": "object",
        "x-expandableFields": [
          "hosted_confirmation",
          "redirect"
        ],
        "x-stripeMostCommon": [
          "hosted_confirmation",
          "redirect",
          "type"
        ]
      },
      "portal_flows_flow_subscription_cancel": {
        "description": "",
        "properties": {
          "retention": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/portal_flows_retention"
              }
            ],
            "description": "Specify a retention strategy to be used in the cancellation flow.",
            "nullable": true
          },
          "subscription": {
            "description": "The ID of the subscription to be canceled.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "retention",
          "subscription"
        ],
        "title": "PortalFlowsFlowSubscriptionCancel",
        "type": "object",
        "x-expandableFields": [
          "retention"
        ],
        "x-stripeMostCommon": [
          "retention",
          "subscription"
        ]
      },
      "portal_flows_flow_subscription_update": {
        "description": "",
        "properties": {
          "subscription": {
            "description": "The ID of the subscription to be updated.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "subscription"
        ],
        "title": "PortalFlowsFlowSubscriptionUpdate",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "subscription"
        ]
      },
      "portal_flows_flow_subscription_update_confirm": {
        "description": "",
        "properties": {
          "discounts": {
            "description": "The coupon or promotion code to apply to this subscription update. Currently, only up to one may be specified.",
            "items": {
              "$ref": "#/components/schemas/portal_flows_subscription_update_confirm_discount"
            },
            "nullable": true,
            "type": "array"
          },
          "items": {
            "description": "The [subscription item](https://stripe.com/docs/api/subscription_items) to be updated through this flow. Currently, only up to one may be specified and subscriptions with multiple items are not updatable.",
            "items": {
              "$ref": "#/components/schemas/portal_flows_subscription_update_confirm_item"
            },
            "type": "array"
          },
          "subscription": {
            "description": "The ID of the subscription to be updated.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "discounts",
          "items",
          "subscription"
        ],
        "title": "PortalFlowsFlowSubscriptionUpdateConfirm",
        "type": "object",
        "x-expandableFields": [
          "discounts",
          "items"
        ],
        "x-stripeMostCommon": [
          "discounts",
          "items",
          "subscription"
        ]
      },
      "portal_flows_retention": {
        "description": "",
        "properties": {
          "coupon_offer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/portal_flows_coupon_offer"
              }
            ],
            "description": "Configuration when `retention.type=coupon_offer`.",
            "nullable": true
          },
          "type": {
            "description": "Type of retention strategy that will be used.",
            "enum": [
              "coupon_offer"
            ],
            "type": "string"
          }
        },
        "required": [
          "coupon_offer",
          "type"
        ],
        "title": "PortalFlowsRetention",
        "type": "object",
        "x-expandableFields": [
          "coupon_offer"
        ],
        "x-stripeMostCommon": [
          "coupon_offer",
          "type"
        ]
      },
      "portal_flows_subscription_update_confirm_discount": {
        "description": "",
        "properties": {
          "coupon": {
            "description": "The ID of the coupon to apply to this subscription update.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "promotion_code": {
            "description": "The ID of a promotion code to apply to this subscription update.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "coupon",
          "promotion_code"
        ],
        "title": "PortalFlowsSubscriptionUpdateConfirmDiscount",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "coupon",
          "promotion_code"
        ]
      },
      "portal_flows_subscription_update_confirm_item": {
        "description": "",
        "properties": {
          "id": {
            "description": "The ID of the [subscription item](https://stripe.com/docs/api/subscriptions/object#subscription_object-items-data-id) to be updated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "price": {
            "description": "The price the customer should subscribe to through this flow. The price must also be included in the configuration's [`features.subscription_update.products`](https://stripe.com/docs/api/customer_portal/configuration#portal_configuration_object-features-subscription_update-products).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "quantity": {
            "description": "[Quantity](https://stripe.com/docs/subscriptions/quantities) for this item that the customer should subscribe to through this flow.",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "price"
        ],
        "title": "PortalFlowsSubscriptionUpdateConfirmItem",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "id",
          "price",
          "quantity"
        ]
      },
      "portal_invoice_list": {
        "description": "",
        "properties": {
          "enabled": {
            "description": "Whether the feature is enabled.",
            "type": "boolean"
          }
        },
        "required": [
          "enabled"
        ],
        "title": "PortalInvoiceList",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "enabled"
        ]
      },
      "portal_login_page": {
        "description": "",
        "properties": {
          "enabled": {
            "description": "If `true`, a shareable `url` will be generated that will take your customers to a hosted login page for the customer portal.\n\nIf `false`, the previously generated `url`, if any, will be deactivated.",
            "type": "boolean"
          },
          "url": {
            "description": "A shareable URL to the hosted portal login page. Your customers will be able to log in with their [email](https://stripe.com/docs/api/customers/object#customer_object-email) and receive a link to their customer portal.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "enabled",
          "url"
        ],
        "title": "PortalLoginPage",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "enabled",
          "url"
        ]
      },
      "portal_payment_method_update": {
        "description": "",
        "properties": {
          "enabled": {
            "description": "Whether the feature is enabled.",
            "type": "boolean"
          }
        },
        "required": [
          "enabled"
        ],
        "title": "PortalPaymentMethodUpdate",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "enabled"
        ]
      },
      "portal_resource_schedule_update_at_period_end": {
        "description": "",
        "properties": {
          "conditions": {
            "description": "List of conditions. When any condition is true, an update will be scheduled at the end of the current period.",
            "items": {
              "$ref": "#/components/schemas/portal_resource_schedule_update_at_period_end_condition"
            },
            "type": "array"
          }
        },
        "required": [
          "conditions"
        ],
        "title": "PortalResourceScheduleUpdateAtPeriodEnd",
        "type": "object",
        "x-expandableFields": [
          "conditions"
        ],
        "x-stripeMostCommon": [
          "conditions"
        ]
      },
      "portal_resource_schedule_update_at_period_end_condition": {
        "description": "",
        "properties": {
          "type": {
            "description": "The type of condition.",
            "enum": [
              "decreasing_item_amount",
              "shortening_interval"
            ],
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "title": "PortalResourceScheduleUpdateAtPeriodEndCondition",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "type"
        ]
      },
      "portal_subscription_cancel": {
        "description": "",
        "properties": {
          "cancellation_reason": {
            "$ref": "#/components/schemas/portal_subscription_cancellation_reason"
          },
          "enabled": {
            "description": "Whether the feature is enabled.",
            "type": "boolean"
          },
          "mode": {
            "description": "Whether to cancel subscriptions immediately or at the end of the billing period.",
            "enum": [
              "at_period_end",
              "immediately"
            ],
            "type": "string"
          },
          "proration_behavior": {
            "description": "Whether to create prorations when canceling subscriptions. Possible values are `none` and `create_prorations`.",
            "enum": [
              "always_invoice",
              "create_prorations",
              "none"
            ],
            "type": "string"
          }
        },
        "required": [
          "cancellation_reason",
          "enabled",
          "mode",
          "proration_behavior"
        ],
        "title": "PortalSubscriptionCancel",
        "type": "object",
        "x-expandableFields": [
          "cancellation_reason"
        ],
        "x-stripeMostCommon": [
          "cancellation_reason",
          "enabled",
          "mode",
          "proration_behavior"
        ]
      },
      "portal_subscription_cancellation_reason": {
        "description": "",
        "properties": {
          "enabled": {
            "description": "Whether the feature is enabled.",
            "type": "boolean"
          },
          "options": {
            "description": "Which cancellation reasons will be given as options to the customer.",
            "items": {
              "enum": [
                "customer_service",
                "low_quality",
                "missing_features",
                "other",
                "switched_service",
                "too_complex",
                "too_expensive",
                "unused"
              ],
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "enabled",
          "options"
        ],
        "title": "PortalSubscriptionCancellationReason",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "enabled",
          "options"
        ]
      },
      "portal_subscription_update": {
        "description": "",
        "properties": {
          "default_allowed_updates": {
            "description": "The types of subscription updates that are supported for items listed in the `products` attribute. When empty, subscriptions are not updateable.",
            "items": {
              "enum": [
                "price",
                "promotion_code",
                "quantity"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "enabled": {
            "description": "Whether the feature is enabled.",
            "type": "boolean"
          },
          "products": {
            "description": "The list of up to 10 products that support subscription updates.",
            "items": {
              "$ref": "#/components/schemas/portal_subscription_update_product"
            },
            "nullable": true,
            "type": "array"
          },
          "proration_behavior": {
            "description": "Determines how to handle prorations resulting from subscription updates. Valid values are `none`, `create_prorations`, and `always_invoice`. Defaults to a value of `none` if you don't set it during creation.",
            "enum": [
              "always_invoice",
              "create_prorations",
              "none"
            ],
            "type": "string"
          },
          "schedule_at_period_end": {
            "$ref": "#/components/schemas/portal_resource_schedule_update_at_period_end"
          }
        },
        "required": [
          "default_allowed_updates",
          "enabled",
          "proration_behavior"
        ],
        "title": "PortalSubscriptionUpdate",
        "type": "object",
        "x-expandableFields": [
          "products",
          "schedule_at_period_end"
        ],
        "x-stripeMostCommon": [
          "default_allowed_updates",
          "enabled",
          "products",
          "proration_behavior",
          "schedule_at_period_end"
        ]
      },
      "portal_subscription_update_product": {
        "description": "",
        "properties": {
          "prices": {
            "description": "The list of price IDs which, when subscribed to, a subscription can be updated.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "product": {
            "description": "The product ID.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "prices",
          "product"
        ],
        "title": "PortalSubscriptionUpdateProduct",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "prices",
          "product"
        ]
      },
      "price": {
        "description": "Prices define the unit cost, currency, and (optional) billing cycle for both recurring and one-time purchases of products.\n[Products](https://stripe.com/docs/api#products) help you track inventory or provisioning, and prices help you track payment terms. Different physical goods or levels of service should be represented by products, and pricing options should be represented by prices. This approach lets you change prices without having to change your provisioning scheme.\n\nFor example, you might have a single \"gold\" product that has prices for $10/month, $100/year, and €9 once.\n\nRelated guides: [Set up a subscription](https://stripe.com/docs/billing/subscriptions/set-up-subscription), [create an invoice](https://stripe.com/docs/billing/invoices/create), and more about [products and prices](https://stripe.com/docs/products-prices/overview).",
        "properties": {
          "active": {
            "description": "Whether the price can be used for new purchases.",
            "type": "boolean"
          },
          "billing_scheme": {
            "description": "Describes how to compute the price per period. Either `per_unit` or `tiered`. `per_unit` indicates that the fixed amount (specified in `unit_amount` or `unit_amount_decimal`) will be charged per unit in `quantity` (for prices with `usage_type=licensed`), or per unit of total usage (for prices with `usage_type=metered`). `tiered` indicates that the unit pricing will be computed using a tiering strategy as defined using the `tiers` and `tiers_mode` attributes.",
            "enum": [
              "per_unit",
              "tiered"
            ],
            "type": "string"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "currency_options": {
            "additionalProperties": {
              "$ref": "#/components/schemas/currency_option"
            },
            "description": "Prices defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).",
            "type": "object"
          },
          "custom_unit_amount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/custom_unit_amount"
              }
            ],
            "description": "When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links.",
            "nullable": true
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "lookup_key": {
            "description": "A lookup key used to retrieve prices dynamically from a static string. This may be up to 200 characters.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "nickname": {
            "description": "A brief description of the price, hidden from customers.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "price"
            ],
            "type": "string"
          },
          "product": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/product"
              },
              {
                "$ref": "#/components/schemas/deleted_product"
              }
            ],
            "description": "The ID of the product this price is associated with.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/product"
                },
                {
                  "$ref": "#/components/schemas/deleted_product"
                }
              ]
            }
          },
          "recurring": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/recurring"
              }
            ],
            "description": "The recurring components of a price such as `interval` and `usage_type`.",
            "nullable": true
          },
          "tax_behavior": {
            "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
            "enum": [
              "exclusive",
              "inclusive",
              "unspecified"
            ],
            "nullable": true,
            "type": "string"
          },
          "tiers": {
            "description": "Each element represents a pricing tier. This parameter requires `billing_scheme` to be set to `tiered`. See also the documentation for `billing_scheme`.",
            "items": {
              "$ref": "#/components/schemas/price_tier"
            },
            "type": "array"
          },
          "tiers_mode": {
            "description": "Defines if the tiering price should be `graduated` or `volume` based. In `volume`-based tiering, the maximum quantity within a period determines the per unit price. In `graduated` tiering, pricing can change as the quantity grows.",
            "enum": [
              "graduated",
              "volume"
            ],
            "nullable": true,
            "type": "string"
          },
          "transform_quantity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/transform_quantity"
              }
            ],
            "description": "Apply a transformation to the reported usage or set quantity before computing the amount billed. Cannot be combined with `tiers`.",
            "nullable": true
          },
          "type": {
            "description": "One of `one_time` or `recurring` depending on whether the price is for a one-time purchase or a recurring (subscription) purchase.",
            "enum": [
              "one_time",
              "recurring"
            ],
            "type": "string"
          },
          "unit_amount": {
            "description": "The unit amount in cents (or local equivalent) to be charged, represented as a whole integer if possible. Only set if `billing_scheme=per_unit`.",
            "nullable": true,
            "type": "integer"
          },
          "unit_amount_decimal": {
            "description": "The unit amount in cents (or local equivalent) to be charged, represented as a decimal string with at most 12 decimal places. Only set if `billing_scheme=per_unit`.",
            "format": "decimal",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "active",
          "billing_scheme",
          "created",
          "currency",
          "custom_unit_amount",
          "id",
          "livemode",
          "lookup_key",
          "metadata",
          "nickname",
          "object",
          "product",
          "recurring",
          "tax_behavior",
          "tiers_mode",
          "transform_quantity",
          "type",
          "unit_amount",
          "unit_amount_decimal"
        ],
        "title": "Price",
        "type": "object",
        "x-expandableFields": [
          "currency_options",
          "custom_unit_amount",
          "product",
          "recurring",
          "tiers",
          "transform_quantity"
        ],
        "x-resourceId": "price",
        "x-stripeMostCommon": [
          "active",
          "currency",
          "id",
          "metadata",
          "nickname",
          "product",
          "recurring",
          "tax_behavior",
          "type",
          "unit_amount"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/prices"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/prices/{price}"
          },
          {
            "method_name": "search",
            "method_on": "service",
            "method_type": "custom",
            "operation": "get",
            "path": "/v1/prices/search"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/prices"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/prices/{price}"
          }
        ],
        "x-stripeResource": {
          "class_name": "Price",
          "has_collection_class": true,
          "has_search_result_class": true,
          "in_package": ""
        }
      },
      "price.created": {
        "description": "Occurs whenever a price is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/price"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "price.created"
        }
      },
      "price.deleted": {
        "description": "Occurs whenever a price is deleted.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/price"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "price.deleted"
        }
      },
      "price.updated": {
        "description": "Occurs whenever a price is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/price"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "price.updated"
        }
      },
      "price_tier": {
        "description": "",
        "properties": {
          "flat_amount": {
            "description": "Price for the entire tier.",
            "nullable": true,
            "type": "integer"
          },
          "flat_amount_decimal": {
            "description": "Same as `flat_amount`, but contains a decimal value with at most 12 decimal places.",
            "format": "decimal",
            "nullable": true,
            "type": "string"
          },
          "unit_amount": {
            "description": "Per unit price for units relevant to the tier.",
            "nullable": true,
            "type": "integer"
          },
          "unit_amount_decimal": {
            "description": "Same as `unit_amount`, but contains a decimal value with at most 12 decimal places.",
            "format": "decimal",
            "nullable": true,
            "type": "string"
          },
          "up_to": {
            "description": "Up to and including to this quantity will be contained in the tier.",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "flat_amount",
          "flat_amount_decimal",
          "unit_amount",
          "unit_amount_decimal",
          "up_to"
        ],
        "title": "PriceTier",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "flat_amount",
          "flat_amount_decimal",
          "unit_amount",
          "unit_amount_decimal",
          "up_to"
        ]
      },
      "product": {
        "description": "Products describe the specific goods or services you offer to your customers.\nFor example, you might offer a Standard and Premium version of your goods or service; each version would be a separate Product.\nThey can be used in conjunction with [Prices](https://stripe.com/docs/api#prices) to configure pricing in Payment Links, Checkout, and Subscriptions.\n\nRelated guides: [Set up a subscription](https://stripe.com/docs/billing/subscriptions/set-up-subscription),\n[share a Payment Link](https://stripe.com/docs/payment-links),\n[accept payments with Checkout](https://stripe.com/docs/payments/accept-a-payment#create-product-prices-upfront),\nand more about [Products and Prices](https://stripe.com/docs/products-prices/overview)",
        "properties": {
          "active": {
            "description": "Whether the product is currently available for purchase.",
            "type": "boolean"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "default_price": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/price"
              }
            ],
            "description": "The ID of the [Price](https://stripe.com/docs/api/prices) object that is the default price for this product.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/price"
                }
              ]
            }
          },
          "description": {
            "description": "The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "images": {
            "description": "A list of up to 8 URLs of images for this product, meant to be displayable to the customer.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "marketing_features": {
            "description": "A list of up to 15 marketing features for this product. These are displayed in [pricing tables](https://stripe.com/docs/payments/checkout/pricing-table).",
            "items": {
              "$ref": "#/components/schemas/product_marketing_feature"
            },
            "type": "array"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "name": {
            "description": "The product's name, meant to be displayable to the customer.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "product"
            ],
            "type": "string"
          },
          "package_dimensions": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/package_dimensions"
              }
            ],
            "description": "The dimensions of this product for shipping purposes.",
            "nullable": true
          },
          "shippable": {
            "description": "Whether this product is shipped (i.e., physical goods).",
            "nullable": true,
            "type": "boolean"
          },
          "statement_descriptor": {
            "description": "Extra information about a product which will appear on your customer's credit card statement. In the case that multiple products are billed at once, the first statement descriptor will be used. Only used for subscription payments.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "tax_code": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/tax_code"
              }
            ],
            "description": "A [tax code](https://stripe.com/docs/tax/tax-categories) ID.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/tax_code"
                }
              ]
            }
          },
          "type": {
            "description": "The type of the product. The product is either of type `good`, which is eligible for use with Orders and SKUs, or `service`, which is eligible for use with Subscriptions and Plans.",
            "enum": [
              "good",
              "service"
            ],
            "type": "string"
          },
          "unit_label": {
            "description": "A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "updated": {
            "description": "Time at which the object was last updated. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "url": {
            "description": "A URL of a publicly-accessible webpage for this product.",
            "maxLength": 2048,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "active",
          "created",
          "description",
          "id",
          "images",
          "livemode",
          "marketing_features",
          "metadata",
          "name",
          "object",
          "package_dimensions",
          "shippable",
          "tax_code",
          "type",
          "updated",
          "url"
        ],
        "title": "Product",
        "type": "object",
        "x-expandableFields": [
          "default_price",
          "marketing_features",
          "package_dimensions",
          "tax_code"
        ],
        "x-resourceId": "product",
        "x-stripeMostCommon": [
          "active",
          "default_price",
          "description",
          "id",
          "metadata",
          "name",
          "tax_code"
        ],
        "x-stripeOperations": [
          {
            "method_name": "delete",
            "method_on": "service",
            "method_type": "delete",
            "operation": "delete",
            "path": "/v1/products/{id}"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/products"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/products/{id}"
          },
          {
            "method_name": "search",
            "method_on": "service",
            "method_type": "custom",
            "operation": "get",
            "path": "/v1/products/search"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/products"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/products/{id}"
          }
        ],
        "x-stripeResource": {
          "class_name": "Product",
          "has_collection_class": true,
          "has_search_result_class": true,
          "in_package": ""
        }
      },
      "product.created": {
        "description": "Occurs whenever a product is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/product"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "product.created"
        }
      },
      "product.deleted": {
        "description": "Occurs whenever a product is deleted.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/product"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "product.deleted"
        }
      },
      "product.updated": {
        "description": "Occurs whenever a product is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/product"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "product.updated"
        }
      },
      "product_feature": {
        "description": "A product_feature represents an attachment between a feature and a product.\nWhen a product is purchased that has a feature attached, Stripe will create an entitlement to the feature for the purchasing customer.",
        "properties": {
          "entitlement_feature": {
            "$ref": "#/components/schemas/entitlements.feature"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "product_feature"
            ],
            "type": "string"
          }
        },
        "required": [
          "entitlement_feature",
          "id",
          "livemode",
          "object"
        ],
        "title": "ProductFeature",
        "type": "object",
        "x-expandableFields": [
          "entitlement_feature"
        ],
        "x-resourceId": "product_feature",
        "x-stripeMostCommon": [
          "entitlement_feature",
          "id"
        ],
        "x-stripeOperations": [
          {
            "method_name": "delete",
            "method_on": "service",
            "method_type": "delete",
            "operation": "delete",
            "path": "/v1/products/{product}/features/{id}"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/products/{product}/features"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/products/{product}/features/{id}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/products/{product}/features"
          }
        ],
        "x-stripeResource": {
          "class_name": "ProductFeature",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "product_marketing_feature": {
        "description": "",
        "properties": {
          "name": {
            "description": "The marketing feature name. Up to 80 characters long.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "title": "ProductMarketingFeature",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "name"
        ]
      },
      "promotion_code": {
        "description": "A Promotion Code represents a customer-redeemable code for a [coupon](https://stripe.com/docs/api#coupons). It can be used to\ncreate multiple codes for a single coupon.",
        "properties": {
          "active": {
            "description": "Whether the promotion code is currently active. A promotion code is only active if the coupon is also valid.",
            "type": "boolean"
          },
          "code": {
            "description": "The customer-facing code. Regardless of case, this code must be unique across all active promotion codes for each customer. Valid characters are lower case letters (a-z), upper case letters (A-Z), and digits (0-9).",
            "maxLength": 5000,
            "type": "string"
          },
          "coupon": {
            "$ref": "#/components/schemas/coupon"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "customer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer"
              },
              {
                "$ref": "#/components/schemas/deleted_customer"
              }
            ],
            "description": "The customer that this promotion code can be used by.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer"
                },
                {
                  "$ref": "#/components/schemas/deleted_customer"
                }
              ]
            }
          },
          "expires_at": {
            "description": "Date at which the promotion code can no longer be redeemed.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "max_redemptions": {
            "description": "Maximum number of times this promotion code can be redeemed.",
            "nullable": true,
            "type": "integer"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "nullable": true,
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "promotion_code"
            ],
            "type": "string"
          },
          "restrictions": {
            "$ref": "#/components/schemas/promotion_codes_resource_restrictions"
          },
          "times_redeemed": {
            "description": "Number of times this promotion code has been used.",
            "type": "integer"
          }
        },
        "required": [
          "active",
          "code",
          "coupon",
          "created",
          "customer",
          "expires_at",
          "id",
          "livemode",
          "max_redemptions",
          "metadata",
          "object",
          "restrictions",
          "times_redeemed"
        ],
        "title": "PromotionCode",
        "type": "object",
        "x-expandableFields": [
          "coupon",
          "customer",
          "restrictions"
        ],
        "x-resourceId": "promotion_code",
        "x-stripeMostCommon": [
          "code",
          "coupon",
          "id",
          "metadata"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/promotion_codes"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/promotion_codes/{promotion_code}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/promotion_codes"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/promotion_codes/{promotion_code}"
          }
        ],
        "x-stripeResource": {
          "class_name": "PromotionCode",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "promotion_code.created": {
        "description": "Occurs whenever a promotion code is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/promotion_code"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "promotion_code.created"
        }
      },
      "promotion_code.updated": {
        "description": "Occurs whenever a promotion code is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/promotion_code"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "promotion_code.updated"
        }
      },
      "promotion_code_currency_option": {
        "description": "",
        "properties": {
          "minimum_amount": {
            "description": "Minimum amount required to redeem this Promotion Code into a Coupon (e.g., a purchase must be $100 or more to work).",
            "type": "integer"
          }
        },
        "required": [
          "minimum_amount"
        ],
        "title": "PromotionCodeCurrencyOption",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "minimum_amount"
        ]
      },
      "promotion_codes_resource_restrictions": {
        "description": "",
        "properties": {
          "currency_options": {
            "additionalProperties": {
              "$ref": "#/components/schemas/promotion_code_currency_option"
            },
            "description": "Promotion code restrictions defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).",
            "type": "object"
          },
          "first_time_transaction": {
            "description": "A Boolean indicating if the Promotion Code should only be redeemed for Customers without any successful payments or invoices",
            "type": "boolean"
          },
          "minimum_amount": {
            "description": "Minimum amount required to redeem this Promotion Code into a Coupon (e.g., a purchase must be $100 or more to work).",
            "nullable": true,
            "type": "integer"
          },
          "minimum_amount_currency": {
            "description": "Three-letter [ISO code](https://stripe.com/docs/currencies) for minimum_amount",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "first_time_transaction",
          "minimum_amount",
          "minimum_amount_currency"
        ],
        "title": "PromotionCodesResourceRestrictions",
        "type": "object",
        "x-expandableFields": [
          "currency_options"
        ],
        "x-stripeMostCommon": [
          "currency_options",
          "first_time_transaction",
          "minimum_amount",
          "minimum_amount_currency"
        ]
      },
      "quote": {
        "description": "A Quote is a way to model prices that you'd like to provide to a customer.\nOnce accepted, it will automatically create an invoice, subscription or subscription schedule.",
        "properties": {
          "amount_subtotal": {
            "description": "Total before any discounts or taxes are applied.",
            "type": "integer"
          },
          "amount_total": {
            "description": "Total after discounts and taxes are applied.",
            "type": "integer"
          },
          "application": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/application"
              },
              {
                "$ref": "#/components/schemas/deleted_application"
              }
            ],
            "description": "ID of the Connect Application that created the quote.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/application"
                },
                {
                  "$ref": "#/components/schemas/deleted_application"
                }
              ]
            }
          },
          "application_fee_amount": {
            "description": "The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. Only applicable if there are no line items with recurring prices on the quote.",
            "nullable": true,
            "type": "integer"
          },
          "application_fee_percent": {
            "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. Only applicable if there are line items with recurring prices on the quote.",
            "nullable": true,
            "type": "number"
          },
          "automatic_tax": {
            "$ref": "#/components/schemas/quotes_resource_automatic_tax"
          },
          "collection_method": {
            "description": "Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay invoices at the end of the subscription cycle or on finalization using the default payment method attached to the subscription or customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`. Defaults to `charge_automatically`.",
            "enum": [
              "charge_automatically",
              "send_invoice"
            ],
            "type": "string"
          },
          "computed": {
            "$ref": "#/components/schemas/quotes_resource_computed"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "customer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer"
              },
              {
                "$ref": "#/components/schemas/deleted_customer"
              }
            ],
            "description": "The customer which this quote belongs to. A customer is required before finalizing the quote. Once specified, it cannot be changed.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer"
                },
                {
                  "$ref": "#/components/schemas/deleted_customer"
                }
              ]
            }
          },
          "default_tax_rates": {
            "description": "The tax rates applied to this quote.",
            "items": {
              "anyOf": [
                {
                  "maxLength": 5000,
                  "type": "string"
                },
                {
                  "$ref": "#/components/schemas/tax_rate"
                }
              ],
              "x-expansionResources": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/tax_rate"
                  }
                ]
              }
            },
            "type": "array"
          },
          "description": {
            "description": "A description that will be displayed on the quote PDF.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "discounts": {
            "description": "The discounts applied to this quote.",
            "items": {
              "anyOf": [
                {
                  "maxLength": 5000,
                  "type": "string"
                },
                {
                  "$ref": "#/components/schemas/discount"
                }
              ],
              "x-expansionResources": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/discount"
                  }
                ]
              }
            },
            "type": "array"
          },
          "expires_at": {
            "description": "The date on which the quote will be canceled if in `open` or `draft` status. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "footer": {
            "description": "A footer that will be displayed on the quote PDF.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "from_quote": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/quotes_resource_from_quote"
              }
            ],
            "description": "Details of the quote that was cloned. See the [cloning documentation](https://stripe.com/docs/quotes/clone) for more details.",
            "nullable": true
          },
          "header": {
            "description": "A header that will be displayed on the quote PDF.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "invoice": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/invoice"
              },
              {
                "$ref": "#/components/schemas/deleted_invoice"
              }
            ],
            "description": "The invoice that was created from this quote.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/invoice"
                },
                {
                  "$ref": "#/components/schemas/deleted_invoice"
                }
              ]
            }
          },
          "invoice_settings": {
            "$ref": "#/components/schemas/invoice_setting_quote_setting"
          },
          "line_items": {
            "description": "A list of items the customer is being quoted for.",
            "properties": {
              "data": {
                "description": "Details about each object.",
                "items": {
                  "$ref": "#/components/schemas/item"
                },
                "type": "array"
              },
              "has_more": {
                "description": "True if this list has another page of items after this one that can be fetched.",
                "type": "boolean"
              },
              "object": {
                "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                "enum": [
                  "list"
                ],
                "type": "string"
              },
              "url": {
                "description": "The URL where this list can be accessed.",
                "maxLength": 5000,
                "type": "string"
              }
            },
            "required": [
              "data",
              "has_more",
              "object",
              "url"
            ],
            "title": "QuotesResourceListLineItems",
            "type": "object",
            "x-expandableFields": [
              "data"
            ],
            "x-stripeMostCommon": [
              "data",
              "has_more",
              "object",
              "url"
            ]
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "number": {
            "description": "A unique number that identifies this particular quote. This number is assigned once the quote is [finalized](https://stripe.com/docs/quotes/overview#finalize).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "quote"
            ],
            "type": "string"
          },
          "on_behalf_of": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/account"
              }
            ],
            "description": "The account on behalf of which to charge. See the [Connect documentation](https://support.stripe.com/questions/sending-invoices-on-behalf-of-connected-accounts) for details.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/account"
                }
              ]
            }
          },
          "status": {
            "description": "The status of the quote.",
            "enum": [
              "accepted",
              "canceled",
              "draft",
              "open"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "status_transitions": {
            "$ref": "#/components/schemas/quotes_resource_status_transitions"
          },
          "subscription": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/subscription"
              }
            ],
            "description": "The subscription that was created or updated from this quote.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/subscription"
                }
              ]
            }
          },
          "subscription_data": {
            "$ref": "#/components/schemas/quotes_resource_subscription_data_subscription_data"
          },
          "subscription_schedule": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/subscription_schedule"
              }
            ],
            "description": "The subscription schedule that was created or updated from this quote.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/subscription_schedule"
                }
              ]
            }
          },
          "test_clock": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/test_helpers.test_clock"
              }
            ],
            "description": "ID of the test clock this quote belongs to.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/test_helpers.test_clock"
                }
              ]
            }
          },
          "total_details": {
            "$ref": "#/components/schemas/quotes_resource_total_details"
          },
          "transfer_data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/quotes_resource_transfer_data"
              }
            ],
            "description": "The account (if any) the payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the invoices.",
            "nullable": true
          }
        },
        "required": [
          "amount_subtotal",
          "amount_total",
          "application",
          "application_fee_amount",
          "application_fee_percent",
          "automatic_tax",
          "collection_method",
          "computed",
          "created",
          "currency",
          "customer",
          "description",
          "discounts",
          "expires_at",
          "footer",
          "from_quote",
          "header",
          "id",
          "invoice",
          "invoice_settings",
          "livemode",
          "metadata",
          "number",
          "object",
          "on_behalf_of",
          "status",
          "status_transitions",
          "subscription",
          "subscription_data",
          "subscription_schedule",
          "test_clock",
          "total_details",
          "transfer_data"
        ],
        "title": "Quote",
        "type": "object",
        "x-expandableFields": [
          "application",
          "automatic_tax",
          "computed",
          "customer",
          "default_tax_rates",
          "discounts",
          "from_quote",
          "invoice",
          "invoice_settings",
          "line_items",
          "on_behalf_of",
          "status_transitions",
          "subscription",
          "subscription_data",
          "subscription_schedule",
          "test_clock",
          "total_details",
          "transfer_data"
        ],
        "x-resourceId": "quote",
        "x-stripeMostCommon": [
          "id",
          "line_items",
          "metadata"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/quotes"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/quotes/{quote}"
          },
          {
            "method_name": "list_computed_upfront_line_items",
            "method_on": "service",
            "method_type": "custom",
            "operation": "get",
            "path": "/v1/quotes/{quote}/computed_upfront_line_items"
          },
          {
            "method_name": "list_line_items",
            "method_on": "service",
            "method_type": "custom",
            "operation": "get",
            "path": "/v1/quotes/{quote}/line_items"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/quotes"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/quotes/{quote}"
          },
          {
            "method_name": "accept",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/quotes/{quote}/accept"
          },
          {
            "method_name": "cancel",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/quotes/{quote}/cancel"
          },
          {
            "method_name": "finalize_quote",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/quotes/{quote}/finalize"
          },
          {
            "method_name": "pdf",
            "method_on": "service",
            "method_type": "custom",
            "operation": "get",
            "path": "/v1/quotes/{quote}/pdf"
          }
        ],
        "x-stripeResource": {
          "class_name": "Quote",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "quote.accepted": {
        "description": "Occurs whenever a quote is accepted.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/quote"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "quote.accepted"
        }
      },
      "quote.canceled": {
        "description": "Occurs whenever a quote is canceled.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/quote"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "quote.canceled"
        }
      },
      "quote.created": {
        "description": "Occurs whenever a quote is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/quote"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "quote.created"
        }
      },
      "quote.finalized": {
        "description": "Occurs whenever a quote is finalized.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/quote"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "quote.finalized"
        }
      },
      "quotes_resource_automatic_tax": {
        "description": "",
        "properties": {
          "enabled": {
            "description": "Automatically calculate taxes",
            "type": "boolean"
          },
          "liability": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/connect_account_reference"
              }
            ],
            "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.",
            "nullable": true
          },
          "status": {
            "description": "The status of the most recent automated tax calculation for this quote.",
            "enum": [
              "complete",
              "failed",
              "requires_location_inputs"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "enabled",
          "liability",
          "status"
        ],
        "title": "QuotesResourceAutomaticTax",
        "type": "object",
        "x-expandableFields": [
          "liability"
        ],
        "x-stripeMostCommon": [
          "enabled",
          "liability",
          "status"
        ]
      },
      "quotes_resource_computed": {
        "description": "",
        "properties": {
          "recurring": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/quotes_resource_recurring"
              }
            ],
            "description": "The definitive totals and line items the customer will be charged on a recurring basis. Takes into account the line items with recurring prices and discounts with `duration=forever` coupons only. Defaults to `null` if no inputted line items with recurring prices.",
            "nullable": true
          },
          "upfront": {
            "$ref": "#/components/schemas/quotes_resource_upfront"
          }
        },
        "required": [
          "recurring",
          "upfront"
        ],
        "title": "QuotesResourceComputed",
        "type": "object",
        "x-expandableFields": [
          "recurring",
          "upfront"
        ],
        "x-stripeMostCommon": [
          "recurring",
          "upfront"
        ]
      },
      "quotes_resource_from_quote": {
        "description": "",
        "properties": {
          "is_revision": {
            "description": "Whether this quote is a revision of a different quote.",
            "type": "boolean"
          },
          "quote": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/quote"
              }
            ],
            "description": "The quote that was cloned.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/quote"
                }
              ]
            }
          }
        },
        "required": [
          "is_revision",
          "quote"
        ],
        "title": "QuotesResourceFromQuote",
        "type": "object",
        "x-expandableFields": [
          "quote"
        ],
        "x-stripeMostCommon": [
          "is_revision",
          "quote"
        ]
      },
      "quotes_resource_recurring": {
        "description": "",
        "properties": {
          "amount_subtotal": {
            "description": "Total before any discounts or taxes are applied.",
            "type": "integer"
          },
          "amount_total": {
            "description": "Total after discounts and taxes are applied.",
            "type": "integer"
          },
          "interval": {
            "description": "The frequency at which a subscription is billed. One of `day`, `week`, `month` or `year`.",
            "enum": [
              "day",
              "month",
              "week",
              "year"
            ],
            "type": "string"
          },
          "interval_count": {
            "description": "The number of intervals (specified in the `interval` attribute) between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months.",
            "type": "integer"
          },
          "total_details": {
            "$ref": "#/components/schemas/quotes_resource_total_details"
          }
        },
        "required": [
          "amount_subtotal",
          "amount_total",
          "interval",
          "interval_count",
          "total_details"
        ],
        "title": "QuotesResourceRecurring",
        "type": "object",
        "x-expandableFields": [
          "total_details"
        ],
        "x-stripeMostCommon": [
          "amount_subtotal",
          "amount_total",
          "interval",
          "interval_count",
          "total_details"
        ]
      },
      "quotes_resource_status_transitions": {
        "description": "",
        "properties": {
          "accepted_at": {
            "description": "The time that the quote was accepted. Measured in seconds since Unix epoch.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "canceled_at": {
            "description": "The time that the quote was canceled. Measured in seconds since Unix epoch.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "finalized_at": {
            "description": "The time that the quote was finalized. Measured in seconds since Unix epoch.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "accepted_at",
          "canceled_at",
          "finalized_at"
        ],
        "title": "QuotesResourceStatusTransitions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "accepted_at",
          "canceled_at",
          "finalized_at"
        ]
      },
      "quotes_resource_subscription_data_subscription_data": {
        "description": "",
        "properties": {
          "description": {
            "description": "The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "effective_date": {
            "description": "When creating a new subscription, the date of which the subscription schedule will start after the quote is accepted. This date is ignored if it is in the past when the quote is accepted. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that will set metadata on the subscription or subscription schedule when the quote is accepted. If a recurring price is included in `line_items`, this field will be passed to the resulting subscription's `metadata` field. If `subscription_data.effective_date` is used, this field will be passed to the resulting subscription schedule's `phases.metadata` field. Unlike object-level metadata, this field is declarative. Updates will clear prior values.",
            "nullable": true,
            "type": "object"
          },
          "trial_period_days": {
            "description": "Integer representing the number of trial period days before the customer is charged for the first time.",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "description",
          "effective_date",
          "metadata",
          "trial_period_days"
        ],
        "title": "QuotesResourceSubscriptionDataSubscriptionData",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "description",
          "effective_date",
          "metadata",
          "trial_period_days"
        ]
      },
      "quotes_resource_total_details": {
        "description": "",
        "properties": {
          "amount_discount": {
            "description": "This is the sum of all the discounts.",
            "type": "integer"
          },
          "amount_shipping": {
            "description": "This is the sum of all the shipping amounts.",
            "nullable": true,
            "type": "integer"
          },
          "amount_tax": {
            "description": "This is the sum of all the tax amounts.",
            "type": "integer"
          },
          "breakdown": {
            "$ref": "#/components/schemas/quotes_resource_total_details_resource_breakdown"
          }
        },
        "required": [
          "amount_discount",
          "amount_shipping",
          "amount_tax"
        ],
        "title": "QuotesResourceTotalDetails",
        "type": "object",
        "x-expandableFields": [
          "breakdown"
        ],
        "x-stripeMostCommon": [
          "amount_discount",
          "amount_shipping",
          "amount_tax",
          "breakdown"
        ]
      },
      "quotes_resource_total_details_resource_breakdown": {
        "description": "",
        "properties": {
          "discounts": {
            "description": "The aggregated discounts.",
            "items": {
              "$ref": "#/components/schemas/line_items_discount_amount"
            },
            "type": "array"
          },
          "taxes": {
            "description": "The aggregated tax amounts by rate.",
            "items": {
              "$ref": "#/components/schemas/line_items_tax_amount"
            },
            "type": "array"
          }
        },
        "required": [
          "discounts",
          "taxes"
        ],
        "title": "QuotesResourceTotalDetailsResourceBreakdown",
        "type": "object",
        "x-expandableFields": [
          "discounts",
          "taxes"
        ],
        "x-stripeMostCommon": [
          "discounts",
          "taxes"
        ]
      },
      "quotes_resource_transfer_data": {
        "description": "",
        "properties": {
          "amount": {
            "description": "The amount in cents (or local equivalent) that will be transferred to the destination account when the invoice is paid. By default, the entire amount is transferred to the destination.",
            "nullable": true,
            "type": "integer"
          },
          "amount_percent": {
            "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount will be transferred to the destination.",
            "nullable": true,
            "type": "number"
          },
          "destination": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/account"
              }
            ],
            "description": "The account where funds from the payment will be transferred to upon payment success.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/account"
                }
              ]
            }
          }
        },
        "required": [
          "amount",
          "amount_percent",
          "destination"
        ],
        "title": "QuotesResourceTransferData",
        "type": "object",
        "x-expandableFields": [
          "destination"
        ],
        "x-stripeMostCommon": [
          "amount",
          "amount_percent",
          "destination"
        ]
      },
      "quotes_resource_upfront": {
        "description": "",
        "properties": {
          "amount_subtotal": {
            "description": "Total before any discounts or taxes are applied.",
            "type": "integer"
          },
          "amount_total": {
            "description": "Total after discounts and taxes are applied.",
            "type": "integer"
          },
          "line_items": {
            "description": "The line items that will appear on the next invoice after this quote is accepted. This does not include pending invoice items that exist on the customer but may still be included in the next invoice.",
            "properties": {
              "data": {
                "description": "Details about each object.",
                "items": {
                  "$ref": "#/components/schemas/item"
                },
                "type": "array"
              },
              "has_more": {
                "description": "True if this list has another page of items after this one that can be fetched.",
                "type": "boolean"
              },
              "object": {
                "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                "enum": [
                  "list"
                ],
                "type": "string"
              },
              "url": {
                "description": "The URL where this list can be accessed.",
                "maxLength": 5000,
                "type": "string"
              }
            },
            "required": [
              "data",
              "has_more",
              "object",
              "url"
            ],
            "title": "QuotesResourceListLineItems",
            "type": "object",
            "x-expandableFields": [
              "data"
            ],
            "x-stripeMostCommon": [
              "data",
              "has_more",
              "object",
              "url"
            ]
          },
          "total_details": {
            "$ref": "#/components/schemas/quotes_resource_total_details"
          }
        },
        "required": [
          "amount_subtotal",
          "amount_total",
          "total_details"
        ],
        "title": "QuotesResourceUpfront",
        "type": "object",
        "x-expandableFields": [
          "line_items",
          "total_details"
        ],
        "x-stripeMostCommon": [
          "amount_subtotal",
          "amount_total",
          "line_items",
          "total_details"
        ]
      },
      "radar.early_fraud_warning": {
        "description": "An early fraud warning indicates that the card issuer has notified us that a\ncharge may be fraudulent.\n\nRelated guide: [Early fraud warnings](https://stripe.com/docs/disputes/measuring#early-fraud-warnings)",
        "properties": {
          "actionable": {
            "description": "An EFW is actionable if it has not received a dispute and has not been fully refunded. You may wish to proactively refund a charge that receives an EFW, in order to avoid receiving a dispute later.",
            "type": "boolean"
          },
          "charge": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/charge"
              }
            ],
            "description": "ID of the charge this early fraud warning is for, optionally expanded.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/charge"
                }
              ]
            }
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "fraud_type": {
            "description": "The type of fraud labelled by the issuer. One of `card_never_received`, `fraudulent_card_application`, `made_with_counterfeit_card`, `made_with_lost_card`, `made_with_stolen_card`, `misc`, `unauthorized_use_of_card`.",
            "maxLength": 5000,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "radar.early_fraud_warning"
            ],
            "type": "string"
          },
          "payment_intent": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_intent"
              }
            ],
            "description": "ID of the Payment Intent this early fraud warning is for, optionally expanded.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_intent"
                }
              ]
            }
          }
        },
        "required": [
          "actionable",
          "charge",
          "created",
          "fraud_type",
          "id",
          "livemode",
          "object"
        ],
        "title": "RadarEarlyFraudWarning",
        "type": "object",
        "x-expandableFields": [
          "charge",
          "payment_intent"
        ],
        "x-resourceId": "radar.early_fraud_warning",
        "x-stripeMostCommon": [
          "actionable",
          "charge",
          "created",
          "fraud_type",
          "id",
          "livemode",
          "object",
          "payment_intent"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/radar/early_fraud_warnings"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/radar/early_fraud_warnings/{early_fraud_warning}"
          }
        ],
        "x-stripeResource": {
          "class_name": "EarlyFraudWarning",
          "has_collection_class": true,
          "in_package": "Radar"
        }
      },
      "radar.early_fraud_warning.created": {
        "description": "Occurs whenever an early fraud warning is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/radar.early_fraud_warning"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "radar.early_fraud_warning.created"
        }
      },
      "radar.early_fraud_warning.updated": {
        "description": "Occurs whenever an early fraud warning is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/radar.early_fraud_warning"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "radar.early_fraud_warning.updated"
        }
      },
      "radar.value_list": {
        "description": "Value lists allow you to group values together which can then be referenced in rules.\n\nRelated guide: [Default Stripe lists](https://stripe.com/docs/radar/lists#managing-list-items)",
        "properties": {
          "alias": {
            "description": "The name of the value list for use in rules.",
            "maxLength": 5000,
            "type": "string"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "created_by": {
            "description": "The name or email address of the user who created this value list.",
            "maxLength": 5000,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "item_type": {
            "description": "The type of items in the value list. One of `card_fingerprint`, `us_bank_account_fingerprint`, `sepa_debit_fingerprint`, `card_bin`, `email`, `ip_address`, `country`, `string`, `case_sensitive_string`, or `customer_id`.",
            "enum": [
              "card_bin",
              "card_fingerprint",
              "case_sensitive_string",
              "country",
              "customer_id",
              "email",
              "ip_address",
              "sepa_debit_fingerprint",
              "string",
              "us_bank_account_fingerprint"
            ],
            "type": "string"
          },
          "list_items": {
            "description": "List of items contained within this value list.",
            "properties": {
              "data": {
                "description": "Details about each object.",
                "items": {
                  "$ref": "#/components/schemas/radar.value_list_item"
                },
                "type": "array"
              },
              "has_more": {
                "description": "True if this list has another page of items after this one that can be fetched.",
                "type": "boolean"
              },
              "object": {
                "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                "enum": [
                  "list"
                ],
                "type": "string"
              },
              "url": {
                "description": "The URL where this list can be accessed.",
                "maxLength": 5000,
                "type": "string"
              }
            },
            "required": [
              "data",
              "has_more",
              "object",
              "url"
            ],
            "title": "RadarListListItemList",
            "type": "object",
            "x-expandableFields": [
              "data"
            ],
            "x-stripeMostCommon": [
              "data",
              "has_more",
              "object",
              "url"
            ]
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "name": {
            "description": "The name of the value list.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "radar.value_list"
            ],
            "type": "string"
          }
        },
        "required": [
          "alias",
          "created",
          "created_by",
          "id",
          "item_type",
          "list_items",
          "livemode",
          "metadata",
          "name",
          "object"
        ],
        "title": "RadarListList",
        "type": "object",
        "x-expandableFields": [
          "list_items"
        ],
        "x-resourceId": "radar.value_list",
        "x-stripeMostCommon": [
          "alias",
          "id",
          "item_type",
          "list_items",
          "metadata",
          "name"
        ],
        "x-stripeOperations": [
          {
            "method_name": "delete",
            "method_on": "service",
            "method_type": "delete",
            "operation": "delete",
            "path": "/v1/radar/value_lists/{value_list}"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/radar/value_lists"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/radar/value_lists/{value_list}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/radar/value_lists"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/radar/value_lists/{value_list}"
          }
        ],
        "x-stripeResource": {
          "class_name": "ValueList",
          "has_collection_class": true,
          "in_package": "Radar"
        }
      },
      "radar.value_list_item": {
        "description": "Value list items allow you to add specific values to a given Radar value list, which can then be used in rules.\n\nRelated guide: [Managing list items](https://stripe.com/docs/radar/lists#managing-list-items)",
        "properties": {
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "created_by": {
            "description": "The name or email address of the user who added this item to the value list.",
            "maxLength": 5000,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "radar.value_list_item"
            ],
            "type": "string"
          },
          "value": {
            "description": "The value of the item.",
            "maxLength": 5000,
            "type": "string"
          },
          "value_list": {
            "description": "The identifier of the value list this item belongs to.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "created",
          "created_by",
          "id",
          "livemode",
          "object",
          "value",
          "value_list"
        ],
        "title": "RadarListListItem",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "radar.value_list_item",
        "x-stripeMostCommon": [
          "id",
          "value",
          "value_list"
        ],
        "x-stripeOperations": [
          {
            "method_name": "delete",
            "method_on": "service",
            "method_type": "delete",
            "operation": "delete",
            "path": "/v1/radar/value_list_items/{item}"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/radar/value_list_items"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/radar/value_list_items/{item}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/radar/value_list_items"
          }
        ],
        "x-stripeResource": {
          "class_name": "ValueListItem",
          "has_collection_class": true,
          "in_package": "Radar"
        }
      },
      "radar_radar_options": {
        "description": "Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.",
        "properties": {
          "session": {
            "description": "A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "title": "RadarRadarOptions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "session"
        ]
      },
      "radar_review_resource_location": {
        "description": "",
        "properties": {
          "city": {
            "description": "The city where the payment originated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "country": {
            "description": "Two-letter ISO code representing the country where the payment originated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "latitude": {
            "description": "The geographic latitude where the payment originated.",
            "nullable": true,
            "type": "number"
          },
          "longitude": {
            "description": "The geographic longitude where the payment originated.",
            "nullable": true,
            "type": "number"
          },
          "region": {
            "description": "The state/county/province/region where the payment originated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "city",
          "country",
          "latitude",
          "longitude",
          "region"
        ],
        "title": "RadarReviewResourceLocation",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "city",
          "country",
          "latitude",
          "longitude",
          "region"
        ]
      },
      "radar_review_resource_session": {
        "description": "",
        "properties": {
          "browser": {
            "description": "The browser used in this browser session (e.g., `Chrome`).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "device": {
            "description": "Information about the device used for the browser session (e.g., `Samsung SM-G930T`).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "platform": {
            "description": "The platform for the browser session (e.g., `Macintosh`).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "version": {
            "description": "The version for the browser session (e.g., `61.0.3163.100`).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "browser",
          "device",
          "platform",
          "version"
        ],
        "title": "RadarReviewResourceSession",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "browser",
          "device",
          "platform",
          "version"
        ]
      },
      "received_payment_method_details_financial_account": {
        "description": "",
        "properties": {
          "id": {
            "description": "The FinancialAccount ID.",
            "maxLength": 5000,
            "type": "string"
          },
          "network": {
            "description": "The rails the ReceivedCredit was sent over. A FinancialAccount can only send funds over `stripe`.",
            "enum": [
              "stripe"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "network"
        ],
        "title": "received_payment_method_details_financial_account",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "id",
          "network"
        ],
        "x-stripeResource": {
          "class_name": "FinancialAccount",
          "in_package": ""
        }
      },
      "recurring": {
        "description": "",
        "properties": {
          "aggregate_usage": {
            "description": "Specifies a usage aggregation strategy for prices of `usage_type=metered`. Defaults to `sum`.",
            "enum": [
              "last_during_period",
              "last_ever",
              "max",
              "sum"
            ],
            "nullable": true,
            "type": "string"
          },
          "interval": {
            "description": "The frequency at which a subscription is billed. One of `day`, `week`, `month` or `year`.",
            "enum": [
              "day",
              "month",
              "week",
              "year"
            ],
            "type": "string"
          },
          "interval_count": {
            "description": "The number of intervals (specified in the `interval` attribute) between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months.",
            "type": "integer"
          },
          "meter": {
            "description": "The meter tracking the usage of a metered price",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "trial_period_days": {
            "description": "Default number of trial days when subscribing a customer to this price using [`trial_from_plan=true`](https://stripe.com/docs/api#create_subscription-trial_from_plan).",
            "nullable": true,
            "type": "integer"
          },
          "usage_type": {
            "description": "Configures how the quantity per period should be determined. Can be either `metered` or `licensed`. `licensed` automatically bills the `quantity` set when adding it to a subscription. `metered` aggregates the total usage based on usage records. Defaults to `licensed`.",
            "enum": [
              "licensed",
              "metered"
            ],
            "type": "string"
          }
        },
        "required": [
          "aggregate_usage",
          "interval",
          "interval_count",
          "meter",
          "trial_period_days",
          "usage_type"
        ],
        "title": "Recurring",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "interval"
        ]
      },
      "refund": {
        "description": "Refund objects allow you to refund a previously created charge that isn't\nrefunded yet. Funds are refunded to the credit or debit card that's\ninitially charged.\n\nRelated guide: [Refunds](https://stripe.com/docs/refunds)",
        "properties": {
          "amount": {
            "description": "Amount, in cents (or local equivalent).",
            "type": "integer"
          },
          "balance_transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/balance_transaction"
              }
            ],
            "description": "Balance transaction that describes the impact on your account balance.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/balance_transaction"
                }
              ]
            }
          },
          "charge": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/charge"
              }
            ],
            "description": "ID of the charge that's refunded.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/charge"
                }
              ]
            }
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "description": {
            "description": "An arbitrary string attached to the object. You can use this for displaying to users (available on non-card refunds only).",
            "maxLength": 5000,
            "type": "string"
          },
          "destination_details": {
            "$ref": "#/components/schemas/refund_destination_details"
          },
          "failure_balance_transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/balance_transaction"
              }
            ],
            "description": "After the refund fails, this balance transaction describes the adjustment made on your account balance that reverses the initial balance transaction.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/balance_transaction"
                }
              ]
            }
          },
          "failure_reason": {
            "description": "Provides the reason for the refund failure. Possible values are: `lost_or_stolen_card`, `expired_or_canceled_card`, `charge_for_pending_refund_disputed`, `insufficient_funds`, `declined`, `merchant_request`, or `unknown`.",
            "maxLength": 5000,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "instructions_email": {
            "description": "For payment methods without native refund support (for example, Konbini, PromptPay), provide an email address for the customer to receive refund instructions.",
            "maxLength": 5000,
            "type": "string"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "nullable": true,
            "type": "object"
          },
          "next_action": {
            "$ref": "#/components/schemas/refund_next_action"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "refund"
            ],
            "type": "string"
          },
          "payment_intent": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_intent"
              }
            ],
            "description": "ID of the PaymentIntent that's refunded.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_intent"
                }
              ]
            }
          },
          "reason": {
            "description": "Reason for the refund, which is either user-provided (`duplicate`, `fraudulent`, or `requested_by_customer`) or generated by Stripe internally (`expired_uncaptured_charge`).",
            "enum": [
              "duplicate",
              "expired_uncaptured_charge",
              "fraudulent",
              "requested_by_customer"
            ],
            "nullable": true,
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "receipt_number": {
            "description": "This is the transaction number that appears on email receipts sent for this refund.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "source_transfer_reversal": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/transfer_reversal"
              }
            ],
            "description": "The transfer reversal that's associated with the refund. Only present if the charge came from another Stripe account.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/transfer_reversal"
                }
              ]
            }
          },
          "status": {
            "description": "Status of the refund. This can be `pending`, `requires_action`, `succeeded`, `failed`, or `canceled`. Learn more about [failed refunds](https://stripe.com/docs/refunds#failed-refunds).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "transfer_reversal": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/transfer_reversal"
              }
            ],
            "description": "This refers to the transfer reversal object if the accompanying transfer reverses. This is only applicable if the charge was created using the destination parameter.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/transfer_reversal"
                }
              ]
            }
          }
        },
        "required": [
          "amount",
          "balance_transaction",
          "charge",
          "created",
          "currency",
          "id",
          "metadata",
          "object",
          "payment_intent",
          "reason",
          "receipt_number",
          "source_transfer_reversal",
          "status",
          "transfer_reversal"
        ],
        "title": "Refund",
        "type": "object",
        "x-expandableFields": [
          "balance_transaction",
          "charge",
          "destination_details",
          "failure_balance_transaction",
          "next_action",
          "payment_intent",
          "source_transfer_reversal",
          "transfer_reversal"
        ],
        "x-resourceId": "refund",
        "x-stripeMostCommon": [
          "amount",
          "charge",
          "currency",
          "description",
          "id",
          "metadata",
          "payment_intent",
          "reason",
          "status"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "collection",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/charges/{charge}/refunds"
          },
          {
            "method_name": "retrieve",
            "method_on": "collection",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/charges/{charge}/refunds/{refund}"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/refunds"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/refunds/{refund}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/refunds"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/refunds/{refund}"
          },
          {
            "method_name": "cancel",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/refunds/{refund}/cancel"
          },
          {
            "method_name": "expire",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/refunds/{refund}/expire"
          }
        ],
        "x-stripeResource": {
          "class_name": "Refund",
          "has_collection_class": true,
          "in_package": "",
          "polymorphic_groups": [
            "balance_transaction_source"
          ]
        }
      },
      "refund.created": {
        "description": "Occurs whenever a refund is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/refund"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "refund.created"
        }
      },
      "refund.failed": {
        "description": "Occurs whenever a refund has failed.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/refund"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "refund.failed"
        }
      },
      "refund.updated": {
        "description": "Occurs whenever a refund is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/refund"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "refund.updated"
        }
      },
      "refund_destination_details": {
        "description": "",
        "properties": {
          "affirm": {
            "$ref": "#/components/schemas/destination_details_unimplemented"
          },
          "afterpay_clearpay": {
            "$ref": "#/components/schemas/destination_details_unimplemented"
          },
          "alipay": {
            "$ref": "#/components/schemas/destination_details_unimplemented"
          },
          "alma": {
            "$ref": "#/components/schemas/destination_details_unimplemented"
          },
          "amazon_pay": {
            "$ref": "#/components/schemas/destination_details_unimplemented"
          },
          "au_bank_transfer": {
            "$ref": "#/components/schemas/destination_details_unimplemented"
          },
          "blik": {
            "$ref": "#/components/schemas/refund_destination_details_blik"
          },
          "br_bank_transfer": {
            "$ref": "#/components/schemas/refund_destination_details_br_bank_transfer"
          },
          "card": {
            "$ref": "#/components/schemas/refund_destination_details_card"
          },
          "cashapp": {
            "$ref": "#/components/schemas/destination_details_unimplemented"
          },
          "customer_cash_balance": {
            "$ref": "#/components/schemas/destination_details_unimplemented"
          },
          "eps": {
            "$ref": "#/components/schemas/destination_details_unimplemented"
          },
          "eu_bank_transfer": {
            "$ref": "#/components/schemas/refund_destination_details_eu_bank_transfer"
          },
          "gb_bank_transfer": {
            "$ref": "#/components/schemas/refund_destination_details_gb_bank_transfer"
          },
          "giropay": {
            "$ref": "#/components/schemas/destination_details_unimplemented"
          },
          "grabpay": {
            "$ref": "#/components/schemas/destination_details_unimplemented"
          },
          "jp_bank_transfer": {
            "$ref": "#/components/schemas/refund_destination_details_jp_bank_transfer"
          },
          "klarna": {
            "$ref": "#/components/schemas/destination_details_unimplemented"
          },
          "multibanco": {
            "$ref": "#/components/schemas/refund_destination_details_multibanco"
          },
          "mx_bank_transfer": {
            "$ref": "#/components/schemas/refund_destination_details_mx_bank_transfer"
          },
          "p24": {
            "$ref": "#/components/schemas/refund_destination_details_p24"
          },
          "paynow": {
            "$ref": "#/components/schemas/destination_details_unimplemented"
          },
          "paypal": {
            "$ref": "#/components/schemas/destination_details_unimplemented"
          },
          "pix": {
            "$ref": "#/components/schemas/destination_details_unimplemented"
          },
          "revolut": {
            "$ref": "#/components/schemas/destination_details_unimplemented"
          },
          "sofort": {
            "$ref": "#/components/schemas/destination_details_unimplemented"
          },
          "swish": {
            "$ref": "#/components/schemas/refund_destination_details_swish"
          },
          "th_bank_transfer": {
            "$ref": "#/components/schemas/refund_destination_details_th_bank_transfer"
          },
          "type": {
            "description": "The type of transaction-specific details of the payment method used in the refund (e.g., `card`). An additional hash is included on `destination_details` with a name matching this value. It contains information specific to the refund transaction.",
            "maxLength": 5000,
            "type": "string"
          },
          "us_bank_transfer": {
            "$ref": "#/components/schemas/refund_destination_details_us_bank_transfer"
          },
          "wechat_pay": {
            "$ref": "#/components/schemas/destination_details_unimplemented"
          },
          "zip": {
            "$ref": "#/components/schemas/destination_details_unimplemented"
          }
        },
        "required": [
          "type"
        ],
        "title": "refund_destination_details",
        "type": "object",
        "x-expandableFields": [
          "affirm",
          "afterpay_clearpay",
          "alipay",
          "alma",
          "amazon_pay",
          "au_bank_transfer",
          "blik",
          "br_bank_transfer",
          "card",
          "cashapp",
          "customer_cash_balance",
          "eps",
          "eu_bank_transfer",
          "gb_bank_transfer",
          "giropay",
          "grabpay",
          "jp_bank_transfer",
          "klarna",
          "multibanco",
          "mx_bank_transfer",
          "p24",
          "paynow",
          "paypal",
          "pix",
          "revolut",
          "sofort",
          "swish",
          "th_bank_transfer",
          "us_bank_transfer",
          "wechat_pay",
          "zip"
        ],
        "x-stripeMostCommon": [
          "affirm",
          "afterpay_clearpay",
          "alipay",
          "alma",
          "amazon_pay",
          "au_bank_transfer",
          "blik",
          "br_bank_transfer",
          "card",
          "cashapp",
          "customer_cash_balance",
          "eps",
          "eu_bank_transfer",
          "gb_bank_transfer",
          "giropay",
          "grabpay",
          "jp_bank_transfer",
          "klarna",
          "multibanco",
          "mx_bank_transfer",
          "p24",
          "paynow",
          "paypal",
          "pix",
          "revolut",
          "sofort",
          "swish",
          "th_bank_transfer",
          "type",
          "us_bank_transfer",
          "wechat_pay",
          "zip"
        ]
      },
      "refund_destination_details_blik": {
        "description": "",
        "properties": {
          "network_decline_code": {
            "description": "For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "reference": {
            "description": "The reference assigned to the refund.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "reference_status": {
            "description": "Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "reference",
          "reference_status"
        ],
        "title": "refund_destination_details_blik",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "network_decline_code",
          "reference",
          "reference_status"
        ]
      },
      "refund_destination_details_br_bank_transfer": {
        "description": "",
        "properties": {
          "reference": {
            "description": "The reference assigned to the refund.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "reference_status": {
            "description": "Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "reference",
          "reference_status"
        ],
        "title": "refund_destination_details_br_bank_transfer",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "reference",
          "reference_status"
        ]
      },
      "refund_destination_details_card": {
        "description": "",
        "properties": {
          "reference": {
            "description": "Value of the reference number assigned to the refund.",
            "maxLength": 5000,
            "type": "string"
          },
          "reference_status": {
            "description": "Status of the reference number on the refund. This can be `pending`, `available` or `unavailable`.",
            "maxLength": 5000,
            "type": "string"
          },
          "reference_type": {
            "description": "Type of the reference number assigned to the refund.",
            "maxLength": 5000,
            "type": "string"
          },
          "type": {
            "description": "The type of refund. This can be `refund`, `reversal`, or `pending`.",
            "enum": [
              "pending",
              "refund",
              "reversal"
            ],
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "title": "refund_destination_details_card",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "reference",
          "reference_status",
          "reference_type",
          "type"
        ]
      },
      "refund_destination_details_eu_bank_transfer": {
        "description": "",
        "properties": {
          "reference": {
            "description": "The reference assigned to the refund.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "reference_status": {
            "description": "Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "reference",
          "reference_status"
        ],
        "title": "refund_destination_details_eu_bank_transfer",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "reference",
          "reference_status"
        ]
      },
      "refund_destination_details_gb_bank_transfer": {
        "description": "",
        "properties": {
          "reference": {
            "description": "The reference assigned to the refund.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "reference_status": {
            "description": "Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "reference",
          "reference_status"
        ],
        "title": "refund_destination_details_gb_bank_transfer",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "reference",
          "reference_status"
        ]
      },
      "refund_destination_details_jp_bank_transfer": {
        "description": "",
        "properties": {
          "reference": {
            "description": "The reference assigned to the refund.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "reference_status": {
            "description": "Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "reference",
          "reference_status"
        ],
        "title": "refund_destination_details_jp_bank_transfer",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "reference",
          "reference_status"
        ]
      },
      "refund_destination_details_multibanco": {
        "description": "",
        "properties": {
          "reference": {
            "description": "The reference assigned to the refund.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "reference_status": {
            "description": "Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "reference",
          "reference_status"
        ],
        "title": "refund_destination_details_multibanco",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "reference",
          "reference_status"
        ]
      },
      "refund_destination_details_mx_bank_transfer": {
        "description": "",
        "properties": {
          "reference": {
            "description": "The reference assigned to the refund.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "reference_status": {
            "description": "Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "reference",
          "reference_status"
        ],
        "title": "refund_destination_details_mx_bank_transfer",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "reference",
          "reference_status"
        ]
      },
      "refund_destination_details_p24": {
        "description": "",
        "properties": {
          "reference": {
            "description": "The reference assigned to the refund.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "reference_status": {
            "description": "Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "reference",
          "reference_status"
        ],
        "title": "refund_destination_details_p24",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "reference",
          "reference_status"
        ]
      },
      "refund_destination_details_swish": {
        "description": "",
        "properties": {
          "network_decline_code": {
            "description": "For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "reference": {
            "description": "The reference assigned to the refund.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "reference_status": {
            "description": "Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "reference",
          "reference_status"
        ],
        "title": "refund_destination_details_swish",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "network_decline_code",
          "reference",
          "reference_status"
        ]
      },
      "refund_destination_details_th_bank_transfer": {
        "description": "",
        "properties": {
          "reference": {
            "description": "The reference assigned to the refund.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "reference_status": {
            "description": "Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "reference",
          "reference_status"
        ],
        "title": "refund_destination_details_th_bank_transfer",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "reference",
          "reference_status"
        ]
      },
      "refund_destination_details_us_bank_transfer": {
        "description": "",
        "properties": {
          "reference": {
            "description": "The reference assigned to the refund.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "reference_status": {
            "description": "Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "reference",
          "reference_status"
        ],
        "title": "refund_destination_details_us_bank_transfer",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "reference",
          "reference_status"
        ]
      },
      "refund_next_action": {
        "description": "",
        "properties": {
          "display_details": {
            "$ref": "#/components/schemas/refund_next_action_display_details"
          },
          "type": {
            "description": "Type of the next action to perform.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "title": "RefundNextAction",
        "type": "object",
        "x-expandableFields": [
          "display_details"
        ],
        "x-stripeMostCommon": [
          "display_details",
          "type"
        ]
      },
      "refund_next_action_display_details": {
        "description": "",
        "properties": {
          "email_sent": {
            "$ref": "#/components/schemas/email_sent"
          },
          "expires_at": {
            "description": "The expiry timestamp.",
            "format": "unix-time",
            "type": "integer"
          }
        },
        "required": [
          "email_sent",
          "expires_at"
        ],
        "title": "RefundNextActionDisplayDetails",
        "type": "object",
        "x-expandableFields": [
          "email_sent"
        ],
        "x-stripeMostCommon": [
          "email_sent",
          "expires_at"
        ]
      },
      "reporting.report_run": {
        "description": "The Report Run object represents an instance of a report type generated with\nspecific run parameters. Once the object is created, Stripe begins processing the report.\nWhen the report has finished running, it will give you a reference to a file\nwhere you can retrieve your results. For an overview, see\n[API Access to Reports](https://stripe.com/docs/reporting/statements/api).\n\nNote that certain report types can only be run based on your live-mode data (not test-mode\ndata), and will error when queried without a [live-mode API key](https://stripe.com/docs/keys#test-live-modes).",
        "properties": {
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "error": {
            "description": "If something should go wrong during the run, a message about the failure (populated when\n `status=failed`).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "`true` if the report is run on live mode data and `false` if it is run on test mode data.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "reporting.report_run"
            ],
            "type": "string"
          },
          "parameters": {
            "$ref": "#/components/schemas/financial_reporting_finance_report_run_run_parameters"
          },
          "report_type": {
            "description": "The ID of the [report type](https://stripe.com/docs/reports/report-types) to run, such as `\"balance.summary.1\"`.",
            "maxLength": 5000,
            "type": "string"
          },
          "result": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "The file object representing the result of the report run (populated when\n `status=succeeded`).",
            "nullable": true
          },
          "status": {
            "description": "Status of this report run. This will be `pending` when the run is initially created.\n When the run finishes, this will be set to `succeeded` and the `result` field will be populated.\n Rarely, we may encounter an error, at which point this will be set to `failed` and the `error` field will be populated.",
            "maxLength": 5000,
            "type": "string"
          },
          "succeeded_at": {
            "description": "Timestamp at which this run successfully finished (populated when\n `status=succeeded`). Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "created",
          "error",
          "id",
          "livemode",
          "object",
          "parameters",
          "report_type",
          "result",
          "status",
          "succeeded_at"
        ],
        "title": "reporting_report_run",
        "type": "object",
        "x-expandableFields": [
          "parameters",
          "result"
        ],
        "x-resourceId": "reporting.report_run",
        "x-stripeMostCommon": [
          "id",
          "parameters",
          "report_type",
          "result",
          "status"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/reporting/report_runs"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/reporting/report_runs/{report_run}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/reporting/report_runs"
          }
        ],
        "x-stripeResource": {
          "class_name": "ReportRun",
          "has_collection_class": true,
          "in_package": "Reporting"
        }
      },
      "reporting.report_run.failed": {
        "description": "Occurs whenever a requested `ReportRun` failed to complete.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/reporting.report_run"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "reporting.report_run.failed"
        }
      },
      "reporting.report_run.succeeded": {
        "description": "Occurs whenever a requested `ReportRun` completed successfully.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/reporting.report_run"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "reporting.report_run.succeeded"
        }
      },
      "reporting.report_type": {
        "description": "The Report Type resource corresponds to a particular type of report, such as\nthe \"Activity summary\" or \"Itemized payouts\" reports. These objects are\nidentified by an ID belonging to a set of enumerated values. See\n[API Access to Reports documentation](https://stripe.com/docs/reporting/statements/api)\nfor those Report Type IDs, along with required and optional parameters.\n\nNote that certain report types can only be run based on your live-mode data (not test-mode\ndata), and will error when queried without a [live-mode API key](https://stripe.com/docs/keys#test-live-modes).",
        "properties": {
          "data_available_end": {
            "description": "Most recent time for which this Report Type is available. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "data_available_start": {
            "description": "Earliest time for which this Report Type is available. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "default_columns": {
            "description": "List of column names that are included by default when this Report Type gets run. (If the Report Type doesn't support the `columns` parameter, this will be null.)",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "id": {
            "description": "The [ID of the Report Type](https://stripe.com/docs/reporting/statements/api#available-report-types), such as `balance.summary.1`.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "name": {
            "description": "Human-readable name of the Report Type",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "reporting.report_type"
            ],
            "type": "string"
          },
          "updated": {
            "description": "When this Report Type was latest updated. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "version": {
            "description": "Version of the Report Type. Different versions report with the same ID will have the same purpose, but may take different run parameters or have different result schemas.",
            "type": "integer"
          }
        },
        "required": [
          "data_available_end",
          "data_available_start",
          "default_columns",
          "id",
          "livemode",
          "name",
          "object",
          "updated",
          "version"
        ],
        "title": "reporting_report_type",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "reporting.report_type",
        "x-stripeMostCommon": [
          "data_available_end",
          "data_available_start",
          "id",
          "name"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/reporting/report_types"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/reporting/report_types/{report_type}"
          }
        ],
        "x-stripeResource": {
          "class_name": "ReportType",
          "has_collection_class": true,
          "in_package": "Reporting"
        }
      },
      "reporting.report_type.updated": {
        "description": "Occurs whenever a `ReportType` is updated (typically to indicate that a new day's data has come available).",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/reporting.report_type"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "reporting.report_type.updated"
        }
      },
      "reserve_transaction": {
        "description": "",
        "properties": {
          "amount": {
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "description": {
            "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "reserve_transaction"
            ],
            "type": "string"
          }
        },
        "required": [
          "amount",
          "currency",
          "description",
          "id",
          "object"
        ],
        "title": "ReserveTransaction",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "amount",
          "currency",
          "description",
          "id",
          "object"
        ],
        "x-stripeResource": {
          "class_name": "ReserveTransaction",
          "in_package": "",
          "polymorphic_groups": [
            "balance_transaction_source"
          ]
        }
      },
      "review": {
        "description": "Reviews can be used to supplement automated fraud detection with human expertise.\n\nLearn more about [Radar](/radar) and reviewing payments\n[here](https://stripe.com/docs/radar/reviews).",
        "properties": {
          "billing_zip": {
            "description": "The ZIP or postal code of the card used, if applicable.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "charge": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/charge"
              }
            ],
            "description": "The charge associated with this review.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/charge"
                }
              ]
            }
          },
          "closed_reason": {
            "description": "The reason the review was closed, or null if it has not yet been closed. One of `approved`, `refunded`, `refunded_as_fraud`, `disputed`, or `redacted`.",
            "enum": [
              "approved",
              "disputed",
              "redacted",
              "refunded",
              "refunded_as_fraud"
            ],
            "nullable": true,
            "type": "string"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "ip_address": {
            "description": "The IP address where the payment originated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "ip_address_location": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/radar_review_resource_location"
              }
            ],
            "description": "Information related to the location of the payment. Note that this information is an approximation and attempts to locate the nearest population center - it should not be used to determine a specific address.",
            "nullable": true
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "review"
            ],
            "type": "string"
          },
          "open": {
            "description": "If `true`, the review needs action.",
            "type": "boolean"
          },
          "opened_reason": {
            "description": "The reason the review was opened. One of `rule` or `manual`.",
            "enum": [
              "manual",
              "rule"
            ],
            "type": "string"
          },
          "payment_intent": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_intent"
              }
            ],
            "description": "The PaymentIntent ID associated with this review, if one exists.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_intent"
                }
              ]
            }
          },
          "reason": {
            "description": "The reason the review is currently open or closed. One of `rule`, `manual`, `approved`, `refunded`, `refunded_as_fraud`, `disputed`, or `redacted`.",
            "maxLength": 5000,
            "type": "string"
          },
          "session": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/radar_review_resource_session"
              }
            ],
            "description": "Information related to the browsing session of the user who initiated the payment.",
            "nullable": true
          }
        },
        "required": [
          "billing_zip",
          "charge",
          "closed_reason",
          "created",
          "id",
          "ip_address",
          "ip_address_location",
          "livemode",
          "object",
          "open",
          "opened_reason",
          "reason",
          "session"
        ],
        "title": "RadarReview",
        "type": "object",
        "x-expandableFields": [
          "charge",
          "ip_address_location",
          "payment_intent",
          "session"
        ],
        "x-resourceId": "review",
        "x-stripeMostCommon": [
          "charge",
          "id",
          "open",
          "payment_intent",
          "reason"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/reviews"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/reviews/{review}"
          },
          {
            "method_name": "approve",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/reviews/{review}/approve"
          }
        ],
        "x-stripeResource": {
          "class_name": "Review",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "review.closed": {
        "description": "Occurs whenever a review is closed. The review's `reason` field indicates why: `approved`, `disputed`, `refunded`, or `refunded_as_fraud`.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/review"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "review.closed"
        }
      },
      "review.opened": {
        "description": "Occurs whenever a review is opened.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/review"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "review.opened"
        }
      },
      "rule": {
        "description": "",
        "properties": {
          "action": {
            "description": "The action taken on the payment.",
            "maxLength": 5000,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "predicate": {
            "description": "The predicate to evaluate the payment against.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "action",
          "id",
          "predicate"
        ],
        "title": "RadarRule",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "action",
          "id",
          "predicate"
        ],
        "x-stripeResource": {
          "class_name": "Rule",
          "in_package": "Radar"
        }
      },
      "scheduled_query_run": {
        "description": "If you have [scheduled a Sigma query](https://stripe.com/docs/sigma/scheduled-queries), you'll\nreceive a `sigma.scheduled_query_run.created` webhook each time the query\nruns. The webhook contains a `ScheduledQueryRun` object, which you can use to\nretrieve the query results.",
        "properties": {
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "data_load_time": {
            "description": "When the query was run, Sigma contained a snapshot of your Stripe data at this time.",
            "format": "unix-time",
            "type": "integer"
          },
          "error": {
            "$ref": "#/components/schemas/sigma_scheduled_query_run_error"
          },
          "file": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "The file object representing the results of the query.",
            "nullable": true
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "scheduled_query_run"
            ],
            "type": "string"
          },
          "result_available_until": {
            "description": "Time at which the result expires and is no longer available for download.",
            "format": "unix-time",
            "type": "integer"
          },
          "sql": {
            "description": "SQL for the query.",
            "maxLength": 100000,
            "type": "string"
          },
          "status": {
            "description": "The query's execution status, which will be `completed` for successful runs, and `canceled`, `failed`, or `timed_out` otherwise.",
            "maxLength": 5000,
            "type": "string"
          },
          "title": {
            "description": "Title of the query.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "created",
          "data_load_time",
          "file",
          "id",
          "livemode",
          "object",
          "result_available_until",
          "sql",
          "status",
          "title"
        ],
        "title": "ScheduledQueryRun",
        "type": "object",
        "x-expandableFields": [
          "error",
          "file"
        ],
        "x-resourceId": "scheduled_query_run",
        "x-stripeMostCommon": [
          "data_load_time",
          "file",
          "id",
          "sql",
          "status",
          "title"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/sigma/scheduled_query_runs"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/sigma/scheduled_query_runs/{scheduled_query_run}"
          }
        ],
        "x-stripeResource": {
          "class_name": "ScheduledQueryRun",
          "has_collection_class": true,
          "in_package": "Sigma"
        }
      },
      "schedules_phase_automatic_tax": {
        "description": "",
        "properties": {
          "enabled": {
            "description": "Whether Stripe automatically computes tax on invoices created during this phase.",
            "type": "boolean"
          },
          "liability": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/connect_account_reference"
              }
            ],
            "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.",
            "nullable": true
          }
        },
        "required": [
          "enabled",
          "liability"
        ],
        "title": "SchedulesPhaseAutomaticTax",
        "type": "object",
        "x-expandableFields": [
          "liability"
        ],
        "x-stripeMostCommon": [
          "enabled",
          "liability"
        ]
      },
      "secret_service_resource_scope": {
        "description": "",
        "properties": {
          "type": {
            "description": "The secret scope type.",
            "enum": [
              "account",
              "user"
            ],
            "type": "string"
          },
          "user": {
            "description": "The user ID, if type is set to \"user\"",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "title": "SecretServiceResourceScope",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "type",
          "user"
        ]
      },
      "sepa_debit_generated_from": {
        "description": "",
        "properties": {
          "charge": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/charge"
              }
            ],
            "description": "The ID of the Charge that generated this PaymentMethod, if any.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/charge"
                }
              ]
            }
          },
          "setup_attempt": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/setup_attempt"
              }
            ],
            "description": "The ID of the SetupAttempt that generated this PaymentMethod, if any.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/setup_attempt"
                }
              ]
            }
          }
        },
        "required": [
          "charge",
          "setup_attempt"
        ],
        "title": "sepa_debit_generated_from",
        "type": "object",
        "x-expandableFields": [
          "charge",
          "setup_attempt"
        ],
        "x-stripeMostCommon": [
          "charge",
          "setup_attempt"
        ]
      },
      "setup_attempt": {
        "description": "A SetupAttempt describes one attempted confirmation of a SetupIntent,\nwhether that confirmation is successful or unsuccessful. You can use\nSetupAttempts to inspect details of a specific attempt at setting up a\npayment method using a SetupIntent.",
        "properties": {
          "application": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/application"
              }
            ],
            "description": "The value of [application](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-application) on the SetupIntent at the time of this confirmation.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/application"
                }
              ]
            }
          },
          "attach_to_self": {
            "description": "If present, the SetupIntent's payment method will be attached to the in-context Stripe Account.\n\nIt can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.",
            "type": "boolean"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "customer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer"
              },
              {
                "$ref": "#/components/schemas/deleted_customer"
              }
            ],
            "description": "The value of [customer](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-customer) on the SetupIntent at the time of this confirmation.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer"
                },
                {
                  "$ref": "#/components/schemas/deleted_customer"
                }
              ]
            }
          },
          "flow_directions": {
            "description": "Indicates the directions of money movement for which this payment method is intended to be used.\n\nInclude `inbound` if you intend to use the payment method as the origin to pull funds from. Include `outbound` if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes.",
            "items": {
              "enum": [
                "inbound",
                "outbound"
              ],
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "setup_attempt"
            ],
            "type": "string"
          },
          "on_behalf_of": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/account"
              }
            ],
            "description": "The value of [on_behalf_of](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-on_behalf_of) on the SetupIntent at the time of this confirmation.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/account"
                }
              ]
            }
          },
          "payment_method": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_method"
              }
            ],
            "description": "ID of the payment method used with this SetupAttempt.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_method"
                }
              ]
            }
          },
          "payment_method_details": {
            "$ref": "#/components/schemas/setup_attempt_payment_method_details"
          },
          "setup_error": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/api_errors"
              }
            ],
            "description": "The error encountered during this attempt to confirm the SetupIntent, if any.",
            "nullable": true
          },
          "setup_intent": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/setup_intent"
              }
            ],
            "description": "ID of the SetupIntent that this attempt belongs to.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/setup_intent"
                }
              ]
            }
          },
          "status": {
            "description": "Status of this SetupAttempt, one of `requires_confirmation`, `requires_action`, `processing`, `succeeded`, `failed`, or `abandoned`.",
            "maxLength": 5000,
            "type": "string"
          },
          "usage": {
            "description": "The value of [usage](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-usage) on the SetupIntent at the time of this confirmation, one of `off_session` or `on_session`.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "application",
          "created",
          "customer",
          "flow_directions",
          "id",
          "livemode",
          "object",
          "on_behalf_of",
          "payment_method",
          "payment_method_details",
          "setup_error",
          "setup_intent",
          "status",
          "usage"
        ],
        "title": "PaymentFlowsSetupIntentSetupAttempt",
        "type": "object",
        "x-expandableFields": [
          "application",
          "customer",
          "on_behalf_of",
          "payment_method",
          "payment_method_details",
          "setup_error",
          "setup_intent"
        ],
        "x-resourceId": "setup_attempt",
        "x-stripeMostCommon": [
          "application",
          "attach_to_self",
          "created",
          "customer",
          "flow_directions",
          "id",
          "livemode",
          "object",
          "on_behalf_of",
          "payment_method",
          "payment_method_details",
          "setup_error",
          "setup_intent",
          "status",
          "usage"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/setup_attempts"
          }
        ],
        "x-stripeResource": {
          "class_name": "SetupAttempt",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "setup_attempt_payment_method_details": {
        "description": "",
        "properties": {
          "acss_debit": {
            "$ref": "#/components/schemas/setup_attempt_payment_method_details_acss_debit"
          },
          "amazon_pay": {
            "$ref": "#/components/schemas/setup_attempt_payment_method_details_amazon_pay"
          },
          "au_becs_debit": {
            "$ref": "#/components/schemas/setup_attempt_payment_method_details_au_becs_debit"
          },
          "bacs_debit": {
            "$ref": "#/components/schemas/setup_attempt_payment_method_details_bacs_debit"
          },
          "bancontact": {
            "$ref": "#/components/schemas/setup_attempt_payment_method_details_bancontact"
          },
          "boleto": {
            "$ref": "#/components/schemas/setup_attempt_payment_method_details_boleto"
          },
          "card": {
            "$ref": "#/components/schemas/setup_attempt_payment_method_details_card"
          },
          "card_present": {
            "$ref": "#/components/schemas/setup_attempt_payment_method_details_card_present"
          },
          "cashapp": {
            "$ref": "#/components/schemas/setup_attempt_payment_method_details_cashapp"
          },
          "ideal": {
            "$ref": "#/components/schemas/setup_attempt_payment_method_details_ideal"
          },
          "kakao_pay": {
            "$ref": "#/components/schemas/setup_attempt_payment_method_details_kakao_pay"
          },
          "klarna": {
            "$ref": "#/components/schemas/setup_attempt_payment_method_details_klarna"
          },
          "kr_card": {
            "$ref": "#/components/schemas/setup_attempt_payment_method_details_kr_card"
          },
          "link": {
            "$ref": "#/components/schemas/setup_attempt_payment_method_details_link"
          },
          "paypal": {
            "$ref": "#/components/schemas/setup_attempt_payment_method_details_paypal"
          },
          "revolut_pay": {
            "$ref": "#/components/schemas/setup_attempt_payment_method_details_revolut_pay"
          },
          "sepa_debit": {
            "$ref": "#/components/schemas/setup_attempt_payment_method_details_sepa_debit"
          },
          "sofort": {
            "$ref": "#/components/schemas/setup_attempt_payment_method_details_sofort"
          },
          "type": {
            "description": "The type of the payment method used in the SetupIntent (e.g., `card`). An additional hash is included on `payment_method_details` with a name matching this value. It contains confirmation-specific information for the payment method.",
            "maxLength": 5000,
            "type": "string"
          },
          "us_bank_account": {
            "$ref": "#/components/schemas/setup_attempt_payment_method_details_us_bank_account"
          }
        },
        "required": [
          "type"
        ],
        "title": "SetupAttemptPaymentMethodDetails",
        "type": "object",
        "x-expandableFields": [
          "acss_debit",
          "amazon_pay",
          "au_becs_debit",
          "bacs_debit",
          "bancontact",
          "boleto",
          "card",
          "card_present",
          "cashapp",
          "ideal",
          "kakao_pay",
          "klarna",
          "kr_card",
          "link",
          "paypal",
          "revolut_pay",
          "sepa_debit",
          "sofort",
          "us_bank_account"
        ],
        "x-stripeMostCommon": [
          "acss_debit",
          "amazon_pay",
          "au_becs_debit",
          "bacs_debit",
          "bancontact",
          "boleto",
          "card",
          "card_present",
          "cashapp",
          "ideal",
          "kakao_pay",
          "klarna",
          "kr_card",
          "link",
          "paypal",
          "revolut_pay",
          "sepa_debit",
          "sofort",
          "type",
          "us_bank_account"
        ]
      },
      "setup_attempt_payment_method_details_acss_debit": {
        "description": "",
        "properties": {},
        "title": "setup_attempt_payment_method_details_acss_debit",
        "type": "object",
        "x-expandableFields": []
      },
      "setup_attempt_payment_method_details_amazon_pay": {
        "description": "",
        "properties": {},
        "title": "setup_attempt_payment_method_details_amazon_pay",
        "type": "object",
        "x-expandableFields": []
      },
      "setup_attempt_payment_method_details_au_becs_debit": {
        "description": "",
        "properties": {},
        "title": "setup_attempt_payment_method_details_au_becs_debit",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeResource": {
          "class_name": "AuBecsDebit",
          "in_package": ""
        }
      },
      "setup_attempt_payment_method_details_bacs_debit": {
        "description": "",
        "properties": {},
        "title": "setup_attempt_payment_method_details_bacs_debit",
        "type": "object",
        "x-expandableFields": []
      },
      "setup_attempt_payment_method_details_bancontact": {
        "description": "",
        "properties": {
          "bank_code": {
            "description": "Bank code of bank associated with the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "bank_name": {
            "description": "Name of the bank associated with the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "bic": {
            "description": "Bank Identifier Code of the bank associated with the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "generated_sepa_debit": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_method"
              }
            ],
            "description": "The ID of the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_method"
                }
              ]
            }
          },
          "generated_sepa_debit_mandate": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/mandate"
              }
            ],
            "description": "The mandate for the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/mandate"
                }
              ]
            }
          },
          "iban_last4": {
            "description": "Last four characters of the IBAN.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "preferred_language": {
            "description": "Preferred language of the Bancontact authorization page that the customer is redirected to.\nCan be one of `en`, `de`, `fr`, or `nl`",
            "enum": [
              "de",
              "en",
              "fr",
              "nl"
            ],
            "nullable": true,
            "type": "string"
          },
          "verified_name": {
            "description": "Owner's verified full name. Values are verified or provided by Bancontact directly\n(if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "bank_code",
          "bank_name",
          "bic",
          "generated_sepa_debit",
          "generated_sepa_debit_mandate",
          "iban_last4",
          "preferred_language",
          "verified_name"
        ],
        "title": "setup_attempt_payment_method_details_bancontact",
        "type": "object",
        "x-expandableFields": [
          "generated_sepa_debit",
          "generated_sepa_debit_mandate"
        ],
        "x-stripeMostCommon": [
          "bank_code",
          "bank_name",
          "bic",
          "generated_sepa_debit",
          "generated_sepa_debit_mandate",
          "iban_last4",
          "preferred_language",
          "verified_name"
        ],
        "x-stripeResource": {
          "class_name": "Bancontact",
          "in_package": ""
        }
      },
      "setup_attempt_payment_method_details_boleto": {
        "description": "",
        "properties": {},
        "title": "setup_attempt_payment_method_details_boleto",
        "type": "object",
        "x-expandableFields": []
      },
      "setup_attempt_payment_method_details_card": {
        "description": "",
        "properties": {
          "brand": {
            "description": "Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "checks": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/setup_attempt_payment_method_details_card_checks"
              }
            ],
            "description": "Check results by Card networks on Card address and CVC at the time of authorization",
            "nullable": true
          },
          "country": {
            "description": "Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "description": {
            "description": "A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "exp_month": {
            "description": "Two-digit number representing the card's expiration month.",
            "nullable": true,
            "type": "integer"
          },
          "exp_year": {
            "description": "Four-digit number representing the card's expiration year.",
            "nullable": true,
            "type": "integer"
          },
          "fingerprint": {
            "description": "Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.\n\n*As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "funding": {
            "description": "Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "iin": {
            "description": "Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "issuer": {
            "description": "The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "last4": {
            "description": "The last four digits of the card.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "network": {
            "description": "Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "three_d_secure": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/three_d_secure_details"
              }
            ],
            "description": "Populated if this authorization used 3D Secure authentication.",
            "nullable": true
          },
          "wallet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/setup_attempt_payment_method_details_card_wallet"
              }
            ],
            "description": "If this Card is part of a card wallet, this contains the details of the card wallet.",
            "nullable": true
          }
        },
        "required": [
          "brand",
          "checks",
          "country",
          "exp_month",
          "exp_year",
          "funding",
          "last4",
          "network",
          "three_d_secure",
          "wallet"
        ],
        "title": "setup_attempt_payment_method_details_card",
        "type": "object",
        "x-expandableFields": [
          "checks",
          "three_d_secure",
          "wallet"
        ],
        "x-stripeMostCommon": [
          "brand",
          "checks",
          "country",
          "description",
          "exp_month",
          "exp_year",
          "fingerprint",
          "funding",
          "iin",
          "issuer",
          "last4",
          "network",
          "three_d_secure",
          "wallet"
        ]
      },
      "setup_attempt_payment_method_details_card_checks": {
        "description": "",
        "properties": {
          "address_line1_check": {
            "description": "If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "address_postal_code_check": {
            "description": "If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "cvc_check": {
            "description": "If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "address_line1_check",
          "address_postal_code_check",
          "cvc_check"
        ],
        "title": "setup_attempt_payment_method_details_card_checks",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "address_line1_check",
          "address_postal_code_check",
          "cvc_check"
        ]
      },
      "setup_attempt_payment_method_details_card_present": {
        "description": "",
        "properties": {
          "generated_card": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_method"
              }
            ],
            "description": "The ID of the Card PaymentMethod which was generated by this SetupAttempt.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_method"
                }
              ]
            }
          },
          "offline": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_method_details_card_present_offline"
              }
            ],
            "description": "Details about payments collected offline.",
            "nullable": true
          }
        },
        "required": [
          "generated_card",
          "offline"
        ],
        "title": "setup_attempt_payment_method_details_card_present",
        "type": "object",
        "x-expandableFields": [
          "generated_card",
          "offline"
        ],
        "x-stripeMostCommon": [
          "generated_card",
          "offline"
        ],
        "x-stripeResource": {
          "class_name": "CardPresent",
          "in_package": ""
        }
      },
      "setup_attempt_payment_method_details_card_wallet": {
        "description": "",
        "properties": {
          "apple_pay": {
            "$ref": "#/components/schemas/payment_method_details_card_wallet_apple_pay"
          },
          "google_pay": {
            "$ref": "#/components/schemas/payment_method_details_card_wallet_google_pay"
          },
          "type": {
            "description": "The type of the card wallet, one of `apple_pay`, `google_pay`, or `link`. An additional hash is included on the Wallet subhash with a name matching this value. It contains additional information specific to the card wallet type.",
            "enum": [
              "apple_pay",
              "google_pay",
              "link"
            ],
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "title": "setup_attempt_payment_method_details_card_wallet",
        "type": "object",
        "x-expandableFields": [
          "apple_pay",
          "google_pay"
        ],
        "x-stripeMostCommon": [
          "apple_pay",
          "google_pay",
          "type"
        ]
      },
      "setup_attempt_payment_method_details_cashapp": {
        "description": "",
        "properties": {},
        "title": "setup_attempt_payment_method_details_cashapp",
        "type": "object",
        "x-expandableFields": []
      },
      "setup_attempt_payment_method_details_ideal": {
        "description": "",
        "properties": {
          "bank": {
            "description": "The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.",
            "enum": [
              "abn_amro",
              "asn_bank",
              "bunq",
              "handelsbanken",
              "ing",
              "knab",
              "moneyou",
              "n26",
              "nn",
              "rabobank",
              "regiobank",
              "revolut",
              "sns_bank",
              "triodos_bank",
              "van_lanschot",
              "yoursafe"
            ],
            "nullable": true,
            "type": "string"
          },
          "bic": {
            "description": "The Bank Identifier Code of the customer's bank.",
            "enum": [
              "ABNANL2A",
              "ASNBNL21",
              "BITSNL2A",
              "BUNQNL2A",
              "FVLBNL22",
              "HANDNL2A",
              "INGBNL2A",
              "KNABNL2H",
              "MOYONL21",
              "NNBANL2G",
              "NTSBDEB1",
              "RABONL2U",
              "RBRBNL21",
              "REVOIE23",
              "REVOLT21",
              "SNSBNL2A",
              "TRIONL2U"
            ],
            "nullable": true,
            "type": "string"
          },
          "generated_sepa_debit": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_method"
              }
            ],
            "description": "The ID of the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_method"
                }
              ]
            }
          },
          "generated_sepa_debit_mandate": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/mandate"
              }
            ],
            "description": "The mandate for the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/mandate"
                }
              ]
            }
          },
          "iban_last4": {
            "description": "Last four characters of the IBAN.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "verified_name": {
            "description": "Owner's verified full name. Values are verified or provided by iDEAL directly\n(if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "bank",
          "bic",
          "generated_sepa_debit",
          "generated_sepa_debit_mandate",
          "iban_last4",
          "verified_name"
        ],
        "title": "setup_attempt_payment_method_details_ideal",
        "type": "object",
        "x-expandableFields": [
          "generated_sepa_debit",
          "generated_sepa_debit_mandate"
        ],
        "x-stripeMostCommon": [
          "bank",
          "bic",
          "generated_sepa_debit",
          "generated_sepa_debit_mandate",
          "iban_last4",
          "verified_name"
        ]
      },
      "setup_attempt_payment_method_details_kakao_pay": {
        "description": "",
        "properties": {},
        "title": "setup_attempt_payment_method_details_kakao_pay",
        "type": "object",
        "x-expandableFields": []
      },
      "setup_attempt_payment_method_details_klarna": {
        "description": "",
        "properties": {},
        "title": "setup_attempt_payment_method_details_klarna",
        "type": "object",
        "x-expandableFields": []
      },
      "setup_attempt_payment_method_details_kr_card": {
        "description": "",
        "properties": {},
        "title": "setup_attempt_payment_method_details_kr_card",
        "type": "object",
        "x-expandableFields": []
      },
      "setup_attempt_payment_method_details_link": {
        "description": "",
        "properties": {},
        "title": "setup_attempt_payment_method_details_link",
        "type": "object",
        "x-expandableFields": []
      },
      "setup_attempt_payment_method_details_paypal": {
        "description": "",
        "properties": {},
        "title": "setup_attempt_payment_method_details_paypal",
        "type": "object",
        "x-expandableFields": []
      },
      "setup_attempt_payment_method_details_revolut_pay": {
        "description": "",
        "properties": {},
        "title": "setup_attempt_payment_method_details_revolut_pay",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeResource": {
          "class_name": "RevolutPay",
          "in_package": ""
        }
      },
      "setup_attempt_payment_method_details_sepa_debit": {
        "description": "",
        "properties": {},
        "title": "setup_attempt_payment_method_details_sepa_debit",
        "type": "object",
        "x-expandableFields": []
      },
      "setup_attempt_payment_method_details_sofort": {
        "description": "",
        "properties": {
          "bank_code": {
            "description": "Bank code of bank associated with the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "bank_name": {
            "description": "Name of the bank associated with the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "bic": {
            "description": "Bank Identifier Code of the bank associated with the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "generated_sepa_debit": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_method"
              }
            ],
            "description": "The ID of the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_method"
                }
              ]
            }
          },
          "generated_sepa_debit_mandate": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/mandate"
              }
            ],
            "description": "The mandate for the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/mandate"
                }
              ]
            }
          },
          "iban_last4": {
            "description": "Last four characters of the IBAN.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "preferred_language": {
            "description": "Preferred language of the Sofort authorization page that the customer is redirected to.\nCan be one of `en`, `de`, `fr`, or `nl`",
            "enum": [
              "de",
              "en",
              "fr",
              "nl"
            ],
            "nullable": true,
            "type": "string"
          },
          "verified_name": {
            "description": "Owner's verified full name. Values are verified or provided by Sofort directly\n(if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "bank_code",
          "bank_name",
          "bic",
          "generated_sepa_debit",
          "generated_sepa_debit_mandate",
          "iban_last4",
          "preferred_language",
          "verified_name"
        ],
        "title": "setup_attempt_payment_method_details_sofort",
        "type": "object",
        "x-expandableFields": [
          "generated_sepa_debit",
          "generated_sepa_debit_mandate"
        ],
        "x-stripeMostCommon": [
          "bank_code",
          "bank_name",
          "bic",
          "generated_sepa_debit",
          "generated_sepa_debit_mandate",
          "iban_last4",
          "preferred_language",
          "verified_name"
        ]
      },
      "setup_attempt_payment_method_details_us_bank_account": {
        "description": "",
        "properties": {},
        "title": "setup_attempt_payment_method_details_us_bank_account",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeResource": {
          "class_name": "UsBankAccount",
          "in_package": ""
        }
      },
      "setup_intent": {
        "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)",
        "properties": {
          "application": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/application"
              }
            ],
            "description": "ID of the Connect application that created the SetupIntent.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/application"
                }
              ]
            }
          },
          "attach_to_self": {
            "description": "If present, the SetupIntent's payment method will be attached to the in-context Stripe Account.\n\nIt can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.",
            "type": "boolean"
          },
          "automatic_payment_methods": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_flows_automatic_payment_methods_setup_intent"
              }
            ],
            "description": "Settings for dynamic payment methods compatible with this Setup Intent",
            "nullable": true
          },
          "cancellation_reason": {
            "description": "Reason for cancellation of this SetupIntent, one of `abandoned`, `requested_by_customer`, or `duplicate`.",
            "enum": [
              "abandoned",
              "duplicate",
              "requested_by_customer"
            ],
            "nullable": true,
            "type": "string"
          },
          "client_secret": {
            "description": "The client secret of this SetupIntent. Used for client-side retrieval using a publishable key.\n\nThe client secret can be used to complete payment setup from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "customer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer"
              },
              {
                "$ref": "#/components/schemas/deleted_customer"
              }
            ],
            "description": "ID of the Customer this SetupIntent belongs to, if one exists.\n\nIf present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer"
                },
                {
                  "$ref": "#/components/schemas/deleted_customer"
                }
              ]
            }
          },
          "description": {
            "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "flow_directions": {
            "description": "Indicates the directions of money movement for which this payment method is intended to be used.\n\nInclude `inbound` if you intend to use the payment method as the origin to pull funds from. Include `outbound` if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes.",
            "items": {
              "enum": [
                "inbound",
                "outbound"
              ],
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "last_setup_error": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/api_errors"
              }
            ],
            "description": "The error encountered in the previous SetupIntent confirmation.",
            "nullable": true
          },
          "latest_attempt": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/setup_attempt"
              }
            ],
            "description": "The most recent SetupAttempt for this SetupIntent.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/setup_attempt"
                }
              ]
            }
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "mandate": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/mandate"
              }
            ],
            "description": "ID of the multi use Mandate generated by the SetupIntent.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/mandate"
                }
              ]
            }
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "nullable": true,
            "type": "object"
          },
          "next_action": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/setup_intent_next_action"
              }
            ],
            "description": "If present, this property tells you what actions you need to take in order for your customer to continue payment setup.",
            "nullable": true
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "setup_intent"
            ],
            "type": "string"
          },
          "on_behalf_of": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/account"
              }
            ],
            "description": "The account (if any) for which the setup is intended.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/account"
                }
              ]
            }
          },
          "payment_method": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_method"
              }
            ],
            "description": "ID of the payment method used with this SetupIntent. If the payment method is `card_present` and isn't a digital wallet, then the [generated_card](https://docs.stripe.com/api/setup_attempts/object#setup_attempt_object-payment_method_details-card_present-generated_card) associated with the `latest_attempt` is attached to the Customer instead.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_method"
                }
              ]
            }
          },
          "payment_method_configuration_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/payment_method_config_biz_payment_method_configuration_details"
              }
            ],
            "description": "Information about the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) used for this Setup Intent.",
            "nullable": true
          },
          "payment_method_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/setup_intent_payment_method_options"
              }
            ],
            "description": "Payment method-specific configuration for this SetupIntent.",
            "nullable": true
          },
          "payment_method_types": {
            "description": "The list of payment method types (e.g. card) that this SetupIntent is allowed to set up.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "single_use_mandate": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/mandate"
              }
            ],
            "description": "ID of the single_use Mandate generated by the SetupIntent.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/mandate"
                }
              ]
            }
          },
          "status": {
            "description": "[Status](https://stripe.com/docs/payments/intents#intent-statuses) of this SetupIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `canceled`, or `succeeded`.",
            "enum": [
              "canceled",
              "processing",
              "requires_action",
              "requires_confirmation",
              "requires_payment_method",
              "succeeded"
            ],
            "type": "string"
          },
          "usage": {
            "description": "Indicates how the payment method is intended to be used in the future.\n\nUse `on_session` if you intend to only reuse the payment method when the customer is in your checkout flow. Use `off_session` if your customer may or may not be in your checkout flow. If not provided, this value defaults to `off_session`.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "application",
          "automatic_payment_methods",
          "cancellation_reason",
          "client_secret",
          "created",
          "customer",
          "description",
          "flow_directions",
          "id",
          "last_setup_error",
          "latest_attempt",
          "livemode",
          "mandate",
          "metadata",
          "next_action",
          "object",
          "on_behalf_of",
          "payment_method",
          "payment_method_configuration_details",
          "payment_method_options",
          "payment_method_types",
          "single_use_mandate",
          "status",
          "usage"
        ],
        "title": "SetupIntent",
        "type": "object",
        "x-expandableFields": [
          "application",
          "automatic_payment_methods",
          "customer",
          "last_setup_error",
          "latest_attempt",
          "mandate",
          "next_action",
          "on_behalf_of",
          "payment_method",
          "payment_method_configuration_details",
          "payment_method_options",
          "single_use_mandate"
        ],
        "x-resourceId": "setup_intent",
        "x-stripeMostCommon": [
          "automatic_payment_methods",
          "client_secret",
          "customer",
          "description",
          "id",
          "last_setup_error",
          "metadata",
          "next_action",
          "payment_method",
          "status",
          "usage"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/setup_intents"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/setup_intents/{intent}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/setup_intents"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/setup_intents/{intent}"
          },
          {
            "method_name": "cancel",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/setup_intents/{intent}/cancel"
          },
          {
            "method_name": "confirm",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/setup_intents/{intent}/confirm"
          },
          {
            "method_name": "verify_microdeposits",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/setup_intents/{intent}/verify_microdeposits"
          }
        ],
        "x-stripeResource": {
          "class_name": "SetupIntent",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "setup_intent.canceled": {
        "description": "Occurs when a SetupIntent is canceled.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/setup_intent"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "setup_intent.canceled"
        }
      },
      "setup_intent.created": {
        "description": "Occurs when a new SetupIntent is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/setup_intent"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "setup_intent.created"
        }
      },
      "setup_intent.requires_action": {
        "description": "Occurs when a SetupIntent is in requires_action state.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/setup_intent"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "setup_intent.requires_action"
        }
      },
      "setup_intent.setup_failed": {
        "description": "Occurs when a SetupIntent has failed the attempt to setup a payment method.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/setup_intent"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "setup_intent.setup_failed"
        }
      },
      "setup_intent.succeeded": {
        "description": "Occurs when an SetupIntent has successfully setup a payment method.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/setup_intent"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "setup_intent.succeeded"
        }
      },
      "setup_intent_next_action": {
        "description": "",
        "properties": {
          "cashapp_handle_redirect_or_display_qr_code": {
            "$ref": "#/components/schemas/payment_intent_next_action_cashapp_handle_redirect_or_display_qr_code"
          },
          "redirect_to_url": {
            "$ref": "#/components/schemas/setup_intent_next_action_redirect_to_url"
          },
          "type": {
            "description": "Type of the next action to perform, one of `redirect_to_url`, `use_stripe_sdk`, `alipay_handle_redirect`, `oxxo_display_details`, or `verify_with_microdeposits`.",
            "maxLength": 5000,
            "type": "string"
          },
          "use_stripe_sdk": {
            "description": "When confirming a SetupIntent with Stripe.js, Stripe.js depends on the contents of this dictionary to invoke authentication flows. The shape of the contents is subject to change and is only intended to be used by Stripe.js.",
            "type": "object"
          },
          "verify_with_microdeposits": {
            "$ref": "#/components/schemas/setup_intent_next_action_verify_with_microdeposits"
          }
        },
        "required": [
          "type"
        ],
        "title": "SetupIntentNextAction",
        "type": "object",
        "x-expandableFields": [
          "cashapp_handle_redirect_or_display_qr_code",
          "redirect_to_url",
          "verify_with_microdeposits"
        ],
        "x-stripeMostCommon": [
          "cashapp_handle_redirect_or_display_qr_code",
          "redirect_to_url",
          "type",
          "use_stripe_sdk",
          "verify_with_microdeposits"
        ]
      },
      "setup_intent_next_action_redirect_to_url": {
        "description": "",
        "properties": {
          "return_url": {
            "description": "If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "url": {
            "description": "The URL you must redirect your customer to in order to authenticate.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "return_url",
          "url"
        ],
        "title": "SetupIntentNextActionRedirectToUrl",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "return_url",
          "url"
        ],
        "x-stripeResource": {
          "class_name": "NextActionRedirectToUrl",
          "in_package": ""
        }
      },
      "setup_intent_next_action_verify_with_microdeposits": {
        "description": "",
        "properties": {
          "arrival_date": {
            "description": "The timestamp when the microdeposits are expected to land.",
            "format": "unix-time",
            "type": "integer"
          },
          "hosted_verification_url": {
            "description": "The URL for the hosted verification page, which allows customers to verify their bank account.",
            "maxLength": 5000,
            "type": "string"
          },
          "microdeposit_type": {
            "description": "The type of the microdeposit sent to the customer. Used to distinguish between different verification methods.",
            "enum": [
              "amounts",
              "descriptor_code"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "arrival_date",
          "hosted_verification_url",
          "microdeposit_type"
        ],
        "title": "SetupIntentNextActionVerifyWithMicrodeposits",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "arrival_date",
          "hosted_verification_url",
          "microdeposit_type"
        ]
      },
      "setup_intent_payment_method_options": {
        "description": "",
        "properties": {
          "acss_debit": {
            "$ref": "#/components/schemas/setup_intent_payment_method_options_acss_debit"
          },
          "amazon_pay": {
            "$ref": "#/components/schemas/setup_intent_payment_method_options_amazon_pay"
          },
          "bacs_debit": {
            "$ref": "#/components/schemas/setup_intent_payment_method_options_bacs_debit"
          },
          "card": {
            "$ref": "#/components/schemas/setup_intent_payment_method_options_card"
          },
          "card_present": {
            "$ref": "#/components/schemas/setup_intent_payment_method_options_card_present"
          },
          "link": {
            "$ref": "#/components/schemas/setup_intent_payment_method_options_link"
          },
          "paypal": {
            "$ref": "#/components/schemas/setup_intent_payment_method_options_paypal"
          },
          "sepa_debit": {
            "$ref": "#/components/schemas/setup_intent_payment_method_options_sepa_debit"
          },
          "us_bank_account": {
            "$ref": "#/components/schemas/setup_intent_payment_method_options_us_bank_account"
          }
        },
        "title": "SetupIntentPaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [
          "acss_debit",
          "amazon_pay",
          "bacs_debit",
          "card",
          "card_present",
          "link",
          "paypal",
          "sepa_debit",
          "us_bank_account"
        ],
        "x-stripeMostCommon": [
          "acss_debit",
          "amazon_pay",
          "bacs_debit",
          "card",
          "card_present",
          "link",
          "paypal",
          "sepa_debit",
          "us_bank_account"
        ]
      },
      "setup_intent_payment_method_options_acss_debit": {
        "description": "",
        "properties": {
          "currency": {
            "description": "Currency supported by the bank account",
            "enum": [
              "cad",
              "usd"
            ],
            "nullable": true,
            "type": "string"
          },
          "mandate_options": {
            "$ref": "#/components/schemas/setup_intent_payment_method_options_mandate_options_acss_debit"
          },
          "verification_method": {
            "description": "Bank account verification method.",
            "enum": [
              "automatic",
              "instant",
              "microdeposits"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "currency"
        ],
        "title": "setup_intent_payment_method_options_acss_debit",
        "type": "object",
        "x-expandableFields": [
          "mandate_options"
        ],
        "x-stripeMostCommon": [
          "currency",
          "mandate_options",
          "verification_method"
        ]
      },
      "setup_intent_payment_method_options_amazon_pay": {
        "description": "",
        "properties": {},
        "title": "setup_intent_payment_method_options_amazon_pay",
        "type": "object",
        "x-expandableFields": []
      },
      "setup_intent_payment_method_options_bacs_debit": {
        "description": "",
        "properties": {
          "mandate_options": {
            "$ref": "#/components/schemas/setup_intent_payment_method_options_mandate_options_bacs_debit"
          }
        },
        "title": "setup_intent_payment_method_options_bacs_debit",
        "type": "object",
        "x-expandableFields": [
          "mandate_options"
        ],
        "x-stripeMostCommon": [
          "mandate_options"
        ]
      },
      "setup_intent_payment_method_options_card": {
        "description": "",
        "properties": {
          "mandate_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/setup_intent_payment_method_options_card_mandate_options"
              }
            ],
            "description": "Configuration options for setting up an eMandate for cards issued in India.",
            "nullable": true
          },
          "network": {
            "description": "Selected network to process this SetupIntent on. Depends on the available networks of the card attached to the setup intent. Can be only set confirm-time.",
            "enum": [
              "amex",
              "cartes_bancaires",
              "diners",
              "discover",
              "eftpos_au",
              "girocard",
              "interac",
              "jcb",
              "link",
              "mastercard",
              "unionpay",
              "unknown",
              "visa"
            ],
            "nullable": true,
            "type": "string"
          },
          "request_three_d_secure": {
            "description": "We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.",
            "enum": [
              "any",
              "automatic",
              "challenge"
            ],
            "nullable": true,
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "mandate_options",
          "network",
          "request_three_d_secure"
        ],
        "title": "setup_intent_payment_method_options_card",
        "type": "object",
        "x-expandableFields": [
          "mandate_options"
        ],
        "x-stripeMostCommon": [
          "mandate_options",
          "network",
          "request_three_d_secure"
        ]
      },
      "setup_intent_payment_method_options_card_mandate_options": {
        "description": "",
        "properties": {
          "amount": {
            "description": "Amount to be charged for future payments.",
            "type": "integer"
          },
          "amount_type": {
            "description": "One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.",
            "enum": [
              "fixed",
              "maximum"
            ],
            "type": "string"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "description": {
            "description": "A description of the mandate or subscription that is meant to be displayed to the customer.",
            "maxLength": 200,
            "nullable": true,
            "type": "string"
          },
          "end_date": {
            "description": "End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "interval": {
            "description": "Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.",
            "enum": [
              "day",
              "month",
              "sporadic",
              "week",
              "year"
            ],
            "type": "string"
          },
          "interval_count": {
            "description": "The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.",
            "nullable": true,
            "type": "integer"
          },
          "reference": {
            "description": "Unique identifier for the mandate or subscription.",
            "maxLength": 80,
            "type": "string"
          },
          "start_date": {
            "description": "Start date of the mandate or subscription. Start date should not be lesser than yesterday.",
            "format": "unix-time",
            "type": "integer"
          },
          "supported_types": {
            "description": "Specifies the type of mandates supported. Possible values are `india`.",
            "items": {
              "enum": [
                "india"
              ],
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "required": [
          "amount",
          "amount_type",
          "currency",
          "description",
          "end_date",
          "interval",
          "interval_count",
          "reference",
          "start_date",
          "supported_types"
        ],
        "title": "setup_intent_payment_method_options_card_mandate_options",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "amount",
          "amount_type",
          "currency",
          "description",
          "end_date",
          "interval",
          "interval_count",
          "reference",
          "start_date",
          "supported_types"
        ],
        "x-stripeResource": {
          "class_name": "MandateOptions",
          "in_package": ""
        }
      },
      "setup_intent_payment_method_options_card_present": {
        "description": "",
        "properties": {},
        "title": "setup_intent_payment_method_options_card_present",
        "type": "object",
        "x-expandableFields": []
      },
      "setup_intent_payment_method_options_link": {
        "description": "",
        "properties": {
          "persistent_token": {
            "description": "[Deprecated] This is a legacy parameter that no longer has any function.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "persistent_token"
        ],
        "title": "setup_intent_payment_method_options_link",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "persistent_token"
        ]
      },
      "setup_intent_payment_method_options_mandate_options_acss_debit": {
        "description": "",
        "properties": {
          "custom_mandate_url": {
            "description": "A URL for custom mandate text",
            "maxLength": 5000,
            "type": "string"
          },
          "default_for": {
            "description": "List of Stripe products where this mandate can be selected automatically.",
            "items": {
              "enum": [
                "invoice",
                "subscription"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "interval_description": {
            "description": "Description of the interval. Only required if the 'payment_schedule' parameter is 'interval' or 'combined'.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "payment_schedule": {
            "description": "Payment schedule for the mandate.",
            "enum": [
              "combined",
              "interval",
              "sporadic"
            ],
            "nullable": true,
            "type": "string"
          },
          "transaction_type": {
            "description": "Transaction type of the mandate.",
            "enum": [
              "business",
              "personal"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "interval_description",
          "payment_schedule",
          "transaction_type"
        ],
        "title": "setup_intent_payment_method_options_mandate_options_acss_debit",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "custom_mandate_url",
          "default_for",
          "interval_description",
          "payment_schedule",
          "transaction_type"
        ]
      },
      "setup_intent_payment_method_options_mandate_options_bacs_debit": {
        "description": "",
        "properties": {},
        "title": "setup_intent_payment_method_options_mandate_options_bacs_debit",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeResource": {
          "class_name": "BacsDebitMandateOptions",
          "in_package": ""
        }
      },
      "setup_intent_payment_method_options_mandate_options_sepa_debit": {
        "description": "",
        "properties": {},
        "title": "setup_intent_payment_method_options_mandate_options_sepa_debit",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeResource": {
          "class_name": "SepaDebitMandateOptions",
          "in_package": ""
        }
      },
      "setup_intent_payment_method_options_paypal": {
        "description": "",
        "properties": {
          "billing_agreement_id": {
            "description": "The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "billing_agreement_id"
        ],
        "title": "setup_intent_payment_method_options_paypal",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "billing_agreement_id"
        ]
      },
      "setup_intent_payment_method_options_sepa_debit": {
        "description": "",
        "properties": {
          "mandate_options": {
            "$ref": "#/components/schemas/setup_intent_payment_method_options_mandate_options_sepa_debit"
          }
        },
        "title": "setup_intent_payment_method_options_sepa_debit",
        "type": "object",
        "x-expandableFields": [
          "mandate_options"
        ],
        "x-stripeMostCommon": [
          "mandate_options"
        ]
      },
      "setup_intent_payment_method_options_us_bank_account": {
        "description": "",
        "properties": {
          "financial_connections": {
            "$ref": "#/components/schemas/linked_account_options_us_bank_account"
          },
          "mandate_options": {
            "$ref": "#/components/schemas/payment_method_options_us_bank_account_mandate_options"
          },
          "verification_method": {
            "description": "Bank account verification method.",
            "enum": [
              "automatic",
              "instant",
              "microdeposits"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "title": "setup_intent_payment_method_options_us_bank_account",
        "type": "object",
        "x-expandableFields": [
          "financial_connections",
          "mandate_options"
        ],
        "x-stripeMostCommon": [
          "financial_connections",
          "mandate_options",
          "verification_method"
        ]
      },
      "setup_intent_type_specific_payment_method_options_client": {
        "description": "",
        "properties": {
          "verification_method": {
            "description": "Bank account verification method.",
            "enum": [
              "automatic",
              "instant",
              "microdeposits"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "title": "SetupIntentTypeSpecificPaymentMethodOptionsClient",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "verification_method"
        ]
      },
      "shipping": {
        "description": "",
        "properties": {
          "address": {
            "$ref": "#/components/schemas/address"
          },
          "carrier": {
            "description": "The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "name": {
            "description": "Recipient name.",
            "maxLength": 5000,
            "type": "string"
          },
          "phone": {
            "description": "Recipient phone (including extension).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "tracking_number": {
            "description": "The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "title": "Shipping",
        "type": "object",
        "x-expandableFields": [
          "address"
        ],
        "x-stripeMostCommon": [
          "address",
          "carrier",
          "name",
          "phone",
          "tracking_number"
        ],
        "x-stripeResource": {
          "class_name": "ShippingDetails",
          "in_package": ""
        }
      },
      "shipping_rate": {
        "description": "Shipping rates describe the price of shipping presented to your customers and\napplied to a purchase. For more information, see [Charge for shipping](https://stripe.com/docs/payments/during-payment/charge-shipping).",
        "properties": {
          "active": {
            "description": "Whether the shipping rate can be used for new purchases. Defaults to `true`.",
            "type": "boolean"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "delivery_estimate": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shipping_rate_delivery_estimate"
              }
            ],
            "description": "The estimated range for how long shipping will take, meant to be displayable to the customer. This will appear on CheckoutSessions.",
            "nullable": true
          },
          "display_name": {
            "description": "The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "fixed_amount": {
            "$ref": "#/components/schemas/shipping_rate_fixed_amount"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "shipping_rate"
            ],
            "type": "string"
          },
          "tax_behavior": {
            "description": "Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.",
            "enum": [
              "exclusive",
              "inclusive",
              "unspecified"
            ],
            "nullable": true,
            "type": "string"
          },
          "tax_code": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/tax_code"
              }
            ],
            "description": "A [tax code](https://stripe.com/docs/tax/tax-categories) ID. The Shipping tax code is `txcd_92010001`.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/tax_code"
                }
              ]
            }
          },
          "type": {
            "description": "The type of calculation to use on the shipping rate.",
            "enum": [
              "fixed_amount"
            ],
            "type": "string"
          }
        },
        "required": [
          "active",
          "created",
          "delivery_estimate",
          "display_name",
          "id",
          "livemode",
          "metadata",
          "object",
          "tax_behavior",
          "tax_code",
          "type"
        ],
        "title": "ShippingRate",
        "type": "object",
        "x-expandableFields": [
          "delivery_estimate",
          "fixed_amount",
          "tax_code"
        ],
        "x-resourceId": "shipping_rate",
        "x-stripeMostCommon": [
          "active",
          "display_name",
          "fixed_amount",
          "id",
          "metadata",
          "tax_behavior",
          "tax_code",
          "type"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/shipping_rates"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/shipping_rates/{shipping_rate_token}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/shipping_rates"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/shipping_rates/{shipping_rate_token}"
          }
        ],
        "x-stripeResource": {
          "class_name": "ShippingRate",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "shipping_rate_currency_option": {
        "description": "",
        "properties": {
          "amount": {
            "description": "A non-negative integer in cents representing how much to charge.",
            "type": "integer"
          },
          "tax_behavior": {
            "description": "Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.",
            "enum": [
              "exclusive",
              "inclusive",
              "unspecified"
            ],
            "type": "string"
          }
        },
        "required": [
          "amount",
          "tax_behavior"
        ],
        "title": "ShippingRateCurrencyOption",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "amount",
          "tax_behavior"
        ]
      },
      "shipping_rate_delivery_estimate": {
        "description": "",
        "properties": {
          "maximum": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shipping_rate_delivery_estimate_bound"
              }
            ],
            "description": "The upper bound of the estimated range. If empty, represents no upper bound i.e., infinite.",
            "nullable": true
          },
          "minimum": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shipping_rate_delivery_estimate_bound"
              }
            ],
            "description": "The lower bound of the estimated range. If empty, represents no lower bound.",
            "nullable": true
          }
        },
        "required": [
          "maximum",
          "minimum"
        ],
        "title": "ShippingRateDeliveryEstimate",
        "type": "object",
        "x-expandableFields": [
          "maximum",
          "minimum"
        ],
        "x-stripeMostCommon": [
          "maximum",
          "minimum"
        ]
      },
      "shipping_rate_delivery_estimate_bound": {
        "description": "",
        "properties": {
          "unit": {
            "description": "A unit of time.",
            "enum": [
              "business_day",
              "day",
              "hour",
              "month",
              "week"
            ],
            "type": "string"
          },
          "value": {
            "description": "Must be greater than 0.",
            "type": "integer"
          }
        },
        "required": [
          "unit",
          "value"
        ],
        "title": "ShippingRateDeliveryEstimateBound",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "unit",
          "value"
        ]
      },
      "shipping_rate_fixed_amount": {
        "description": "",
        "properties": {
          "amount": {
            "description": "A non-negative integer in cents representing how much to charge.",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "currency_options": {
            "additionalProperties": {
              "$ref": "#/components/schemas/shipping_rate_currency_option"
            },
            "description": "Shipping rates defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).",
            "type": "object"
          }
        },
        "required": [
          "amount",
          "currency"
        ],
        "title": "ShippingRateFixedAmount",
        "type": "object",
        "x-expandableFields": [
          "currency_options"
        ],
        "x-stripeMostCommon": [
          "amount",
          "currency",
          "currency_options"
        ]
      },
      "sigma.scheduled_query_run.created": {
        "description": "Occurs whenever a Sigma scheduled query run finishes.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/scheduled_query_run"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "sigma.scheduled_query_run.created"
        }
      },
      "sigma_scheduled_query_run_error": {
        "description": "",
        "properties": {
          "message": {
            "description": "Information about the run failure.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "message"
        ],
        "title": "SigmaScheduledQueryRunError",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "message"
        ]
      },
      "source": {
        "description": "`Source` objects allow you to accept a variety of payment methods. They\nrepresent a customer's payment instrument, and can be used with the Stripe API\njust like a `Card` object: once chargeable, they can be charged, or can be\nattached to customers.\n\nStripe doesn't recommend using the deprecated [Sources API](https://stripe.com/docs/api/sources).\nWe recommend that you adopt the [PaymentMethods API](https://stripe.com/docs/api/payment_methods).\nThis newer API provides access to our latest features and payment method types.\n\nRelated guides: [Sources API](https://stripe.com/docs/sources) and [Sources & Customers](https://stripe.com/docs/sources/customers).",
        "properties": {
          "ach_credit_transfer": {
            "$ref": "#/components/schemas/source_type_ach_credit_transfer"
          },
          "ach_debit": {
            "$ref": "#/components/schemas/source_type_ach_debit"
          },
          "acss_debit": {
            "$ref": "#/components/schemas/source_type_acss_debit"
          },
          "alipay": {
            "$ref": "#/components/schemas/source_type_alipay"
          },
          "amount": {
            "description": "A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount associated with the source. This is the amount for which the source will be chargeable once ready. Required for `single_use` sources.",
            "nullable": true,
            "type": "integer"
          },
          "au_becs_debit": {
            "$ref": "#/components/schemas/source_type_au_becs_debit"
          },
          "bancontact": {
            "$ref": "#/components/schemas/source_type_bancontact"
          },
          "card": {
            "$ref": "#/components/schemas/source_type_card"
          },
          "card_present": {
            "$ref": "#/components/schemas/source_type_card_present"
          },
          "client_secret": {
            "description": "The client secret of the source. Used for client-side retrieval using a publishable key.",
            "maxLength": 5000,
            "type": "string"
          },
          "code_verification": {
            "$ref": "#/components/schemas/source_code_verification_flow"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) associated with the source. This is the currency for which the source will be chargeable once ready. Required for `single_use` sources.",
            "nullable": true,
            "type": "string"
          },
          "customer": {
            "description": "The ID of the customer to which this source is attached. This will not be present when the source has not been attached to a customer.",
            "maxLength": 5000,
            "type": "string"
          },
          "eps": {
            "$ref": "#/components/schemas/source_type_eps"
          },
          "flow": {
            "description": "The authentication `flow` of the source. `flow` is one of `redirect`, `receiver`, `code_verification`, `none`.",
            "maxLength": 5000,
            "type": "string"
          },
          "giropay": {
            "$ref": "#/components/schemas/source_type_giropay"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "ideal": {
            "$ref": "#/components/schemas/source_type_ideal"
          },
          "klarna": {
            "$ref": "#/components/schemas/source_type_klarna"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "nullable": true,
            "type": "object"
          },
          "multibanco": {
            "$ref": "#/components/schemas/source_type_multibanco"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "source"
            ],
            "type": "string"
          },
          "owner": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/source_owner"
              }
            ],
            "description": "Information about the owner of the payment instrument that may be used or required by particular source types.",
            "nullable": true
          },
          "p24": {
            "$ref": "#/components/schemas/source_type_p24"
          },
          "receiver": {
            "$ref": "#/components/schemas/source_receiver_flow"
          },
          "redirect": {
            "$ref": "#/components/schemas/source_redirect_flow"
          },
          "sepa_credit_transfer": {
            "$ref": "#/components/schemas/source_type_sepa_credit_transfer"
          },
          "sepa_debit": {
            "$ref": "#/components/schemas/source_type_sepa_debit"
          },
          "sofort": {
            "$ref": "#/components/schemas/source_type_sofort"
          },
          "source_order": {
            "$ref": "#/components/schemas/source_order"
          },
          "statement_descriptor": {
            "description": "Extra information about a source. This will appear on your customer's statement every time you charge the source.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "status": {
            "description": "The status of the source, one of `canceled`, `chargeable`, `consumed`, `failed`, or `pending`. Only `chargeable` sources can be used to create a charge.",
            "maxLength": 5000,
            "type": "string"
          },
          "three_d_secure": {
            "$ref": "#/components/schemas/source_type_three_d_secure"
          },
          "type": {
            "description": "The `type` of the source. The `type` is a payment method, one of `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`, `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`, `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An additional hash is included on the source with a name matching this value. It contains additional information specific to the [payment method](https://stripe.com/docs/sources) used.",
            "enum": [
              "ach_credit_transfer",
              "ach_debit",
              "acss_debit",
              "alipay",
              "au_becs_debit",
              "bancontact",
              "card",
              "card_present",
              "eps",
              "giropay",
              "ideal",
              "klarna",
              "multibanco",
              "p24",
              "sepa_credit_transfer",
              "sepa_debit",
              "sofort",
              "three_d_secure",
              "wechat"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "usage": {
            "description": "Either `reusable` or `single_use`. Whether this source should be reusable or not. Some source types may or may not be reusable by construction, while others may leave the option at creation. If an incompatible value is passed, an error will be returned.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "wechat": {
            "$ref": "#/components/schemas/source_type_wechat"
          }
        },
        "required": [
          "amount",
          "client_secret",
          "created",
          "currency",
          "flow",
          "id",
          "livemode",
          "metadata",
          "object",
          "owner",
          "statement_descriptor",
          "status",
          "type",
          "usage"
        ],
        "title": "Source",
        "type": "object",
        "x-expandableFields": [
          "code_verification",
          "owner",
          "receiver",
          "redirect",
          "source_order"
        ],
        "x-resourceId": "source",
        "x-stripeMostCommon": [
          "amount",
          "currency",
          "customer",
          "id",
          "metadata",
          "owner",
          "redirect",
          "statement_descriptor",
          "status",
          "type"
        ],
        "x-stripeOperations": [
          {
            "method_name": "detach",
            "method_on": "service",
            "method_type": "custom",
            "operation": "delete",
            "path": "/v1/customers/{customer}/sources/{id}"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/sources/{source}"
          },
          {
            "method_name": "source_transactions",
            "method_on": "service",
            "method_type": "custom",
            "operation": "get",
            "path": "/v1/sources/{source}/source_transactions"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/sources"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/sources/{source}"
          },
          {
            "method_name": "verify",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/sources/{source}/verify"
          }
        ],
        "x-stripeResource": {
          "class_name": "Source",
          "in_package": "",
          "polymorphic_groups": [
            "deleted_payment_source",
            "payment_source"
          ]
        }
      },
      "source.canceled": {
        "description": "Occurs whenever a source is canceled.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/source"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "source.canceled"
        }
      },
      "source.chargeable": {
        "description": "Occurs whenever a source transitions to chargeable.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/source"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "source.chargeable"
        }
      },
      "source.failed": {
        "description": "Occurs whenever a source fails.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/source"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "source.failed"
        }
      },
      "source.mandate_notification": {
        "description": "Occurs whenever a source mandate notification method is set to manual.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/source_mandate_notification"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "source.mandate_notification"
        }
      },
      "source.refund_attributes_required": {
        "description": "Occurs whenever the refund attributes are required on a receiver source to process a refund or a mispayment.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/source"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "source.refund_attributes_required"
        }
      },
      "source.transaction.created": {
        "description": "Occurs whenever a source transaction is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/source_transaction"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "source.transaction.created"
        }
      },
      "source.transaction.updated": {
        "description": "Occurs whenever a source transaction is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/source_transaction"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "source.transaction.updated"
        }
      },
      "source_code_verification_flow": {
        "description": "",
        "properties": {
          "attempts_remaining": {
            "description": "The number of attempts remaining to authenticate the source object with a verification code.",
            "type": "integer"
          },
          "status": {
            "description": "The status of the code verification, either `pending` (awaiting verification, `attempts_remaining` should be greater than 0), `succeeded` (successful verification) or `failed` (failed verification, cannot be verified anymore as `attempts_remaining` should be 0).",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "attempts_remaining",
          "status"
        ],
        "title": "SourceCodeVerificationFlow",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "attempts_remaining",
          "status"
        ]
      },
      "source_mandate_notification": {
        "description": "Source mandate notifications should be created when a notification related to\na source mandate must be sent to the payer. They will trigger a webhook or\ndeliver an email to the customer.",
        "properties": {
          "acss_debit": {
            "$ref": "#/components/schemas/source_mandate_notification_acss_debit_data"
          },
          "amount": {
            "description": "A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the amount associated with the mandate notification. The amount is expressed in the currency of the underlying source. Required if the notification type is `debit_initiated`.",
            "nullable": true,
            "type": "integer"
          },
          "bacs_debit": {
            "$ref": "#/components/schemas/source_mandate_notification_bacs_debit_data"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "source_mandate_notification"
            ],
            "type": "string"
          },
          "reason": {
            "description": "The reason of the mandate notification. Valid reasons are `mandate_confirmed` or `debit_initiated`.",
            "maxLength": 5000,
            "type": "string"
          },
          "sepa_debit": {
            "$ref": "#/components/schemas/source_mandate_notification_sepa_debit_data"
          },
          "source": {
            "$ref": "#/components/schemas/source"
          },
          "status": {
            "description": "The status of the mandate notification. Valid statuses are `pending` or `submitted`.",
            "maxLength": 5000,
            "type": "string"
          },
          "type": {
            "description": "The type of source this mandate notification is attached to. Should be the source type identifier code for the payment method, such as `three_d_secure`.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "amount",
          "created",
          "id",
          "livemode",
          "object",
          "reason",
          "source",
          "status",
          "type"
        ],
        "title": "SourceMandateNotification",
        "type": "object",
        "x-expandableFields": [
          "acss_debit",
          "bacs_debit",
          "sepa_debit",
          "source"
        ],
        "x-stripeMostCommon": [
          "acss_debit",
          "amount",
          "bacs_debit",
          "created",
          "id",
          "livemode",
          "object",
          "reason",
          "sepa_debit",
          "source",
          "status",
          "type"
        ],
        "x-stripeResource": {
          "class_name": "SourceMandateNotification",
          "in_package": ""
        }
      },
      "source_mandate_notification_acss_debit_data": {
        "description": "",
        "properties": {
          "statement_descriptor": {
            "description": "The statement descriptor associate with the debit.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "title": "SourceMandateNotificationAcssDebitData",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "statement_descriptor"
        ]
      },
      "source_mandate_notification_bacs_debit_data": {
        "description": "",
        "properties": {
          "last4": {
            "description": "Last 4 digits of the account number associated with the debit.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "title": "SourceMandateNotificationBacsDebitData",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "last4"
        ]
      },
      "source_mandate_notification_sepa_debit_data": {
        "description": "",
        "properties": {
          "creditor_identifier": {
            "description": "SEPA creditor ID.",
            "maxLength": 5000,
            "type": "string"
          },
          "last4": {
            "description": "Last 4 digits of the account number associated with the debit.",
            "maxLength": 5000,
            "type": "string"
          },
          "mandate_reference": {
            "description": "Mandate reference associated with the debit.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "title": "SourceMandateNotificationSepaDebitData",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "creditor_identifier",
          "last4",
          "mandate_reference"
        ]
      },
      "source_order": {
        "description": "",
        "properties": {
          "amount": {
            "description": "A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount for the order.",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "email": {
            "description": "The email address of the customer placing the order.",
            "maxLength": 5000,
            "type": "string"
          },
          "items": {
            "description": "List of items constituting the order.",
            "items": {
              "$ref": "#/components/schemas/source_order_item"
            },
            "nullable": true,
            "type": "array"
          },
          "shipping": {
            "$ref": "#/components/schemas/shipping"
          }
        },
        "required": [
          "amount",
          "currency",
          "items"
        ],
        "title": "SourceOrder",
        "type": "object",
        "x-expandableFields": [
          "items",
          "shipping"
        ],
        "x-stripeMostCommon": [
          "amount",
          "currency",
          "email",
          "items",
          "shipping"
        ]
      },
      "source_order_item": {
        "description": "",
        "properties": {
          "amount": {
            "description": "The amount (price) for this order item.",
            "nullable": true,
            "type": "integer"
          },
          "currency": {
            "description": "This currency of this order item. Required when `amount` is present.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "description": {
            "description": "Human-readable description for this order item.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "parent": {
            "description": "The ID of the associated object for this line item. Expandable if not null (e.g., expandable to a SKU).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "quantity": {
            "description": "The quantity of this order item. When type is `sku`, this is the number of instances of the SKU to be ordered.",
            "type": "integer"
          },
          "type": {
            "description": "The type of this order item. Must be `sku`, `tax`, or `shipping`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "amount",
          "currency",
          "description",
          "parent",
          "type"
        ],
        "title": "SourceOrderItem",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "amount",
          "currency",
          "description",
          "parent",
          "quantity",
          "type"
        ]
      },
      "source_owner": {
        "description": "",
        "properties": {
          "address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/address"
              }
            ],
            "description": "Owner's address.",
            "nullable": true
          },
          "email": {
            "description": "Owner's email address.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "name": {
            "description": "Owner's full name.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "phone": {
            "description": "Owner's phone number (including extension).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "verified_address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/address"
              }
            ],
            "description": "Verified owner's address. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "nullable": true
          },
          "verified_email": {
            "description": "Verified owner's email address. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "verified_name": {
            "description": "Verified owner's full name. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "verified_phone": {
            "description": "Verified owner's phone number (including extension). Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "address",
          "email",
          "name",
          "phone",
          "verified_address",
          "verified_email",
          "verified_name",
          "verified_phone"
        ],
        "title": "SourceOwner",
        "type": "object",
        "x-expandableFields": [
          "address",
          "verified_address"
        ],
        "x-stripeMostCommon": [
          "address",
          "email",
          "name",
          "phone",
          "verified_address",
          "verified_email",
          "verified_name",
          "verified_phone"
        ]
      },
      "source_receiver_flow": {
        "description": "",
        "properties": {
          "address": {
            "description": "The address of the receiver source. This is the value that should be communicated to the customer to send their funds to.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "amount_charged": {
            "description": "The total amount that was moved to your balance. This is almost always equal to the amount charged. In rare cases when customers deposit excess funds and we are unable to refund those, those funds get moved to your balance and show up in amount_charged as well. The amount charged is expressed in the source's currency.",
            "type": "integer"
          },
          "amount_received": {
            "description": "The total amount received by the receiver source. `amount_received = amount_returned + amount_charged` should be true for consumed sources unless customers deposit excess funds. The amount received is expressed in the source's currency.",
            "type": "integer"
          },
          "amount_returned": {
            "description": "The total amount that was returned to the customer. The amount returned is expressed in the source's currency.",
            "type": "integer"
          },
          "refund_attributes_method": {
            "description": "Type of refund attribute method, one of `email`, `manual`, or `none`.",
            "maxLength": 5000,
            "type": "string"
          },
          "refund_attributes_status": {
            "description": "Type of refund attribute status, one of `missing`, `requested`, or `available`.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "address",
          "amount_charged",
          "amount_received",
          "amount_returned",
          "refund_attributes_method",
          "refund_attributes_status"
        ],
        "title": "SourceReceiverFlow",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "address",
          "amount_charged",
          "amount_received",
          "amount_returned",
          "refund_attributes_method",
          "refund_attributes_status"
        ]
      },
      "source_redirect_flow": {
        "description": "",
        "properties": {
          "failure_reason": {
            "description": "The failure reason for the redirect, either `user_abort` (the customer aborted or dropped out of the redirect flow), `declined` (the authentication failed or the transaction was declined), or `processing_error` (the redirect failed due to a technical error). Present only if the redirect status is `failed`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "return_url": {
            "description": "The URL you provide to redirect the customer to after they authenticated their payment.",
            "maxLength": 5000,
            "type": "string"
          },
          "status": {
            "description": "The status of the redirect, either `pending` (ready to be used by your customer to authenticate the transaction), `succeeded` (succesful authentication, cannot be reused) or `not_required` (redirect should not be used) or `failed` (failed authentication, cannot be reused).",
            "maxLength": 5000,
            "type": "string"
          },
          "url": {
            "description": "The URL provided to you to redirect a customer to as part of a `redirect` authentication flow.",
            "maxLength": 2048,
            "type": "string"
          }
        },
        "required": [
          "failure_reason",
          "return_url",
          "status",
          "url"
        ],
        "title": "SourceRedirectFlow",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "failure_reason",
          "return_url",
          "status",
          "url"
        ]
      },
      "source_transaction": {
        "description": "Some payment methods have no required amount that a customer must send.\nCustomers can be instructed to send any amount, and it can be made up of\nmultiple transactions. As such, sources can have multiple associated\ntransactions.",
        "properties": {
          "ach_credit_transfer": {
            "$ref": "#/components/schemas/source_transaction_ach_credit_transfer_data"
          },
          "amount": {
            "description": "A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the amount your customer has pushed to the receiver.",
            "type": "integer"
          },
          "chf_credit_transfer": {
            "$ref": "#/components/schemas/source_transaction_chf_credit_transfer_data"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "gbp_credit_transfer": {
            "$ref": "#/components/schemas/source_transaction_gbp_credit_transfer_data"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "source_transaction"
            ],
            "type": "string"
          },
          "paper_check": {
            "$ref": "#/components/schemas/source_transaction_paper_check_data"
          },
          "sepa_credit_transfer": {
            "$ref": "#/components/schemas/source_transaction_sepa_credit_transfer_data"
          },
          "source": {
            "description": "The ID of the source this transaction is attached to.",
            "maxLength": 5000,
            "type": "string"
          },
          "status": {
            "description": "The status of the transaction, one of `succeeded`, `pending`, or `failed`.",
            "maxLength": 5000,
            "type": "string"
          },
          "type": {
            "description": "The type of source this transaction is attached to.",
            "enum": [
              "ach_credit_transfer",
              "ach_debit",
              "alipay",
              "bancontact",
              "card",
              "card_present",
              "eps",
              "giropay",
              "ideal",
              "klarna",
              "multibanco",
              "p24",
              "sepa_debit",
              "sofort",
              "three_d_secure",
              "wechat"
            ],
            "type": "string"
          }
        },
        "required": [
          "amount",
          "created",
          "currency",
          "id",
          "livemode",
          "object",
          "source",
          "status",
          "type"
        ],
        "title": "SourceTransaction",
        "type": "object",
        "x-expandableFields": [
          "ach_credit_transfer",
          "chf_credit_transfer",
          "gbp_credit_transfer",
          "paper_check",
          "sepa_credit_transfer"
        ],
        "x-resourceId": "source_transaction",
        "x-stripeMostCommon": [
          "ach_credit_transfer",
          "amount",
          "chf_credit_transfer",
          "created",
          "currency",
          "gbp_credit_transfer",
          "id",
          "livemode",
          "object",
          "paper_check",
          "sepa_credit_transfer",
          "source",
          "status",
          "type"
        ],
        "x-stripeResource": {
          "class_name": "SourceTransaction",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "source_transaction_ach_credit_transfer_data": {
        "description": "",
        "properties": {
          "customer_data": {
            "description": "Customer data associated with the transfer.",
            "maxLength": 5000,
            "type": "string"
          },
          "fingerprint": {
            "description": "Bank account fingerprint associated with the transfer.",
            "maxLength": 5000,
            "type": "string"
          },
          "last4": {
            "description": "Last 4 digits of the account number associated with the transfer.",
            "maxLength": 5000,
            "type": "string"
          },
          "routing_number": {
            "description": "Routing number associated with the transfer.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "title": "SourceTransactionAchCreditTransferData",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "customer_data",
          "fingerprint",
          "last4",
          "routing_number"
        ]
      },
      "source_transaction_chf_credit_transfer_data": {
        "description": "",
        "properties": {
          "reference": {
            "description": "Reference associated with the transfer.",
            "maxLength": 5000,
            "type": "string"
          },
          "sender_address_country": {
            "description": "Sender's country address.",
            "maxLength": 5000,
            "type": "string"
          },
          "sender_address_line1": {
            "description": "Sender's line 1 address.",
            "maxLength": 5000,
            "type": "string"
          },
          "sender_iban": {
            "description": "Sender's bank account IBAN.",
            "maxLength": 5000,
            "type": "string"
          },
          "sender_name": {
            "description": "Sender's name.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "title": "SourceTransactionChfCreditTransferData",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "reference",
          "sender_address_country",
          "sender_address_line1",
          "sender_iban",
          "sender_name"
        ]
      },
      "source_transaction_gbp_credit_transfer_data": {
        "description": "",
        "properties": {
          "fingerprint": {
            "description": "Bank account fingerprint associated with the Stripe owned bank account receiving the transfer.",
            "maxLength": 5000,
            "type": "string"
          },
          "funding_method": {
            "description": "The credit transfer rails the sender used to push this transfer. The possible rails are: Faster Payments, BACS, CHAPS, and wire transfers. Currently only Faster Payments is supported.",
            "maxLength": 5000,
            "type": "string"
          },
          "last4": {
            "description": "Last 4 digits of sender account number associated with the transfer.",
            "maxLength": 5000,
            "type": "string"
          },
          "reference": {
            "description": "Sender entered arbitrary information about the transfer.",
            "maxLength": 5000,
            "type": "string"
          },
          "sender_account_number": {
            "description": "Sender account number associated with the transfer.",
            "maxLength": 5000,
            "type": "string"
          },
          "sender_name": {
            "description": "Sender name associated with the transfer.",
            "maxLength": 5000,
            "type": "string"
          },
          "sender_sort_code": {
            "description": "Sender sort code associated with the transfer.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "title": "SourceTransactionGbpCreditTransferData",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "fingerprint",
          "funding_method",
          "last4",
          "reference",
          "sender_account_number",
          "sender_name",
          "sender_sort_code"
        ]
      },
      "source_transaction_paper_check_data": {
        "description": "",
        "properties": {
          "available_at": {
            "description": "Time at which the deposited funds will be available for use. Measured in seconds since the Unix epoch.",
            "maxLength": 5000,
            "type": "string"
          },
          "invoices": {
            "description": "Comma-separated list of invoice IDs associated with the paper check.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "title": "SourceTransactionPaperCheckData",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "available_at",
          "invoices"
        ]
      },
      "source_transaction_sepa_credit_transfer_data": {
        "description": "",
        "properties": {
          "reference": {
            "description": "Reference associated with the transfer.",
            "maxLength": 5000,
            "type": "string"
          },
          "sender_iban": {
            "description": "Sender's bank account IBAN.",
            "maxLength": 5000,
            "type": "string"
          },
          "sender_name": {
            "description": "Sender's name.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "title": "SourceTransactionSepaCreditTransferData",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "reference",
          "sender_iban",
          "sender_name"
        ]
      },
      "source_type_ach_credit_transfer": {
        "properties": {
          "account_number": {
            "nullable": true,
            "type": "string"
          },
          "bank_name": {
            "nullable": true,
            "type": "string"
          },
          "fingerprint": {
            "nullable": true,
            "type": "string"
          },
          "refund_account_holder_name": {
            "nullable": true,
            "type": "string"
          },
          "refund_account_holder_type": {
            "nullable": true,
            "type": "string"
          },
          "refund_routing_number": {
            "nullable": true,
            "type": "string"
          },
          "routing_number": {
            "nullable": true,
            "type": "string"
          },
          "swift_code": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object",
        "x-stripeResource": {
          "class_name": "AchCreditTransfer"
        }
      },
      "source_type_ach_debit": {
        "properties": {
          "bank_name": {
            "nullable": true,
            "type": "string"
          },
          "country": {
            "nullable": true,
            "type": "string"
          },
          "fingerprint": {
            "nullable": true,
            "type": "string"
          },
          "last4": {
            "nullable": true,
            "type": "string"
          },
          "routing_number": {
            "nullable": true,
            "type": "string"
          },
          "type": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object",
        "x-stripeResource": {
          "class_name": "AchDebit"
        }
      },
      "source_type_acss_debit": {
        "properties": {
          "bank_address_city": {
            "nullable": true,
            "type": "string"
          },
          "bank_address_line_1": {
            "nullable": true,
            "type": "string"
          },
          "bank_address_line_2": {
            "nullable": true,
            "type": "string"
          },
          "bank_address_postal_code": {
            "nullable": true,
            "type": "string"
          },
          "bank_name": {
            "nullable": true,
            "type": "string"
          },
          "category": {
            "nullable": true,
            "type": "string"
          },
          "country": {
            "nullable": true,
            "type": "string"
          },
          "fingerprint": {
            "nullable": true,
            "type": "string"
          },
          "last4": {
            "nullable": true,
            "type": "string"
          },
          "routing_number": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object",
        "x-stripeResource": {
          "class_name": "AcssDebit"
        }
      },
      "source_type_alipay": {
        "properties": {
          "data_string": {
            "nullable": true,
            "type": "string"
          },
          "native_url": {
            "nullable": true,
            "type": "string"
          },
          "statement_descriptor": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object",
        "x-stripeResource": {
          "class_name": "Alipay"
        }
      },
      "source_type_au_becs_debit": {
        "properties": {
          "bsb_number": {
            "nullable": true,
            "type": "string"
          },
          "fingerprint": {
            "nullable": true,
            "type": "string"
          },
          "last4": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object",
        "x-stripeResource": {
          "class_name": "AuBecsDebit"
        }
      },
      "source_type_bancontact": {
        "properties": {
          "bank_code": {
            "nullable": true,
            "type": "string"
          },
          "bank_name": {
            "nullable": true,
            "type": "string"
          },
          "bic": {
            "nullable": true,
            "type": "string"
          },
          "iban_last4": {
            "nullable": true,
            "type": "string"
          },
          "preferred_language": {
            "nullable": true,
            "type": "string"
          },
          "statement_descriptor": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object",
        "x-stripeResource": {
          "class_name": "Bancontact"
        }
      },
      "source_type_card": {
        "properties": {
          "address_line1_check": {
            "nullable": true,
            "type": "string"
          },
          "address_zip_check": {
            "nullable": true,
            "type": "string"
          },
          "brand": {
            "nullable": true,
            "type": "string"
          },
          "country": {
            "nullable": true,
            "type": "string"
          },
          "cvc_check": {
            "nullable": true,
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "dynamic_last4": {
            "nullable": true,
            "type": "string"
          },
          "exp_month": {
            "nullable": true,
            "type": "integer"
          },
          "exp_year": {
            "nullable": true,
            "type": "integer"
          },
          "fingerprint": {
            "type": "string"
          },
          "funding": {
            "nullable": true,
            "type": "string"
          },
          "iin": {
            "type": "string"
          },
          "issuer": {
            "type": "string"
          },
          "last4": {
            "nullable": true,
            "type": "string"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "three_d_secure": {
            "type": "string"
          },
          "tokenization_method": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object",
        "x-stripeResource": {
          "class_name": "Card"
        }
      },
      "source_type_card_present": {
        "properties": {
          "application_cryptogram": {
            "type": "string"
          },
          "application_preferred_name": {
            "type": "string"
          },
          "authorization_code": {
            "nullable": true,
            "type": "string"
          },
          "authorization_response_code": {
            "type": "string"
          },
          "brand": {
            "nullable": true,
            "type": "string"
          },
          "country": {
            "nullable": true,
            "type": "string"
          },
          "cvm_type": {
            "type": "string"
          },
          "data_type": {
            "nullable": true,
            "type": "string"
          },
          "dedicated_file_name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "emv_auth_data": {
            "type": "string"
          },
          "evidence_customer_signature": {
            "nullable": true,
            "type": "string"
          },
          "evidence_transaction_certificate": {
            "nullable": true,
            "type": "string"
          },
          "exp_month": {
            "nullable": true,
            "type": "integer"
          },
          "exp_year": {
            "nullable": true,
            "type": "integer"
          },
          "fingerprint": {
            "type": "string"
          },
          "funding": {
            "nullable": true,
            "type": "string"
          },
          "iin": {
            "type": "string"
          },
          "issuer": {
            "type": "string"
          },
          "last4": {
            "nullable": true,
            "type": "string"
          },
          "pos_device_id": {
            "nullable": true,
            "type": "string"
          },
          "pos_entry_mode": {
            "type": "string"
          },
          "read_method": {
            "nullable": true,
            "type": "string"
          },
          "reader": {
            "nullable": true,
            "type": "string"
          },
          "terminal_verification_results": {
            "type": "string"
          },
          "transaction_status_information": {
            "type": "string"
          }
        },
        "type": "object",
        "x-stripeResource": {
          "class_name": "CardPresent"
        }
      },
      "source_type_eps": {
        "properties": {
          "reference": {
            "nullable": true,
            "type": "string"
          },
          "statement_descriptor": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object",
        "x-stripeResource": {
          "class_name": "Eps"
        }
      },
      "source_type_giropay": {
        "properties": {
          "bank_code": {
            "nullable": true,
            "type": "string"
          },
          "bank_name": {
            "nullable": true,
            "type": "string"
          },
          "bic": {
            "nullable": true,
            "type": "string"
          },
          "statement_descriptor": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object",
        "x-stripeResource": {
          "class_name": "Giropay"
        }
      },
      "source_type_ideal": {
        "properties": {
          "bank": {
            "nullable": true,
            "type": "string"
          },
          "bic": {
            "nullable": true,
            "type": "string"
          },
          "iban_last4": {
            "nullable": true,
            "type": "string"
          },
          "statement_descriptor": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object",
        "x-stripeResource": {
          "class_name": "Ideal"
        }
      },
      "source_type_klarna": {
        "properties": {
          "background_image_url": {
            "type": "string"
          },
          "client_token": {
            "nullable": true,
            "type": "string"
          },
          "first_name": {
            "type": "string"
          },
          "last_name": {
            "type": "string"
          },
          "locale": {
            "type": "string"
          },
          "logo_url": {
            "type": "string"
          },
          "page_title": {
            "type": "string"
          },
          "pay_later_asset_urls_descriptive": {
            "type": "string"
          },
          "pay_later_asset_urls_standard": {
            "type": "string"
          },
          "pay_later_name": {
            "type": "string"
          },
          "pay_later_redirect_url": {
            "type": "string"
          },
          "pay_now_asset_urls_descriptive": {
            "type": "string"
          },
          "pay_now_asset_urls_standard": {
            "type": "string"
          },
          "pay_now_name": {
            "type": "string"
          },
          "pay_now_redirect_url": {
            "type": "string"
          },
          "pay_over_time_asset_urls_descriptive": {
            "type": "string"
          },
          "pay_over_time_asset_urls_standard": {
            "type": "string"
          },
          "pay_over_time_name": {
            "type": "string"
          },
          "pay_over_time_redirect_url": {
            "type": "string"
          },
          "payment_method_categories": {
            "type": "string"
          },
          "purchase_country": {
            "type": "string"
          },
          "purchase_type": {
            "type": "string"
          },
          "redirect_url": {
            "type": "string"
          },
          "shipping_delay": {
            "type": "integer"
          },
          "shipping_first_name": {
            "type": "string"
          },
          "shipping_last_name": {
            "type": "string"
          }
        },
        "type": "object",
        "x-stripeResource": {
          "class_name": "Klarna"
        }
      },
      "source_type_multibanco": {
        "properties": {
          "entity": {
            "nullable": true,
            "type": "string"
          },
          "reference": {
            "nullable": true,
            "type": "string"
          },
          "refund_account_holder_address_city": {
            "nullable": true,
            "type": "string"
          },
          "refund_account_holder_address_country": {
            "nullable": true,
            "type": "string"
          },
          "refund_account_holder_address_line1": {
            "nullable": true,
            "type": "string"
          },
          "refund_account_holder_address_line2": {
            "nullable": true,
            "type": "string"
          },
          "refund_account_holder_address_postal_code": {
            "nullable": true,
            "type": "string"
          },
          "refund_account_holder_address_state": {
            "nullable": true,
            "type": "string"
          },
          "refund_account_holder_name": {
            "nullable": true,
            "type": "string"
          },
          "refund_iban": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object",
        "x-stripeResource": {
          "class_name": "Multibanco"
        }
      },
      "source_type_p24": {
        "properties": {
          "reference": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object",
        "x-stripeResource": {
          "class_name": "P24"
        }
      },
      "source_type_sepa_credit_transfer": {
        "properties": {
          "bank_name": {
            "nullable": true,
            "type": "string"
          },
          "bic": {
            "nullable": true,
            "type": "string"
          },
          "iban": {
            "nullable": true,
            "type": "string"
          },
          "refund_account_holder_address_city": {
            "nullable": true,
            "type": "string"
          },
          "refund_account_holder_address_country": {
            "nullable": true,
            "type": "string"
          },
          "refund_account_holder_address_line1": {
            "nullable": true,
            "type": "string"
          },
          "refund_account_holder_address_line2": {
            "nullable": true,
            "type": "string"
          },
          "refund_account_holder_address_postal_code": {
            "nullable": true,
            "type": "string"
          },
          "refund_account_holder_address_state": {
            "nullable": true,
            "type": "string"
          },
          "refund_account_holder_name": {
            "nullable": true,
            "type": "string"
          },
          "refund_iban": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object",
        "x-stripeResource": {
          "class_name": "SepaCreditTransfer"
        }
      },
      "source_type_sepa_debit": {
        "properties": {
          "bank_code": {
            "nullable": true,
            "type": "string"
          },
          "branch_code": {
            "nullable": true,
            "type": "string"
          },
          "country": {
            "nullable": true,
            "type": "string"
          },
          "fingerprint": {
            "nullable": true,
            "type": "string"
          },
          "last4": {
            "nullable": true,
            "type": "string"
          },
          "mandate_reference": {
            "nullable": true,
            "type": "string"
          },
          "mandate_url": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object",
        "x-stripeResource": {
          "class_name": "SepaDebit"
        }
      },
      "source_type_sofort": {
        "properties": {
          "bank_code": {
            "nullable": true,
            "type": "string"
          },
          "bank_name": {
            "nullable": true,
            "type": "string"
          },
          "bic": {
            "nullable": true,
            "type": "string"
          },
          "country": {
            "nullable": true,
            "type": "string"
          },
          "iban_last4": {
            "nullable": true,
            "type": "string"
          },
          "preferred_language": {
            "nullable": true,
            "type": "string"
          },
          "statement_descriptor": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object",
        "x-stripeResource": {
          "class_name": "Sofort"
        }
      },
      "source_type_three_d_secure": {
        "properties": {
          "address_line1_check": {
            "nullable": true,
            "type": "string"
          },
          "address_zip_check": {
            "nullable": true,
            "type": "string"
          },
          "authenticated": {
            "nullable": true,
            "type": "boolean"
          },
          "brand": {
            "nullable": true,
            "type": "string"
          },
          "card": {
            "nullable": true,
            "type": "string"
          },
          "country": {
            "nullable": true,
            "type": "string"
          },
          "customer": {
            "nullable": true,
            "type": "string"
          },
          "cvc_check": {
            "nullable": true,
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "dynamic_last4": {
            "nullable": true,
            "type": "string"
          },
          "exp_month": {
            "nullable": true,
            "type": "integer"
          },
          "exp_year": {
            "nullable": true,
            "type": "integer"
          },
          "fingerprint": {
            "type": "string"
          },
          "funding": {
            "nullable": true,
            "type": "string"
          },
          "iin": {
            "type": "string"
          },
          "issuer": {
            "type": "string"
          },
          "last4": {
            "nullable": true,
            "type": "string"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "three_d_secure": {
            "type": "string"
          },
          "tokenization_method": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object",
        "x-stripeResource": {
          "class_name": "ThreeDSecure"
        }
      },
      "source_type_wechat": {
        "properties": {
          "prepay_id": {
            "type": "string"
          },
          "qr_code_url": {
            "nullable": true,
            "type": "string"
          },
          "statement_descriptor": {
            "type": "string"
          }
        },
        "type": "object",
        "x-stripeResource": {
          "class_name": "Wechat"
        }
      },
      "subscription": {
        "description": "Subscriptions allow you to charge a customer on a recurring basis.\n\nRelated guide: [Creating subscriptions](https://stripe.com/docs/billing/subscriptions/creating)",
        "properties": {
          "application": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/application"
              },
              {
                "$ref": "#/components/schemas/deleted_application"
              }
            ],
            "description": "ID of the Connect Application that created the subscription.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/application"
                },
                {
                  "$ref": "#/components/schemas/deleted_application"
                }
              ]
            }
          },
          "application_fee_percent": {
            "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account.",
            "nullable": true,
            "type": "number"
          },
          "automatic_tax": {
            "$ref": "#/components/schemas/subscription_automatic_tax"
          },
          "billing_cycle_anchor": {
            "description": "The reference point that aligns future [billing cycle](https://stripe.com/docs/subscriptions/billing-cycle) dates. It sets the day of week for `week` intervals, the day of month for `month` and `year` intervals, and the month of year for `year` intervals. The timestamp is in UTC format.",
            "format": "unix-time",
            "type": "integer"
          },
          "billing_cycle_anchor_config": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/subscriptions_resource_billing_cycle_anchor_config"
              }
            ],
            "description": "The fixed values used to calculate the `billing_cycle_anchor`.",
            "nullable": true
          },
          "billing_thresholds": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/subscription_billing_thresholds"
              }
            ],
            "description": "Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period",
            "nullable": true
          },
          "cancel_at": {
            "description": "A date in the future at which the subscription will automatically get canceled",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "cancel_at_period_end": {
            "description": "Whether this subscription will (if `status=active`) or did (if `status=canceled`) cancel at the end of the current billing period.",
            "type": "boolean"
          },
          "canceled_at": {
            "description": "If the subscription has been canceled, the date of that cancellation. If the subscription was canceled with `cancel_at_period_end`, `canceled_at` will reflect the time of the most recent update request, not the end of the subscription period when the subscription is automatically moved to a canceled state.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "cancellation_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/cancellation_details"
              }
            ],
            "description": "Details about why this subscription was cancelled",
            "nullable": true
          },
          "collection_method": {
            "description": "Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this subscription at the end of the cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`.",
            "enum": [
              "charge_automatically",
              "send_invoice"
            ],
            "type": "string"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "current_period_end": {
            "description": "End of the current period that the subscription has been invoiced for. At the end of this period, a new invoice will be created.",
            "format": "unix-time",
            "type": "integer"
          },
          "current_period_start": {
            "description": "Start of the current period that the subscription has been invoiced for.",
            "format": "unix-time",
            "type": "integer"
          },
          "customer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer"
              },
              {
                "$ref": "#/components/schemas/deleted_customer"
              }
            ],
            "description": "ID of the customer who owns the subscription.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer"
                },
                {
                  "$ref": "#/components/schemas/deleted_customer"
                }
              ]
            }
          },
          "days_until_due": {
            "description": "Number of days a customer has to pay invoices generated by this subscription. This value will be `null` for subscriptions where `collection_method=charge_automatically`.",
            "nullable": true,
            "type": "integer"
          },
          "default_payment_method": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_method"
              }
            ],
            "description": "ID of the default payment method for the subscription. It must belong to the customer associated with the subscription. This takes precedence over `default_source`. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source).",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_method"
                }
              ]
            }
          },
          "default_source": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_source"
              }
            ],
            "description": "ID of the default payment source for the subscription. It must belong to the customer associated with the subscription and be in a chargeable state. If `default_payment_method` is also set, `default_payment_method` will take precedence. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source).",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_source"
                }
              ]
            }
          },
          "default_tax_rates": {
            "description": "The tax rates that will apply to any subscription item that does not have `tax_rates` set. Invoices created will have their `default_tax_rates` populated from the subscription.",
            "items": {
              "$ref": "#/components/schemas/tax_rate"
            },
            "nullable": true,
            "type": "array"
          },
          "description": {
            "description": "The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.",
            "maxLength": 500,
            "nullable": true,
            "type": "string"
          },
          "discount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/discount"
              }
            ],
            "description": "Describes the current discount applied to this subscription, if there is one. When billing, a discount applied to a subscription overrides a discount applied on a customer-wide basis. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
            "nullable": true
          },
          "discounts": {
            "description": "The discounts applied to the subscription. Subscription item discounts are applied before subscription discounts. Use `expand[]=discounts` to expand each discount.",
            "items": {
              "anyOf": [
                {
                  "maxLength": 5000,
                  "type": "string"
                },
                {
                  "$ref": "#/components/schemas/discount"
                }
              ],
              "x-expansionResources": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/discount"
                  }
                ]
              }
            },
            "type": "array"
          },
          "ended_at": {
            "description": "If the subscription has ended, the date the subscription ended.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "invoice_settings": {
            "$ref": "#/components/schemas/subscriptions_resource_subscription_invoice_settings"
          },
          "items": {
            "description": "List of subscription items, each with an attached price.",
            "properties": {
              "data": {
                "description": "Details about each object.",
                "items": {
                  "$ref": "#/components/schemas/subscription_item"
                },
                "type": "array"
              },
              "has_more": {
                "description": "True if this list has another page of items after this one that can be fetched.",
                "type": "boolean"
              },
              "object": {
                "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                "enum": [
                  "list"
                ],
                "type": "string"
              },
              "url": {
                "description": "The URL where this list can be accessed.",
                "maxLength": 5000,
                "type": "string"
              }
            },
            "required": [
              "data",
              "has_more",
              "object",
              "url"
            ],
            "title": "SubscriptionItemList",
            "type": "object",
            "x-expandableFields": [
              "data"
            ],
            "x-stripeMostCommon": [
              "data",
              "has_more",
              "object",
              "url"
            ]
          },
          "latest_invoice": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/invoice"
              }
            ],
            "description": "The most recent invoice this subscription has generated.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/invoice"
                }
              ]
            }
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "next_pending_invoice_item_invoice": {
            "description": "Specifies the approximate timestamp on which any pending invoice items will be billed according to the schedule provided at `pending_invoice_item_interval`.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "subscription"
            ],
            "type": "string"
          },
          "on_behalf_of": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/account"
              }
            ],
            "description": "The account (if any) the charge was made on behalf of for charges associated with this subscription. See the Connect documentation for details.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/account"
                }
              ]
            }
          },
          "pause_collection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/subscriptions_resource_pause_collection"
              }
            ],
            "description": "If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated to `paused`. Learn more about [pausing collection](https://stripe.com/docs/billing/subscriptions/pause-payment).",
            "nullable": true
          },
          "payment_settings": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/subscriptions_resource_payment_settings"
              }
            ],
            "description": "Payment settings passed on to invoices created by the subscription.",
            "nullable": true
          },
          "pending_invoice_item_interval": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/subscription_pending_invoice_item_interval"
              }
            ],
            "description": "Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://stripe.com/docs/api#create_invoice) for the given subscription at the specified interval.",
            "nullable": true
          },
          "pending_setup_intent": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/setup_intent"
              }
            ],
            "description": "You can use this [SetupIntent](https://stripe.com/docs/api/setup_intents) to collect user authentication when creating a subscription without immediate payment or updating a subscription's payment method, allowing you to optimize for off-session payments. Learn more in the [SCA Migration Guide](https://stripe.com/docs/billing/migration/strong-customer-authentication#scenario-2).",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/setup_intent"
                }
              ]
            }
          },
          "pending_update": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/subscriptions_resource_pending_update"
              }
            ],
            "description": "If specified, [pending updates](https://stripe.com/docs/billing/subscriptions/pending-updates) that will be applied to the subscription once the `latest_invoice` has been paid.",
            "nullable": true
          },
          "schedule": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/subscription_schedule"
              }
            ],
            "description": "The schedule attached to the subscription",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/subscription_schedule"
                }
              ]
            }
          },
          "start_date": {
            "description": "Date when the subscription was first created. The date might differ from the `created` date due to backdating.",
            "format": "unix-time",
            "type": "integer"
          },
          "status": {
            "description": "Possible values are `incomplete`, `incomplete_expired`, `trialing`, `active`, `past_due`, `canceled`, `unpaid`, or `paused`. \n\nFor `collection_method=charge_automatically` a subscription moves into `incomplete` if the initial payment attempt fails. A subscription in this status can only have metadata and default_source updated. Once the first invoice is paid, the subscription moves into an `active` status. If the first invoice is not paid within 23 hours, the subscription transitions to `incomplete_expired`. This is a terminal status, the open invoice will be voided and no further invoices will be generated. \n\nA subscription that is currently in a trial period is `trialing` and moves to `active` when the trial period is over. \n\nA subscription can only enter a `paused` status [when a trial ends without a payment method](https://stripe.com/docs/billing/subscriptions/trials#create-free-trials-without-payment). A `paused` subscription doesn't generate invoices and can be resumed after your customer adds their payment method. The `paused` status is different from [pausing collection](https://stripe.com/docs/billing/subscriptions/pause-payment), which still generates invoices and leaves the subscription's status unchanged. \n\nIf subscription `collection_method=charge_automatically`, it becomes `past_due` when payment is required but cannot be paid (due to failed payment or awaiting additional user actions). Once Stripe has exhausted all payment retry attempts, the subscription will become `canceled` or `unpaid` (depending on your subscriptions settings). \n\nIf subscription `collection_method=send_invoice` it becomes `past_due` when its invoice is not paid by the due date, and `canceled` or `unpaid` if it is still not paid by an additional deadline after that. Note that when a subscription has a status of `unpaid`, no subsequent invoices will be attempted (invoices will be created, but then immediately automatically closed). After receiving updated payment information from a customer, you may choose to reopen and pay their closed invoices.",
            "enum": [
              "active",
              "canceled",
              "incomplete",
              "incomplete_expired",
              "past_due",
              "paused",
              "trialing",
              "unpaid"
            ],
            "type": "string"
          },
          "test_clock": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/test_helpers.test_clock"
              }
            ],
            "description": "ID of the test clock this subscription belongs to.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/test_helpers.test_clock"
                }
              ]
            }
          },
          "transfer_data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/subscription_transfer_data"
              }
            ],
            "description": "The account (if any) the subscription's payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription's invoices.",
            "nullable": true
          },
          "trial_end": {
            "description": "If the subscription has a trial, the end of that trial.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "trial_settings": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/subscriptions_trials_resource_trial_settings"
              }
            ],
            "description": "Settings related to subscription trials.",
            "nullable": true
          },
          "trial_start": {
            "description": "If the subscription has a trial, the beginning of that trial.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "application",
          "application_fee_percent",
          "automatic_tax",
          "billing_cycle_anchor",
          "billing_cycle_anchor_config",
          "billing_thresholds",
          "cancel_at",
          "cancel_at_period_end",
          "canceled_at",
          "cancellation_details",
          "collection_method",
          "created",
          "currency",
          "current_period_end",
          "current_period_start",
          "customer",
          "days_until_due",
          "default_payment_method",
          "default_source",
          "description",
          "discount",
          "discounts",
          "ended_at",
          "id",
          "invoice_settings",
          "items",
          "latest_invoice",
          "livemode",
          "metadata",
          "next_pending_invoice_item_invoice",
          "object",
          "on_behalf_of",
          "pause_collection",
          "payment_settings",
          "pending_invoice_item_interval",
          "pending_setup_intent",
          "pending_update",
          "schedule",
          "start_date",
          "status",
          "test_clock",
          "transfer_data",
          "trial_end",
          "trial_settings",
          "trial_start"
        ],
        "title": "Subscription",
        "type": "object",
        "x-expandableFields": [
          "application",
          "automatic_tax",
          "billing_cycle_anchor_config",
          "billing_thresholds",
          "cancellation_details",
          "customer",
          "default_payment_method",
          "default_source",
          "default_tax_rates",
          "discount",
          "discounts",
          "invoice_settings",
          "items",
          "latest_invoice",
          "on_behalf_of",
          "pause_collection",
          "payment_settings",
          "pending_invoice_item_interval",
          "pending_setup_intent",
          "pending_update",
          "schedule",
          "test_clock",
          "transfer_data",
          "trial_settings"
        ],
        "x-resourceId": "subscription",
        "x-stripeMostCommon": [
          "cancel_at_period_end",
          "currency",
          "current_period_end",
          "current_period_start",
          "customer",
          "default_payment_method",
          "description",
          "id",
          "items",
          "latest_invoice",
          "metadata",
          "pending_setup_intent",
          "pending_update",
          "status"
        ],
        "x-stripeOperations": [
          {
            "method_name": "cancel",
            "method_on": "service",
            "method_type": "custom",
            "operation": "delete",
            "path": "/v1/subscriptions/{subscription_exposed_id}"
          },
          {
            "method_name": "delete_discount",
            "method_on": "service",
            "method_type": "custom",
            "operation": "delete",
            "path": "/v1/subscriptions/{subscription_exposed_id}/discount"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/subscriptions"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/subscriptions/{subscription_exposed_id}"
          },
          {
            "method_name": "search",
            "method_on": "service",
            "method_type": "custom",
            "operation": "get",
            "path": "/v1/subscriptions/search"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/subscriptions"
          },
          {
            "method_name": "resume",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/subscriptions/{subscription}/resume"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/subscriptions/{subscription_exposed_id}"
          }
        ],
        "x-stripeResource": {
          "class_name": "Subscription",
          "has_collection_class": true,
          "has_search_result_class": true,
          "in_package": ""
        }
      },
      "subscription_automatic_tax": {
        "description": "",
        "properties": {
          "enabled": {
            "description": "Whether Stripe automatically computes tax on this subscription.",
            "type": "boolean"
          },
          "liability": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/connect_account_reference"
              }
            ],
            "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.",
            "nullable": true
          }
        },
        "required": [
          "enabled",
          "liability"
        ],
        "title": "SubscriptionAutomaticTax",
        "type": "object",
        "x-expandableFields": [
          "liability"
        ],
        "x-stripeMostCommon": [
          "enabled",
          "liability"
        ]
      },
      "subscription_billing_thresholds": {
        "description": "",
        "properties": {
          "amount_gte": {
            "description": "Monetary threshold that triggers the subscription to create an invoice",
            "nullable": true,
            "type": "integer"
          },
          "reset_billing_cycle_anchor": {
            "description": "Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not be `true` if the subscription contains items with plans that have `aggregate_usage=last_ever`.",
            "nullable": true,
            "type": "boolean"
          }
        },
        "required": [
          "amount_gte",
          "reset_billing_cycle_anchor"
        ],
        "title": "SubscriptionBillingThresholds",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "amount_gte",
          "reset_billing_cycle_anchor"
        ]
      },
      "subscription_details_data": {
        "description": "",
        "properties": {
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) defined as subscription metadata when an invoice is created. Becomes an immutable snapshot of the subscription metadata at the time of invoice finalization.\n *Note: This attribute is populated only for invoices created on or after June 29, 2023.*",
            "nullable": true,
            "type": "object"
          }
        },
        "required": [
          "metadata"
        ],
        "title": "SubscriptionDetailsData",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "metadata"
        ]
      },
      "subscription_item": {
        "description": "Subscription items allow you to create customer subscriptions with more than\none plan, making it easy to represent complex billing relationships.",
        "properties": {
          "billing_thresholds": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/subscription_item_billing_thresholds"
              }
            ],
            "description": "Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period",
            "nullable": true
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "type": "integer"
          },
          "discounts": {
            "description": "The discounts applied to the subscription item. Subscription item discounts are applied before subscription discounts. Use `expand[]=discounts` to expand each discount.",
            "items": {
              "anyOf": [
                {
                  "maxLength": 5000,
                  "type": "string"
                },
                {
                  "$ref": "#/components/schemas/discount"
                }
              ],
              "x-expansionResources": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/discount"
                  }
                ]
              }
            },
            "type": "array"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "subscription_item"
            ],
            "type": "string"
          },
          "plan": {
            "$ref": "#/components/schemas/plan"
          },
          "price": {
            "$ref": "#/components/schemas/price"
          },
          "quantity": {
            "description": "The [quantity](https://stripe.com/docs/subscriptions/quantities) of the plan to which the customer should be subscribed.",
            "type": "integer"
          },
          "subscription": {
            "description": "The `subscription` this `subscription_item` belongs to.",
            "maxLength": 5000,
            "type": "string"
          },
          "tax_rates": {
            "description": "The tax rates which apply to this `subscription_item`. When set, the `default_tax_rates` on the subscription do not apply to this `subscription_item`.",
            "items": {
              "$ref": "#/components/schemas/tax_rate"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "required": [
          "billing_thresholds",
          "created",
          "discounts",
          "id",
          "metadata",
          "object",
          "plan",
          "price",
          "subscription",
          "tax_rates"
        ],
        "title": "SubscriptionItem",
        "type": "object",
        "x-expandableFields": [
          "billing_thresholds",
          "discounts",
          "plan",
          "price",
          "tax_rates"
        ],
        "x-resourceId": "subscription_item",
        "x-stripeMostCommon": [
          "id",
          "metadata",
          "price",
          "quantity",
          "subscription"
        ],
        "x-stripeOperations": [
          {
            "method_name": "delete",
            "method_on": "service",
            "method_type": "delete",
            "operation": "delete",
            "path": "/v1/subscription_items/{item}"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/subscription_items"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/subscription_items/{item}"
          },
          {
            "method_name": "usage_record_summaries",
            "method_on": "service",
            "method_type": "custom",
            "operation": "get",
            "path": "/v1/subscription_items/{subscription_item}/usage_record_summaries"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/subscription_items"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/subscription_items/{item}"
          }
        ],
        "x-stripeResource": {
          "class_name": "SubscriptionItem",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "subscription_item_billing_thresholds": {
        "description": "",
        "properties": {
          "usage_gte": {
            "description": "Usage threshold that triggers the subscription to create an invoice",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "usage_gte"
        ],
        "title": "SubscriptionItemBillingThresholds",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "usage_gte"
        ]
      },
      "subscription_payment_method_options_card": {
        "description": "",
        "properties": {
          "mandate_options": {
            "$ref": "#/components/schemas/invoice_mandate_options_card"
          },
          "network": {
            "description": "Selected network to process this Subscription on. Depends on the available networks of the card attached to the Subscription. Can be only set confirm-time.",
            "enum": [
              "amex",
              "cartes_bancaires",
              "diners",
              "discover",
              "eftpos_au",
              "girocard",
              "interac",
              "jcb",
              "link",
              "mastercard",
              "unionpay",
              "unknown",
              "visa"
            ],
            "nullable": true,
            "type": "string"
          },
          "request_three_d_secure": {
            "description": "We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.",
            "enum": [
              "any",
              "automatic",
              "challenge"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "network",
          "request_three_d_secure"
        ],
        "title": "subscription_payment_method_options_card",
        "type": "object",
        "x-expandableFields": [
          "mandate_options"
        ],
        "x-stripeMostCommon": [
          "mandate_options",
          "network",
          "request_three_d_secure"
        ]
      },
      "subscription_pending_invoice_item_interval": {
        "description": "",
        "properties": {
          "interval": {
            "description": "Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.",
            "enum": [
              "day",
              "month",
              "week",
              "year"
            ],
            "type": "string"
          },
          "interval_count": {
            "description": "The number of intervals between invoices. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks).",
            "type": "integer"
          }
        },
        "required": [
          "interval",
          "interval_count"
        ],
        "title": "SubscriptionPendingInvoiceItemInterval",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "interval",
          "interval_count"
        ]
      },
      "subscription_schedule": {
        "description": "A subscription schedule allows you to create and manage the lifecycle of a subscription by predefining expected changes.\n\nRelated guide: [Subscription schedules](https://stripe.com/docs/billing/subscriptions/subscription-schedules)",
        "properties": {
          "application": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/application"
              },
              {
                "$ref": "#/components/schemas/deleted_application"
              }
            ],
            "description": "ID of the Connect Application that created the schedule.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/application"
                },
                {
                  "$ref": "#/components/schemas/deleted_application"
                }
              ]
            }
          },
          "canceled_at": {
            "description": "Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "completed_at": {
            "description": "Time at which the subscription schedule was completed. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "current_phase": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/subscription_schedule_current_phase"
              }
            ],
            "description": "Object representing the start and end dates for the current phase of the subscription schedule, if it is `active`.",
            "nullable": true
          },
          "customer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer"
              },
              {
                "$ref": "#/components/schemas/deleted_customer"
              }
            ],
            "description": "ID of the customer who owns the subscription schedule.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer"
                },
                {
                  "$ref": "#/components/schemas/deleted_customer"
                }
              ]
            }
          },
          "default_settings": {
            "$ref": "#/components/schemas/subscription_schedules_resource_default_settings"
          },
          "end_behavior": {
            "description": "Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running. `cancel` will end the subscription schedule and cancel the underlying subscription.",
            "enum": [
              "cancel",
              "none",
              "release",
              "renew"
            ],
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "nullable": true,
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "subscription_schedule"
            ],
            "type": "string"
          },
          "phases": {
            "description": "Configuration for the subscription schedule's phases.",
            "items": {
              "$ref": "#/components/schemas/subscription_schedule_phase_configuration"
            },
            "type": "array"
          },
          "released_at": {
            "description": "Time at which the subscription schedule was released. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "released_subscription": {
            "description": "ID of the subscription once managed by the subscription schedule (if it is released).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "status": {
            "description": "The present status of the subscription schedule. Possible values are `not_started`, `active`, `completed`, `released`, and `canceled`. You can read more about the different states in our [behavior guide](https://stripe.com/docs/billing/subscriptions/subscription-schedules).",
            "enum": [
              "active",
              "canceled",
              "completed",
              "not_started",
              "released"
            ],
            "type": "string"
          },
          "subscription": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/subscription"
              }
            ],
            "description": "ID of the subscription managed by the subscription schedule.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/subscription"
                }
              ]
            }
          },
          "test_clock": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/test_helpers.test_clock"
              }
            ],
            "description": "ID of the test clock this subscription schedule belongs to.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/test_helpers.test_clock"
                }
              ]
            }
          }
        },
        "required": [
          "application",
          "canceled_at",
          "completed_at",
          "created",
          "current_phase",
          "customer",
          "default_settings",
          "end_behavior",
          "id",
          "livemode",
          "metadata",
          "object",
          "phases",
          "released_at",
          "released_subscription",
          "status",
          "subscription",
          "test_clock"
        ],
        "title": "SubscriptionSchedule",
        "type": "object",
        "x-expandableFields": [
          "application",
          "current_phase",
          "customer",
          "default_settings",
          "phases",
          "subscription",
          "test_clock"
        ],
        "x-resourceId": "subscription_schedule",
        "x-stripeMostCommon": [
          "current_phase",
          "customer",
          "id",
          "metadata",
          "phases",
          "status",
          "subscription"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/subscription_schedules"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/subscription_schedules/{schedule}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/subscription_schedules"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/subscription_schedules/{schedule}"
          },
          {
            "method_name": "cancel",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/subscription_schedules/{schedule}/cancel"
          },
          {
            "method_name": "release",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/subscription_schedules/{schedule}/release"
          }
        ],
        "x-stripeResource": {
          "class_name": "SubscriptionSchedule",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "subscription_schedule.aborted": {
        "description": "Occurs whenever a subscription schedule is canceled due to the underlying subscription being canceled because of delinquency.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/subscription_schedule"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "subscription_schedule.aborted"
        }
      },
      "subscription_schedule.canceled": {
        "description": "Occurs whenever a subscription schedule is canceled.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/subscription_schedule"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "subscription_schedule.canceled"
        }
      },
      "subscription_schedule.completed": {
        "description": "Occurs whenever a new subscription schedule is completed.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/subscription_schedule"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "subscription_schedule.completed"
        }
      },
      "subscription_schedule.created": {
        "description": "Occurs whenever a new subscription schedule is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/subscription_schedule"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "subscription_schedule.created"
        }
      },
      "subscription_schedule.expiring": {
        "description": "Occurs 7 days before a subscription schedule will expire.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/subscription_schedule"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "subscription_schedule.expiring"
        }
      },
      "subscription_schedule.released": {
        "description": "Occurs whenever a new subscription schedule is released.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/subscription_schedule"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "subscription_schedule.released"
        }
      },
      "subscription_schedule.updated": {
        "description": "Occurs whenever a subscription schedule is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/subscription_schedule"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "subscription_schedule.updated"
        }
      },
      "subscription_schedule_add_invoice_item": {
        "description": "An Add Invoice Item describes the prices and quantities that will be added as pending invoice items when entering a phase.",
        "properties": {
          "discounts": {
            "description": "The stackable discounts that will be applied to the item.",
            "items": {
              "$ref": "#/components/schemas/discounts_resource_stackable_discount"
            },
            "type": "array"
          },
          "price": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/price"
              },
              {
                "$ref": "#/components/schemas/deleted_price"
              }
            ],
            "description": "ID of the price used to generate the invoice item.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/price"
                },
                {
                  "$ref": "#/components/schemas/deleted_price"
                }
              ]
            }
          },
          "quantity": {
            "description": "The quantity of the invoice item.",
            "nullable": true,
            "type": "integer"
          },
          "tax_rates": {
            "description": "The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item.",
            "items": {
              "$ref": "#/components/schemas/tax_rate"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "required": [
          "discounts",
          "price",
          "quantity"
        ],
        "title": "SubscriptionScheduleAddInvoiceItem",
        "type": "object",
        "x-expandableFields": [
          "discounts",
          "price",
          "tax_rates"
        ],
        "x-stripeMostCommon": [
          "discounts",
          "price",
          "quantity",
          "tax_rates"
        ]
      },
      "subscription_schedule_configuration_item": {
        "description": "A phase item describes the price and quantity of a phase.",
        "properties": {
          "billing_thresholds": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/subscription_item_billing_thresholds"
              }
            ],
            "description": "Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period",
            "nullable": true
          },
          "discounts": {
            "description": "The discounts applied to the subscription item. Subscription item discounts are applied before subscription discounts. Use `expand[]=discounts` to expand each discount.",
            "items": {
              "$ref": "#/components/schemas/discounts_resource_stackable_discount"
            },
            "type": "array"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an item. Metadata on this item will update the underlying subscription item's `metadata` when the phase is entered.",
            "nullable": true,
            "type": "object"
          },
          "plan": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/plan"
              },
              {
                "$ref": "#/components/schemas/deleted_plan"
              }
            ],
            "description": "ID of the plan to which the customer should be subscribed.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/plan"
                },
                {
                  "$ref": "#/components/schemas/deleted_plan"
                }
              ]
            }
          },
          "price": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/price"
              },
              {
                "$ref": "#/components/schemas/deleted_price"
              }
            ],
            "description": "ID of the price to which the customer should be subscribed.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/price"
                },
                {
                  "$ref": "#/components/schemas/deleted_price"
                }
              ]
            }
          },
          "quantity": {
            "description": "Quantity of the plan to which the customer should be subscribed.",
            "type": "integer"
          },
          "tax_rates": {
            "description": "The tax rates which apply to this `phase_item`. When set, the `default_tax_rates` on the phase do not apply to this `phase_item`.",
            "items": {
              "$ref": "#/components/schemas/tax_rate"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "required": [
          "billing_thresholds",
          "discounts",
          "metadata",
          "plan",
          "price"
        ],
        "title": "SubscriptionScheduleConfigurationItem",
        "type": "object",
        "x-expandableFields": [
          "billing_thresholds",
          "discounts",
          "plan",
          "price",
          "tax_rates"
        ],
        "x-stripeMostCommon": [
          "billing_thresholds",
          "discounts",
          "metadata",
          "plan",
          "price",
          "quantity",
          "tax_rates"
        ]
      },
      "subscription_schedule_current_phase": {
        "description": "",
        "properties": {
          "end_date": {
            "description": "The end of this phase of the subscription schedule.",
            "format": "unix-time",
            "type": "integer"
          },
          "start_date": {
            "description": "The start of this phase of the subscription schedule.",
            "format": "unix-time",
            "type": "integer"
          }
        },
        "required": [
          "end_date",
          "start_date"
        ],
        "title": "SubscriptionScheduleCurrentPhase",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "end_date",
          "start_date"
        ]
      },
      "subscription_schedule_phase_configuration": {
        "description": "A phase describes the plans, coupon, and trialing status of a subscription for a predefined time period.",
        "properties": {
          "add_invoice_items": {
            "description": "A list of prices and quantities that will generate invoice items appended to the next invoice for this phase.",
            "items": {
              "$ref": "#/components/schemas/subscription_schedule_add_invoice_item"
            },
            "type": "array"
          },
          "application_fee_percent": {
            "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account during this phase of the schedule.",
            "nullable": true,
            "type": "number"
          },
          "automatic_tax": {
            "$ref": "#/components/schemas/schedules_phase_automatic_tax"
          },
          "billing_cycle_anchor": {
            "description": "Possible values are `phase_start` or `automatic`. If `phase_start` then billing cycle anchor of the subscription is set to the start of the phase when entering the phase. If `automatic` then the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle).",
            "enum": [
              "automatic",
              "phase_start"
            ],
            "nullable": true,
            "type": "string"
          },
          "billing_thresholds": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/subscription_billing_thresholds"
              }
            ],
            "description": "Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period",
            "nullable": true
          },
          "collection_method": {
            "description": "Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay the underlying subscription at the end of each billing cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`.",
            "enum": [
              "charge_automatically",
              "send_invoice"
            ],
            "nullable": true,
            "type": "string"
          },
          "coupon": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/coupon"
              },
              {
                "$ref": "#/components/schemas/deleted_coupon"
              }
            ],
            "description": "ID of the coupon to use during this phase of the subscription schedule.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/coupon"
                },
                {
                  "$ref": "#/components/schemas/deleted_coupon"
                }
              ]
            }
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "default_payment_method": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_method"
              }
            ],
            "description": "ID of the default payment method for the subscription schedule. It must belong to the customer associated with the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_method"
                }
              ]
            }
          },
          "default_tax_rates": {
            "description": "The default tax rates to apply to the subscription during this phase of the subscription schedule.",
            "items": {
              "$ref": "#/components/schemas/tax_rate"
            },
            "nullable": true,
            "type": "array"
          },
          "description": {
            "description": "Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "discounts": {
            "description": "The stackable discounts that will be applied to the subscription on this phase. Subscription item discounts are applied before subscription discounts.",
            "items": {
              "$ref": "#/components/schemas/discounts_resource_stackable_discount"
            },
            "type": "array"
          },
          "end_date": {
            "description": "The end of this phase of the subscription schedule.",
            "format": "unix-time",
            "type": "integer"
          },
          "invoice_settings": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/invoice_setting_subscription_schedule_phase_setting"
              }
            ],
            "description": "The invoice settings applicable during this phase.",
            "nullable": true
          },
          "items": {
            "description": "Subscription items to configure the subscription to during this phase of the subscription schedule.",
            "items": {
              "$ref": "#/components/schemas/subscription_schedule_configuration_item"
            },
            "type": "array"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to a phase. Metadata on a schedule's phase will update the underlying subscription's `metadata` when the phase is entered. Updating the underlying subscription's `metadata` directly will not affect the current phase's `metadata`.",
            "nullable": true,
            "type": "object"
          },
          "on_behalf_of": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/account"
              }
            ],
            "description": "The account (if any) the charge was made on behalf of for charges associated with the schedule's subscription. See the Connect documentation for details.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/account"
                }
              ]
            }
          },
          "proration_behavior": {
            "description": "If the subscription schedule will prorate when transitioning to this phase. Possible values are `create_prorations` and `none`.",
            "enum": [
              "always_invoice",
              "create_prorations",
              "none"
            ],
            "type": "string"
          },
          "start_date": {
            "description": "The start of this phase of the subscription schedule.",
            "format": "unix-time",
            "type": "integer"
          },
          "transfer_data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/subscription_transfer_data"
              }
            ],
            "description": "The account (if any) the associated subscription's payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription's invoices.",
            "nullable": true
          },
          "trial_end": {
            "description": "When the trial ends within the phase.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "add_invoice_items",
          "application_fee_percent",
          "billing_cycle_anchor",
          "billing_thresholds",
          "collection_method",
          "coupon",
          "currency",
          "default_payment_method",
          "description",
          "discounts",
          "end_date",
          "invoice_settings",
          "items",
          "metadata",
          "on_behalf_of",
          "proration_behavior",
          "start_date",
          "transfer_data",
          "trial_end"
        ],
        "title": "SubscriptionSchedulePhaseConfiguration",
        "type": "object",
        "x-expandableFields": [
          "add_invoice_items",
          "automatic_tax",
          "billing_thresholds",
          "coupon",
          "default_payment_method",
          "default_tax_rates",
          "discounts",
          "invoice_settings",
          "items",
          "on_behalf_of",
          "transfer_data"
        ],
        "x-stripeMostCommon": [
          "add_invoice_items",
          "application_fee_percent",
          "automatic_tax",
          "billing_cycle_anchor",
          "billing_thresholds",
          "collection_method",
          "coupon",
          "currency",
          "default_payment_method",
          "default_tax_rates",
          "description",
          "discounts",
          "end_date",
          "invoice_settings",
          "items",
          "metadata",
          "on_behalf_of",
          "proration_behavior",
          "start_date",
          "transfer_data",
          "trial_end"
        ]
      },
      "subscription_schedules_resource_default_settings": {
        "description": "",
        "properties": {
          "application_fee_percent": {
            "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account during this phase of the schedule.",
            "nullable": true,
            "type": "number"
          },
          "automatic_tax": {
            "$ref": "#/components/schemas/subscription_schedules_resource_default_settings_automatic_tax"
          },
          "billing_cycle_anchor": {
            "description": "Possible values are `phase_start` or `automatic`. If `phase_start` then billing cycle anchor of the subscription is set to the start of the phase when entering the phase. If `automatic` then the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle).",
            "enum": [
              "automatic",
              "phase_start"
            ],
            "type": "string"
          },
          "billing_thresholds": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/subscription_billing_thresholds"
              }
            ],
            "description": "Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period",
            "nullable": true
          },
          "collection_method": {
            "description": "Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay the underlying subscription at the end of each billing cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`.",
            "enum": [
              "charge_automatically",
              "send_invoice"
            ],
            "nullable": true,
            "type": "string"
          },
          "default_payment_method": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_method"
              }
            ],
            "description": "ID of the default payment method for the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_method"
                }
              ]
            }
          },
          "description": {
            "description": "Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "invoice_settings": {
            "$ref": "#/components/schemas/invoice_setting_subscription_schedule_setting"
          },
          "on_behalf_of": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/account"
              }
            ],
            "description": "The account (if any) the charge was made on behalf of for charges associated with the schedule's subscription. See the Connect documentation for details.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/account"
                }
              ]
            }
          },
          "transfer_data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/subscription_transfer_data"
              }
            ],
            "description": "The account (if any) the associated subscription's payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription's invoices.",
            "nullable": true
          }
        },
        "required": [
          "application_fee_percent",
          "billing_cycle_anchor",
          "billing_thresholds",
          "collection_method",
          "default_payment_method",
          "description",
          "invoice_settings",
          "on_behalf_of",
          "transfer_data"
        ],
        "title": "SubscriptionSchedulesResourceDefaultSettings",
        "type": "object",
        "x-expandableFields": [
          "automatic_tax",
          "billing_thresholds",
          "default_payment_method",
          "invoice_settings",
          "on_behalf_of",
          "transfer_data"
        ],
        "x-stripeMostCommon": [
          "application_fee_percent",
          "automatic_tax",
          "billing_cycle_anchor",
          "billing_thresholds",
          "collection_method",
          "default_payment_method",
          "description",
          "invoice_settings",
          "on_behalf_of",
          "transfer_data"
        ]
      },
      "subscription_schedules_resource_default_settings_automatic_tax": {
        "description": "",
        "properties": {
          "enabled": {
            "description": "Whether Stripe automatically computes tax on invoices created during this phase.",
            "type": "boolean"
          },
          "liability": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/connect_account_reference"
              }
            ],
            "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.",
            "nullable": true
          }
        },
        "required": [
          "enabled",
          "liability"
        ],
        "title": "SubscriptionSchedulesResourceDefaultSettingsAutomaticTax",
        "type": "object",
        "x-expandableFields": [
          "liability"
        ],
        "x-stripeMostCommon": [
          "enabled",
          "liability"
        ]
      },
      "subscription_transfer_data": {
        "description": "",
        "properties": {
          "amount_percent": {
            "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.",
            "nullable": true,
            "type": "number"
          },
          "destination": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/account"
              }
            ],
            "description": "The account where funds from the payment will be transferred to upon payment success.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/account"
                }
              ]
            }
          }
        },
        "required": [
          "amount_percent",
          "destination"
        ],
        "title": "SubscriptionTransferData",
        "type": "object",
        "x-expandableFields": [
          "destination"
        ],
        "x-stripeMostCommon": [
          "amount_percent",
          "destination"
        ]
      },
      "subscriptions_resource_billing_cycle_anchor_config": {
        "description": "",
        "properties": {
          "day_of_month": {
            "description": "The day of the month of the billing_cycle_anchor.",
            "type": "integer"
          },
          "hour": {
            "description": "The hour of the day of the billing_cycle_anchor.",
            "nullable": true,
            "type": "integer"
          },
          "minute": {
            "description": "The minute of the hour of the billing_cycle_anchor.",
            "nullable": true,
            "type": "integer"
          },
          "month": {
            "description": "The month to start full cycle billing periods.",
            "nullable": true,
            "type": "integer"
          },
          "second": {
            "description": "The second of the minute of the billing_cycle_anchor.",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "day_of_month",
          "hour",
          "minute",
          "month",
          "second"
        ],
        "title": "SubscriptionsResourceBillingCycleAnchorConfig",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "day_of_month",
          "hour",
          "minute",
          "month",
          "second"
        ]
      },
      "subscriptions_resource_pause_collection": {
        "description": "The Pause Collection settings determine how we will pause collection for this subscription and for how long the subscription\nshould be paused.",
        "properties": {
          "behavior": {
            "description": "The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`.",
            "enum": [
              "keep_as_draft",
              "mark_uncollectible",
              "void"
            ],
            "type": "string"
          },
          "resumes_at": {
            "description": "The time after which the subscription will resume collecting payments.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "behavior",
          "resumes_at"
        ],
        "title": "SubscriptionsResourcePauseCollection",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "behavior",
          "resumes_at"
        ]
      },
      "subscriptions_resource_payment_method_options": {
        "description": "",
        "properties": {
          "acss_debit": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/invoice_payment_method_options_acss_debit"
              }
            ],
            "description": "This sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to invoices created by the subscription.",
            "nullable": true
          },
          "bancontact": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/invoice_payment_method_options_bancontact"
              }
            ],
            "description": "This sub-hash contains details about the Bancontact payment method options to pass to invoices created by the subscription.",
            "nullable": true
          },
          "card": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/subscription_payment_method_options_card"
              }
            ],
            "description": "This sub-hash contains details about the Card payment method options to pass to invoices created by the subscription.",
            "nullable": true
          },
          "customer_balance": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/invoice_payment_method_options_customer_balance"
              }
            ],
            "description": "This sub-hash contains details about the Bank transfer payment method options to pass to invoices created by the subscription.",
            "nullable": true
          },
          "konbini": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/invoice_payment_method_options_konbini"
              }
            ],
            "description": "This sub-hash contains details about the Konbini payment method options to pass to invoices created by the subscription.",
            "nullable": true
          },
          "sepa_debit": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/invoice_payment_method_options_sepa_debit"
              }
            ],
            "description": "This sub-hash contains details about the SEPA Direct Debit payment method options to pass to invoices created by the subscription.",
            "nullable": true
          },
          "us_bank_account": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/invoice_payment_method_options_us_bank_account"
              }
            ],
            "description": "This sub-hash contains details about the ACH direct debit payment method options to pass to invoices created by the subscription.",
            "nullable": true
          }
        },
        "required": [
          "acss_debit",
          "bancontact",
          "card",
          "customer_balance",
          "konbini",
          "sepa_debit",
          "us_bank_account"
        ],
        "title": "SubscriptionsResourcePaymentMethodOptions",
        "type": "object",
        "x-expandableFields": [
          "acss_debit",
          "bancontact",
          "card",
          "customer_balance",
          "konbini",
          "sepa_debit",
          "us_bank_account"
        ],
        "x-stripeMostCommon": [
          "acss_debit",
          "bancontact",
          "card",
          "customer_balance",
          "konbini",
          "sepa_debit",
          "us_bank_account"
        ]
      },
      "subscriptions_resource_payment_settings": {
        "description": "",
        "properties": {
          "payment_method_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/subscriptions_resource_payment_method_options"
              }
            ],
            "description": "Payment-method-specific configuration to provide to invoices created by the subscription.",
            "nullable": true
          },
          "payment_method_types": {
            "description": "The list of payment method types to provide to every invoice created by the subscription. If not set, Stripe attempts to automatically determine the types to use by looking at the invoice’s default payment method, the subscription’s default payment method, the customer’s default payment method, and your [invoice template settings](https://dashboard.stripe.com/settings/billing/invoice).",
            "items": {
              "enum": [
                "ach_credit_transfer",
                "ach_debit",
                "acss_debit",
                "amazon_pay",
                "au_becs_debit",
                "bacs_debit",
                "bancontact",
                "boleto",
                "card",
                "cashapp",
                "customer_balance",
                "eps",
                "fpx",
                "giropay",
                "grabpay",
                "ideal",
                "jp_credit_transfer",
                "kakao_pay",
                "konbini",
                "kr_card",
                "link",
                "multibanco",
                "naver_pay",
                "p24",
                "payco",
                "paynow",
                "paypal",
                "promptpay",
                "revolut_pay",
                "sepa_credit_transfer",
                "sepa_debit",
                "sofort",
                "swish",
                "us_bank_account",
                "wechat_pay"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "nullable": true,
            "type": "array"
          },
          "save_default_payment_method": {
            "description": "Configure whether Stripe updates `subscription.default_payment_method` when payment succeeds. Defaults to `off`.",
            "enum": [
              "off",
              "on_subscription"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "payment_method_options",
          "payment_method_types",
          "save_default_payment_method"
        ],
        "title": "SubscriptionsResourcePaymentSettings",
        "type": "object",
        "x-expandableFields": [
          "payment_method_options"
        ],
        "x-stripeMostCommon": [
          "payment_method_options",
          "payment_method_types",
          "save_default_payment_method"
        ]
      },
      "subscriptions_resource_pending_update": {
        "description": "Pending Updates store the changes pending from a previous update that will be applied\nto the Subscription upon successful payment.",
        "properties": {
          "billing_cycle_anchor": {
            "description": "If the update is applied, determines the date of the first full invoice, and, for plans with `month` or `year` intervals, the day of the month for subsequent invoices. The timestamp is in UTC format.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "expires_at": {
            "description": "The point after which the changes reflected by this update will be discarded and no longer applied.",
            "format": "unix-time",
            "type": "integer"
          },
          "subscription_items": {
            "description": "List of subscription items, each with an attached plan, that will be set if the update is applied.",
            "items": {
              "$ref": "#/components/schemas/subscription_item"
            },
            "nullable": true,
            "type": "array"
          },
          "trial_end": {
            "description": "Unix timestamp representing the end of the trial period the customer will get before being charged for the first time, if the update is applied.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "trial_from_plan": {
            "description": "Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `trial_end` per subscription is preferred, and this defaults to `false`. Setting this flag to `true` together with `trial_end` is not allowed. See [Using trial periods on subscriptions](https://stripe.com/docs/billing/subscriptions/trials) to learn more.",
            "nullable": true,
            "type": "boolean"
          }
        },
        "required": [
          "billing_cycle_anchor",
          "expires_at",
          "subscription_items",
          "trial_end",
          "trial_from_plan"
        ],
        "title": "SubscriptionsResourcePendingUpdate",
        "type": "object",
        "x-expandableFields": [
          "subscription_items"
        ],
        "x-stripeMostCommon": [
          "billing_cycle_anchor",
          "expires_at",
          "subscription_items",
          "trial_end",
          "trial_from_plan"
        ]
      },
      "subscriptions_resource_subscription_invoice_settings": {
        "description": "",
        "properties": {
          "account_tax_ids": {
            "description": "The account tax IDs associated with the subscription. Will be set on invoices generated by the subscription.",
            "items": {
              "anyOf": [
                {
                  "maxLength": 5000,
                  "type": "string"
                },
                {
                  "$ref": "#/components/schemas/tax_id"
                },
                {
                  "$ref": "#/components/schemas/deleted_tax_id"
                }
              ],
              "x-expansionResources": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/tax_id"
                  },
                  {
                    "$ref": "#/components/schemas/deleted_tax_id"
                  }
                ]
              }
            },
            "nullable": true,
            "type": "array"
          },
          "issuer": {
            "$ref": "#/components/schemas/connect_account_reference"
          }
        },
        "required": [
          "account_tax_ids",
          "issuer"
        ],
        "title": "SubscriptionsResourceSubscriptionInvoiceSettings",
        "type": "object",
        "x-expandableFields": [
          "account_tax_ids",
          "issuer"
        ],
        "x-stripeMostCommon": [
          "account_tax_ids",
          "issuer"
        ]
      },
      "subscriptions_trials_resource_end_behavior": {
        "description": "Defines how a subscription behaves when a free trial ends.",
        "properties": {
          "missing_payment_method": {
            "description": "Indicates how the subscription should change when the trial ends if the user did not provide a payment method.",
            "enum": [
              "cancel",
              "create_invoice",
              "pause"
            ],
            "type": "string"
          }
        },
        "required": [
          "missing_payment_method"
        ],
        "title": "SubscriptionsTrialsResourceEndBehavior",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "missing_payment_method"
        ]
      },
      "subscriptions_trials_resource_trial_settings": {
        "description": "Configures how this subscription behaves during the trial period.",
        "properties": {
          "end_behavior": {
            "$ref": "#/components/schemas/subscriptions_trials_resource_end_behavior"
          }
        },
        "required": [
          "end_behavior"
        ],
        "title": "SubscriptionsTrialsResourceTrialSettings",
        "type": "object",
        "x-expandableFields": [
          "end_behavior"
        ],
        "x-stripeMostCommon": [
          "end_behavior"
        ]
      },
      "tax.calculation": {
        "description": "A Tax Calculation allows you to calculate the tax to collect from your customer.\n\nRelated guide: [Calculate tax in your custom payment flow](https://stripe.com/docs/tax/custom)",
        "properties": {
          "amount_total": {
            "description": "Total amount after taxes in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "maxLength": 5000,
            "type": "string"
          },
          "customer": {
            "description": "The ID of an existing [Customer](https://stripe.com/docs/api/customers/object) used for the resource.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "customer_details": {
            "$ref": "#/components/schemas/tax_product_resource_customer_details"
          },
          "expires_at": {
            "description": "Timestamp of date at which the tax calculation will expire.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the calculation.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "line_items": {
            "description": "The list of items the customer is purchasing.",
            "nullable": true,
            "properties": {
              "data": {
                "description": "Details about each object.",
                "items": {
                  "$ref": "#/components/schemas/tax.calculation_line_item"
                },
                "type": "array"
              },
              "has_more": {
                "description": "True if this list has another page of items after this one that can be fetched.",
                "type": "boolean"
              },
              "object": {
                "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                "enum": [
                  "list"
                ],
                "type": "string"
              },
              "url": {
                "description": "The URL where this list can be accessed.",
                "maxLength": 5000,
                "pattern": "^/v1/tax/calculations/[^/]+/line_items",
                "type": "string"
              }
            },
            "required": [
              "data",
              "has_more",
              "object",
              "url"
            ],
            "title": "TaxProductResourceTaxCalculationLineItemList",
            "type": "object",
            "x-expandableFields": [
              "data"
            ],
            "x-stripeMostCommon": [
              "data",
              "has_more",
              "object",
              "url"
            ]
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "tax.calculation"
            ],
            "type": "string"
          },
          "ship_from_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/tax_product_resource_ship_from_details"
              }
            ],
            "description": "The details of the ship from location, such as the address.",
            "nullable": true
          },
          "shipping_cost": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/tax_product_resource_tax_calculation_shipping_cost"
              }
            ],
            "description": "The shipping cost details for the calculation.",
            "nullable": true
          },
          "tax_amount_exclusive": {
            "description": "The amount of tax to be collected on top of the line item prices.",
            "type": "integer"
          },
          "tax_amount_inclusive": {
            "description": "The amount of tax already included in the line item prices.",
            "type": "integer"
          },
          "tax_breakdown": {
            "description": "Breakdown of individual tax amounts that add up to the total.",
            "items": {
              "$ref": "#/components/schemas/tax_product_resource_tax_breakdown"
            },
            "type": "array"
          },
          "tax_date": {
            "description": "Timestamp of date at which the tax rules and rates in effect applies for the calculation.",
            "format": "unix-time",
            "type": "integer"
          }
        },
        "required": [
          "amount_total",
          "currency",
          "customer",
          "customer_details",
          "expires_at",
          "id",
          "livemode",
          "object",
          "ship_from_details",
          "shipping_cost",
          "tax_amount_exclusive",
          "tax_amount_inclusive",
          "tax_breakdown",
          "tax_date"
        ],
        "title": "TaxProductResourceTaxCalculation",
        "type": "object",
        "x-expandableFields": [
          "customer_details",
          "line_items",
          "ship_from_details",
          "shipping_cost",
          "tax_breakdown"
        ],
        "x-resourceId": "tax.calculation",
        "x-stripeMostCommon": [
          "amount_total",
          "currency",
          "customer_details",
          "expires_at",
          "id",
          "line_items",
          "object",
          "shipping_cost",
          "tax_amount_exclusive",
          "tax_amount_inclusive",
          "tax_breakdown"
        ],
        "x-stripeOperations": [
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/tax/calculations/{calculation}"
          },
          {
            "method_name": "list_line_items",
            "method_on": "service",
            "method_type": "custom",
            "operation": "get",
            "path": "/v1/tax/calculations/{calculation}/line_items"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/tax/calculations"
          }
        ],
        "x-stripeResource": {
          "class_name": "Calculation",
          "in_package": "Tax"
        }
      },
      "tax.calculation_line_item": {
        "description": "",
        "properties": {
          "amount": {
            "description": "The line item amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount.",
            "type": "integer"
          },
          "amount_tax": {
            "description": "The amount of tax calculated for this line item, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "tax.calculation_line_item"
            ],
            "type": "string"
          },
          "product": {
            "description": "The ID of an existing [Product](https://stripe.com/docs/api/products/object).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "quantity": {
            "description": "The number of units of the item being purchased. For reversals, this is the quantity reversed.",
            "type": "integer"
          },
          "reference": {
            "description": "A custom identifier for this line item.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "tax_behavior": {
            "description": "Specifies whether the `amount` includes taxes. If `tax_behavior=inclusive`, then the amount includes taxes.",
            "enum": [
              "exclusive",
              "inclusive"
            ],
            "type": "string"
          },
          "tax_breakdown": {
            "description": "Detailed account of taxes relevant to this line item.",
            "items": {
              "$ref": "#/components/schemas/tax_product_resource_line_item_tax_breakdown"
            },
            "nullable": true,
            "type": "array"
          },
          "tax_code": {
            "description": "The [tax code](https://stripe.com/docs/tax/tax-categories) ID used for this resource.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "amount",
          "amount_tax",
          "id",
          "livemode",
          "object",
          "product",
          "quantity",
          "reference",
          "tax_behavior",
          "tax_code"
        ],
        "title": "TaxProductResourceTaxCalculationLineItem",
        "type": "object",
        "x-expandableFields": [
          "tax_breakdown"
        ],
        "x-resourceId": "tax.calculation_line_item",
        "x-stripeMostCommon": [
          "amount",
          "amount_tax",
          "id",
          "livemode",
          "object",
          "product",
          "quantity",
          "reference",
          "tax_behavior",
          "tax_breakdown",
          "tax_code"
        ],
        "x-stripeResource": {
          "class_name": "CalculationLineItem",
          "has_collection_class": true,
          "in_package": "Tax"
        }
      },
      "tax.registration": {
        "description": "A Tax `Registration` lets us know that your business is registered to collect tax on payments within a region, enabling you to [automatically collect tax](https://stripe.com/docs/tax).\n\nStripe doesn't register on your behalf with the relevant authorities when you create a Tax `Registration` object. For more information on how to register to collect tax, see [our guide](https://stripe.com/docs/tax/registering).\n\nRelated guide: [Using the Registrations API](https://stripe.com/docs/tax/registrations-api)",
        "properties": {
          "active_from": {
            "description": "Time at which the registration becomes active. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "country": {
            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
            "maxLength": 5000,
            "type": "string"
          },
          "country_options": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "expires_at": {
            "description": "If set, the registration stops being active at this time. If not set, the registration will be active indefinitely. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "tax.registration"
            ],
            "type": "string"
          },
          "status": {
            "description": "The status of the registration. This field is present for convenience and can be deduced from `active_from` and `expires_at`.",
            "enum": [
              "active",
              "expired",
              "scheduled"
            ],
            "type": "string"
          }
        },
        "required": [
          "active_from",
          "country",
          "country_options",
          "created",
          "expires_at",
          "id",
          "livemode",
          "object",
          "status"
        ],
        "title": "TaxProductRegistrationsResourceTaxRegistration",
        "type": "object",
        "x-expandableFields": [
          "country_options"
        ],
        "x-resourceId": "tax.registration",
        "x-stripeMostCommon": [
          "active_from",
          "country",
          "country_options",
          "created",
          "expires_at",
          "id",
          "livemode",
          "object",
          "status"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/tax/registrations"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/tax/registrations/{id}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/tax/registrations"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/tax/registrations/{id}"
          }
        ],
        "x-stripeResource": {
          "class_name": "Registration",
          "has_collection_class": true,
          "in_package": "Tax"
        }
      },
      "tax.settings": {
        "description": "You can use Tax `Settings` to manage configurations used by Stripe Tax calculations.\n\nRelated guide: [Using the Settings API](https://stripe.com/docs/tax/settings-api)",
        "properties": {
          "defaults": {
            "$ref": "#/components/schemas/tax_product_resource_tax_settings_defaults"
          },
          "head_office": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/tax_product_resource_tax_settings_head_office"
              }
            ],
            "description": "The place where your business is located.",
            "nullable": true
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "tax.settings"
            ],
            "type": "string"
          },
          "status": {
            "description": "The status of the Tax `Settings`.",
            "enum": [
              "active",
              "pending"
            ],
            "type": "string"
          },
          "status_details": {
            "$ref": "#/components/schemas/tax_product_resource_tax_settings_status_details"
          }
        },
        "required": [
          "defaults",
          "head_office",
          "livemode",
          "object",
          "status",
          "status_details"
        ],
        "title": "TaxProductResourceTaxSettings",
        "type": "object",
        "x-expandableFields": [
          "defaults",
          "head_office",
          "status_details"
        ],
        "x-resourceId": "tax.settings",
        "x-stripeMostCommon": [
          "defaults",
          "head_office",
          "livemode",
          "object",
          "status",
          "status_details"
        ],
        "x-stripeOperations": [
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/tax/settings"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/tax/settings"
          }
        ],
        "x-stripeResource": {
          "class_name": "Settings",
          "in_package": "Tax"
        }
      },
      "tax.settings.updated": {
        "description": "Occurs whenever tax settings is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/tax.settings"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "tax.settings.updated"
        }
      },
      "tax.transaction": {
        "description": "A Tax Transaction records the tax collected from or refunded to your customer.\n\nRelated guide: [Calculate tax in your custom payment flow](https://stripe.com/docs/tax/custom#tax-transaction)",
        "properties": {
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "maxLength": 5000,
            "type": "string"
          },
          "customer": {
            "description": "The ID of an existing [Customer](https://stripe.com/docs/api/customers/object) used for the resource.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "customer_details": {
            "$ref": "#/components/schemas/tax_product_resource_customer_details"
          },
          "id": {
            "description": "Unique identifier for the transaction.",
            "maxLength": 5000,
            "type": "string"
          },
          "line_items": {
            "description": "The tax collected or refunded, by line item.",
            "nullable": true,
            "properties": {
              "data": {
                "description": "Details about each object.",
                "items": {
                  "$ref": "#/components/schemas/tax.transaction_line_item"
                },
                "type": "array"
              },
              "has_more": {
                "description": "True if this list has another page of items after this one that can be fetched.",
                "type": "boolean"
              },
              "object": {
                "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                "enum": [
                  "list"
                ],
                "type": "string"
              },
              "url": {
                "description": "The URL where this list can be accessed.",
                "maxLength": 5000,
                "pattern": "^/v1/tax/transactions/[^/]+/line_items",
                "type": "string"
              }
            },
            "required": [
              "data",
              "has_more",
              "object",
              "url"
            ],
            "title": "TaxProductResourceTaxTransactionLineItemList",
            "type": "object",
            "x-expandableFields": [
              "data"
            ],
            "x-stripeMostCommon": [
              "data",
              "has_more",
              "object",
              "url"
            ]
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "nullable": true,
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "tax.transaction"
            ],
            "type": "string"
          },
          "posted_at": {
            "description": "The Unix timestamp representing when the tax liability is assumed or reduced.",
            "format": "unix-time",
            "type": "integer"
          },
          "reference": {
            "description": "A custom unique identifier, such as 'myOrder_123'.",
            "maxLength": 5000,
            "type": "string"
          },
          "reversal": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/tax_product_resource_tax_transaction_resource_reversal"
              }
            ],
            "description": "If `type=reversal`, contains information about what was reversed.",
            "nullable": true
          },
          "ship_from_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/tax_product_resource_ship_from_details"
              }
            ],
            "description": "The details of the ship from location, such as the address.",
            "nullable": true
          },
          "shipping_cost": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/tax_product_resource_tax_transaction_shipping_cost"
              }
            ],
            "description": "The shipping cost details for the transaction.",
            "nullable": true
          },
          "tax_date": {
            "description": "Timestamp of date at which the tax rules and rates in effect applies for the calculation.",
            "format": "unix-time",
            "type": "integer"
          },
          "type": {
            "description": "If `reversal`, this transaction reverses an earlier transaction.",
            "enum": [
              "reversal",
              "transaction"
            ],
            "type": "string"
          }
        },
        "required": [
          "created",
          "currency",
          "customer",
          "customer_details",
          "id",
          "livemode",
          "metadata",
          "object",
          "posted_at",
          "reference",
          "reversal",
          "ship_from_details",
          "shipping_cost",
          "tax_date",
          "type"
        ],
        "title": "TaxProductResourceTaxTransaction",
        "type": "object",
        "x-expandableFields": [
          "customer_details",
          "line_items",
          "reversal",
          "ship_from_details",
          "shipping_cost"
        ],
        "x-resourceId": "tax.transaction",
        "x-stripeMostCommon": [
          "currency",
          "customer_details",
          "id",
          "line_items",
          "metadata",
          "object",
          "reference",
          "type"
        ],
        "x-stripeOperations": [
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/tax/transactions/{transaction}"
          },
          {
            "method_name": "list_line_items",
            "method_on": "service",
            "method_type": "custom",
            "operation": "get",
            "path": "/v1/tax/transactions/{transaction}/line_items"
          },
          {
            "method_name": "create_from_calculation",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/tax/transactions/create_from_calculation"
          },
          {
            "method_name": "create_reversal",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/tax/transactions/create_reversal"
          }
        ],
        "x-stripeResource": {
          "class_name": "Transaction",
          "in_package": "Tax"
        }
      },
      "tax.transaction_line_item": {
        "description": "",
        "properties": {
          "amount": {
            "description": "The line item amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount.",
            "type": "integer"
          },
          "amount_tax": {
            "description": "The amount of tax calculated for this line item, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "nullable": true,
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "tax.transaction_line_item"
            ],
            "type": "string"
          },
          "product": {
            "description": "The ID of an existing [Product](https://stripe.com/docs/api/products/object).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "quantity": {
            "description": "The number of units of the item being purchased. For reversals, this is the quantity reversed.",
            "type": "integer"
          },
          "reference": {
            "description": "A custom identifier for this line item in the transaction.",
            "maxLength": 5000,
            "type": "string"
          },
          "reversal": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/tax_product_resource_tax_transaction_line_item_resource_reversal"
              }
            ],
            "description": "If `type=reversal`, contains information about what was reversed.",
            "nullable": true
          },
          "tax_behavior": {
            "description": "Specifies whether the `amount` includes taxes. If `tax_behavior=inclusive`, then the amount includes taxes.",
            "enum": [
              "exclusive",
              "inclusive"
            ],
            "type": "string"
          },
          "tax_code": {
            "description": "The [tax code](https://stripe.com/docs/tax/tax-categories) ID used for this resource.",
            "maxLength": 5000,
            "type": "string"
          },
          "type": {
            "description": "If `reversal`, this line item reverses an earlier transaction.",
            "enum": [
              "reversal",
              "transaction"
            ],
            "type": "string"
          }
        },
        "required": [
          "amount",
          "amount_tax",
          "id",
          "livemode",
          "metadata",
          "object",
          "product",
          "quantity",
          "reference",
          "reversal",
          "tax_behavior",
          "tax_code",
          "type"
        ],
        "title": "TaxProductResourceTaxTransactionLineItem",
        "type": "object",
        "x-expandableFields": [
          "reversal"
        ],
        "x-resourceId": "tax.transaction_line_item",
        "x-stripeMostCommon": [
          "amount",
          "amount_tax",
          "id",
          "livemode",
          "metadata",
          "object",
          "product",
          "quantity",
          "reference",
          "reversal",
          "tax_behavior",
          "tax_code",
          "type"
        ],
        "x-stripeResource": {
          "class_name": "TransactionLineItem",
          "has_collection_class": true,
          "in_package": "Tax"
        }
      },
      "tax_code": {
        "description": "[Tax codes](https://stripe.com/docs/tax/tax-categories) classify goods and services for tax purposes.",
        "properties": {
          "description": {
            "description": "A detailed description of which types of products the tax code represents.",
            "maxLength": 5000,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "name": {
            "description": "A short name for the tax code.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "tax_code"
            ],
            "type": "string"
          }
        },
        "required": [
          "description",
          "id",
          "name",
          "object"
        ],
        "title": "TaxProductResourceTaxCode",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "tax_code",
        "x-stripeMostCommon": [
          "description",
          "id",
          "name",
          "object"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/tax_codes"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/tax_codes/{id}"
          }
        ],
        "x-stripeResource": {
          "class_name": "TaxCode",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "tax_deducted_at_source": {
        "description": "",
        "properties": {
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "tax_deducted_at_source"
            ],
            "type": "string"
          },
          "period_end": {
            "description": "The end of the invoicing period. This TDS applies to Stripe fees collected during this invoicing period.",
            "format": "unix-time",
            "type": "integer"
          },
          "period_start": {
            "description": "The start of the invoicing period. This TDS applies to Stripe fees collected during this invoicing period.",
            "format": "unix-time",
            "type": "integer"
          },
          "tax_deduction_account_number": {
            "description": "The TAN that was supplied to Stripe when TDS was assessed",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "id",
          "object",
          "period_end",
          "period_start",
          "tax_deduction_account_number"
        ],
        "title": "TaxDeductedAtSource",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "id",
          "object",
          "period_end",
          "period_start",
          "tax_deduction_account_number"
        ],
        "x-stripeResource": {
          "class_name": "TaxDeductedAtSource",
          "in_package": "",
          "polymorphic_groups": [
            "balance_transaction_source"
          ]
        }
      },
      "tax_i_ds_owner": {
        "description": "",
        "properties": {
          "account": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/account"
              }
            ],
            "description": "The account being referenced when `type` is `account`.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/account"
                }
              ]
            }
          },
          "application": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/application"
              }
            ],
            "description": "The Connect Application being referenced when `type` is `application`.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/application"
                }
              ]
            }
          },
          "customer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer"
              }
            ],
            "description": "The customer being referenced when `type` is `customer`.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer"
                }
              ]
            }
          },
          "type": {
            "description": "Type of owner referenced.",
            "enum": [
              "account",
              "application",
              "customer",
              "self"
            ],
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "title": "TaxIDsOwner",
        "type": "object",
        "x-expandableFields": [
          "account",
          "application",
          "customer"
        ],
        "x-stripeMostCommon": [
          "account",
          "application",
          "customer",
          "type"
        ]
      },
      "tax_id": {
        "description": "You can add one or multiple tax IDs to a [customer](https://stripe.com/docs/api/customers) or account.\nCustomer and account tax IDs get displayed on related invoices and credit notes.\n\nRelated guides: [Customer tax identification numbers](https://stripe.com/docs/billing/taxes/tax-ids), [Account tax IDs](https://stripe.com/docs/invoicing/connect#account-tax-ids)",
        "properties": {
          "country": {
            "description": "Two-letter ISO code representing the country of the tax ID.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "customer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer"
              }
            ],
            "description": "ID of the customer.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer"
                }
              ]
            }
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "tax_id"
            ],
            "type": "string"
          },
          "owner": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/tax_i_ds_owner"
              }
            ],
            "description": "The account or customer the tax ID belongs to.",
            "nullable": true
          },
          "type": {
            "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `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`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat`. Note that some legacy tax IDs have type `unknown`",
            "enum": [
              "ad_nrt",
              "ae_trn",
              "ar_cuit",
              "au_abn",
              "au_arn",
              "bg_uic",
              "bh_vat",
              "bo_tin",
              "br_cnpj",
              "br_cpf",
              "by_tin",
              "ca_bn",
              "ca_gst_hst",
              "ca_pst_bc",
              "ca_pst_mb",
              "ca_pst_sk",
              "ca_qst",
              "ch_uid",
              "ch_vat",
              "cl_tin",
              "cn_tin",
              "co_nit",
              "cr_tin",
              "de_stn",
              "do_rcn",
              "ec_ruc",
              "eg_tin",
              "es_cif",
              "eu_oss_vat",
              "eu_vat",
              "gb_vat",
              "ge_vat",
              "hk_br",
              "hr_oib",
              "hu_tin",
              "id_npwp",
              "il_vat",
              "in_gst",
              "is_vat",
              "jp_cn",
              "jp_rn",
              "jp_trn",
              "ke_pin",
              "kr_brn",
              "kz_bin",
              "li_uid",
              "li_vat",
              "ma_vat",
              "md_vat",
              "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",
              "tz_vat",
              "ua_vat",
              "unknown",
              "us_ein",
              "uy_ruc",
              "uz_tin",
              "uz_vat",
              "ve_rif",
              "vn_tin",
              "za_vat"
            ],
            "type": "string"
          },
          "value": {
            "description": "Value of the tax ID.",
            "maxLength": 5000,
            "type": "string"
          },
          "verification": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/tax_id_verification"
              }
            ],
            "description": "Tax ID verification information.",
            "nullable": true
          }
        },
        "required": [
          "country",
          "created",
          "customer",
          "id",
          "livemode",
          "object",
          "owner",
          "type",
          "value",
          "verification"
        ],
        "title": "tax_id",
        "type": "object",
        "x-expandableFields": [
          "customer",
          "owner",
          "verification"
        ],
        "x-resourceId": "tax_id",
        "x-stripeMostCommon": [
          "country",
          "customer",
          "id",
          "type",
          "value"
        ],
        "x-stripeOperations": [
          {
            "method_name": "delete",
            "method_on": "service",
            "method_type": "delete",
            "operation": "delete",
            "path": "/v1/customers/{customer}/tax_ids/{id}"
          },
          {
            "method_name": "delete",
            "method_on": "service",
            "method_type": "delete",
            "operation": "delete",
            "path": "/v1/tax_ids/{id}"
          },
          {
            "method_name": "list",
            "method_on": "collection",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/customers/{customer}/tax_ids"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/customers/{customer}/tax_ids"
          },
          {
            "method_name": "retrieve",
            "method_on": "collection",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/customers/{customer}/tax_ids/{id}"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/customers/{customer}/tax_ids/{id}"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/tax_ids"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/tax_ids/{id}"
          },
          {
            "method_name": "create",
            "method_on": "collection",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/customers/{customer}/tax_ids",
            "shared_version_of": "tax_id"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/customers/{customer}/tax_ids",
            "shared_version_of": "tax_id"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/tax_ids"
          }
        ],
        "x-stripeResource": {
          "class_name": "TaxId",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "tax_id_verification": {
        "description": "",
        "properties": {
          "status": {
            "description": "Verification status, one of `pending`, `verified`, `unverified`, or `unavailable`.",
            "enum": [
              "pending",
              "unavailable",
              "unverified",
              "verified"
            ],
            "type": "string"
          },
          "verified_address": {
            "description": "Verified address.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "verified_name": {
            "description": "Verified name.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "status",
          "verified_address",
          "verified_name"
        ],
        "title": "tax_id_verification",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "status",
          "verified_address",
          "verified_name"
        ]
      },
      "tax_product_registrations_resource_country_options": {
        "description": "",
        "properties": {
          "ae": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default"
          },
          "at": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe"
          },
          "au": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default"
          },
          "be": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe"
          },
          "bg": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe"
          },
          "bh": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default"
          },
          "by": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified"
          },
          "ca": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_canada"
          },
          "ch": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default"
          },
          "cl": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified"
          },
          "co": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified"
          },
          "cr": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified"
          },
          "cy": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe"
          },
          "cz": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe"
          },
          "de": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe"
          },
          "dk": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe"
          },
          "ec": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified"
          },
          "ee": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe"
          },
          "eg": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified"
          },
          "es": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe"
          },
          "fi": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe"
          },
          "fr": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe"
          },
          "gb": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default"
          },
          "ge": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified"
          },
          "gr": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe"
          },
          "hr": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe"
          },
          "hu": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe"
          },
          "id": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified"
          },
          "ie": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe"
          },
          "is": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default"
          },
          "it": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe"
          },
          "jp": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default"
          },
          "ke": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified"
          },
          "kr": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified"
          },
          "kz": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified"
          },
          "lt": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe"
          },
          "lu": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe"
          },
          "lv": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe"
          },
          "ma": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified"
          },
          "md": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified"
          },
          "mt": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe"
          },
          "mx": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified"
          },
          "my": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified"
          },
          "ng": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified"
          },
          "nl": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe"
          },
          "no": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default"
          },
          "nz": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default"
          },
          "om": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default"
          },
          "pl": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe"
          },
          "pt": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe"
          },
          "ro": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe"
          },
          "rs": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default"
          },
          "ru": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified"
          },
          "sa": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified"
          },
          "se": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe"
          },
          "sg": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default"
          },
          "si": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe"
          },
          "sk": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe"
          },
          "th": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified"
          },
          "tr": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified"
          },
          "tz": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified"
          },
          "us": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_united_states"
          },
          "uz": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified"
          },
          "vn": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified"
          },
          "za": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default"
          }
        },
        "title": "TaxProductRegistrationsResourceCountryOptions",
        "type": "object",
        "x-expandableFields": [
          "ae",
          "at",
          "au",
          "be",
          "bg",
          "bh",
          "by",
          "ca",
          "ch",
          "cl",
          "co",
          "cr",
          "cy",
          "cz",
          "de",
          "dk",
          "ec",
          "ee",
          "eg",
          "es",
          "fi",
          "fr",
          "gb",
          "ge",
          "gr",
          "hr",
          "hu",
          "id",
          "ie",
          "is",
          "it",
          "jp",
          "ke",
          "kr",
          "kz",
          "lt",
          "lu",
          "lv",
          "ma",
          "md",
          "mt",
          "mx",
          "my",
          "ng",
          "nl",
          "no",
          "nz",
          "om",
          "pl",
          "pt",
          "ro",
          "rs",
          "ru",
          "sa",
          "se",
          "sg",
          "si",
          "sk",
          "th",
          "tr",
          "tz",
          "us",
          "uz",
          "vn",
          "za"
        ],
        "x-stripeMostCommon": [
          "ae",
          "at",
          "au",
          "be",
          "bg",
          "bh",
          "by",
          "ca",
          "ch",
          "cl",
          "co",
          "cr",
          "cy",
          "cz",
          "de",
          "dk",
          "ec",
          "ee",
          "eg",
          "es",
          "fi",
          "fr",
          "gb",
          "ge",
          "gr",
          "hr",
          "hu",
          "id",
          "ie",
          "is",
          "it",
          "jp",
          "ke",
          "kr",
          "kz",
          "lt",
          "lu",
          "lv",
          "ma",
          "md",
          "mt",
          "mx",
          "my",
          "ng",
          "nl",
          "no",
          "nz",
          "om",
          "pl",
          "pt",
          "ro",
          "rs",
          "ru",
          "sa",
          "se",
          "sg",
          "si",
          "sk",
          "th",
          "tr",
          "tz",
          "us",
          "uz",
          "vn",
          "za"
        ]
      },
      "tax_product_registrations_resource_country_options_ca_province_standard": {
        "description": "",
        "properties": {
          "province": {
            "description": "Two-letter CA province code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "province"
        ],
        "title": "TaxProductRegistrationsResourceCountryOptionsCaProvinceStandard",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "province"
        ]
      },
      "tax_product_registrations_resource_country_options_canada": {
        "description": "",
        "properties": {
          "province_standard": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_ca_province_standard"
          },
          "type": {
            "description": "Type of registration in Canada.",
            "enum": [
              "province_standard",
              "simplified",
              "standard"
            ],
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "title": "TaxProductRegistrationsResourceCountryOptionsCanada",
        "type": "object",
        "x-expandableFields": [
          "province_standard"
        ],
        "x-stripeMostCommon": [
          "province_standard",
          "type"
        ]
      },
      "tax_product_registrations_resource_country_options_default": {
        "description": "",
        "properties": {
          "type": {
            "description": "Type of registration in `country`.",
            "enum": [
              "standard"
            ],
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "title": "TaxProductRegistrationsResourceCountryOptionsDefault",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "type"
        ]
      },
      "tax_product_registrations_resource_country_options_eu_standard": {
        "description": "",
        "properties": {
          "place_of_supply_scheme": {
            "description": "Place of supply scheme used in an EU standard registration.",
            "enum": [
              "small_seller",
              "standard"
            ],
            "type": "string"
          }
        },
        "required": [
          "place_of_supply_scheme"
        ],
        "title": "TaxProductRegistrationsResourceCountryOptionsEuStandard",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "place_of_supply_scheme"
        ]
      },
      "tax_product_registrations_resource_country_options_europe": {
        "description": "",
        "properties": {
          "standard": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_eu_standard"
          },
          "type": {
            "description": "Type of registration in an EU country.",
            "enum": [
              "ioss",
              "oss_non_union",
              "oss_union",
              "standard"
            ],
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "title": "TaxProductRegistrationsResourceCountryOptionsEurope",
        "type": "object",
        "x-expandableFields": [
          "standard"
        ],
        "x-stripeMostCommon": [
          "standard",
          "type"
        ]
      },
      "tax_product_registrations_resource_country_options_simplified": {
        "description": "",
        "properties": {
          "type": {
            "description": "Type of registration in `country`.",
            "enum": [
              "simplified"
            ],
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "title": "TaxProductRegistrationsResourceCountryOptionsSimplified",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "type"
        ]
      },
      "tax_product_registrations_resource_country_options_united_states": {
        "description": "",
        "properties": {
          "local_amusement_tax": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_us_local_amusement_tax"
          },
          "local_lease_tax": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_us_local_lease_tax"
          },
          "state": {
            "description": "Two-letter US state code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).",
            "maxLength": 5000,
            "type": "string"
          },
          "state_sales_tax": {
            "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_us_state_sales_tax"
          },
          "type": {
            "description": "Type of registration in the US.",
            "enum": [
              "local_amusement_tax",
              "local_lease_tax",
              "state_communications_tax",
              "state_retail_delivery_fee",
              "state_sales_tax"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "state",
          "type"
        ],
        "title": "TaxProductRegistrationsResourceCountryOptionsUnitedStates",
        "type": "object",
        "x-expandableFields": [
          "local_amusement_tax",
          "local_lease_tax",
          "state_sales_tax"
        ],
        "x-stripeMostCommon": [
          "local_amusement_tax",
          "local_lease_tax",
          "state",
          "state_sales_tax",
          "type"
        ]
      },
      "tax_product_registrations_resource_country_options_us_local_amusement_tax": {
        "description": "",
        "properties": {
          "jurisdiction": {
            "description": "A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "jurisdiction"
        ],
        "title": "TaxProductRegistrationsResourceCountryOptionsUsLocalAmusementTax",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "jurisdiction"
        ]
      },
      "tax_product_registrations_resource_country_options_us_local_lease_tax": {
        "description": "",
        "properties": {
          "jurisdiction": {
            "description": "A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "jurisdiction"
        ],
        "title": "TaxProductRegistrationsResourceCountryOptionsUsLocalLeaseTax",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "jurisdiction"
        ]
      },
      "tax_product_registrations_resource_country_options_us_state_sales_tax": {
        "description": "",
        "properties": {
          "elections": {
            "description": "Elections for the state sales tax registration.",
            "items": {
              "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_us_state_sales_tax_election"
            },
            "type": "array"
          }
        },
        "title": "TaxProductRegistrationsResourceCountryOptionsUsStateSalesTax",
        "type": "object",
        "x-expandableFields": [
          "elections"
        ],
        "x-stripeMostCommon": [
          "elections"
        ]
      },
      "tax_product_registrations_resource_country_options_us_state_sales_tax_election": {
        "description": "",
        "properties": {
          "jurisdiction": {
            "description": "A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction.",
            "maxLength": 5000,
            "type": "string"
          },
          "type": {
            "description": "The type of the election for the state sales tax registration.",
            "enum": [
              "local_use_tax",
              "simplified_sellers_use_tax",
              "single_local_use_tax"
            ],
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "title": "TaxProductRegistrationsResourceCountryOptionsUsStateSalesTaxElection",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "jurisdiction",
          "type"
        ]
      },
      "tax_product_resource_customer_details": {
        "description": "",
        "properties": {
          "address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/tax_product_resource_postal_address"
              }
            ],
            "description": "The customer's postal address (for example, home or business location).",
            "nullable": true
          },
          "address_source": {
            "description": "The type of customer address provided.",
            "enum": [
              "billing",
              "shipping"
            ],
            "nullable": true,
            "type": "string"
          },
          "ip_address": {
            "description": "The customer's IP address (IPv4 or IPv6).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "tax_ids": {
            "description": "The customer's tax IDs (for example, EU VAT numbers).",
            "items": {
              "$ref": "#/components/schemas/tax_product_resource_customer_details_resource_tax_id"
            },
            "type": "array"
          },
          "taxability_override": {
            "description": "The taxability override used for taxation.",
            "enum": [
              "customer_exempt",
              "none",
              "reverse_charge"
            ],
            "type": "string"
          }
        },
        "required": [
          "address",
          "address_source",
          "ip_address",
          "tax_ids",
          "taxability_override"
        ],
        "title": "TaxProductResourceCustomerDetails",
        "type": "object",
        "x-expandableFields": [
          "address",
          "tax_ids"
        ],
        "x-stripeMostCommon": [
          "address",
          "address_source",
          "ip_address",
          "tax_ids",
          "taxability_override"
        ]
      },
      "tax_product_resource_customer_details_resource_tax_id": {
        "description": "",
        "properties": {
          "type": {
            "description": "The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, or `unknown`",
            "enum": [
              "ad_nrt",
              "ae_trn",
              "ar_cuit",
              "au_abn",
              "au_arn",
              "bg_uic",
              "bh_vat",
              "bo_tin",
              "br_cnpj",
              "br_cpf",
              "by_tin",
              "ca_bn",
              "ca_gst_hst",
              "ca_pst_bc",
              "ca_pst_mb",
              "ca_pst_sk",
              "ca_qst",
              "ch_uid",
              "ch_vat",
              "cl_tin",
              "cn_tin",
              "co_nit",
              "cr_tin",
              "de_stn",
              "do_rcn",
              "ec_ruc",
              "eg_tin",
              "es_cif",
              "eu_oss_vat",
              "eu_vat",
              "gb_vat",
              "ge_vat",
              "hk_br",
              "hr_oib",
              "hu_tin",
              "id_npwp",
              "il_vat",
              "in_gst",
              "is_vat",
              "jp_cn",
              "jp_rn",
              "jp_trn",
              "ke_pin",
              "kr_brn",
              "kz_bin",
              "li_uid",
              "li_vat",
              "ma_vat",
              "md_vat",
              "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",
              "tz_vat",
              "ua_vat",
              "unknown",
              "us_ein",
              "uy_ruc",
              "uz_tin",
              "uz_vat",
              "ve_rif",
              "vn_tin",
              "za_vat"
            ],
            "type": "string"
          },
          "value": {
            "description": "The value of the tax ID.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "type",
          "value"
        ],
        "title": "TaxProductResourceCustomerDetailsResourceTaxId",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "type",
          "value"
        ]
      },
      "tax_product_resource_jurisdiction": {
        "description": "",
        "properties": {
          "country": {
            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
            "maxLength": 5000,
            "type": "string"
          },
          "display_name": {
            "description": "A human-readable name for the jurisdiction imposing the tax.",
            "maxLength": 5000,
            "type": "string"
          },
          "level": {
            "description": "Indicates the level of the jurisdiction imposing the tax.",
            "enum": [
              "city",
              "country",
              "county",
              "district",
              "state"
            ],
            "type": "string"
          },
          "state": {
            "description": "[ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2:US), without country prefix. For example, \"NY\" for New York, United States.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "country",
          "display_name",
          "level",
          "state"
        ],
        "title": "TaxProductResourceJurisdiction",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "country",
          "display_name",
          "level",
          "state"
        ]
      },
      "tax_product_resource_line_item_tax_breakdown": {
        "description": "",
        "properties": {
          "amount": {
            "description": "The amount of tax, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
            "type": "integer"
          },
          "jurisdiction": {
            "$ref": "#/components/schemas/tax_product_resource_jurisdiction"
          },
          "sourcing": {
            "description": "Indicates whether the jurisdiction was determined by the origin (merchant's address) or destination (customer's address).",
            "enum": [
              "destination",
              "origin"
            ],
            "type": "string"
          },
          "tax_rate_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/tax_product_resource_line_item_tax_rate_details"
              }
            ],
            "description": "Details regarding the rate for this tax. This field will be `null` when the tax is not imposed, for example if the product is exempt from tax.",
            "nullable": true
          },
          "taxability_reason": {
            "description": "The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported.",
            "enum": [
              "customer_exempt",
              "not_collecting",
              "not_subject_to_tax",
              "not_supported",
              "portion_product_exempt",
              "portion_reduced_rated",
              "portion_standard_rated",
              "product_exempt",
              "product_exempt_holiday",
              "proportionally_rated",
              "reduced_rated",
              "reverse_charge",
              "standard_rated",
              "taxable_basis_reduced",
              "zero_rated"
            ],
            "type": "string"
          },
          "taxable_amount": {
            "description": "The amount on which tax is calculated, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
            "type": "integer"
          }
        },
        "required": [
          "amount",
          "jurisdiction",
          "sourcing",
          "tax_rate_details",
          "taxability_reason",
          "taxable_amount"
        ],
        "title": "TaxProductResourceLineItemTaxBreakdown",
        "type": "object",
        "x-expandableFields": [
          "jurisdiction",
          "tax_rate_details"
        ],
        "x-stripeMostCommon": [
          "amount",
          "jurisdiction",
          "sourcing",
          "tax_rate_details",
          "taxability_reason",
          "taxable_amount"
        ]
      },
      "tax_product_resource_line_item_tax_rate_details": {
        "description": "",
        "properties": {
          "display_name": {
            "description": "A localized display name for tax type, intended to be human-readable. For example, \"Local Sales and Use Tax\", \"Value-added tax (VAT)\", or \"Umsatzsteuer (USt.)\".",
            "maxLength": 5000,
            "type": "string"
          },
          "percentage_decimal": {
            "description": "The tax rate percentage as a string. For example, 8.5% is represented as \"8.5\".",
            "maxLength": 5000,
            "type": "string"
          },
          "tax_type": {
            "description": "The tax type, such as `vat` or `sales_tax`.",
            "enum": [
              "amusement_tax",
              "communications_tax",
              "gst",
              "hst",
              "igst",
              "jct",
              "lease_tax",
              "pst",
              "qst",
              "retail_delivery_fee",
              "rst",
              "sales_tax",
              "service_tax",
              "vat"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "display_name",
          "percentage_decimal",
          "tax_type"
        ],
        "title": "TaxProductResourceLineItemTaxRateDetails",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "display_name",
          "percentage_decimal",
          "tax_type"
        ]
      },
      "tax_product_resource_postal_address": {
        "description": "",
        "properties": {
          "city": {
            "description": "City, district, suburb, town, or village.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "country": {
            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
            "maxLength": 5000,
            "type": "string"
          },
          "line1": {
            "description": "Address line 1 (e.g., street, PO Box, or company name).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "line2": {
            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "postal_code": {
            "description": "ZIP or postal code.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "state": {
            "description": "State/province as an [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision code, without country prefix. Example: \"NY\" or \"TX\".",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "city",
          "country",
          "line1",
          "line2",
          "postal_code",
          "state"
        ],
        "title": "TaxProductResourcePostalAddress",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "city",
          "country",
          "line1",
          "line2",
          "postal_code",
          "state"
        ]
      },
      "tax_product_resource_ship_from_details": {
        "description": "",
        "properties": {
          "address": {
            "$ref": "#/components/schemas/tax_product_resource_postal_address"
          }
        },
        "required": [
          "address"
        ],
        "title": "TaxProductResourceShipFromDetails",
        "type": "object",
        "x-expandableFields": [
          "address"
        ],
        "x-stripeMostCommon": [
          "address"
        ]
      },
      "tax_product_resource_tax_breakdown": {
        "description": "",
        "properties": {
          "amount": {
            "description": "The amount of tax, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
            "type": "integer"
          },
          "inclusive": {
            "description": "Specifies whether the tax amount is included in the line item amount.",
            "type": "boolean"
          },
          "tax_rate_details": {
            "$ref": "#/components/schemas/tax_product_resource_tax_rate_details"
          },
          "taxability_reason": {
            "description": "The reasoning behind this tax, for example, if the product is tax exempt. We might extend the possible values for this field to support new tax rules.",
            "enum": [
              "customer_exempt",
              "not_collecting",
              "not_subject_to_tax",
              "not_supported",
              "portion_product_exempt",
              "portion_reduced_rated",
              "portion_standard_rated",
              "product_exempt",
              "product_exempt_holiday",
              "proportionally_rated",
              "reduced_rated",
              "reverse_charge",
              "standard_rated",
              "taxable_basis_reduced",
              "zero_rated"
            ],
            "type": "string"
          },
          "taxable_amount": {
            "description": "The amount on which tax is calculated, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
            "type": "integer"
          }
        },
        "required": [
          "amount",
          "inclusive",
          "tax_rate_details",
          "taxability_reason",
          "taxable_amount"
        ],
        "title": "TaxProductResourceTaxBreakdown",
        "type": "object",
        "x-expandableFields": [
          "tax_rate_details"
        ],
        "x-stripeMostCommon": [
          "amount",
          "inclusive",
          "tax_rate_details",
          "taxability_reason",
          "taxable_amount"
        ]
      },
      "tax_product_resource_tax_calculation_shipping_cost": {
        "description": "",
        "properties": {
          "amount": {
            "description": "The shipping amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount.",
            "type": "integer"
          },
          "amount_tax": {
            "description": "The amount of tax calculated for shipping, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
            "type": "integer"
          },
          "shipping_rate": {
            "description": "The ID of an existing [ShippingRate](https://stripe.com/docs/api/shipping_rates/object).",
            "maxLength": 5000,
            "type": "string"
          },
          "tax_behavior": {
            "description": "Specifies whether the `amount` includes taxes. If `tax_behavior=inclusive`, then the amount includes taxes.",
            "enum": [
              "exclusive",
              "inclusive"
            ],
            "type": "string"
          },
          "tax_breakdown": {
            "description": "Detailed account of taxes relevant to shipping cost.",
            "items": {
              "$ref": "#/components/schemas/tax_product_resource_line_item_tax_breakdown"
            },
            "type": "array"
          },
          "tax_code": {
            "description": "The [tax code](https://stripe.com/docs/tax/tax-categories) ID used for shipping.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "amount",
          "amount_tax",
          "tax_behavior",
          "tax_code"
        ],
        "title": "TaxProductResourceTaxCalculationShippingCost",
        "type": "object",
        "x-expandableFields": [
          "tax_breakdown"
        ],
        "x-stripeMostCommon": [
          "amount",
          "amount_tax",
          "shipping_rate",
          "tax_behavior",
          "tax_breakdown",
          "tax_code"
        ]
      },
      "tax_product_resource_tax_rate_details": {
        "description": "",
        "properties": {
          "country": {
            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "flat_amount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/tax_rate_flat_amount"
              }
            ],
            "description": "The amount of the tax rate when the `rate_type` is `flat_amount`. Tax rates with `rate_type` `percentage` can vary based on the transaction, resulting in this field being `null`. This field exposes the amount and currency of the flat tax rate.",
            "nullable": true
          },
          "percentage_decimal": {
            "description": "The tax rate percentage as a string. For example, 8.5% is represented as `\"8.5\"`.",
            "maxLength": 5000,
            "type": "string"
          },
          "rate_type": {
            "description": "Indicates the type of tax rate applied to the taxable amount. This value can be `null` when no tax applies to the location.",
            "enum": [
              "flat_amount",
              "percentage"
            ],
            "nullable": true,
            "type": "string"
          },
          "state": {
            "description": "State, county, province, or region.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "tax_type": {
            "description": "The tax type, such as `vat` or `sales_tax`.",
            "enum": [
              "amusement_tax",
              "communications_tax",
              "gst",
              "hst",
              "igst",
              "jct",
              "lease_tax",
              "pst",
              "qst",
              "retail_delivery_fee",
              "rst",
              "sales_tax",
              "service_tax",
              "vat"
            ],
            "nullable": true,
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "country",
          "flat_amount",
          "percentage_decimal",
          "rate_type",
          "state",
          "tax_type"
        ],
        "title": "TaxProductResourceTaxRateDetails",
        "type": "object",
        "x-expandableFields": [
          "flat_amount"
        ],
        "x-stripeMostCommon": [
          "country",
          "percentage_decimal",
          "state",
          "tax_type"
        ]
      },
      "tax_product_resource_tax_settings_defaults": {
        "description": "",
        "properties": {
          "tax_behavior": {
            "description": "Default [tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#tax-behavior) used to specify whether the price is considered inclusive of taxes or exclusive of taxes. If the item's price has a tax behavior set, it will take precedence over the default tax behavior.",
            "enum": [
              "exclusive",
              "inclusive",
              "inferred_by_currency"
            ],
            "nullable": true,
            "type": "string"
          },
          "tax_code": {
            "description": "Default [tax code](https://stripe.com/docs/tax/tax-categories) used to classify your products and prices.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "tax_behavior",
          "tax_code"
        ],
        "title": "TaxProductResourceTaxSettingsDefaults",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "tax_behavior",
          "tax_code"
        ]
      },
      "tax_product_resource_tax_settings_head_office": {
        "description": "",
        "properties": {
          "address": {
            "$ref": "#/components/schemas/address"
          }
        },
        "required": [
          "address"
        ],
        "title": "TaxProductResourceTaxSettingsHeadOffice",
        "type": "object",
        "x-expandableFields": [
          "address"
        ],
        "x-stripeMostCommon": [
          "address"
        ]
      },
      "tax_product_resource_tax_settings_status_details": {
        "description": "",
        "properties": {
          "active": {
            "$ref": "#/components/schemas/tax_product_resource_tax_settings_status_details_resource_active"
          },
          "pending": {
            "$ref": "#/components/schemas/tax_product_resource_tax_settings_status_details_resource_pending"
          }
        },
        "title": "TaxProductResourceTaxSettingsStatusDetails",
        "type": "object",
        "x-expandableFields": [
          "active",
          "pending"
        ],
        "x-stripeMostCommon": [
          "active",
          "pending"
        ]
      },
      "tax_product_resource_tax_settings_status_details_resource_active": {
        "description": "",
        "properties": {},
        "title": "TaxProductResourceTaxSettingsStatusDetailsResourceActive",
        "type": "object",
        "x-expandableFields": []
      },
      "tax_product_resource_tax_settings_status_details_resource_pending": {
        "description": "",
        "properties": {
          "missing_fields": {
            "description": "The list of missing fields that are required to perform calculations. It includes the entry `head_office` when the status is `pending`. It is recommended to set the optional values even if they aren't listed as required for calculating taxes. Calculations can fail if missing fields aren't explicitly provided on every call.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "required": [
          "missing_fields"
        ],
        "title": "TaxProductResourceTaxSettingsStatusDetailsResourcePending",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "missing_fields"
        ]
      },
      "tax_product_resource_tax_transaction_line_item_resource_reversal": {
        "description": "",
        "properties": {
          "original_line_item": {
            "description": "The `id` of the line item to reverse in the original transaction.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "original_line_item"
        ],
        "title": "TaxProductResourceTaxTransactionLineItemResourceReversal",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "original_line_item"
        ]
      },
      "tax_product_resource_tax_transaction_resource_reversal": {
        "description": "",
        "properties": {
          "original_transaction": {
            "description": "The `id` of the reversed `Transaction` object.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "original_transaction"
        ],
        "title": "TaxProductResourceTaxTransactionResourceReversal",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "original_transaction"
        ]
      },
      "tax_product_resource_tax_transaction_shipping_cost": {
        "description": "",
        "properties": {
          "amount": {
            "description": "The shipping amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount.",
            "type": "integer"
          },
          "amount_tax": {
            "description": "The amount of tax calculated for shipping, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
            "type": "integer"
          },
          "shipping_rate": {
            "description": "The ID of an existing [ShippingRate](https://stripe.com/docs/api/shipping_rates/object).",
            "maxLength": 5000,
            "type": "string"
          },
          "tax_behavior": {
            "description": "Specifies whether the `amount` includes taxes. If `tax_behavior=inclusive`, then the amount includes taxes.",
            "enum": [
              "exclusive",
              "inclusive"
            ],
            "type": "string"
          },
          "tax_breakdown": {
            "description": "Detailed account of taxes relevant to shipping cost. (It is not populated for the transaction resource object and will be removed in the next API version.)",
            "items": {
              "$ref": "#/components/schemas/tax_product_resource_line_item_tax_breakdown"
            },
            "type": "array"
          },
          "tax_code": {
            "description": "The [tax code](https://stripe.com/docs/tax/tax-categories) ID used for shipping.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "amount",
          "amount_tax",
          "tax_behavior",
          "tax_code"
        ],
        "title": "TaxProductResourceTaxTransactionShippingCost",
        "type": "object",
        "x-expandableFields": [
          "tax_breakdown"
        ],
        "x-stripeMostCommon": [
          "amount",
          "amount_tax",
          "shipping_rate",
          "tax_behavior",
          "tax_breakdown",
          "tax_code"
        ]
      },
      "tax_rate": {
        "description": "Tax rates can be applied to [invoices](https://stripe.com/docs/billing/invoices/tax-rates), [subscriptions](https://stripe.com/docs/billing/subscriptions/taxes) and [Checkout Sessions](https://stripe.com/docs/payments/checkout/set-up-a-subscription#tax-rates) to collect tax.\n\nRelated guide: [Tax rates](https://stripe.com/docs/billing/taxes/tax-rates)",
        "properties": {
          "active": {
            "description": "Defaults to `true`. When set to `false`, this tax rate cannot be used with new applications or Checkout Sessions, but will still work for subscriptions and invoices that already have it set.",
            "type": "boolean"
          },
          "country": {
            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "description": {
            "description": "An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "display_name": {
            "description": "The display name of the tax rates as it will appear to your customer on their receipt email, PDF, and the hosted invoice page.",
            "maxLength": 5000,
            "type": "string"
          },
          "effective_percentage": {
            "description": "Actual/effective tax rate percentage out of 100. For tax calculations with automatic_tax[enabled]=true,\nthis percentage reflects the rate actually used to calculate tax based on the product's taxability\nand whether the user is registered to collect taxes in the corresponding jurisdiction.",
            "nullable": true,
            "type": "number"
          },
          "flat_amount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/tax_rate_flat_amount"
              }
            ],
            "description": "The amount of the tax rate when the `rate_type` is `flat_amount`. Tax rates with `rate_type` `percentage` can vary based on the transaction, resulting in this field being `null`. This field exposes the amount and currency of the flat tax rate.",
            "nullable": true
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "inclusive": {
            "description": "This specifies if the tax rate is inclusive or exclusive.",
            "type": "boolean"
          },
          "jurisdiction": {
            "description": "The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer’s invoice.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "jurisdiction_level": {
            "description": "The level of the jurisdiction that imposes this tax rate. Will be `null` for manually defined tax rates.",
            "enum": [
              "city",
              "country",
              "county",
              "district",
              "multiple",
              "state"
            ],
            "nullable": true,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "nullable": true,
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "tax_rate"
            ],
            "type": "string"
          },
          "percentage": {
            "description": "Tax rate percentage out of 100. For tax calculations with automatic_tax[enabled]=true, this percentage includes the statutory tax rate of non-taxable jurisdictions.",
            "type": "number"
          },
          "rate_type": {
            "description": "Indicates the type of tax rate applied to the taxable amount. This value can be `null` when no tax applies to the location.",
            "enum": [
              "flat_amount",
              "percentage"
            ],
            "nullable": true,
            "type": "string"
          },
          "state": {
            "description": "[ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2:US), without country prefix. For example, \"NY\" for New York, United States.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "tax_type": {
            "description": "The high-level tax type, such as `vat` or `sales_tax`.",
            "enum": [
              "amusement_tax",
              "communications_tax",
              "gst",
              "hst",
              "igst",
              "jct",
              "lease_tax",
              "pst",
              "qst",
              "retail_delivery_fee",
              "rst",
              "sales_tax",
              "service_tax",
              "vat"
            ],
            "nullable": true,
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "active",
          "country",
          "created",
          "description",
          "display_name",
          "effective_percentage",
          "flat_amount",
          "id",
          "inclusive",
          "jurisdiction",
          "jurisdiction_level",
          "livemode",
          "metadata",
          "object",
          "percentage",
          "rate_type",
          "state",
          "tax_type"
        ],
        "title": "TaxRate",
        "type": "object",
        "x-expandableFields": [
          "flat_amount"
        ],
        "x-resourceId": "tax_rate",
        "x-stripeMostCommon": [
          "active",
          "country",
          "description",
          "display_name",
          "id",
          "inclusive",
          "jurisdiction",
          "metadata",
          "percentage",
          "state"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/tax_rates"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/tax_rates/{tax_rate}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/tax_rates"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/tax_rates/{tax_rate}"
          }
        ],
        "x-stripeResource": {
          "class_name": "TaxRate",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "tax_rate.created": {
        "description": "Occurs whenever a new tax rate is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/tax_rate"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "tax_rate.created"
        }
      },
      "tax_rate.updated": {
        "description": "Occurs whenever a tax rate is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/tax_rate"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "tax_rate.updated"
        }
      },
      "tax_rate_flat_amount": {
        "description": "The amount of the tax rate when the `rate_type`` is `flat_amount`. Tax rates with `rate_type` `percentage` can vary based on the transaction, resulting in this field being `null`. This field exposes the amount and currency of the flat tax rate.",
        "properties": {
          "amount": {
            "description": "Amount of the tax when the `rate_type` is `flat_amount`. This positive integer represents how much to charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter ISO currency code, in lowercase.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "amount",
          "currency"
        ],
        "title": "TaxRateFlatAmount",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "amount",
          "currency"
        ],
        "x-stripeResource": {
          "class_name": "TaxRateFlatAmount",
          "in_package": ""
        }
      },
      "terminal.configuration": {
        "description": "A Configurations object represents how features should be configured for terminal readers.",
        "properties": {
          "bbpos_wisepos_e": {
            "$ref": "#/components/schemas/terminal_configuration_configuration_resource_device_type_specific_config"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "is_account_default": {
            "description": "Whether this Configuration is the default for your account",
            "nullable": true,
            "type": "boolean"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "name": {
            "description": "String indicating the name of the Configuration object, set by the user",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "terminal.configuration"
            ],
            "type": "string"
          },
          "offline": {
            "$ref": "#/components/schemas/terminal_configuration_configuration_resource_offline_config"
          },
          "reboot_window": {
            "$ref": "#/components/schemas/terminal_configuration_configuration_resource_reboot_window"
          },
          "stripe_s700": {
            "$ref": "#/components/schemas/terminal_configuration_configuration_resource_device_type_specific_config"
          },
          "tipping": {
            "$ref": "#/components/schemas/terminal_configuration_configuration_resource_tipping"
          },
          "verifone_p400": {
            "$ref": "#/components/schemas/terminal_configuration_configuration_resource_device_type_specific_config"
          }
        },
        "required": [
          "id",
          "is_account_default",
          "livemode",
          "name",
          "object"
        ],
        "title": "TerminalConfigurationConfiguration",
        "type": "object",
        "x-expandableFields": [
          "bbpos_wisepos_e",
          "offline",
          "reboot_window",
          "stripe_s700",
          "tipping",
          "verifone_p400"
        ],
        "x-resourceId": "terminal.configuration",
        "x-stripeMostCommon": [
          "bbpos_wisepos_e",
          "id",
          "is_account_default",
          "stripe_s700",
          "tipping",
          "verifone_p400"
        ],
        "x-stripeOperations": [
          {
            "method_name": "delete",
            "method_on": "service",
            "method_type": "delete",
            "operation": "delete",
            "path": "/v1/terminal/configurations/{configuration}"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/terminal/configurations"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/terminal/configurations/{configuration}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/terminal/configurations"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/terminal/configurations/{configuration}"
          }
        ],
        "x-stripeResource": {
          "class_name": "Configuration",
          "has_collection_class": true,
          "in_package": "Terminal"
        }
      },
      "terminal.connection_token": {
        "description": "A Connection Token is used by the Stripe Terminal SDK to connect to a reader.\n\nRelated guide: [Fleet management](https://stripe.com/docs/terminal/fleet/locations)",
        "properties": {
          "location": {
            "description": "The id of the location that this connection token is scoped to. Note that location scoping only applies to internet-connected readers. For more details, see [the docs on scoping connection tokens](https://docs.stripe.com/terminal/fleet/locations-and-zones?dashboard-or-api=api#connection-tokens).",
            "maxLength": 5000,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "terminal.connection_token"
            ],
            "type": "string"
          },
          "secret": {
            "description": "Your application should pass this token to the Stripe Terminal SDK.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "object",
          "secret"
        ],
        "title": "TerminalConnectionToken",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "terminal.connection_token",
        "x-stripeMostCommon": [
          "location",
          "secret"
        ],
        "x-stripeOperations": [
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/terminal/connection_tokens"
          }
        ],
        "x-stripeResource": {
          "class_name": "ConnectionToken",
          "in_package": "Terminal"
        }
      },
      "terminal.location": {
        "description": "A Location represents a grouping of readers.\n\nRelated guide: [Fleet management](https://stripe.com/docs/terminal/fleet/locations)",
        "properties": {
          "address": {
            "$ref": "#/components/schemas/address"
          },
          "configuration_overrides": {
            "description": "The ID of a configuration that will be used to customize all readers in this location.",
            "maxLength": 5000,
            "type": "string"
          },
          "display_name": {
            "description": "The display name of the location.",
            "maxLength": 5000,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "terminal.location"
            ],
            "type": "string"
          }
        },
        "required": [
          "address",
          "display_name",
          "id",
          "livemode",
          "metadata",
          "object"
        ],
        "title": "TerminalLocationLocation",
        "type": "object",
        "x-expandableFields": [
          "address"
        ],
        "x-resourceId": "terminal.location",
        "x-stripeMostCommon": [
          "address",
          "display_name",
          "id",
          "metadata"
        ],
        "x-stripeOperations": [
          {
            "method_name": "delete",
            "method_on": "service",
            "method_type": "delete",
            "operation": "delete",
            "path": "/v1/terminal/locations/{location}"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/terminal/locations"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/terminal/locations/{location}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/terminal/locations"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/terminal/locations/{location}"
          }
        ],
        "x-stripeResource": {
          "class_name": "Location",
          "has_collection_class": true,
          "in_package": "Terminal"
        }
      },
      "terminal.reader": {
        "description": "A Reader represents a physical device for accepting payment details.\n\nRelated guide: [Connecting to a reader](https://stripe.com/docs/terminal/payments/connect-reader)",
        "properties": {
          "action": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/terminal_reader_reader_resource_reader_action"
              }
            ],
            "description": "The most recent action performed by the reader.",
            "nullable": true
          },
          "device_sw_version": {
            "description": "The current software version of the reader.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "device_type": {
            "description": "Type of reader, one of `bbpos_wisepad3`, `stripe_m2`, `stripe_s700`, `bbpos_chipper2x`, `bbpos_wisepos_e`, `verifone_P400`, `simulated_wisepos_e`, or `mobile_phone_reader`.",
            "enum": [
              "bbpos_chipper2x",
              "bbpos_wisepad3",
              "bbpos_wisepos_e",
              "mobile_phone_reader",
              "simulated_wisepos_e",
              "stripe_m2",
              "stripe_s700",
              "verifone_P400"
            ],
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "ip_address": {
            "description": "The local IP address of the reader.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "label": {
            "description": "Custom label given to the reader for easier identification.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "location": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/terminal.location"
              }
            ],
            "description": "The location identifier of the reader.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/terminal.location"
                }
              ]
            }
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "terminal.reader"
            ],
            "type": "string"
          },
          "serial_number": {
            "description": "Serial number of the reader.",
            "maxLength": 5000,
            "type": "string"
          },
          "status": {
            "description": "The networking status of the reader. We do not recommend using this field in flows that may block taking payments.",
            "enum": [
              "offline",
              "online"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "action",
          "device_sw_version",
          "device_type",
          "id",
          "ip_address",
          "label",
          "livemode",
          "location",
          "metadata",
          "object",
          "serial_number",
          "status"
        ],
        "title": "TerminalReaderReader",
        "type": "object",
        "x-expandableFields": [
          "action",
          "location"
        ],
        "x-resourceId": "terminal.reader",
        "x-stripeMostCommon": [
          "device_type",
          "id",
          "label",
          "location",
          "metadata",
          "serial_number",
          "status"
        ],
        "x-stripeOperations": [
          {
            "method_name": "delete",
            "method_on": "service",
            "method_type": "delete",
            "operation": "delete",
            "path": "/v1/terminal/readers/{reader}"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/terminal/readers"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/terminal/readers/{reader}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/terminal/readers"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/terminal/readers/{reader}"
          },
          {
            "method_name": "cancel_action",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/terminal/readers/{reader}/cancel_action"
          },
          {
            "method_name": "process_payment_intent",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/terminal/readers/{reader}/process_payment_intent"
          },
          {
            "method_name": "process_setup_intent",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/terminal/readers/{reader}/process_setup_intent"
          },
          {
            "method_name": "refund_payment",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/terminal/readers/{reader}/refund_payment"
          },
          {
            "method_name": "set_reader_display",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/terminal/readers/{reader}/set_reader_display"
          },
          {
            "method_name": "present_payment_method",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/terminal/readers/{reader}/present_payment_method"
          }
        ],
        "x-stripeResource": {
          "class_name": "Reader",
          "has_collection_class": true,
          "in_package": "Terminal"
        }
      },
      "terminal.reader.action_failed": {
        "description": "Occurs whenever an action sent to a Terminal reader failed.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/terminal.reader"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "terminal.reader.action_failed"
        }
      },
      "terminal.reader.action_succeeded": {
        "description": "Occurs whenever an action sent to a Terminal reader was successful.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/terminal.reader"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "terminal.reader.action_succeeded"
        }
      },
      "terminal_configuration_configuration_resource_currency_specific_config": {
        "description": "",
        "properties": {
          "fixed_amounts": {
            "description": "Fixed amounts displayed when collecting a tip",
            "items": {
              "type": "integer"
            },
            "nullable": true,
            "type": "array"
          },
          "percentages": {
            "description": "Percentages displayed when collecting a tip",
            "items": {
              "type": "integer"
            },
            "nullable": true,
            "type": "array"
          },
          "smart_tip_threshold": {
            "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
            "type": "integer"
          }
        },
        "title": "TerminalConfigurationConfigurationResourceCurrencySpecificConfig",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "fixed_amounts",
          "percentages",
          "smart_tip_threshold"
        ]
      },
      "terminal_configuration_configuration_resource_device_type_specific_config": {
        "description": "",
        "properties": {
          "splashscreen": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/file"
              }
            ],
            "description": "A File ID representing an image you would like displayed on the reader.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/file"
                }
              ]
            }
          }
        },
        "title": "TerminalConfigurationConfigurationResourceDeviceTypeSpecificConfig",
        "type": "object",
        "x-expandableFields": [
          "splashscreen"
        ],
        "x-stripeMostCommon": [
          "splashscreen"
        ]
      },
      "terminal_configuration_configuration_resource_offline_config": {
        "description": "",
        "properties": {
          "enabled": {
            "description": "Determines whether to allow transactions to be collected while reader is offline. Defaults to false.",
            "nullable": true,
            "type": "boolean"
          }
        },
        "required": [
          "enabled"
        ],
        "title": "TerminalConfigurationConfigurationResourceOfflineConfig",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "enabled"
        ]
      },
      "terminal_configuration_configuration_resource_reboot_window": {
        "description": "",
        "properties": {
          "end_hour": {
            "description": "Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour.",
            "type": "integer"
          },
          "start_hour": {
            "description": "Integer between 0 to 23 that represents the start hour of the reboot time window.",
            "type": "integer"
          }
        },
        "required": [
          "end_hour",
          "start_hour"
        ],
        "title": "TerminalConfigurationConfigurationResourceRebootWindow",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "end_hour",
          "start_hour"
        ]
      },
      "terminal_configuration_configuration_resource_tipping": {
        "description": "",
        "properties": {
          "aud": {
            "$ref": "#/components/schemas/terminal_configuration_configuration_resource_currency_specific_config"
          },
          "cad": {
            "$ref": "#/components/schemas/terminal_configuration_configuration_resource_currency_specific_config"
          },
          "chf": {
            "$ref": "#/components/schemas/terminal_configuration_configuration_resource_currency_specific_config"
          },
          "czk": {
            "$ref": "#/components/schemas/terminal_configuration_configuration_resource_currency_specific_config"
          },
          "dkk": {
            "$ref": "#/components/schemas/terminal_configuration_configuration_resource_currency_specific_config"
          },
          "eur": {
            "$ref": "#/components/schemas/terminal_configuration_configuration_resource_currency_specific_config"
          },
          "gbp": {
            "$ref": "#/components/schemas/terminal_configuration_configuration_resource_currency_specific_config"
          },
          "hkd": {
            "$ref": "#/components/schemas/terminal_configuration_configuration_resource_currency_specific_config"
          },
          "myr": {
            "$ref": "#/components/schemas/terminal_configuration_configuration_resource_currency_specific_config"
          },
          "nok": {
            "$ref": "#/components/schemas/terminal_configuration_configuration_resource_currency_specific_config"
          },
          "nzd": {
            "$ref": "#/components/schemas/terminal_configuration_configuration_resource_currency_specific_config"
          },
          "pln": {
            "$ref": "#/components/schemas/terminal_configuration_configuration_resource_currency_specific_config"
          },
          "sek": {
            "$ref": "#/components/schemas/terminal_configuration_configuration_resource_currency_specific_config"
          },
          "sgd": {
            "$ref": "#/components/schemas/terminal_configuration_configuration_resource_currency_specific_config"
          },
          "usd": {
            "$ref": "#/components/schemas/terminal_configuration_configuration_resource_currency_specific_config"
          }
        },
        "title": "TerminalConfigurationConfigurationResourceTipping",
        "type": "object",
        "x-expandableFields": [
          "aud",
          "cad",
          "chf",
          "czk",
          "dkk",
          "eur",
          "gbp",
          "hkd",
          "myr",
          "nok",
          "nzd",
          "pln",
          "sek",
          "sgd",
          "usd"
        ],
        "x-stripeMostCommon": [
          "aud",
          "cad",
          "chf",
          "czk",
          "dkk",
          "eur",
          "gbp",
          "hkd",
          "myr",
          "nok",
          "nzd",
          "pln",
          "sek",
          "sgd",
          "usd"
        ]
      },
      "terminal_reader_reader_resource_cart": {
        "description": "Represents a cart to be displayed on the reader",
        "properties": {
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "line_items": {
            "description": "List of line items in the cart.",
            "items": {
              "$ref": "#/components/schemas/terminal_reader_reader_resource_line_item"
            },
            "type": "array"
          },
          "tax": {
            "description": "Tax amount for the entire cart. A positive integer in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
            "nullable": true,
            "type": "integer"
          },
          "total": {
            "description": "Total amount for the entire cart, including tax. A positive integer in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
            "type": "integer"
          }
        },
        "required": [
          "currency",
          "line_items",
          "tax",
          "total"
        ],
        "title": "TerminalReaderReaderResourceCart",
        "type": "object",
        "x-expandableFields": [
          "line_items"
        ],
        "x-stripeMostCommon": [
          "currency",
          "line_items",
          "tax",
          "total"
        ]
      },
      "terminal_reader_reader_resource_line_item": {
        "description": "Represents a line item to be displayed on the reader",
        "properties": {
          "amount": {
            "description": "The amount of the line item. A positive integer in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
            "type": "integer"
          },
          "description": {
            "description": "Description of the line item.",
            "maxLength": 5000,
            "type": "string"
          },
          "quantity": {
            "description": "The quantity of the line item.",
            "type": "integer"
          }
        },
        "required": [
          "amount",
          "description",
          "quantity"
        ],
        "title": "TerminalReaderReaderResourceLineItem",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "amount",
          "description",
          "quantity"
        ]
      },
      "terminal_reader_reader_resource_process_config": {
        "description": "Represents a per-transaction override of a reader configuration",
        "properties": {
          "enable_customer_cancellation": {
            "description": "Enable customer initiated cancellation when processing this payment.",
            "type": "boolean"
          },
          "skip_tipping": {
            "description": "Override showing a tipping selection screen on this transaction.",
            "type": "boolean"
          },
          "tipping": {
            "$ref": "#/components/schemas/terminal_reader_reader_resource_tipping_config"
          }
        },
        "title": "TerminalReaderReaderResourceProcessConfig",
        "type": "object",
        "x-expandableFields": [
          "tipping"
        ],
        "x-stripeMostCommon": [
          "enable_customer_cancellation",
          "skip_tipping",
          "tipping"
        ]
      },
      "terminal_reader_reader_resource_process_payment_intent_action": {
        "description": "Represents a reader action to process a payment intent",
        "properties": {
          "payment_intent": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_intent"
              }
            ],
            "description": "Most recent PaymentIntent processed by the reader.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_intent"
                }
              ]
            }
          },
          "process_config": {
            "$ref": "#/components/schemas/terminal_reader_reader_resource_process_config"
          }
        },
        "required": [
          "payment_intent"
        ],
        "title": "TerminalReaderReaderResourceProcessPaymentIntentAction",
        "type": "object",
        "x-expandableFields": [
          "payment_intent",
          "process_config"
        ],
        "x-stripeMostCommon": [
          "payment_intent"
        ]
      },
      "terminal_reader_reader_resource_process_setup_config": {
        "description": "Represents a per-setup override of a reader configuration",
        "properties": {
          "enable_customer_cancellation": {
            "description": "Enable customer initiated cancellation when processing this SetupIntent.",
            "type": "boolean"
          }
        },
        "title": "TerminalReaderReaderResourceProcessSetupConfig",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "enable_customer_cancellation"
        ]
      },
      "terminal_reader_reader_resource_process_setup_intent_action": {
        "description": "Represents a reader action to process a setup intent",
        "properties": {
          "generated_card": {
            "description": "ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.",
            "maxLength": 5000,
            "type": "string"
          },
          "process_config": {
            "$ref": "#/components/schemas/terminal_reader_reader_resource_process_setup_config"
          },
          "setup_intent": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/setup_intent"
              }
            ],
            "description": "Most recent SetupIntent processed by the reader.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/setup_intent"
                }
              ]
            }
          }
        },
        "required": [
          "setup_intent"
        ],
        "title": "TerminalReaderReaderResourceProcessSetupIntentAction",
        "type": "object",
        "x-expandableFields": [
          "process_config",
          "setup_intent"
        ],
        "x-stripeMostCommon": [
          "setup_intent"
        ]
      },
      "terminal_reader_reader_resource_reader_action": {
        "description": "Represents an action performed by the reader",
        "properties": {
          "failure_code": {
            "description": "Failure code, only set if status is `failed`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "failure_message": {
            "description": "Detailed failure message, only set if status is `failed`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "process_payment_intent": {
            "$ref": "#/components/schemas/terminal_reader_reader_resource_process_payment_intent_action"
          },
          "process_setup_intent": {
            "$ref": "#/components/schemas/terminal_reader_reader_resource_process_setup_intent_action"
          },
          "refund_payment": {
            "$ref": "#/components/schemas/terminal_reader_reader_resource_refund_payment_action"
          },
          "set_reader_display": {
            "$ref": "#/components/schemas/terminal_reader_reader_resource_set_reader_display_action"
          },
          "status": {
            "description": "Status of the action performed by the reader.",
            "enum": [
              "failed",
              "in_progress",
              "succeeded"
            ],
            "type": "string"
          },
          "type": {
            "description": "Type of action performed by the reader.",
            "enum": [
              "process_payment_intent",
              "process_setup_intent",
              "refund_payment",
              "set_reader_display"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "failure_code",
          "failure_message",
          "status",
          "type"
        ],
        "title": "TerminalReaderReaderResourceReaderAction",
        "type": "object",
        "x-expandableFields": [
          "process_payment_intent",
          "process_setup_intent",
          "refund_payment",
          "set_reader_display"
        ],
        "x-stripeMostCommon": [
          "failure_code",
          "failure_message",
          "process_payment_intent",
          "process_setup_intent",
          "refund_payment",
          "set_reader_display",
          "status",
          "type"
        ]
      },
      "terminal_reader_reader_resource_refund_payment_action": {
        "description": "Represents a reader action to refund a payment",
        "properties": {
          "amount": {
            "description": "The amount being refunded.",
            "type": "integer"
          },
          "charge": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/charge"
              }
            ],
            "description": "Charge that is being refunded.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/charge"
                }
              ]
            }
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "payment_intent": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/payment_intent"
              }
            ],
            "description": "Payment intent that is being refunded.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/payment_intent"
                }
              ]
            }
          },
          "reason": {
            "description": "The reason for the refund.",
            "enum": [
              "duplicate",
              "fraudulent",
              "requested_by_customer"
            ],
            "type": "string"
          },
          "refund": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/refund"
              }
            ],
            "description": "Unique identifier for the refund object.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/refund"
                }
              ]
            }
          },
          "refund_application_fee": {
            "description": "Boolean indicating whether the application fee should be refunded when refunding this charge. If a full charge refund is given, the full application fee will be refunded. Otherwise, the application fee will be refunded in an amount proportional to the amount of the charge refunded. An application fee can be refunded only by the application that created the charge.",
            "type": "boolean"
          },
          "refund_payment_config": {
            "$ref": "#/components/schemas/terminal_reader_reader_resource_refund_payment_config"
          },
          "reverse_transfer": {
            "description": "Boolean indicating whether the transfer should be reversed when refunding this charge. The transfer will be reversed proportionally to the amount being refunded (either the entire or partial amount). A transfer can be reversed only by the application that created the charge.",
            "type": "boolean"
          }
        },
        "title": "TerminalReaderReaderResourceRefundPaymentAction",
        "type": "object",
        "x-expandableFields": [
          "charge",
          "payment_intent",
          "refund",
          "refund_payment_config"
        ],
        "x-stripeMostCommon": [
          "amount",
          "charge",
          "metadata",
          "payment_intent",
          "reason",
          "refund",
          "refund_application_fee",
          "refund_payment_config",
          "reverse_transfer"
        ]
      },
      "terminal_reader_reader_resource_refund_payment_config": {
        "description": "Represents a per-transaction override of a reader configuration",
        "properties": {
          "enable_customer_cancellation": {
            "description": "Enable customer initiated cancellation when refunding this payment.",
            "type": "boolean"
          }
        },
        "title": "TerminalReaderReaderResourceRefundPaymentConfig",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "enable_customer_cancellation"
        ]
      },
      "terminal_reader_reader_resource_set_reader_display_action": {
        "description": "Represents a reader action to set the reader display",
        "properties": {
          "cart": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/terminal_reader_reader_resource_cart"
              }
            ],
            "description": "Cart object to be displayed by the reader.",
            "nullable": true
          },
          "type": {
            "description": "Type of information to be displayed by the reader.",
            "enum": [
              "cart"
            ],
            "type": "string"
          }
        },
        "required": [
          "cart",
          "type"
        ],
        "title": "TerminalReaderReaderResourceSetReaderDisplayAction",
        "type": "object",
        "x-expandableFields": [
          "cart"
        ],
        "x-stripeMostCommon": [
          "cart",
          "type"
        ]
      },
      "terminal_reader_reader_resource_tipping_config": {
        "description": "Represents a per-transaction tipping configuration",
        "properties": {
          "amount_eligible": {
            "description": "Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency).",
            "type": "integer"
          }
        },
        "title": "TerminalReaderReaderResourceTippingConfig",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "amount_eligible"
        ]
      },
      "test_helpers.test_clock": {
        "description": "A test clock enables deterministic control over objects in testmode. With a test clock, you can create\nobjects at a frozen time in the past or future, and advance to a specific future time to observe webhooks and state changes. After the clock advances,\nyou can either validate the current state of your scenario (and test your assumptions), change the current state of your scenario (and test more complex scenarios), or keep advancing forward in time.",
        "properties": {
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "deletes_after": {
            "description": "Time at which this clock is scheduled to auto delete.",
            "format": "unix-time",
            "type": "integer"
          },
          "frozen_time": {
            "description": "Time at which all objects belonging to this clock are frozen.",
            "format": "unix-time",
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "name": {
            "description": "The custom name supplied at creation.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "test_helpers.test_clock"
            ],
            "type": "string"
          },
          "status": {
            "description": "The status of the Test Clock.",
            "enum": [
              "advancing",
              "internal_failure",
              "ready"
            ],
            "type": "string"
          },
          "status_details": {
            "$ref": "#/components/schemas/billing_clocks_resource_status_details_status_details"
          }
        },
        "required": [
          "created",
          "deletes_after",
          "frozen_time",
          "id",
          "livemode",
          "name",
          "object",
          "status",
          "status_details"
        ],
        "title": "TestClock",
        "type": "object",
        "x-expandableFields": [
          "status_details"
        ],
        "x-resourceId": "test_helpers.test_clock",
        "x-stripeMostCommon": [
          "created",
          "deletes_after",
          "frozen_time",
          "id",
          "livemode",
          "name",
          "object",
          "status",
          "status_details"
        ],
        "x-stripeOperations": [
          {
            "method_name": "delete",
            "method_on": "service",
            "method_type": "delete",
            "operation": "delete",
            "path": "/v1/test_helpers/test_clocks/{test_clock}"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/test_helpers/test_clocks"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/test_helpers/test_clocks/{test_clock}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/test_helpers/test_clocks"
          },
          {
            "method_name": "advance",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/test_clocks/{test_clock}/advance"
          }
        ],
        "x-stripeResource": {
          "class_name": "TestClock",
          "has_collection_class": true,
          "in_package": "TestHelpers"
        }
      },
      "test_helpers.test_clock.advancing": {
        "description": "Occurs whenever a test clock starts advancing.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/test_helpers.test_clock"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "test_helpers.test_clock.advancing"
        }
      },
      "test_helpers.test_clock.created": {
        "description": "Occurs whenever a test clock is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/test_helpers.test_clock"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "test_helpers.test_clock.created"
        }
      },
      "test_helpers.test_clock.deleted": {
        "description": "Occurs whenever a test clock is deleted.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/test_helpers.test_clock"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "test_helpers.test_clock.deleted"
        }
      },
      "test_helpers.test_clock.internal_failure": {
        "description": "Occurs whenever a test clock fails to advance its frozen time.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/test_helpers.test_clock"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "test_helpers.test_clock.internal_failure"
        }
      },
      "test_helpers.test_clock.ready": {
        "description": "Occurs whenever a test clock transitions to a ready status.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/test_helpers.test_clock"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "test_helpers.test_clock.ready"
        }
      },
      "three_d_secure_details": {
        "description": "",
        "properties": {
          "authentication_flow": {
            "description": "For authenticated transactions: how the customer was authenticated by\nthe issuing bank.",
            "enum": [
              "challenge",
              "frictionless"
            ],
            "nullable": true,
            "type": "string"
          },
          "electronic_commerce_indicator": {
            "description": "The Electronic Commerce Indicator (ECI). A protocol-level field\nindicating what degree of authentication was performed.",
            "enum": [
              "01",
              "02",
              "05",
              "06",
              "07"
            ],
            "nullable": true,
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "result": {
            "description": "Indicates the outcome of 3D Secure authentication.",
            "enum": [
              "attempt_acknowledged",
              "authenticated",
              "exempted",
              "failed",
              "not_supported",
              "processing_error"
            ],
            "nullable": true,
            "type": "string"
          },
          "result_reason": {
            "description": "Additional information about why 3D Secure succeeded or failed based\non the `result`.",
            "enum": [
              "abandoned",
              "bypassed",
              "canceled",
              "card_not_enrolled",
              "network_not_supported",
              "protocol_error",
              "rejected"
            ],
            "nullable": true,
            "type": "string"
          },
          "transaction_id": {
            "description": "The 3D Secure 1 XID or 3D Secure 2 Directory Server Transaction ID\n(dsTransId) for this payment.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "version": {
            "description": "The version of 3D Secure that was used.",
            "enum": [
              "1.0.2",
              "2.1.0",
              "2.2.0"
            ],
            "nullable": true,
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "authentication_flow",
          "electronic_commerce_indicator",
          "result",
          "result_reason",
          "transaction_id",
          "version"
        ],
        "title": "three_d_secure_details",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "authentication_flow",
          "electronic_commerce_indicator",
          "result",
          "result_reason",
          "transaction_id",
          "version"
        ]
      },
      "three_d_secure_details_charge": {
        "description": "",
        "properties": {
          "authentication_flow": {
            "description": "For authenticated transactions: how the customer was authenticated by\nthe issuing bank.",
            "enum": [
              "challenge",
              "frictionless"
            ],
            "nullable": true,
            "type": "string"
          },
          "electronic_commerce_indicator": {
            "description": "The Electronic Commerce Indicator (ECI). A protocol-level field\nindicating what degree of authentication was performed.",
            "enum": [
              "01",
              "02",
              "05",
              "06",
              "07"
            ],
            "nullable": true,
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "exemption_indicator": {
            "description": "The exemption requested via 3DS and accepted by the issuer at authentication time.",
            "enum": [
              "low_risk",
              "none"
            ],
            "nullable": true,
            "type": "string"
          },
          "exemption_indicator_applied": {
            "description": "Whether Stripe requested the value of `exemption_indicator` in the transaction. This will depend on\nthe outcome of Stripe's internal risk assessment.",
            "type": "boolean"
          },
          "result": {
            "description": "Indicates the outcome of 3D Secure authentication.",
            "enum": [
              "attempt_acknowledged",
              "authenticated",
              "exempted",
              "failed",
              "not_supported",
              "processing_error"
            ],
            "nullable": true,
            "type": "string"
          },
          "result_reason": {
            "description": "Additional information about why 3D Secure succeeded or failed based\non the `result`.",
            "enum": [
              "abandoned",
              "bypassed",
              "canceled",
              "card_not_enrolled",
              "network_not_supported",
              "protocol_error",
              "rejected"
            ],
            "nullable": true,
            "type": "string"
          },
          "transaction_id": {
            "description": "The 3D Secure 1 XID or 3D Secure 2 Directory Server Transaction ID\n(dsTransId) for this payment.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "version": {
            "description": "The version of 3D Secure that was used.",
            "enum": [
              "1.0.2",
              "2.1.0",
              "2.2.0"
            ],
            "nullable": true,
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "authentication_flow",
          "electronic_commerce_indicator",
          "exemption_indicator",
          "result",
          "result_reason",
          "transaction_id",
          "version"
        ],
        "title": "three_d_secure_details_charge",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "authentication_flow",
          "electronic_commerce_indicator",
          "exemption_indicator",
          "exemption_indicator_applied",
          "result",
          "result_reason",
          "transaction_id",
          "version"
        ]
      },
      "three_d_secure_usage": {
        "description": "",
        "properties": {
          "supported": {
            "description": "Whether 3D Secure is supported on this card.",
            "type": "boolean"
          }
        },
        "required": [
          "supported"
        ],
        "title": "three_d_secure_usage",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "supported"
        ]
      },
      "thresholds_resource_usage_alert_filter": {
        "description": "",
        "properties": {
          "customer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/customer"
              }
            ],
            "description": "Limit the scope of the alert to this customer ID",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/customer"
                }
              ]
            }
          },
          "type": {
            "enum": [
              "customer"
            ],
            "type": "string"
          }
        },
        "required": [
          "customer",
          "type"
        ],
        "title": "ThresholdsResourceUsageAlertFilter",
        "type": "object",
        "x-expandableFields": [
          "customer"
        ],
        "x-stripeMostCommon": [
          "customer",
          "type"
        ]
      },
      "thresholds_resource_usage_threshold_config": {
        "description": "The usage threshold alert configuration enables setting up alerts for when a certain usage threshold on a specific meter is crossed.",
        "properties": {
          "filters": {
            "description": "The filters allow limiting the scope of this usage alert. You can only specify up to one filter at this time.",
            "items": {
              "$ref": "#/components/schemas/thresholds_resource_usage_alert_filter"
            },
            "nullable": true,
            "type": "array"
          },
          "gte": {
            "description": "The value at which this alert will trigger.",
            "type": "integer"
          },
          "meter": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/billing.meter"
              }
            ],
            "description": "The [Billing Meter](/api/billing/meter) ID whose usage is monitored.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/billing.meter"
                }
              ]
            }
          },
          "recurrence": {
            "description": "Defines how the alert will behave.",
            "enum": [
              "one_time"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "filters",
          "gte",
          "meter",
          "recurrence"
        ],
        "title": "ThresholdsResourceUsageThresholdConfig",
        "type": "object",
        "x-expandableFields": [
          "filters",
          "meter"
        ],
        "x-stripeMostCommon": [
          "filters",
          "gte",
          "meter",
          "recurrence"
        ]
      },
      "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 [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.",
        "properties": {
          "bank_account": {
            "$ref": "#/components/schemas/bank_account"
          },
          "card": {
            "$ref": "#/components/schemas/card"
          },
          "client_ip": {
            "description": "IP address of the client that generates the token.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "token"
            ],
            "type": "string"
          },
          "type": {
            "description": "Type of the token: `account`, `bank_account`, `card`, or `pii`.",
            "maxLength": 5000,
            "type": "string"
          },
          "used": {
            "description": "Determines if you have already used this token (you can only use tokens once).",
            "type": "boolean"
          }
        },
        "required": [
          "client_ip",
          "created",
          "id",
          "livemode",
          "object",
          "type",
          "used"
        ],
        "title": "Token",
        "type": "object",
        "x-expandableFields": [
          "bank_account",
          "card"
        ],
        "x-resourceId": "token",
        "x-stripeMostCommon": [
          "card",
          "id"
        ],
        "x-stripeOperations": [
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/tokens/{token}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/tokens"
          }
        ],
        "x-stripeResource": {
          "class_name": "Token",
          "in_package": ""
        }
      },
      "token_card_networks": {
        "description": "",
        "properties": {
          "preferred": {
            "description": "The preferred network for co-branded cards. Can be `cartes_bancaires`, `mastercard`, `visa` or `invalid_preference` if requested network is not valid for the card.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "preferred"
        ],
        "title": "token_card_networks",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "preferred"
        ]
      },
      "topup": {
        "description": "To top up your Stripe balance, you create a top-up object. You can retrieve\nindividual top-ups, as well as list all top-ups. Top-ups are identified by a\nunique, random ID.\n\nRelated guide: [Topping up your platform account](https://stripe.com/docs/connect/top-ups)",
        "properties": {
          "amount": {
            "description": "Amount transferred.",
            "type": "integer"
          },
          "balance_transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/balance_transaction"
              }
            ],
            "description": "ID of the balance transaction that describes the impact of this top-up on your account balance. May not be specified depending on status of top-up.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/balance_transaction"
                }
              ]
            }
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "maxLength": 5000,
            "type": "string"
          },
          "description": {
            "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "expected_availability_date": {
            "description": "Date the funds are expected to arrive in your Stripe account for payouts. This factors in delays like weekends or bank holidays. May not be specified depending on status of top-up.",
            "nullable": true,
            "type": "integer"
          },
          "failure_code": {
            "description": "Error code explaining reason for top-up failure if available (see [the errors section](https://stripe.com/docs/api#errors) for a list of codes).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "failure_message": {
            "description": "Message to user further explaining reason for top-up failure if available.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "topup"
            ],
            "type": "string"
          },
          "source": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/source"
              }
            ],
            "description": "The source field is deprecated. It might not always be present in the API response.",
            "nullable": true
          },
          "statement_descriptor": {
            "description": "Extra information about a top-up. This will appear on your source's bank statement. It must contain at least one letter.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "status": {
            "description": "The status of the top-up is either `canceled`, `failed`, `pending`, `reversed`, or `succeeded`.",
            "enum": [
              "canceled",
              "failed",
              "pending",
              "reversed",
              "succeeded"
            ],
            "type": "string"
          },
          "transfer_group": {
            "description": "A string that identifies this top-up as part of a group.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "amount",
          "balance_transaction",
          "created",
          "currency",
          "description",
          "expected_availability_date",
          "failure_code",
          "failure_message",
          "id",
          "livemode",
          "metadata",
          "object",
          "source",
          "statement_descriptor",
          "status",
          "transfer_group"
        ],
        "title": "Topup",
        "type": "object",
        "x-expandableFields": [
          "balance_transaction",
          "source"
        ],
        "x-resourceId": "topup",
        "x-stripeMostCommon": [
          "amount",
          "currency",
          "description",
          "id",
          "metadata",
          "status"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/topups"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/topups/{topup}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/topups"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/topups/{topup}"
          },
          {
            "method_name": "cancel",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/topups/{topup}/cancel"
          }
        ],
        "x-stripeResource": {
          "class_name": "Topup",
          "has_collection_class": true,
          "in_package": "",
          "polymorphic_groups": [
            "balance_transaction_source"
          ]
        }
      },
      "topup.canceled": {
        "description": "Occurs whenever a top-up is canceled.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/topup"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "topup.canceled"
        }
      },
      "topup.created": {
        "description": "Occurs whenever a top-up is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/topup"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "topup.created"
        }
      },
      "topup.failed": {
        "description": "Occurs whenever a top-up fails.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/topup"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "topup.failed"
        }
      },
      "topup.reversed": {
        "description": "Occurs whenever a top-up is reversed.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/topup"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "topup.reversed"
        }
      },
      "topup.succeeded": {
        "description": "Occurs whenever a top-up succeeds.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/topup"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "topup.succeeded"
        }
      },
      "transfer": {
        "description": "A `Transfer` object is created when you move funds between Stripe accounts as\npart of Connect.\n\nBefore April 6, 2017, transfers also represented movement of funds from a\nStripe account to a card or bank account. This behavior has since been split\nout into a [Payout](https://stripe.com/docs/api#payout_object) object, with corresponding payout endpoints. For more\ninformation, read about the\n[transfer/payout split](https://stripe.com/docs/transfer-payout-split).\n\nRelated guide: [Creating separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers)",
        "properties": {
          "amount": {
            "description": "Amount in cents (or local equivalent) to be transferred.",
            "type": "integer"
          },
          "amount_reversed": {
            "description": "Amount in cents (or local equivalent) reversed (can be less than the amount attribute on the transfer if a partial reversal was issued).",
            "type": "integer"
          },
          "balance_transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/balance_transaction"
              }
            ],
            "description": "Balance transaction that describes the impact of this transfer on your account balance.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/balance_transaction"
                }
              ]
            }
          },
          "created": {
            "description": "Time that this record of the transfer was first created.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "description": {
            "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "destination": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/account"
              }
            ],
            "description": "ID of the Stripe account the transfer was sent to.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/account"
                }
              ]
            }
          },
          "destination_payment": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/charge"
              }
            ],
            "description": "If the destination is a Stripe account, this will be the ID of the payment that the destination account received for the transfer.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/charge"
                }
              ]
            }
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "transfer"
            ],
            "type": "string"
          },
          "reversals": {
            "description": "A list of reversals that have been applied to the transfer.",
            "properties": {
              "data": {
                "description": "Details about each object.",
                "items": {
                  "$ref": "#/components/schemas/transfer_reversal"
                },
                "type": "array"
              },
              "has_more": {
                "description": "True if this list has another page of items after this one that can be fetched.",
                "type": "boolean"
              },
              "object": {
                "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                "enum": [
                  "list"
                ],
                "type": "string"
              },
              "url": {
                "description": "The URL where this list can be accessed.",
                "maxLength": 5000,
                "type": "string"
              }
            },
            "required": [
              "data",
              "has_more",
              "object",
              "url"
            ],
            "title": "TransferReversalList",
            "type": "object",
            "x-expandableFields": [
              "data"
            ],
            "x-stripeMostCommon": [
              "data",
              "has_more",
              "object",
              "url"
            ]
          },
          "reversed": {
            "description": "Whether the transfer has been fully reversed. If the transfer is only partially reversed, this attribute will still be false.",
            "type": "boolean"
          },
          "source_transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/charge"
              }
            ],
            "description": "ID of the charge that was used to fund the transfer. If null, the transfer was funded from the available balance.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/charge"
                }
              ]
            }
          },
          "source_type": {
            "description": "The source balance this transfer came from. One of `card`, `fpx`, or `bank_account`.",
            "maxLength": 5000,
            "type": "string"
          },
          "transfer_group": {
            "description": "A string that identifies this transaction as part of a group. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options) for details.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "amount",
          "amount_reversed",
          "balance_transaction",
          "created",
          "currency",
          "description",
          "destination",
          "id",
          "livemode",
          "metadata",
          "object",
          "reversals",
          "reversed",
          "source_transaction",
          "transfer_group"
        ],
        "title": "Transfer",
        "type": "object",
        "x-expandableFields": [
          "balance_transaction",
          "destination",
          "destination_payment",
          "reversals",
          "source_transaction"
        ],
        "x-resourceId": "transfer",
        "x-stripeMostCommon": [
          "amount",
          "currency",
          "description",
          "destination",
          "id",
          "metadata"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/transfers"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/transfers/{transfer}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/transfers"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/transfers/{transfer}"
          }
        ],
        "x-stripeResource": {
          "class_name": "Transfer",
          "has_collection_class": true,
          "in_package": "",
          "polymorphic_groups": [
            "balance_transaction_source"
          ]
        }
      },
      "transfer.created": {
        "description": "Occurs whenever a transfer is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/transfer"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "transfer.created"
        }
      },
      "transfer.reversed": {
        "description": "Occurs whenever a transfer is reversed, including partial reversals.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/transfer"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "transfer.reversed"
        }
      },
      "transfer.updated": {
        "description": "Occurs whenever a transfer's description or metadata is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/transfer"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "transfer.updated"
        }
      },
      "transfer_data": {
        "description": "",
        "properties": {
          "amount": {
            "description": "Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).",
            "type": "integer"
          },
          "destination": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/account"
              }
            ],
            "description": "The account (if any) that the payment is attributed to for tax\nreporting, and where funds from the payment are transferred to after\npayment success.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/account"
                }
              ]
            }
          }
        },
        "required": [
          "destination"
        ],
        "title": "transfer_data",
        "type": "object",
        "x-expandableFields": [
          "destination"
        ],
        "x-stripeMostCommon": [
          "amount",
          "destination"
        ]
      },
      "transfer_reversal": {
        "description": "[Stripe Connect](https://stripe.com/docs/connect) platforms can reverse transfers made to a\nconnected account, either entirely or partially, and can also specify whether\nto refund any related application fees. Transfer reversals add to the\nplatform's balance and subtract from the destination account's balance.\n\nReversing a transfer that was made for a [destination\ncharge](/docs/connect/destination-charges) is allowed only up to the amount of\nthe charge. It is possible to reverse a\n[transfer_group](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options)\ntransfer only if the destination account has enough balance to cover the\nreversal.\n\nRelated guide: [Reverse transfers](https://stripe.com/docs/connect/separate-charges-and-transfers#reverse-transfers)",
        "properties": {
          "amount": {
            "description": "Amount, in cents (or local equivalent).",
            "type": "integer"
          },
          "balance_transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/balance_transaction"
              }
            ],
            "description": "Balance transaction that describes the impact on your account balance.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/balance_transaction"
                }
              ]
            }
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "destination_payment_refund": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/refund"
              }
            ],
            "description": "Linked payment refund for the transfer reversal.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/refund"
                }
              ]
            }
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "nullable": true,
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "transfer_reversal"
            ],
            "type": "string"
          },
          "source_refund": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/refund"
              }
            ],
            "description": "ID of the refund responsible for the transfer reversal.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/refund"
                }
              ]
            }
          },
          "transfer": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/transfer"
              }
            ],
            "description": "ID of the transfer that was reversed.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/transfer"
                }
              ]
            }
          }
        },
        "required": [
          "amount",
          "balance_transaction",
          "created",
          "currency",
          "destination_payment_refund",
          "id",
          "metadata",
          "object",
          "source_refund",
          "transfer"
        ],
        "title": "TransferReversal",
        "type": "object",
        "x-expandableFields": [
          "balance_transaction",
          "destination_payment_refund",
          "source_refund",
          "transfer"
        ],
        "x-resourceId": "transfer_reversal",
        "x-stripeMostCommon": [
          "amount",
          "currency",
          "id",
          "metadata",
          "transfer"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "collection",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/transfers/{id}/reversals"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/transfers/{id}/reversals"
          },
          {
            "method_name": "retrieve",
            "method_on": "collection",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/transfers/{transfer}/reversals/{id}"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/transfers/{transfer}/reversals/{id}"
          },
          {
            "method_name": "create",
            "method_on": "collection",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/transfers/{id}/reversals"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/transfers/{id}/reversals"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/transfers/{transfer}/reversals/{id}"
          }
        ],
        "x-stripeResource": {
          "class_name": "TransferReversal",
          "has_collection_class": true,
          "in_package": "",
          "polymorphic_groups": [
            "balance_transaction_source"
          ]
        }
      },
      "transfer_schedule": {
        "description": "",
        "properties": {
          "delay_days": {
            "description": "The number of days charges for the account will be held before being paid out.",
            "type": "integer"
          },
          "interval": {
            "description": "How frequently funds will be paid out. One of `manual` (payouts only created via API call), `daily`, `weekly`, or `monthly`.",
            "maxLength": 5000,
            "type": "string"
          },
          "monthly_anchor": {
            "description": "The day of the month funds will be paid out. Only shown if `interval` is monthly. Payouts scheduled between the 29th and 31st of the month are sent on the last day of shorter months.",
            "type": "integer"
          },
          "weekly_anchor": {
            "description": "The day of the week funds will be paid out, of the style 'monday', 'tuesday', etc. Only shown if `interval` is weekly.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "delay_days",
          "interval"
        ],
        "title": "TransferSchedule",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "delay_days",
          "interval",
          "monthly_anchor",
          "weekly_anchor"
        ]
      },
      "transform_quantity": {
        "description": "",
        "properties": {
          "divide_by": {
            "description": "Divide usage by this number.",
            "type": "integer"
          },
          "round": {
            "description": "After division, either round the result `up` or `down`.",
            "enum": [
              "down",
              "up"
            ],
            "type": "string"
          }
        },
        "required": [
          "divide_by",
          "round"
        ],
        "title": "TransformQuantity",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "divide_by",
          "round"
        ]
      },
      "transform_usage": {
        "description": "",
        "properties": {
          "divide_by": {
            "description": "Divide usage by this number.",
            "type": "integer"
          },
          "round": {
            "description": "After division, either round the result `up` or `down`.",
            "enum": [
              "down",
              "up"
            ],
            "type": "string"
          }
        },
        "required": [
          "divide_by",
          "round"
        ],
        "title": "TransformUsage",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "divide_by",
          "round"
        ]
      },
      "treasury.credit_reversal": {
        "description": "You can reverse some [ReceivedCredits](https://stripe.com/docs/api#received_credits) depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal.",
        "properties": {
          "amount": {
            "description": "Amount (in cents) transferred.",
            "type": "integer"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "financial_account": {
            "description": "The FinancialAccount to reverse funds from.",
            "maxLength": 5000,
            "type": "string"
          },
          "hosted_regulatory_receipt_url": {
            "description": "A [hosted transaction receipt](https://stripe.com/docs/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "network": {
            "description": "The rails used to reverse the funds.",
            "enum": [
              "ach",
              "stripe"
            ],
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "treasury.credit_reversal"
            ],
            "type": "string"
          },
          "received_credit": {
            "description": "The ReceivedCredit being reversed.",
            "maxLength": 5000,
            "type": "string"
          },
          "status": {
            "description": "Status of the CreditReversal",
            "enum": [
              "canceled",
              "posted",
              "processing"
            ],
            "type": "string"
          },
          "status_transitions": {
            "$ref": "#/components/schemas/treasury_received_credits_resource_status_transitions"
          },
          "transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/treasury.transaction"
              }
            ],
            "description": "The Transaction associated with this object.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/treasury.transaction"
                }
              ]
            }
          }
        },
        "required": [
          "amount",
          "created",
          "currency",
          "financial_account",
          "hosted_regulatory_receipt_url",
          "id",
          "livemode",
          "metadata",
          "network",
          "object",
          "received_credit",
          "status",
          "status_transitions",
          "transaction"
        ],
        "title": "TreasuryReceivedCreditsResourceCreditReversal",
        "type": "object",
        "x-expandableFields": [
          "status_transitions",
          "transaction"
        ],
        "x-resourceId": "treasury.credit_reversal",
        "x-stripeMostCommon": [
          "amount",
          "created",
          "currency",
          "financial_account",
          "hosted_regulatory_receipt_url",
          "id",
          "livemode",
          "metadata",
          "network",
          "object",
          "received_credit",
          "status",
          "status_transitions",
          "transaction"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/treasury/credit_reversals"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/treasury/credit_reversals/{credit_reversal}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/treasury/credit_reversals"
          }
        ],
        "x-stripeResource": {
          "class_name": "CreditReversal",
          "has_collection_class": true,
          "in_package": "Treasury"
        }
      },
      "treasury.credit_reversal.created": {
        "description": "Occurs whenever an CreditReversal is submitted and created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.credit_reversal"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.credit_reversal.created"
        }
      },
      "treasury.credit_reversal.posted": {
        "description": "Occurs whenever an CreditReversal post is posted.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.credit_reversal"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.credit_reversal.posted"
        }
      },
      "treasury.debit_reversal": {
        "description": "You can reverse some [ReceivedDebits](https://stripe.com/docs/api#received_debits) depending on their network and source flow. Reversing a ReceivedDebit leads to the creation of a new object known as a DebitReversal.",
        "properties": {
          "amount": {
            "description": "Amount (in cents) transferred.",
            "type": "integer"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "financial_account": {
            "description": "The FinancialAccount to reverse funds from.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "hosted_regulatory_receipt_url": {
            "description": "A [hosted transaction receipt](https://stripe.com/docs/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "linked_flows": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/treasury_received_debits_resource_debit_reversal_linked_flows"
              }
            ],
            "description": "Other flows linked to a DebitReversal.",
            "nullable": true
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "network": {
            "description": "The rails used to reverse the funds.",
            "enum": [
              "ach",
              "card"
            ],
            "type": "string"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "treasury.debit_reversal"
            ],
            "type": "string"
          },
          "received_debit": {
            "description": "The ReceivedDebit being reversed.",
            "maxLength": 5000,
            "type": "string"
          },
          "status": {
            "description": "Status of the DebitReversal",
            "enum": [
              "failed",
              "processing",
              "succeeded"
            ],
            "type": "string"
          },
          "status_transitions": {
            "$ref": "#/components/schemas/treasury_received_debits_resource_status_transitions"
          },
          "transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/treasury.transaction"
              }
            ],
            "description": "The Transaction associated with this object.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/treasury.transaction"
                }
              ]
            }
          }
        },
        "required": [
          "amount",
          "created",
          "currency",
          "financial_account",
          "hosted_regulatory_receipt_url",
          "id",
          "linked_flows",
          "livemode",
          "metadata",
          "network",
          "object",
          "received_debit",
          "status",
          "status_transitions",
          "transaction"
        ],
        "title": "TreasuryReceivedDebitsResourceDebitReversal",
        "type": "object",
        "x-expandableFields": [
          "linked_flows",
          "status_transitions",
          "transaction"
        ],
        "x-resourceId": "treasury.debit_reversal",
        "x-stripeMostCommon": [
          "amount",
          "created",
          "currency",
          "financial_account",
          "hosted_regulatory_receipt_url",
          "id",
          "linked_flows",
          "livemode",
          "metadata",
          "network",
          "object",
          "received_debit",
          "status",
          "status_transitions",
          "transaction"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/treasury/debit_reversals"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/treasury/debit_reversals/{debit_reversal}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/treasury/debit_reversals"
          }
        ],
        "x-stripeResource": {
          "class_name": "DebitReversal",
          "has_collection_class": true,
          "in_package": "Treasury"
        }
      },
      "treasury.debit_reversal.completed": {
        "description": "Occurs whenever a DebitReversal is completed.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.debit_reversal"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.debit_reversal.completed"
        }
      },
      "treasury.debit_reversal.created": {
        "description": "Occurs whenever a DebitReversal is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.debit_reversal"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.debit_reversal.created"
        }
      },
      "treasury.debit_reversal.initial_credit_granted": {
        "description": "Occurs whenever an initial credit is granted on a DebitReversal.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.debit_reversal"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.debit_reversal.initial_credit_granted"
        }
      },
      "treasury.financial_account": {
        "description": "Stripe Treasury provides users with a container for money called a FinancialAccount that is separate from their Payments balance.\nFinancialAccounts serve as the source and destination of Treasury’s money movement APIs.",
        "properties": {
          "active_features": {
            "description": "The array of paths to active Features in the Features hash.",
            "items": {
              "enum": [
                "card_issuing",
                "deposit_insurance",
                "financial_addresses.aba",
                "financial_addresses.aba.forwarding",
                "inbound_transfers.ach",
                "intra_stripe_flows",
                "outbound_payments.ach",
                "outbound_payments.us_domestic_wire",
                "outbound_transfers.ach",
                "outbound_transfers.us_domestic_wire",
                "remote_deposit_capture"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "type": "array"
          },
          "balance": {
            "$ref": "#/components/schemas/treasury_financial_accounts_resource_balance"
          },
          "country": {
            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
            "maxLength": 5000,
            "type": "string"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "features": {
            "$ref": "#/components/schemas/treasury.financial_account_features"
          },
          "financial_addresses": {
            "description": "The set of credentials that resolve to a FinancialAccount.",
            "items": {
              "$ref": "#/components/schemas/treasury_financial_accounts_resource_financial_address"
            },
            "type": "array"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "nullable": true,
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "treasury.financial_account"
            ],
            "type": "string"
          },
          "pending_features": {
            "description": "The array of paths to pending Features in the Features hash.",
            "items": {
              "enum": [
                "card_issuing",
                "deposit_insurance",
                "financial_addresses.aba",
                "financial_addresses.aba.forwarding",
                "inbound_transfers.ach",
                "intra_stripe_flows",
                "outbound_payments.ach",
                "outbound_payments.us_domestic_wire",
                "outbound_transfers.ach",
                "outbound_transfers.us_domestic_wire",
                "remote_deposit_capture"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "type": "array"
          },
          "platform_restrictions": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/treasury_financial_accounts_resource_platform_restrictions"
              }
            ],
            "description": "The set of functionalities that the platform can restrict on the FinancialAccount.",
            "nullable": true
          },
          "restricted_features": {
            "description": "The array of paths to restricted Features in the Features hash.",
            "items": {
              "enum": [
                "card_issuing",
                "deposit_insurance",
                "financial_addresses.aba",
                "financial_addresses.aba.forwarding",
                "inbound_transfers.ach",
                "intra_stripe_flows",
                "outbound_payments.ach",
                "outbound_payments.us_domestic_wire",
                "outbound_transfers.ach",
                "outbound_transfers.us_domestic_wire",
                "remote_deposit_capture"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "type": "array"
          },
          "status": {
            "description": "Status of this FinancialAccount.",
            "enum": [
              "closed",
              "open"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "status_details": {
            "$ref": "#/components/schemas/treasury_financial_accounts_resource_status_details"
          },
          "supported_currencies": {
            "description": "The currencies the FinancialAccount can hold a balance in. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase.",
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "balance",
          "country",
          "created",
          "financial_addresses",
          "id",
          "livemode",
          "metadata",
          "object",
          "status",
          "status_details",
          "supported_currencies"
        ],
        "title": "TreasuryFinancialAccountsResourceFinancialAccount",
        "type": "object",
        "x-expandableFields": [
          "balance",
          "features",
          "financial_addresses",
          "platform_restrictions",
          "status_details"
        ],
        "x-resourceId": "treasury.financial_account",
        "x-stripeMostCommon": [
          "active_features",
          "balance",
          "country",
          "created",
          "features",
          "financial_addresses",
          "id",
          "livemode",
          "metadata",
          "object",
          "pending_features",
          "platform_restrictions",
          "restricted_features",
          "status",
          "status_details",
          "supported_currencies"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/treasury/financial_accounts"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/treasury/financial_accounts/{financial_account}"
          },
          {
            "method_name": "retrieve_features",
            "method_on": "service",
            "method_type": "custom",
            "operation": "get",
            "path": "/v1/treasury/financial_accounts/{financial_account}/features"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/treasury/financial_accounts"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/treasury/financial_accounts/{financial_account}"
          },
          {
            "method_name": "update_features",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/treasury/financial_accounts/{financial_account}/features"
          }
        ],
        "x-stripeResource": {
          "class_name": "FinancialAccount",
          "has_collection_class": true,
          "in_package": "Treasury"
        }
      },
      "treasury.financial_account.closed": {
        "description": "Occurs whenever the status of the FinancialAccount becomes closed.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.financial_account"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.financial_account.closed"
        }
      },
      "treasury.financial_account.created": {
        "description": "Occurs whenever a new FinancialAccount is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.financial_account"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.financial_account.created"
        }
      },
      "treasury.financial_account.features_status_updated": {
        "description": "Occurs whenever the statuses of any features within an existing FinancialAccount are updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.financial_account"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.financial_account.features_status_updated"
        }
      },
      "treasury.financial_account_features": {
        "description": "Encodes whether a FinancialAccount has access to a particular Feature, with a `status` enum and associated `status_details`.\nStripe or the platform can control Features via the requested field.",
        "properties": {
          "card_issuing": {
            "$ref": "#/components/schemas/treasury_financial_accounts_resource_toggle_settings"
          },
          "deposit_insurance": {
            "$ref": "#/components/schemas/treasury_financial_accounts_resource_toggle_settings"
          },
          "financial_addresses": {
            "$ref": "#/components/schemas/treasury_financial_accounts_resource_financial_addresses_features"
          },
          "inbound_transfers": {
            "$ref": "#/components/schemas/treasury_financial_accounts_resource_inbound_transfers"
          },
          "intra_stripe_flows": {
            "$ref": "#/components/schemas/treasury_financial_accounts_resource_toggle_settings"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "treasury.financial_account_features"
            ],
            "type": "string"
          },
          "outbound_payments": {
            "$ref": "#/components/schemas/treasury_financial_accounts_resource_outbound_payments"
          },
          "outbound_transfers": {
            "$ref": "#/components/schemas/treasury_financial_accounts_resource_outbound_transfers"
          }
        },
        "required": [
          "object"
        ],
        "title": "TreasuryFinancialAccountsResourceFinancialAccountFeatures",
        "type": "object",
        "x-expandableFields": [
          "card_issuing",
          "deposit_insurance",
          "financial_addresses",
          "inbound_transfers",
          "intra_stripe_flows",
          "outbound_payments",
          "outbound_transfers"
        ],
        "x-resourceId": "treasury.financial_account_features",
        "x-stripeMostCommon": [
          "card_issuing",
          "deposit_insurance",
          "financial_addresses",
          "inbound_transfers",
          "intra_stripe_flows",
          "object",
          "outbound_payments",
          "outbound_transfers"
        ],
        "x-stripeResource": {
          "class_name": "FinancialAccountFeatures",
          "in_package": "Treasury"
        }
      },
      "treasury.inbound_transfer": {
        "description": "Use [InboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) to add funds to your [FinancialAccount](https://stripe.com/docs/api#financial_accounts) via a PaymentMethod that is owned by you. The funds will be transferred via an ACH debit.\n\nRelated guide: [Moving money with Treasury using InboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers)",
        "properties": {
          "amount": {
            "description": "Amount (in cents) transferred.",
            "type": "integer"
          },
          "cancelable": {
            "description": "Returns `true` if the InboundTransfer is able to be canceled.",
            "type": "boolean"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "description": {
            "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "failure_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/treasury_inbound_transfers_resource_failure_details"
              }
            ],
            "description": "Details about this InboundTransfer's failure. Only set when status is `failed`.",
            "nullable": true
          },
          "financial_account": {
            "description": "The FinancialAccount that received the funds.",
            "maxLength": 5000,
            "type": "string"
          },
          "hosted_regulatory_receipt_url": {
            "description": "A [hosted transaction receipt](https://stripe.com/docs/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "linked_flows": {
            "$ref": "#/components/schemas/treasury_inbound_transfers_resource_inbound_transfer_resource_linked_flows"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "treasury.inbound_transfer"
            ],
            "type": "string"
          },
          "origin_payment_method": {
            "description": "The origin payment method to be debited for an InboundTransfer.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "origin_payment_method_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/inbound_transfers"
              }
            ],
            "description": "Details about the PaymentMethod for an InboundTransfer.",
            "nullable": true
          },
          "returned": {
            "description": "Returns `true` if the funds for an InboundTransfer were returned after the InboundTransfer went to the `succeeded` state.",
            "nullable": true,
            "type": "boolean"
          },
          "statement_descriptor": {
            "description": "Statement descriptor shown when funds are debited from the source. Not all payment networks support `statement_descriptor`.",
            "maxLength": 5000,
            "type": "string"
          },
          "status": {
            "description": "Status of the InboundTransfer: `processing`, `succeeded`, `failed`, and `canceled`. An InboundTransfer is `processing` if it is created and pending. The status changes to `succeeded` once the funds have been \"confirmed\" and a `transaction` is created and posted. The status changes to `failed` if the transfer fails.",
            "enum": [
              "canceled",
              "failed",
              "processing",
              "succeeded"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "status_transitions": {
            "$ref": "#/components/schemas/treasury_inbound_transfers_resource_inbound_transfer_resource_status_transitions"
          },
          "transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/treasury.transaction"
              }
            ],
            "description": "The Transaction associated with this object.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/treasury.transaction"
                }
              ]
            }
          }
        },
        "required": [
          "amount",
          "cancelable",
          "created",
          "currency",
          "description",
          "failure_details",
          "financial_account",
          "hosted_regulatory_receipt_url",
          "id",
          "linked_flows",
          "livemode",
          "metadata",
          "object",
          "origin_payment_method",
          "origin_payment_method_details",
          "returned",
          "statement_descriptor",
          "status",
          "status_transitions",
          "transaction"
        ],
        "title": "TreasuryInboundTransfersResourceInboundTransfer",
        "type": "object",
        "x-expandableFields": [
          "failure_details",
          "linked_flows",
          "origin_payment_method_details",
          "status_transitions",
          "transaction"
        ],
        "x-resourceId": "treasury.inbound_transfer",
        "x-stripeMostCommon": [
          "amount",
          "cancelable",
          "created",
          "currency",
          "description",
          "failure_details",
          "financial_account",
          "hosted_regulatory_receipt_url",
          "id",
          "linked_flows",
          "livemode",
          "metadata",
          "object",
          "origin_payment_method",
          "origin_payment_method_details",
          "returned",
          "statement_descriptor",
          "status",
          "status_transitions",
          "transaction"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/treasury/inbound_transfers"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/treasury/inbound_transfers/{id}"
          },
          {
            "method_name": "fail",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/treasury/inbound_transfers/{id}/fail"
          },
          {
            "method_name": "return_inbound_transfer",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/treasury/inbound_transfers/{id}/return"
          },
          {
            "method_name": "succeed",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/treasury/inbound_transfers/{id}/succeed"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/treasury/inbound_transfers"
          },
          {
            "method_name": "cancel",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/treasury/inbound_transfers/{inbound_transfer}/cancel"
          }
        ],
        "x-stripeResource": {
          "class_name": "InboundTransfer",
          "has_collection_class": true,
          "in_package": "Treasury"
        }
      },
      "treasury.inbound_transfer.canceled": {
        "description": "Occurs whenever an InboundTransfer is canceled.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.inbound_transfer"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.inbound_transfer.canceled"
        }
      },
      "treasury.inbound_transfer.created": {
        "description": "Occurs whenever an InboundTransfer is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.inbound_transfer"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.inbound_transfer.created"
        }
      },
      "treasury.inbound_transfer.failed": {
        "description": "Occurs whenever an InboundTransfer has failed.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.inbound_transfer"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.inbound_transfer.failed"
        }
      },
      "treasury.inbound_transfer.succeeded": {
        "description": "Occurs whenever an InboundTransfer has succeeded.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.inbound_transfer"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.inbound_transfer.succeeded"
        }
      },
      "treasury.outbound_payment": {
        "description": "Use [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://stripe.com/docs/api#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://stripe.com/docs/api#outbound_transfers).\n\nSimulate OutboundPayment state changes with the `/v1/test_helpers/treasury/outbound_payments` endpoints. These methods can only be called on test mode objects.\n\nRelated guide: [Moving money with Treasury using OutboundPayment objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments)",
        "properties": {
          "amount": {
            "description": "Amount (in cents) transferred.",
            "type": "integer"
          },
          "cancelable": {
            "description": "Returns `true` if the object can be canceled, and `false` otherwise.",
            "type": "boolean"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "customer": {
            "description": "ID of the [customer](https://stripe.com/docs/api/customers) to whom an OutboundPayment is sent.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "description": {
            "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "destination_payment_method": {
            "description": "The PaymentMethod via which an OutboundPayment is sent. This field can be empty if the OutboundPayment was created using `destination_payment_method_data`.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "destination_payment_method_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/outbound_payments_payment_method_details"
              }
            ],
            "description": "Details about the PaymentMethod for an OutboundPayment.",
            "nullable": true
          },
          "end_user_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/treasury_outbound_payments_resource_outbound_payment_resource_end_user_details"
              }
            ],
            "description": "Details about the end user.",
            "nullable": true
          },
          "expected_arrival_date": {
            "description": "The date when funds are expected to arrive in the destination account.",
            "format": "unix-time",
            "type": "integer"
          },
          "financial_account": {
            "description": "The FinancialAccount that funds were pulled from.",
            "maxLength": 5000,
            "type": "string"
          },
          "hosted_regulatory_receipt_url": {
            "description": "A [hosted transaction receipt](https://stripe.com/docs/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "treasury.outbound_payment"
            ],
            "type": "string"
          },
          "returned_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/treasury_outbound_payments_resource_returned_status"
              }
            ],
            "description": "Details about a returned OutboundPayment. Only set when the status is `returned`.",
            "nullable": true
          },
          "statement_descriptor": {
            "description": "The description that appears on the receiving end for an OutboundPayment (for example, bank statement for external bank transfer).",
            "maxLength": 5000,
            "type": "string"
          },
          "status": {
            "description": "Current status of the OutboundPayment: `processing`, `failed`, `posted`, `returned`, `canceled`. An OutboundPayment is `processing` if it has been created and is pending. The status changes to `posted` once the OutboundPayment has been \"confirmed\" and funds have left the account, or to `failed` or `canceled`. If an OutboundPayment fails to arrive at its destination, its status will change to `returned`.",
            "enum": [
              "canceled",
              "failed",
              "posted",
              "processing",
              "returned"
            ],
            "type": "string"
          },
          "status_transitions": {
            "$ref": "#/components/schemas/treasury_outbound_payments_resource_outbound_payment_resource_status_transitions"
          },
          "tracking_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/treasury_outbound_payments_resource_outbound_payment_resource_tracking_details"
              }
            ],
            "description": "Details about network-specific tracking information if available.",
            "nullable": true
          },
          "transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/treasury.transaction"
              }
            ],
            "description": "The Transaction associated with this object.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/treasury.transaction"
                }
              ]
            }
          }
        },
        "required": [
          "amount",
          "cancelable",
          "created",
          "currency",
          "customer",
          "description",
          "destination_payment_method",
          "destination_payment_method_details",
          "end_user_details",
          "expected_arrival_date",
          "financial_account",
          "hosted_regulatory_receipt_url",
          "id",
          "livemode",
          "metadata",
          "object",
          "returned_details",
          "statement_descriptor",
          "status",
          "status_transitions",
          "tracking_details",
          "transaction"
        ],
        "title": "TreasuryOutboundPaymentsResourceOutboundPayment",
        "type": "object",
        "x-expandableFields": [
          "destination_payment_method_details",
          "end_user_details",
          "returned_details",
          "status_transitions",
          "tracking_details",
          "transaction"
        ],
        "x-resourceId": "treasury.outbound_payment",
        "x-stripeMostCommon": [
          "amount",
          "cancelable",
          "created",
          "currency",
          "customer",
          "description",
          "destination_payment_method",
          "destination_payment_method_details",
          "end_user_details",
          "expected_arrival_date",
          "financial_account",
          "hosted_regulatory_receipt_url",
          "id",
          "livemode",
          "metadata",
          "object",
          "returned_details",
          "statement_descriptor",
          "status",
          "status_transitions",
          "tracking_details",
          "transaction"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/treasury/outbound_payments"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/treasury/outbound_payments/{id}"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/test_helpers/treasury/outbound_payments/{id}"
          },
          {
            "method_name": "fail",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/treasury/outbound_payments/{id}/fail"
          },
          {
            "method_name": "post",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/treasury/outbound_payments/{id}/post"
          },
          {
            "method_name": "return_outbound_payment",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/treasury/outbound_payments/{id}/return"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/treasury/outbound_payments"
          },
          {
            "method_name": "cancel",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/treasury/outbound_payments/{id}/cancel"
          }
        ],
        "x-stripeResource": {
          "class_name": "OutboundPayment",
          "has_collection_class": true,
          "in_package": "Treasury"
        }
      },
      "treasury.outbound_payment.canceled": {
        "description": "Occurs whenever an OutboundPayment is canceled.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.outbound_payment"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.outbound_payment.canceled"
        }
      },
      "treasury.outbound_payment.created": {
        "description": "Occurs whenever a new OutboundPayment is successfully created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.outbound_payment"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.outbound_payment.created"
        }
      },
      "treasury.outbound_payment.expected_arrival_date_updated": {
        "description": "Occurs whenever the arrival date on an OutboundPayment updates.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.outbound_payment"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.outbound_payment.expected_arrival_date_updated"
        }
      },
      "treasury.outbound_payment.failed": {
        "description": "Occurs whenever an OutboundPayment fails.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.outbound_payment"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.outbound_payment.failed"
        }
      },
      "treasury.outbound_payment.posted": {
        "description": "Occurs whenever an OutboundPayment posts.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.outbound_payment"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.outbound_payment.posted"
        }
      },
      "treasury.outbound_payment.returned": {
        "description": "Occurs whenever an OutboundPayment was returned.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.outbound_payment"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.outbound_payment.returned"
        }
      },
      "treasury.outbound_payment.tracking_details_updated": {
        "description": "Occurs whenever tracking_details on an OutboundPayment is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.outbound_payment"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.outbound_payment.tracking_details_updated"
        }
      },
      "treasury.outbound_transfer": {
        "description": "Use [OutboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) 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.\n\nRelated guide: [Moving money with Treasury using OutboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers)",
        "properties": {
          "amount": {
            "description": "Amount (in cents) transferred.",
            "type": "integer"
          },
          "cancelable": {
            "description": "Returns `true` if the object can be canceled, and `false` otherwise.",
            "type": "boolean"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "description": {
            "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "destination_payment_method": {
            "description": "The PaymentMethod used as the payment instrument for an OutboundTransfer.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "destination_payment_method_details": {
            "$ref": "#/components/schemas/outbound_transfers_payment_method_details"
          },
          "expected_arrival_date": {
            "description": "The date when funds are expected to arrive in the destination account.",
            "format": "unix-time",
            "type": "integer"
          },
          "financial_account": {
            "description": "The FinancialAccount that funds were pulled from.",
            "maxLength": 5000,
            "type": "string"
          },
          "hosted_regulatory_receipt_url": {
            "description": "A [hosted transaction receipt](https://stripe.com/docs/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "treasury.outbound_transfer"
            ],
            "type": "string"
          },
          "returned_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/treasury_outbound_transfers_resource_returned_details"
              }
            ],
            "description": "Details about a returned OutboundTransfer. Only set when the status is `returned`.",
            "nullable": true
          },
          "statement_descriptor": {
            "description": "Information about the OutboundTransfer to be sent to the recipient account.",
            "maxLength": 5000,
            "type": "string"
          },
          "status": {
            "description": "Current status of the OutboundTransfer: `processing`, `failed`, `canceled`, `posted`, `returned`. An OutboundTransfer is `processing` if it has been created and is pending. The status changes to `posted` once the OutboundTransfer has been \"confirmed\" and funds have left the account, or to `failed` or `canceled`. If an OutboundTransfer fails to arrive at its destination, its status will change to `returned`.",
            "enum": [
              "canceled",
              "failed",
              "posted",
              "processing",
              "returned"
            ],
            "type": "string"
          },
          "status_transitions": {
            "$ref": "#/components/schemas/treasury_outbound_transfers_resource_status_transitions"
          },
          "tracking_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/treasury_outbound_transfers_resource_outbound_transfer_resource_tracking_details"
              }
            ],
            "description": "Details about network-specific tracking information if available.",
            "nullable": true
          },
          "transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/treasury.transaction"
              }
            ],
            "description": "The Transaction associated with this object.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/treasury.transaction"
                }
              ]
            }
          }
        },
        "required": [
          "amount",
          "cancelable",
          "created",
          "currency",
          "description",
          "destination_payment_method",
          "destination_payment_method_details",
          "expected_arrival_date",
          "financial_account",
          "hosted_regulatory_receipt_url",
          "id",
          "livemode",
          "metadata",
          "object",
          "returned_details",
          "statement_descriptor",
          "status",
          "status_transitions",
          "tracking_details",
          "transaction"
        ],
        "title": "TreasuryOutboundTransfersResourceOutboundTransfer",
        "type": "object",
        "x-expandableFields": [
          "destination_payment_method_details",
          "returned_details",
          "status_transitions",
          "tracking_details",
          "transaction"
        ],
        "x-resourceId": "treasury.outbound_transfer",
        "x-stripeMostCommon": [
          "amount",
          "cancelable",
          "created",
          "currency",
          "description",
          "destination_payment_method",
          "destination_payment_method_details",
          "expected_arrival_date",
          "financial_account",
          "hosted_regulatory_receipt_url",
          "id",
          "livemode",
          "metadata",
          "object",
          "returned_details",
          "statement_descriptor",
          "status",
          "status_transitions",
          "tracking_details",
          "transaction"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/treasury/outbound_transfers"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/treasury/outbound_transfers/{outbound_transfer}"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}"
          },
          {
            "method_name": "fail",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/fail"
          },
          {
            "method_name": "post",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/post"
          },
          {
            "method_name": "return_outbound_transfer",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/return"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/treasury/outbound_transfers"
          },
          {
            "method_name": "cancel",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/treasury/outbound_transfers/{outbound_transfer}/cancel"
          }
        ],
        "x-stripeResource": {
          "class_name": "OutboundTransfer",
          "has_collection_class": true,
          "in_package": "Treasury"
        }
      },
      "treasury.outbound_transfer.canceled": {
        "description": "Occurs whenever an OutboundTransfer is canceled.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.outbound_transfer"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.outbound_transfer.canceled"
        }
      },
      "treasury.outbound_transfer.created": {
        "description": "Occurs whenever an OutboundTransfer is created.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.outbound_transfer"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.outbound_transfer.created"
        }
      },
      "treasury.outbound_transfer.expected_arrival_date_updated": {
        "description": "Occurs whenever the arrival date on an OutboundTransfer updates.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.outbound_transfer"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.outbound_transfer.expected_arrival_date_updated"
        }
      },
      "treasury.outbound_transfer.failed": {
        "description": "Occurs whenever an OutboundTransfer has failed.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.outbound_transfer"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.outbound_transfer.failed"
        }
      },
      "treasury.outbound_transfer.posted": {
        "description": "Occurs whenever an OutboundTransfer is posted.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.outbound_transfer"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.outbound_transfer.posted"
        }
      },
      "treasury.outbound_transfer.returned": {
        "description": "Occurs whenever an OutboundTransfer is returned.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.outbound_transfer"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.outbound_transfer.returned"
        }
      },
      "treasury.outbound_transfer.tracking_details_updated": {
        "description": "Occurs whenever tracking_details on an OutboundTransfer is updated.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.outbound_transfer"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.outbound_transfer.tracking_details_updated"
        }
      },
      "treasury.received_credit": {
        "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.",
        "properties": {
          "amount": {
            "description": "Amount (in cents) transferred.",
            "type": "integer"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "description": {
            "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
            "maxLength": 5000,
            "type": "string"
          },
          "failure_code": {
            "description": "Reason for the failure. A ReceivedCredit might fail because the receiving FinancialAccount is closed or frozen.",
            "enum": [
              "account_closed",
              "account_frozen",
              "international_transaction",
              "other"
            ],
            "nullable": true,
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "financial_account": {
            "description": "The FinancialAccount that received the funds.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "hosted_regulatory_receipt_url": {
            "description": "A [hosted transaction receipt](https://stripe.com/docs/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "initiating_payment_method_details": {
            "$ref": "#/components/schemas/treasury_shared_resource_initiating_payment_method_details_initiating_payment_method_details"
          },
          "linked_flows": {
            "$ref": "#/components/schemas/treasury_received_credits_resource_linked_flows"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "network": {
            "description": "The rails used to send the funds.",
            "enum": [
              "ach",
              "card",
              "stripe",
              "us_domestic_wire"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "treasury.received_credit"
            ],
            "type": "string"
          },
          "reversal_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/treasury_received_credits_resource_reversal_details"
              }
            ],
            "description": "Details describing when a ReceivedCredit may be reversed.",
            "nullable": true
          },
          "status": {
            "description": "Status of the ReceivedCredit. ReceivedCredits are created either `succeeded` (approved) or `failed` (declined). If a ReceivedCredit is declined, the failure reason can be found in the `failure_code` field.",
            "enum": [
              "failed",
              "succeeded"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/treasury.transaction"
              }
            ],
            "description": "The Transaction associated with this object.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/treasury.transaction"
                }
              ]
            }
          }
        },
        "required": [
          "amount",
          "created",
          "currency",
          "description",
          "failure_code",
          "financial_account",
          "hosted_regulatory_receipt_url",
          "id",
          "initiating_payment_method_details",
          "linked_flows",
          "livemode",
          "network",
          "object",
          "reversal_details",
          "status",
          "transaction"
        ],
        "title": "TreasuryReceivedCreditsResourceReceivedCredit",
        "type": "object",
        "x-expandableFields": [
          "initiating_payment_method_details",
          "linked_flows",
          "reversal_details",
          "transaction"
        ],
        "x-resourceId": "treasury.received_credit",
        "x-stripeMostCommon": [
          "amount",
          "created",
          "currency",
          "description",
          "failure_code",
          "financial_account",
          "hosted_regulatory_receipt_url",
          "id",
          "initiating_payment_method_details",
          "linked_flows",
          "livemode",
          "network",
          "object",
          "reversal_details",
          "status",
          "transaction"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/treasury/received_credits"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/treasury/received_credits/{id}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/test_helpers/treasury/received_credits"
          }
        ],
        "x-stripeResource": {
          "class_name": "ReceivedCredit",
          "has_collection_class": true,
          "in_package": "Treasury"
        }
      },
      "treasury.received_credit.created": {
        "description": "Occurs whenever a received_credit is created as a result of funds being pushed by another account.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.received_credit"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.received_credit.created"
        }
      },
      "treasury.received_credit.failed": {
        "description": "Occurs whenever a received_credit transitions to failed state. Only applicable for check deposits.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.received_credit"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.received_credit.failed"
        }
      },
      "treasury.received_credit.succeeded": {
        "description": "Occurs whenever a received_credit transitions to succeeded state. Only applicable for check deposits.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.received_credit"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.received_credit.succeeded"
        }
      },
      "treasury.received_debit": {
        "description": "ReceivedDebits represent funds pulled from a [FinancialAccount](https://stripe.com/docs/api#financial_accounts). These are not initiated from the FinancialAccount.",
        "properties": {
          "amount": {
            "description": "Amount (in cents) transferred.",
            "type": "integer"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "description": {
            "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
            "maxLength": 5000,
            "type": "string"
          },
          "failure_code": {
            "description": "Reason for the failure. A ReceivedDebit might fail because the FinancialAccount doesn't have sufficient funds, is closed, or is frozen.",
            "enum": [
              "account_closed",
              "account_frozen",
              "insufficient_funds",
              "international_transaction",
              "other"
            ],
            "nullable": true,
            "type": "string"
          },
          "financial_account": {
            "description": "The FinancialAccount that funds were pulled from.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "hosted_regulatory_receipt_url": {
            "description": "A [hosted transaction receipt](https://stripe.com/docs/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "initiating_payment_method_details": {
            "$ref": "#/components/schemas/treasury_shared_resource_initiating_payment_method_details_initiating_payment_method_details"
          },
          "linked_flows": {
            "$ref": "#/components/schemas/treasury_received_debits_resource_linked_flows"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "network": {
            "description": "The network used for the ReceivedDebit.",
            "enum": [
              "ach",
              "card",
              "stripe"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "treasury.received_debit"
            ],
            "type": "string"
          },
          "reversal_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/treasury_received_debits_resource_reversal_details"
              }
            ],
            "description": "Details describing when a ReceivedDebit might be reversed.",
            "nullable": true
          },
          "status": {
            "description": "Status of the ReceivedDebit. ReceivedDebits are created with a status of either `succeeded` (approved) or `failed` (declined). The failure reason can be found under the `failure_code`.",
            "enum": [
              "failed",
              "succeeded"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/treasury.transaction"
              }
            ],
            "description": "The Transaction associated with this object.",
            "nullable": true,
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/treasury.transaction"
                }
              ]
            }
          }
        },
        "required": [
          "amount",
          "created",
          "currency",
          "description",
          "failure_code",
          "financial_account",
          "hosted_regulatory_receipt_url",
          "id",
          "linked_flows",
          "livemode",
          "network",
          "object",
          "reversal_details",
          "status",
          "transaction"
        ],
        "title": "TreasuryReceivedDebitsResourceReceivedDebit",
        "type": "object",
        "x-expandableFields": [
          "initiating_payment_method_details",
          "linked_flows",
          "reversal_details",
          "transaction"
        ],
        "x-resourceId": "treasury.received_debit",
        "x-stripeMostCommon": [
          "amount",
          "created",
          "currency",
          "description",
          "failure_code",
          "financial_account",
          "hosted_regulatory_receipt_url",
          "id",
          "initiating_payment_method_details",
          "linked_flows",
          "livemode",
          "network",
          "object",
          "reversal_details",
          "status",
          "transaction"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/treasury/received_debits"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/treasury/received_debits/{id}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/test_helpers/treasury/received_debits"
          }
        ],
        "x-stripeResource": {
          "class_name": "ReceivedDebit",
          "has_collection_class": true,
          "in_package": "Treasury"
        }
      },
      "treasury.received_debit.created": {
        "description": "Occurs whenever a received_debit is created as a result of funds being pulled by another account.",
        "properties": {
          "object": {
            "$ref": "#/components/schemas/treasury.received_debit"
          }
        },
        "required": [
          "object"
        ],
        "type": "object",
        "x-expandableFields": [],
        "x-stripeEvent": {
          "type": "treasury.received_debit.created"
        }
      },
      "treasury.transaction": {
        "description": "Transactions represent changes to a [FinancialAccount's](https://stripe.com/docs/api#financial_accounts) balance.",
        "properties": {
          "amount": {
            "description": "Amount (in cents) transferred.",
            "type": "integer"
          },
          "balance_impact": {
            "$ref": "#/components/schemas/treasury_transactions_resource_balance_impact"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "description": {
            "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
            "maxLength": 5000,
            "type": "string"
          },
          "entries": {
            "description": "A list of TransactionEntries that are part of this Transaction. This cannot be expanded in any list endpoints.",
            "nullable": true,
            "properties": {
              "data": {
                "description": "Details about each object.",
                "items": {
                  "$ref": "#/components/schemas/treasury.transaction_entry"
                },
                "type": "array"
              },
              "has_more": {
                "description": "True if this list has another page of items after this one that can be fetched.",
                "type": "boolean"
              },
              "object": {
                "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                "enum": [
                  "list"
                ],
                "type": "string"
              },
              "url": {
                "description": "The URL where this list can be accessed.",
                "maxLength": 5000,
                "pattern": "^/v1/treasury/transaction_entries",
                "type": "string"
              }
            },
            "required": [
              "data",
              "has_more",
              "object",
              "url"
            ],
            "title": "TreasuryTransactionsResourceTransactionEntryList",
            "type": "object",
            "x-expandableFields": [
              "data"
            ],
            "x-stripeMostCommon": [
              "data",
              "has_more",
              "object",
              "url"
            ]
          },
          "financial_account": {
            "description": "The FinancialAccount associated with this object.",
            "maxLength": 5000,
            "type": "string"
          },
          "flow": {
            "description": "ID of the flow that created the Transaction.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "flow_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/treasury_transactions_resource_flow_details"
              }
            ],
            "description": "Details of the flow that created the Transaction.",
            "nullable": true
          },
          "flow_type": {
            "description": "Type of the flow that created the Transaction.",
            "enum": [
              "credit_reversal",
              "debit_reversal",
              "inbound_transfer",
              "issuing_authorization",
              "other",
              "outbound_payment",
              "outbound_transfer",
              "received_credit",
              "received_debit"
            ],
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "treasury.transaction"
            ],
            "type": "string"
          },
          "status": {
            "description": "Status of the Transaction.",
            "enum": [
              "open",
              "posted",
              "void"
            ],
            "type": "string"
          },
          "status_transitions": {
            "$ref": "#/components/schemas/treasury_transactions_resource_abstract_transaction_resource_status_transitions"
          }
        },
        "required": [
          "amount",
          "balance_impact",
          "created",
          "currency",
          "description",
          "financial_account",
          "flow",
          "flow_type",
          "id",
          "livemode",
          "object",
          "status",
          "status_transitions"
        ],
        "title": "TreasuryTransactionsResourceTransaction",
        "type": "object",
        "x-expandableFields": [
          "balance_impact",
          "entries",
          "flow_details",
          "status_transitions"
        ],
        "x-resourceId": "treasury.transaction",
        "x-stripeMostCommon": [
          "amount",
          "balance_impact",
          "created",
          "currency",
          "description",
          "entries",
          "financial_account",
          "flow",
          "flow_details",
          "flow_type",
          "id",
          "livemode",
          "object",
          "status",
          "status_transitions"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/treasury/transactions"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/treasury/transactions/{id}"
          }
        ],
        "x-stripeResource": {
          "class_name": "Transaction",
          "has_collection_class": true,
          "in_package": "Treasury"
        }
      },
      "treasury.transaction_entry": {
        "description": "TransactionEntries represent individual units of money movements within a single [Transaction](https://stripe.com/docs/api#transactions).",
        "properties": {
          "balance_impact": {
            "$ref": "#/components/schemas/treasury_transactions_resource_balance_impact"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "currency": {
            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "type": "string"
          },
          "effective_at": {
            "description": "When the TransactionEntry will impact the FinancialAccount's balance.",
            "format": "unix-time",
            "type": "integer"
          },
          "financial_account": {
            "description": "The FinancialAccount associated with this object.",
            "maxLength": 5000,
            "type": "string"
          },
          "flow": {
            "description": "Token of the flow associated with the TransactionEntry.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "flow_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/treasury_transactions_resource_flow_details"
              }
            ],
            "description": "Details of the flow associated with the TransactionEntry.",
            "nullable": true
          },
          "flow_type": {
            "description": "Type of the flow associated with the TransactionEntry.",
            "enum": [
              "credit_reversal",
              "debit_reversal",
              "inbound_transfer",
              "issuing_authorization",
              "other",
              "outbound_payment",
              "outbound_transfer",
              "received_credit",
              "received_debit"
            ],
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "treasury.transaction_entry"
            ],
            "type": "string"
          },
          "transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/treasury.transaction"
              }
            ],
            "description": "The Transaction associated with this object.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/treasury.transaction"
                }
              ]
            }
          },
          "type": {
            "description": "The specific money movement that generated the TransactionEntry.",
            "enum": [
              "credit_reversal",
              "credit_reversal_posting",
              "debit_reversal",
              "inbound_transfer",
              "inbound_transfer_return",
              "issuing_authorization_hold",
              "issuing_authorization_release",
              "other",
              "outbound_payment",
              "outbound_payment_cancellation",
              "outbound_payment_failure",
              "outbound_payment_posting",
              "outbound_payment_return",
              "outbound_transfer",
              "outbound_transfer_cancellation",
              "outbound_transfer_failure",
              "outbound_transfer_posting",
              "outbound_transfer_return",
              "received_credit",
              "received_debit"
            ],
            "type": "string"
          }
        },
        "required": [
          "balance_impact",
          "created",
          "currency",
          "effective_at",
          "financial_account",
          "flow",
          "flow_type",
          "id",
          "livemode",
          "object",
          "transaction",
          "type"
        ],
        "title": "TreasuryTransactionsResourceTransactionEntry",
        "type": "object",
        "x-expandableFields": [
          "balance_impact",
          "flow_details",
          "transaction"
        ],
        "x-resourceId": "treasury.transaction_entry",
        "x-stripeMostCommon": [
          "balance_impact",
          "created",
          "currency",
          "effective_at",
          "financial_account",
          "flow",
          "flow_details",
          "flow_type",
          "id",
          "livemode",
          "object",
          "transaction",
          "type"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/treasury/transaction_entries"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/treasury/transaction_entries/{id}"
          }
        ],
        "x-stripeResource": {
          "class_name": "TransactionEntry",
          "has_collection_class": true,
          "in_package": "Treasury"
        }
      },
      "treasury_financial_accounts_resource_aba_record": {
        "description": "ABA Records contain U.S. bank account details per the ABA format.",
        "properties": {
          "account_holder_name": {
            "description": "The name of the person or business that owns the bank account.",
            "maxLength": 5000,
            "type": "string"
          },
          "account_number": {
            "description": "The account number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "account_number_last4": {
            "description": "The last four characters of the account number.",
            "maxLength": 5000,
            "type": "string"
          },
          "bank_name": {
            "description": "Name of the bank.",
            "maxLength": 5000,
            "type": "string"
          },
          "routing_number": {
            "description": "Routing number for the account.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "account_holder_name",
          "account_number_last4",
          "bank_name",
          "routing_number"
        ],
        "title": "TreasuryFinancialAccountsResourceABARecord",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "account_holder_name",
          "account_number",
          "account_number_last4",
          "bank_name",
          "routing_number"
        ],
        "x-stripeResource": {
          "class_name": "Aba",
          "in_package": ""
        }
      },
      "treasury_financial_accounts_resource_aba_toggle_settings": {
        "description": "Toggle settings for enabling/disabling the ABA address feature",
        "properties": {
          "requested": {
            "description": "Whether the FinancialAccount should have the Feature.",
            "type": "boolean"
          },
          "status": {
            "description": "Whether the Feature is operational.",
            "enum": [
              "active",
              "pending",
              "restricted"
            ],
            "type": "string"
          },
          "status_details": {
            "description": "Additional details; includes at least one entry when the status is not `active`.",
            "items": {
              "$ref": "#/components/schemas/treasury_financial_accounts_resource_toggles_setting_status_details"
            },
            "type": "array"
          }
        },
        "required": [
          "requested",
          "status",
          "status_details"
        ],
        "title": "TreasuryFinancialAccountsResourceAbaToggleSettings",
        "type": "object",
        "x-expandableFields": [
          "status_details"
        ],
        "x-stripeMostCommon": [
          "requested",
          "status",
          "status_details"
        ],
        "x-stripeResource": {
          "class_name": "AbaToggleSettings",
          "in_package": ""
        }
      },
      "treasury_financial_accounts_resource_ach_toggle_settings": {
        "description": "Toggle settings for enabling/disabling an ACH specific feature",
        "properties": {
          "requested": {
            "description": "Whether the FinancialAccount should have the Feature.",
            "type": "boolean"
          },
          "status": {
            "description": "Whether the Feature is operational.",
            "enum": [
              "active",
              "pending",
              "restricted"
            ],
            "type": "string"
          },
          "status_details": {
            "description": "Additional details; includes at least one entry when the status is not `active`.",
            "items": {
              "$ref": "#/components/schemas/treasury_financial_accounts_resource_toggles_setting_status_details"
            },
            "type": "array"
          }
        },
        "required": [
          "requested",
          "status",
          "status_details"
        ],
        "title": "TreasuryFinancialAccountsResourceAchToggleSettings",
        "type": "object",
        "x-expandableFields": [
          "status_details"
        ],
        "x-stripeMostCommon": [
          "requested",
          "status",
          "status_details"
        ],
        "x-stripeResource": {
          "class_name": "AchToggleSettings",
          "in_package": ""
        }
      },
      "treasury_financial_accounts_resource_balance": {
        "description": "Balance information for the FinancialAccount",
        "properties": {
          "cash": {
            "additionalProperties": {
              "type": "integer"
            },
            "description": "Funds the user can spend right now.",
            "type": "object"
          },
          "inbound_pending": {
            "additionalProperties": {
              "type": "integer"
            },
            "description": "Funds not spendable yet, but will become available at a later time.",
            "type": "object"
          },
          "outbound_pending": {
            "additionalProperties": {
              "type": "integer"
            },
            "description": "Funds in the account, but not spendable because they are being held for pending outbound flows.",
            "type": "object"
          }
        },
        "required": [
          "cash",
          "inbound_pending",
          "outbound_pending"
        ],
        "title": "TreasuryFinancialAccountsResourceBalance",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "cash",
          "inbound_pending",
          "outbound_pending"
        ],
        "x-stripeResource": {
          "class_name": "Balance",
          "in_package": ""
        }
      },
      "treasury_financial_accounts_resource_closed_status_details": {
        "description": "",
        "properties": {
          "reasons": {
            "description": "The array that contains reasons for a FinancialAccount closure.",
            "items": {
              "enum": [
                "account_rejected",
                "closed_by_platform",
                "other"
              ],
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "reasons"
        ],
        "title": "TreasuryFinancialAccountsResourceClosedStatusDetails",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "reasons"
        ],
        "x-stripeResource": {
          "class_name": "Closed",
          "in_package": ""
        }
      },
      "treasury_financial_accounts_resource_financial_address": {
        "description": "FinancialAddresses contain identifying information that resolves to a FinancialAccount.",
        "properties": {
          "aba": {
            "$ref": "#/components/schemas/treasury_financial_accounts_resource_aba_record"
          },
          "supported_networks": {
            "description": "The list of networks that the address supports",
            "items": {
              "enum": [
                "ach",
                "us_domestic_wire"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "type": "array"
          },
          "type": {
            "description": "The type of financial address",
            "enum": [
              "aba"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "type"
        ],
        "title": "TreasuryFinancialAccountsResourceFinancialAddress",
        "type": "object",
        "x-expandableFields": [
          "aba"
        ],
        "x-stripeMostCommon": [
          "aba",
          "supported_networks",
          "type"
        ]
      },
      "treasury_financial_accounts_resource_financial_addresses_features": {
        "description": "Settings related to Financial Addresses features on a Financial Account",
        "properties": {
          "aba": {
            "$ref": "#/components/schemas/treasury_financial_accounts_resource_aba_toggle_settings"
          }
        },
        "title": "TreasuryFinancialAccountsResourceFinancialAddressesFeatures",
        "type": "object",
        "x-expandableFields": [
          "aba"
        ],
        "x-stripeMostCommon": [
          "aba"
        ],
        "x-stripeResource": {
          "class_name": "FinancialAddresses",
          "in_package": ""
        }
      },
      "treasury_financial_accounts_resource_inbound_transfers": {
        "description": "InboundTransfers contains inbound transfers features for a FinancialAccount.",
        "properties": {
          "ach": {
            "$ref": "#/components/schemas/treasury_financial_accounts_resource_ach_toggle_settings"
          }
        },
        "title": "TreasuryFinancialAccountsResourceInboundTransfers",
        "type": "object",
        "x-expandableFields": [
          "ach"
        ],
        "x-stripeMostCommon": [
          "ach"
        ],
        "x-stripeResource": {
          "class_name": "InboundTransfers",
          "in_package": ""
        }
      },
      "treasury_financial_accounts_resource_outbound_payments": {
        "description": "Settings related to Outbound Payments features on a Financial Account",
        "properties": {
          "ach": {
            "$ref": "#/components/schemas/treasury_financial_accounts_resource_ach_toggle_settings"
          },
          "us_domestic_wire": {
            "$ref": "#/components/schemas/treasury_financial_accounts_resource_toggle_settings"
          }
        },
        "title": "TreasuryFinancialAccountsResourceOutboundPayments",
        "type": "object",
        "x-expandableFields": [
          "ach",
          "us_domestic_wire"
        ],
        "x-stripeMostCommon": [
          "ach",
          "us_domestic_wire"
        ],
        "x-stripeResource": {
          "class_name": "OutboundPayments",
          "in_package": ""
        }
      },
      "treasury_financial_accounts_resource_outbound_transfers": {
        "description": "OutboundTransfers contains outbound transfers features for a FinancialAccount.",
        "properties": {
          "ach": {
            "$ref": "#/components/schemas/treasury_financial_accounts_resource_ach_toggle_settings"
          },
          "us_domestic_wire": {
            "$ref": "#/components/schemas/treasury_financial_accounts_resource_toggle_settings"
          }
        },
        "title": "TreasuryFinancialAccountsResourceOutboundTransfers",
        "type": "object",
        "x-expandableFields": [
          "ach",
          "us_domestic_wire"
        ],
        "x-stripeMostCommon": [
          "ach",
          "us_domestic_wire"
        ],
        "x-stripeResource": {
          "class_name": "OutboundTransfers",
          "in_package": ""
        }
      },
      "treasury_financial_accounts_resource_platform_restrictions": {
        "description": "Restrictions that a Connect Platform has placed on this FinancialAccount.",
        "properties": {
          "inbound_flows": {
            "description": "Restricts all inbound money movement.",
            "enum": [
              "restricted",
              "unrestricted"
            ],
            "nullable": true,
            "type": "string"
          },
          "outbound_flows": {
            "description": "Restricts all outbound money movement.",
            "enum": [
              "restricted",
              "unrestricted"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "inbound_flows",
          "outbound_flows"
        ],
        "title": "TreasuryFinancialAccountsResourcePlatformRestrictions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "inbound_flows",
          "outbound_flows"
        ],
        "x-stripeResource": {
          "class_name": "PlatformRestriction",
          "in_package": ""
        }
      },
      "treasury_financial_accounts_resource_status_details": {
        "description": "",
        "properties": {
          "closed": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/treasury_financial_accounts_resource_closed_status_details"
              }
            ],
            "description": "Details related to the closure of this FinancialAccount",
            "nullable": true
          }
        },
        "required": [
          "closed"
        ],
        "title": "TreasuryFinancialAccountsResourceStatusDetails",
        "type": "object",
        "x-expandableFields": [
          "closed"
        ],
        "x-stripeMostCommon": [
          "closed"
        ],
        "x-stripeResource": {
          "class_name": "StatusDetails",
          "in_package": ""
        }
      },
      "treasury_financial_accounts_resource_toggle_settings": {
        "description": "Toggle settings for enabling/disabling a feature",
        "properties": {
          "requested": {
            "description": "Whether the FinancialAccount should have the Feature.",
            "type": "boolean"
          },
          "status": {
            "description": "Whether the Feature is operational.",
            "enum": [
              "active",
              "pending",
              "restricted"
            ],
            "type": "string"
          },
          "status_details": {
            "description": "Additional details; includes at least one entry when the status is not `active`.",
            "items": {
              "$ref": "#/components/schemas/treasury_financial_accounts_resource_toggles_setting_status_details"
            },
            "type": "array"
          }
        },
        "required": [
          "requested",
          "status",
          "status_details"
        ],
        "title": "TreasuryFinancialAccountsResourceToggleSettings",
        "type": "object",
        "x-expandableFields": [
          "status_details"
        ],
        "x-stripeMostCommon": [
          "requested",
          "status",
          "status_details"
        ],
        "x-stripeResource": {
          "class_name": "ToggleSettings",
          "in_package": ""
        }
      },
      "treasury_financial_accounts_resource_toggles_setting_status_details": {
        "description": "Additional details on the FinancialAccount Features information.",
        "properties": {
          "code": {
            "description": "Represents the reason why the status is `pending` or `restricted`.",
            "enum": [
              "activating",
              "capability_not_requested",
              "financial_account_closed",
              "rejected_other",
              "rejected_unsupported_business",
              "requirements_past_due",
              "requirements_pending_verification",
              "restricted_by_platform",
              "restricted_other"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "resolution": {
            "description": "Represents what the user should do, if anything, to activate the Feature.",
            "enum": [
              "contact_stripe",
              "provide_information",
              "remove_restriction"
            ],
            "nullable": true,
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "restriction": {
            "description": "The `platform_restrictions` that are restricting this Feature.",
            "enum": [
              "inbound_flows",
              "outbound_flows"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "code",
          "resolution"
        ],
        "title": "TreasuryFinancialAccountsResourceTogglesSettingStatusDetails",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "code",
          "resolution",
          "restriction"
        ],
        "x-stripeResource": {
          "class_name": "StatusDetails",
          "in_package": ""
        }
      },
      "treasury_inbound_transfers_resource_failure_details": {
        "description": "",
        "properties": {
          "code": {
            "description": "Reason for the failure.",
            "enum": [
              "account_closed",
              "account_frozen",
              "bank_account_restricted",
              "bank_ownership_changed",
              "debit_not_authorized",
              "incorrect_account_holder_address",
              "incorrect_account_holder_name",
              "incorrect_account_holder_tax_id",
              "insufficient_funds",
              "invalid_account_number",
              "invalid_currency",
              "no_account",
              "other"
            ],
            "type": "string"
          }
        },
        "required": [
          "code"
        ],
        "title": "TreasuryInboundTransfersResourceFailureDetails",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "code"
        ]
      },
      "treasury_inbound_transfers_resource_inbound_transfer_resource_linked_flows": {
        "description": "",
        "properties": {
          "received_debit": {
            "description": "If funds for this flow were returned after the flow went to the `succeeded` state, this field contains a reference to the ReceivedDebit return.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "received_debit"
        ],
        "title": "TreasuryInboundTransfersResourceInboundTransferResourceLinkedFlows",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "received_debit"
        ]
      },
      "treasury_inbound_transfers_resource_inbound_transfer_resource_status_transitions": {
        "description": "",
        "properties": {
          "canceled_at": {
            "description": "Timestamp describing when an InboundTransfer changed status to `canceled`.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "failed_at": {
            "description": "Timestamp describing when an InboundTransfer changed status to `failed`.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "succeeded_at": {
            "description": "Timestamp describing when an InboundTransfer changed status to `succeeded`.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "failed_at",
          "succeeded_at"
        ],
        "title": "TreasuryInboundTransfersResourceInboundTransferResourceStatusTransitions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "canceled_at",
          "failed_at",
          "succeeded_at"
        ],
        "x-stripeResource": {
          "class_name": "StatusTransitions",
          "in_package": ""
        }
      },
      "treasury_outbound_payments_resource_ach_tracking_details": {
        "description": "",
        "properties": {
          "trace_id": {
            "description": "ACH trace ID of the OutboundPayment for payments sent over the `ach` network.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "trace_id"
        ],
        "title": "TreasuryOutboundPaymentsResourceACHTrackingDetails",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "trace_id"
        ]
      },
      "treasury_outbound_payments_resource_outbound_payment_resource_end_user_details": {
        "description": "",
        "properties": {
          "ip_address": {
            "description": "IP address of the user initiating the OutboundPayment. Set if `present` is set to `true`. IP address collection is required for risk and compliance reasons. This will be used to help determine if the OutboundPayment is authorized or should be blocked.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "present": {
            "description": "`true` if the OutboundPayment creation request is being made on behalf of an end user by a platform. Otherwise, `false`.",
            "type": "boolean"
          }
        },
        "required": [
          "ip_address",
          "present"
        ],
        "title": "TreasuryOutboundPaymentsResourceOutboundPaymentResourceEndUserDetails",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "ip_address",
          "present"
        ]
      },
      "treasury_outbound_payments_resource_outbound_payment_resource_status_transitions": {
        "description": "",
        "properties": {
          "canceled_at": {
            "description": "Timestamp describing when an OutboundPayment changed status to `canceled`.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "failed_at": {
            "description": "Timestamp describing when an OutboundPayment changed status to `failed`.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "posted_at": {
            "description": "Timestamp describing when an OutboundPayment changed status to `posted`.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "returned_at": {
            "description": "Timestamp describing when an OutboundPayment changed status to `returned`.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "canceled_at",
          "failed_at",
          "posted_at",
          "returned_at"
        ],
        "title": "TreasuryOutboundPaymentsResourceOutboundPaymentResourceStatusTransitions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "canceled_at",
          "failed_at",
          "posted_at",
          "returned_at"
        ],
        "x-stripeResource": {
          "class_name": "StatusTransitions",
          "in_package": ""
        }
      },
      "treasury_outbound_payments_resource_outbound_payment_resource_tracking_details": {
        "description": "",
        "properties": {
          "ach": {
            "$ref": "#/components/schemas/treasury_outbound_payments_resource_ach_tracking_details"
          },
          "type": {
            "description": "The US bank account network used to send funds.",
            "enum": [
              "ach",
              "us_domestic_wire"
            ],
            "type": "string"
          },
          "us_domestic_wire": {
            "$ref": "#/components/schemas/treasury_outbound_payments_resource_us_domestic_wire_tracking_details"
          }
        },
        "required": [
          "type"
        ],
        "title": "TreasuryOutboundPaymentsResourceOutboundPaymentResourceTrackingDetails",
        "type": "object",
        "x-expandableFields": [
          "ach",
          "us_domestic_wire"
        ],
        "x-stripeMostCommon": [
          "ach",
          "type",
          "us_domestic_wire"
        ]
      },
      "treasury_outbound_payments_resource_returned_status": {
        "description": "",
        "properties": {
          "code": {
            "description": "Reason for the return.",
            "enum": [
              "account_closed",
              "account_frozen",
              "bank_account_restricted",
              "bank_ownership_changed",
              "declined",
              "incorrect_account_holder_name",
              "invalid_account_number",
              "invalid_currency",
              "no_account",
              "other"
            ],
            "type": "string"
          },
          "transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/treasury.transaction"
              }
            ],
            "description": "The Transaction associated with this object.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/treasury.transaction"
                }
              ]
            }
          }
        },
        "required": [
          "code",
          "transaction"
        ],
        "title": "TreasuryOutboundPaymentsResourceReturnedStatus",
        "type": "object",
        "x-expandableFields": [
          "transaction"
        ],
        "x-stripeMostCommon": [
          "code",
          "transaction"
        ]
      },
      "treasury_outbound_payments_resource_us_domestic_wire_tracking_details": {
        "description": "",
        "properties": {
          "chips": {
            "description": "CHIPS System Sequence Number (SSN) of the OutboundPayment for payments sent over the `us_domestic_wire` network.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "imad": {
            "description": "IMAD of the OutboundPayment for payments sent over the `us_domestic_wire` network.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "omad": {
            "description": "OMAD of the OutboundPayment for payments sent over the `us_domestic_wire` network.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "chips",
          "imad",
          "omad"
        ],
        "title": "TreasuryOutboundPaymentsResourceUSDomesticWireTrackingDetails",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "chips",
          "imad",
          "omad"
        ]
      },
      "treasury_outbound_transfers_resource_ach_tracking_details": {
        "description": "",
        "properties": {
          "trace_id": {
            "description": "ACH trace ID of the OutboundTransfer for transfers sent over the `ach` network.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "trace_id"
        ],
        "title": "TreasuryOutboundTransfersResourceACHTrackingDetails",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "trace_id"
        ]
      },
      "treasury_outbound_transfers_resource_outbound_transfer_resource_tracking_details": {
        "description": "",
        "properties": {
          "ach": {
            "$ref": "#/components/schemas/treasury_outbound_transfers_resource_ach_tracking_details"
          },
          "type": {
            "description": "The US bank account network used to send funds.",
            "enum": [
              "ach",
              "us_domestic_wire"
            ],
            "type": "string"
          },
          "us_domestic_wire": {
            "$ref": "#/components/schemas/treasury_outbound_transfers_resource_us_domestic_wire_tracking_details"
          }
        },
        "required": [
          "type"
        ],
        "title": "TreasuryOutboundTransfersResourceOutboundTransferResourceTrackingDetails",
        "type": "object",
        "x-expandableFields": [
          "ach",
          "us_domestic_wire"
        ],
        "x-stripeMostCommon": [
          "ach",
          "type",
          "us_domestic_wire"
        ]
      },
      "treasury_outbound_transfers_resource_returned_details": {
        "description": "",
        "properties": {
          "code": {
            "description": "Reason for the return.",
            "enum": [
              "account_closed",
              "account_frozen",
              "bank_account_restricted",
              "bank_ownership_changed",
              "declined",
              "incorrect_account_holder_name",
              "invalid_account_number",
              "invalid_currency",
              "no_account",
              "other"
            ],
            "type": "string"
          },
          "transaction": {
            "anyOf": [
              {
                "maxLength": 5000,
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/treasury.transaction"
              }
            ],
            "description": "The Transaction associated with this object.",
            "x-expansionResources": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/treasury.transaction"
                }
              ]
            }
          }
        },
        "required": [
          "code",
          "transaction"
        ],
        "title": "TreasuryOutboundTransfersResourceReturnedDetails",
        "type": "object",
        "x-expandableFields": [
          "transaction"
        ],
        "x-stripeMostCommon": [
          "code",
          "transaction"
        ],
        "x-stripeResource": {
          "class_name": "ReturnedDetails",
          "in_package": ""
        }
      },
      "treasury_outbound_transfers_resource_status_transitions": {
        "description": "",
        "properties": {
          "canceled_at": {
            "description": "Timestamp describing when an OutboundTransfer changed status to `canceled`",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "failed_at": {
            "description": "Timestamp describing when an OutboundTransfer changed status to `failed`",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "posted_at": {
            "description": "Timestamp describing when an OutboundTransfer changed status to `posted`",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "returned_at": {
            "description": "Timestamp describing when an OutboundTransfer changed status to `returned`",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "canceled_at",
          "failed_at",
          "posted_at",
          "returned_at"
        ],
        "title": "TreasuryOutboundTransfersResourceStatusTransitions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "canceled_at",
          "failed_at",
          "posted_at",
          "returned_at"
        ],
        "x-stripeResource": {
          "class_name": "StatusTransitions",
          "in_package": ""
        }
      },
      "treasury_outbound_transfers_resource_us_domestic_wire_tracking_details": {
        "description": "",
        "properties": {
          "chips": {
            "description": "CHIPS System Sequence Number (SSN) of the OutboundTransfer for transfers sent over the `us_domestic_wire` network.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "imad": {
            "description": "IMAD of the OutboundTransfer for transfers sent over the `us_domestic_wire` network.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "omad": {
            "description": "OMAD of the OutboundTransfer for transfers sent over the `us_domestic_wire` network.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "chips",
          "imad",
          "omad"
        ],
        "title": "TreasuryOutboundTransfersResourceUSDomesticWireTrackingDetails",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "chips",
          "imad",
          "omad"
        ]
      },
      "treasury_received_credits_resource_linked_flows": {
        "description": "",
        "properties": {
          "credit_reversal": {
            "description": "The CreditReversal created as a result of this ReceivedCredit being reversed.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "issuing_authorization": {
            "description": "Set if the ReceivedCredit was created due to an [Issuing Authorization](https://stripe.com/docs/api#issuing_authorizations) object.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "issuing_transaction": {
            "description": "Set if the ReceivedCredit is also viewable as an [Issuing transaction](https://stripe.com/docs/api#issuing_transactions) object.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "source_flow": {
            "description": "ID of the source flow. Set if `network` is `stripe` and the source flow is visible to the user. Examples of source flows include OutboundPayments, payouts, or CreditReversals.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "source_flow_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/treasury_received_credits_resource_source_flows_details"
              }
            ],
            "description": "The expandable object of the source flow.",
            "nullable": true
          },
          "source_flow_type": {
            "description": "The type of flow that originated the ReceivedCredit (for example, `outbound_payment`).",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "credit_reversal",
          "issuing_authorization",
          "issuing_transaction",
          "source_flow",
          "source_flow_type"
        ],
        "title": "TreasuryReceivedCreditsResourceLinkedFlows",
        "type": "object",
        "x-expandableFields": [
          "source_flow_details"
        ],
        "x-stripeMostCommon": [
          "credit_reversal",
          "issuing_authorization",
          "issuing_transaction",
          "source_flow",
          "source_flow_details",
          "source_flow_type"
        ]
      },
      "treasury_received_credits_resource_reversal_details": {
        "description": "",
        "properties": {
          "deadline": {
            "description": "Time before which a ReceivedCredit can be reversed.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "restricted_reason": {
            "description": "Set if a ReceivedCredit cannot be reversed.",
            "enum": [
              "already_reversed",
              "deadline_passed",
              "network_restricted",
              "other",
              "source_flow_restricted"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "deadline",
          "restricted_reason"
        ],
        "title": "TreasuryReceivedCreditsResourceReversalDetails",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "deadline",
          "restricted_reason"
        ]
      },
      "treasury_received_credits_resource_source_flows_details": {
        "description": "",
        "properties": {
          "credit_reversal": {
            "$ref": "#/components/schemas/treasury.credit_reversal"
          },
          "outbound_payment": {
            "$ref": "#/components/schemas/treasury.outbound_payment"
          },
          "payout": {
            "$ref": "#/components/schemas/payout"
          },
          "type": {
            "description": "The type of the source flow that originated the ReceivedCredit.",
            "enum": [
              "credit_reversal",
              "other",
              "outbound_payment",
              "payout"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          }
        },
        "required": [
          "type"
        ],
        "title": "TreasuryReceivedCreditsResourceSourceFlowsDetails",
        "type": "object",
        "x-expandableFields": [
          "credit_reversal",
          "outbound_payment",
          "payout"
        ],
        "x-stripeMostCommon": [
          "credit_reversal",
          "outbound_payment",
          "payout",
          "type"
        ]
      },
      "treasury_received_credits_resource_status_transitions": {
        "description": "",
        "properties": {
          "posted_at": {
            "description": "Timestamp describing when the CreditReversal changed status to `posted`",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "posted_at"
        ],
        "title": "TreasuryReceivedCreditsResourceStatusTransitions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "posted_at"
        ]
      },
      "treasury_received_debits_resource_debit_reversal_linked_flows": {
        "description": "",
        "properties": {
          "issuing_dispute": {
            "description": "Set if there is an Issuing dispute associated with the DebitReversal.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "issuing_dispute"
        ],
        "title": "TreasuryReceivedDebitsResourceDebitReversalLinkedFlows",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "issuing_dispute"
        ]
      },
      "treasury_received_debits_resource_linked_flows": {
        "description": "",
        "properties": {
          "debit_reversal": {
            "description": "The DebitReversal created as a result of this ReceivedDebit being reversed.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "inbound_transfer": {
            "description": "Set if the ReceivedDebit is associated with an InboundTransfer's return of funds.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "issuing_authorization": {
            "description": "Set if the ReceivedDebit was created due to an [Issuing Authorization](https://stripe.com/docs/api#issuing_authorizations) object.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "issuing_transaction": {
            "description": "Set if the ReceivedDebit is also viewable as an [Issuing Dispute](https://stripe.com/docs/api#issuing_disputes) object.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "payout": {
            "description": "Set if the ReceivedDebit was created due to a [Payout](https://stripe.com/docs/api#payouts) object.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "debit_reversal",
          "inbound_transfer",
          "issuing_authorization",
          "issuing_transaction",
          "payout"
        ],
        "title": "TreasuryReceivedDebitsResourceLinkedFlows",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "debit_reversal",
          "inbound_transfer",
          "issuing_authorization",
          "issuing_transaction",
          "payout"
        ]
      },
      "treasury_received_debits_resource_reversal_details": {
        "description": "",
        "properties": {
          "deadline": {
            "description": "Time before which a ReceivedDebit can be reversed.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "restricted_reason": {
            "description": "Set if a ReceivedDebit can't be reversed.",
            "enum": [
              "already_reversed",
              "deadline_passed",
              "network_restricted",
              "other",
              "source_flow_restricted"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "deadline",
          "restricted_reason"
        ],
        "title": "TreasuryReceivedDebitsResourceReversalDetails",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "deadline",
          "restricted_reason"
        ]
      },
      "treasury_received_debits_resource_status_transitions": {
        "description": "",
        "properties": {
          "completed_at": {
            "description": "Timestamp describing when the DebitReversal changed status to `completed`.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "completed_at"
        ],
        "title": "TreasuryReceivedDebitsResourceStatusTransitions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "completed_at"
        ]
      },
      "treasury_shared_resource_billing_details": {
        "description": "",
        "properties": {
          "address": {
            "$ref": "#/components/schemas/address"
          },
          "email": {
            "description": "Email address.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "name": {
            "description": "Full name.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "address",
          "email",
          "name"
        ],
        "title": "TreasurySharedResourceBillingDetails",
        "type": "object",
        "x-expandableFields": [
          "address"
        ],
        "x-stripeMostCommon": [
          "address",
          "email",
          "name"
        ],
        "x-stripeResource": {
          "class_name": "BillingDetails",
          "in_package": ""
        }
      },
      "treasury_shared_resource_initiating_payment_method_details_initiating_payment_method_details": {
        "description": "",
        "properties": {
          "balance": {
            "description": "Set when `type` is `balance`.",
            "enum": [
              "payments"
            ],
            "type": "string"
          },
          "billing_details": {
            "$ref": "#/components/schemas/treasury_shared_resource_billing_details"
          },
          "financial_account": {
            "$ref": "#/components/schemas/received_payment_method_details_financial_account"
          },
          "issuing_card": {
            "description": "Set when `type` is `issuing_card`. This is an [Issuing Card](https://stripe.com/docs/api#issuing_cards) ID.",
            "maxLength": 5000,
            "type": "string"
          },
          "type": {
            "description": "Polymorphic type matching the originating money movement's source. This can be an external account, a Stripe balance, or a FinancialAccount.",
            "enum": [
              "balance",
              "financial_account",
              "issuing_card",
              "stripe",
              "us_bank_account"
            ],
            "type": "string",
            "x-stripeBypassValidation": true
          },
          "us_bank_account": {
            "$ref": "#/components/schemas/treasury_shared_resource_initiating_payment_method_details_us_bank_account"
          }
        },
        "required": [
          "billing_details",
          "type"
        ],
        "title": "TreasurySharedResourceInitiatingPaymentMethodDetailsInitiatingPaymentMethodDetails",
        "type": "object",
        "x-expandableFields": [
          "billing_details",
          "financial_account",
          "us_bank_account"
        ],
        "x-stripeMostCommon": [
          "balance",
          "billing_details",
          "financial_account",
          "issuing_card",
          "type",
          "us_bank_account"
        ]
      },
      "treasury_shared_resource_initiating_payment_method_details_us_bank_account": {
        "description": "",
        "properties": {
          "bank_name": {
            "description": "Bank name.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "last4": {
            "description": "The last four digits of the bank account number.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "routing_number": {
            "description": "The routing number for the bank account.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "bank_name",
          "last4",
          "routing_number"
        ],
        "title": "TreasurySharedResourceInitiatingPaymentMethodDetailsUSBankAccount",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "bank_name",
          "last4",
          "routing_number"
        ],
        "x-stripeResource": {
          "class_name": "UsBankAccount",
          "in_package": ""
        }
      },
      "treasury_transactions_resource_abstract_transaction_resource_status_transitions": {
        "description": "",
        "properties": {
          "posted_at": {
            "description": "Timestamp describing when the Transaction changed status to `posted`.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          },
          "void_at": {
            "description": "Timestamp describing when the Transaction changed status to `void`.",
            "format": "unix-time",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "posted_at",
          "void_at"
        ],
        "title": "TreasuryTransactionsResourceAbstractTransactionResourceStatusTransitions",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "posted_at",
          "void_at"
        ]
      },
      "treasury_transactions_resource_balance_impact": {
        "description": "Change to a FinancialAccount's balance",
        "properties": {
          "cash": {
            "description": "The change made to funds the user can spend right now.",
            "type": "integer"
          },
          "inbound_pending": {
            "description": "The change made to funds that are not spendable yet, but will become available at a later time.",
            "type": "integer"
          },
          "outbound_pending": {
            "description": "The change made to funds in the account, but not spendable because they are being held for pending outbound flows.",
            "type": "integer"
          }
        },
        "required": [
          "cash",
          "inbound_pending",
          "outbound_pending"
        ],
        "title": "TreasuryTransactionsResourceBalanceImpact",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "cash",
          "inbound_pending",
          "outbound_pending"
        ]
      },
      "treasury_transactions_resource_flow_details": {
        "description": "",
        "properties": {
          "credit_reversal": {
            "$ref": "#/components/schemas/treasury.credit_reversal"
          },
          "debit_reversal": {
            "$ref": "#/components/schemas/treasury.debit_reversal"
          },
          "inbound_transfer": {
            "$ref": "#/components/schemas/treasury.inbound_transfer"
          },
          "issuing_authorization": {
            "$ref": "#/components/schemas/issuing.authorization"
          },
          "outbound_payment": {
            "$ref": "#/components/schemas/treasury.outbound_payment"
          },
          "outbound_transfer": {
            "$ref": "#/components/schemas/treasury.outbound_transfer"
          },
          "received_credit": {
            "$ref": "#/components/schemas/treasury.received_credit"
          },
          "received_debit": {
            "$ref": "#/components/schemas/treasury.received_debit"
          },
          "type": {
            "description": "Type of the flow that created the Transaction. Set to the same value as `flow_type`.",
            "enum": [
              "credit_reversal",
              "debit_reversal",
              "inbound_transfer",
              "issuing_authorization",
              "other",
              "outbound_payment",
              "outbound_transfer",
              "received_credit",
              "received_debit"
            ],
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "title": "TreasuryTransactionsResourceFlowDetails",
        "type": "object",
        "x-expandableFields": [
          "credit_reversal",
          "debit_reversal",
          "inbound_transfer",
          "issuing_authorization",
          "outbound_payment",
          "outbound_transfer",
          "received_credit",
          "received_debit"
        ],
        "x-stripeMostCommon": [
          "credit_reversal",
          "debit_reversal",
          "inbound_transfer",
          "issuing_authorization",
          "outbound_payment",
          "outbound_transfer",
          "received_credit",
          "received_debit",
          "type"
        ]
      },
      "us_bank_account_networks": {
        "description": "",
        "properties": {
          "preferred": {
            "description": "The preferred network.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "supported": {
            "description": "All supported networks.",
            "items": {
              "enum": [
                "ach",
                "us_domestic_wire"
              ],
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "preferred",
          "supported"
        ],
        "title": "us_bank_account_networks",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "preferred",
          "supported"
        ]
      },
      "usage_record": {
        "description": "Usage records allow you to report customer usage and metrics to Stripe for\nmetered billing of subscription prices.\n\nRelated guide: [Metered billing](https://stripe.com/docs/billing/subscriptions/metered-billing)\n\nThis is our legacy usage-based billing API. See the [updated usage-based billing docs](https://docs.stripe.com/billing/subscriptions/usage-based).",
        "properties": {
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "usage_record"
            ],
            "type": "string"
          },
          "quantity": {
            "description": "The usage quantity for the specified date.",
            "type": "integer"
          },
          "subscription_item": {
            "description": "The ID of the subscription item this usage record contains data for.",
            "maxLength": 5000,
            "type": "string"
          },
          "timestamp": {
            "description": "The timestamp when this usage occurred.",
            "format": "unix-time",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "livemode",
          "object",
          "quantity",
          "subscription_item",
          "timestamp"
        ],
        "title": "UsageRecord",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "usage_record",
        "x-stripeMostCommon": [
          "id",
          "quantity",
          "subscription_item",
          "timestamp"
        ],
        "x-stripeOperations": [
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "custom",
            "operation": "post",
            "path": "/v1/subscription_items/{subscription_item}/usage_records"
          }
        ],
        "x-stripeResource": {
          "class_name": "UsageRecord",
          "in_package": ""
        }
      },
      "usage_record_summary": {
        "description": "A usage record summary represents an aggregated view of how much usage was accrued for a subscription item within a subscription billing period.",
        "properties": {
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "invoice": {
            "description": "The invoice in which this usage period has been billed for.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "usage_record_summary"
            ],
            "type": "string"
          },
          "period": {
            "$ref": "#/components/schemas/period"
          },
          "subscription_item": {
            "description": "The ID of the subscription item this summary is describing.",
            "maxLength": 5000,
            "type": "string"
          },
          "total_usage": {
            "description": "The total usage within this usage period.",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "invoice",
          "livemode",
          "object",
          "period",
          "subscription_item",
          "total_usage"
        ],
        "title": "UsageRecordSummary",
        "type": "object",
        "x-expandableFields": [
          "period"
        ],
        "x-resourceId": "usage_record_summary",
        "x-stripeMostCommon": [
          "id",
          "invoice",
          "livemode",
          "object",
          "period",
          "subscription_item",
          "total_usage"
        ],
        "x-stripeOperations": [
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/subscription_items/{subscription_item}/usage_record_summaries"
          }
        ],
        "x-stripeResource": {
          "class_name": "UsageRecordSummary",
          "has_collection_class": true,
          "in_package": ""
        }
      },
      "verification_session_redaction": {
        "description": "",
        "properties": {
          "status": {
            "description": "Indicates whether this object and its related objects have been redacted or not.",
            "enum": [
              "processing",
              "redacted"
            ],
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "title": "verification_session_redaction",
        "type": "object",
        "x-expandableFields": [],
        "x-stripeMostCommon": [
          "status"
        ]
      },
      "webhook_endpoint": {
        "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)",
        "properties": {
          "api_version": {
            "description": "The API version events are rendered as for this webhook endpoint.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "application": {
            "description": "The ID of the associated Connect application.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "created": {
            "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
            "format": "unix-time",
            "type": "integer"
          },
          "description": {
            "description": "An optional description of what the webhook is used for.",
            "maxLength": 5000,
            "nullable": true,
            "type": "string"
          },
          "enabled_events": {
            "description": "The list of events to enable for this endpoint. `['*']` indicates that all events are enabled, except those that require explicit selection.",
            "items": {
              "maxLength": 5000,
              "type": "string"
            },
            "type": "array"
          },
          "id": {
            "description": "Unique identifier for the object.",
            "maxLength": 5000,
            "type": "string"
          },
          "livemode": {
            "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": {
              "maxLength": 500,
              "type": "string"
            },
            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "type": "object"
          },
          "object": {
            "description": "String representing the object's type. Objects of the same type share the same value.",
            "enum": [
              "webhook_endpoint"
            ],
            "type": "string"
          },
          "secret": {
            "description": "The endpoint's secret, used to generate [webhook signatures](https://docs.stripe.com/webhooks/signatures). Only returned at creation.",
            "maxLength": 5000,
            "type": "string"
          },
          "status": {
            "description": "The status of the webhook. It can be `enabled` or `disabled`.",
            "maxLength": 5000,
            "type": "string"
          },
          "url": {
            "description": "The URL of the webhook endpoint.",
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "api_version",
          "application",
          "created",
          "description",
          "enabled_events",
          "id",
          "livemode",
          "metadata",
          "object",
          "status",
          "url"
        ],
        "title": "NotificationWebhookEndpoint",
        "type": "object",
        "x-expandableFields": [],
        "x-resourceId": "webhook_endpoint",
        "x-stripeMostCommon": [
          "api_version",
          "description",
          "enabled_events",
          "id",
          "metadata",
          "status",
          "url"
        ],
        "x-stripeOperations": [
          {
            "method_name": "delete",
            "method_on": "service",
            "method_type": "delete",
            "operation": "delete",
            "path": "/v1/webhook_endpoints/{webhook_endpoint}"
          },
          {
            "method_name": "list",
            "method_on": "service",
            "method_type": "list",
            "operation": "get",
            "path": "/v1/webhook_endpoints"
          },
          {
            "method_name": "retrieve",
            "method_on": "service",
            "method_type": "retrieve",
            "operation": "get",
            "path": "/v1/webhook_endpoints/{webhook_endpoint}"
          },
          {
            "method_name": "create",
            "method_on": "service",
            "method_type": "create",
            "operation": "post",
            "path": "/v1/webhook_endpoints"
          },
          {
            "method_name": "update",
            "method_on": "service",
            "method_type": "update",
            "operation": "post",
            "path": "/v1/webhook_endpoints/{webhook_endpoint}"
          }
        ],
        "x-stripeResource": {
          "class_name": "WebhookEndpoint",
          "has_collection_class": true,
          "in_package": ""
        }
      }
    },
    "securitySchemes": {
      "basicAuth": {
        "description": "Basic HTTP authentication. Allowed headers-- Authorization: Basic <api_key> | Authorization: Basic <base64 hash of `api_key:`>",
        "scheme": "basic",
        "type": "http"
      },
      "bearerAuth": {
        "bearerFormat": "auth-scheme",
        "description": "Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "contact": {
      "email": "dev-platform@stripe.com",
      "name": "Stripe Dev Platform Team",
      "url": "https://stripe.com"
    },
    "description": "The Stripe REST API. Please see https://stripe.com/docs/api for more details.",
    "termsOfService": "https://stripe.com/us/terms/",
    "title": "Stripe API",
    "version": "2024-11-20.acacia",
    "x-stripeSpecFilename": "spec3.sdk"
  },
  "openapi": "3.0.0",
  "paths": {
    "/v1/account": {
      "get": {
        "description": "<p>Retrieves the details of an account.</p>",
        "operationId": "GetAccount",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/account"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve account"
      }
    },
    "/v1/account_links": {
      "post": {
        "description": "<p>Creates an AccountLink object that includes a single-use Stripe URL that the platform can redirect their user to in order to take them through the Connect Onboarding flow.</p>",
        "operationId": "PostAccountLinks",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "collection_options": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "account": {
                    "description": "The identifier of the account to create an account link for.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "collect": {
                    "description": "The collect parameter is deprecated. Use `collection_options` instead.",
                    "enum": [
                      "currently_due",
                      "eventually_due"
                    ],
                    "type": "string"
                  },
                  "collection_options": {
                    "description": "Specifies the requirements that Stripe collects from connected accounts in the Connect Onboarding flow.",
                    "properties": {
                      "fields": {
                        "description": "Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). If you don't specify `collection_options`, the default value is `currently_due`.",
                        "enum": [
                          "currently_due",
                          "eventually_due"
                        ],
                        "type": "string"
                      },
                      "future_requirements": {
                        "description": "Specifies whether the platform collects future_requirements in addition to requirements in Connect Onboarding. The default value is `omit`.",
                        "enum": [
                          "include",
                          "omit"
                        ],
                        "type": "string"
                      }
                    },
                    "title": "collection_options_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "fields",
                      "future_requirements"
                    ]
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "refresh_url": {
                    "description": "The URL the user will be redirected to if the account link is expired, has been previously-visited, or is otherwise invalid. The URL you specify should attempt to generate a new account link with the same parameters used to create the original account link, then redirect the user to the new account link's URL so they can continue with Connect Onboarding. If a new account link cannot be generated or the redirect fails you should display a useful error to the user.",
                    "type": "string"
                  },
                  "return_url": {
                    "description": "The URL that the user will be redirected to upon leaving or completing the linked flow.",
                    "type": "string"
                  },
                  "type": {
                    "description": "The type of account link the user is requesting. Possible values are `account_onboarding` or `account_update`.",
                    "enum": [
                      "account_onboarding",
                      "account_update"
                    ],
                    "type": "string",
                    "x-stripeBypassValidation": true
                  }
                },
                "required": [
                  "account",
                  "type"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "account",
                  "refresh_url",
                  "return_url",
                  "type"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/account_link"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create an account link"
      }
    },
    "/v1/account_sessions": {
      "post": {
        "description": "<p>Creates a AccountSession object that includes a single-use token that the platform can use on their front-end to grant client-side API access.</p>",
        "operationId": "PostAccountSessions",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "components": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "account": {
                    "description": "The identifier of the account to create an Account Session for.",
                    "type": "string"
                  },
                  "components": {
                    "description": "Each key of the dictionary represents an embedded component, and each embedded component maps to its configuration (e.g. whether it has been enabled or not).",
                    "properties": {
                      "account_management": {
                        "description": "Configuration for the account management embedded component.",
                        "properties": {
                          "enabled": {
                            "description": "Whether the embedded component is enabled.",
                            "type": "boolean"
                          },
                          "features": {
                            "description": "The list of features enabled in the embedded component.",
                            "properties": {
                              "disable_stripe_user_authentication": {
                                "description": "Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you’re responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.",
                                "type": "boolean"
                              },
                              "external_account_collection": {
                                "description": "Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you’re responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.",
                                "type": "boolean"
                              }
                            },
                            "title": "account_features_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "disable_stripe_user_authentication",
                              "external_account_collection"
                            ]
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "account_config_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "enabled",
                          "features"
                        ]
                      },
                      "account_onboarding": {
                        "description": "Configuration for the account onboarding embedded component.",
                        "properties": {
                          "enabled": {
                            "description": "Whether the embedded component is enabled.",
                            "type": "boolean"
                          },
                          "features": {
                            "description": "The list of features enabled in the embedded component.",
                            "properties": {
                              "disable_stripe_user_authentication": {
                                "description": "Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you’re responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.",
                                "type": "boolean"
                              },
                              "external_account_collection": {
                                "description": "Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you’re responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.",
                                "type": "boolean"
                              }
                            },
                            "title": "account_features_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "disable_stripe_user_authentication",
                              "external_account_collection"
                            ]
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "account_config_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "enabled",
                          "features"
                        ]
                      },
                      "balances": {
                        "description": "Configuration for the balances embedded component.",
                        "properties": {
                          "enabled": {
                            "description": "Whether the embedded component is enabled.",
                            "type": "boolean"
                          },
                          "features": {
                            "description": "The list of features enabled in the embedded component.",
                            "properties": {
                              "disable_stripe_user_authentication": {
                                "description": "Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you’re responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.",
                                "type": "boolean"
                              },
                              "edit_payout_schedule": {
                                "description": "Whether to allow payout schedule to be changed. Default `true` when Stripe owns Loss Liability, default `false` otherwise.",
                                "type": "boolean"
                              },
                              "external_account_collection": {
                                "description": "Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you’re responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.",
                                "type": "boolean"
                              },
                              "instant_payouts": {
                                "description": "Whether to allow creation of instant payouts. Default `true` when Stripe owns Loss Liability, default `false` otherwise.",
                                "type": "boolean"
                              },
                              "standard_payouts": {
                                "description": "Whether to allow creation of standard payouts. Default `true` when Stripe owns Loss Liability, default `false` otherwise.",
                                "type": "boolean"
                              }
                            },
                            "title": "payouts_features_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "disable_stripe_user_authentication",
                              "edit_payout_schedule",
                              "external_account_collection",
                              "instant_payouts",
                              "standard_payouts"
                            ]
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "payouts_config_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "enabled",
                          "features"
                        ]
                      },
                      "documents": {
                        "description": "Configuration for the documents embedded component.",
                        "properties": {
                          "enabled": {
                            "description": "Whether the embedded component is enabled.",
                            "type": "boolean"
                          },
                          "features": {
                            "description": "The list of features enabled in the embedded component.",
                            "properties": {},
                            "title": "base_features_param",
                            "type": "object"
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "base_config_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "enabled",
                          "features"
                        ]
                      },
                      "notification_banner": {
                        "description": "Configuration for the notification banner embedded component.",
                        "properties": {
                          "enabled": {
                            "description": "Whether the embedded component is enabled.",
                            "type": "boolean"
                          },
                          "features": {
                            "description": "The list of features enabled in the embedded component.",
                            "properties": {
                              "disable_stripe_user_authentication": {
                                "description": "Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you’re responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.",
                                "type": "boolean"
                              },
                              "external_account_collection": {
                                "description": "Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you’re responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.",
                                "type": "boolean"
                              }
                            },
                            "title": "account_features_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "disable_stripe_user_authentication",
                              "external_account_collection"
                            ]
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "account_config_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "enabled",
                          "features"
                        ]
                      },
                      "payment_details": {
                        "description": "Configuration for the payment details embedded component.",
                        "properties": {
                          "enabled": {
                            "description": "Whether the embedded component is enabled.",
                            "type": "boolean"
                          },
                          "features": {
                            "description": "The list of features enabled in the embedded component.",
                            "properties": {
                              "capture_payments": {
                                "description": "Whether to allow capturing and cancelling payment intents. This is `true` by default.",
                                "type": "boolean"
                              },
                              "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": "boolean"
                              },
                              "dispute_management": {
                                "description": "Whether to allow responding to disputes, including submitting evidence and accepting disputes. This is `true` by default.",
                                "type": "boolean"
                              },
                              "refund_management": {
                                "description": "Whether to allow sending refunds. This is `true` by default.",
                                "type": "boolean"
                              }
                            },
                            "title": "payments_features_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_payments",
                              "destination_on_behalf_of_charge_management",
                              "dispute_management",
                              "refund_management"
                            ]
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "payments_config_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "enabled",
                          "features"
                        ]
                      },
                      "payments": {
                        "description": "Configuration for the payments embedded component.",
                        "properties": {
                          "enabled": {
                            "description": "Whether the embedded component is enabled.",
                            "type": "boolean"
                          },
                          "features": {
                            "description": "The list of features enabled in the embedded component.",
                            "properties": {
                              "capture_payments": {
                                "description": "Whether to allow capturing and cancelling payment intents. This is `true` by default.",
                                "type": "boolean"
                              },
                              "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": "boolean"
                              },
                              "dispute_management": {
                                "description": "Whether to allow responding to disputes, including submitting evidence and accepting disputes. This is `true` by default.",
                                "type": "boolean"
                              },
                              "refund_management": {
                                "description": "Whether to allow sending refunds. This is `true` by default.",
                                "type": "boolean"
                              }
                            },
                            "title": "payments_features_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_payments",
                              "destination_on_behalf_of_charge_management",
                              "dispute_management",
                              "refund_management"
                            ]
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "payments_config_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "enabled",
                          "features"
                        ]
                      },
                      "payouts": {
                        "description": "Configuration for the payouts embedded component.",
                        "properties": {
                          "enabled": {
                            "description": "Whether the embedded component is enabled.",
                            "type": "boolean"
                          },
                          "features": {
                            "description": "The list of features enabled in the embedded component.",
                            "properties": {
                              "disable_stripe_user_authentication": {
                                "description": "Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you’re responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.",
                                "type": "boolean"
                              },
                              "edit_payout_schedule": {
                                "description": "Whether to allow payout schedule to be changed. Default `true` when Stripe owns Loss Liability, default `false` otherwise.",
                                "type": "boolean"
                              },
                              "external_account_collection": {
                                "description": "Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you’re responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.",
                                "type": "boolean"
                              },
                              "instant_payouts": {
                                "description": "Whether to allow creation of instant payouts. Default `true` when Stripe owns Loss Liability, default `false` otherwise.",
                                "type": "boolean"
                              },
                              "standard_payouts": {
                                "description": "Whether to allow creation of standard payouts. Default `true` when Stripe owns Loss Liability, default `false` otherwise.",
                                "type": "boolean"
                              }
                            },
                            "title": "payouts_features_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "disable_stripe_user_authentication",
                              "edit_payout_schedule",
                              "external_account_collection",
                              "instant_payouts",
                              "standard_payouts"
                            ]
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "payouts_config_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "enabled",
                          "features"
                        ]
                      },
                      "payouts_list": {
                        "description": "Configuration for the payouts list embedded component.",
                        "properties": {
                          "enabled": {
                            "description": "Whether the embedded component is enabled.",
                            "type": "boolean"
                          },
                          "features": {
                            "description": "The list of features enabled in the embedded component.",
                            "properties": {},
                            "title": "base_features_param",
                            "type": "object"
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "base_config_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "enabled",
                          "features"
                        ]
                      },
                      "tax_registrations": {
                        "description": "Configuration for the tax registrations embedded component.",
                        "properties": {
                          "enabled": {
                            "description": "Whether the embedded component is enabled.",
                            "type": "boolean"
                          },
                          "features": {
                            "description": "The list of features enabled in the embedded component.",
                            "properties": {},
                            "title": "base_features_param",
                            "type": "object"
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "base_config_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "enabled",
                          "features"
                        ]
                      },
                      "tax_settings": {
                        "description": "Configuration for the tax settings embedded component.",
                        "properties": {
                          "enabled": {
                            "description": "Whether the embedded component is enabled.",
                            "type": "boolean"
                          },
                          "features": {
                            "description": "The list of features enabled in the embedded component.",
                            "properties": {},
                            "title": "base_features_param",
                            "type": "object"
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "base_config_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "enabled",
                          "features"
                        ]
                      }
                    },
                    "title": "account_session_create_components_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "account_management",
                      "account_onboarding",
                      "app_install",
                      "app_viewport",
                      "balances",
                      "capital_financing",
                      "capital_financing_application",
                      "capital_financing_promotion",
                      "capital_overview",
                      "documents",
                      "financial_account",
                      "financial_account_transactions",
                      "issuing_card",
                      "issuing_cards_list",
                      "notification_banner",
                      "payment_details",
                      "payment_method_settings",
                      "payments",
                      "payouts",
                      "payouts_list",
                      "recipients",
                      "reporting_chart",
                      "tax_registrations",
                      "tax_settings"
                    ]
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "account",
                  "components"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "account",
                  "components"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/account_session"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create an Account Session"
      }
    },
    "/v1/accounts": {
      "get": {
        "description": "<p>Returns a list of accounts connected to your platform via <a href=\"/docs/connect\">Connect</a>. If you’re not a platform, the list is empty.</p>",
        "operationId": "GetAccounts",
        "parameters": [
          {
            "description": "Only return connected accounts that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/account"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/accounts",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "AccountList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all connected accounts"
      },
      "post": {
        "description": "<p>With <a href=\"/docs/connect\">Connect</a>, you can create Stripe accounts for your users.\nTo do this, you’ll first need to <a href=\"https://dashboard.stripe.com/account/applications/settings\">register your platform</a>.</p>\n\n<p>If you’ve already collected information for your connected accounts, you <a href=\"/docs/connect/best-practices#onboarding\">can prefill that information</a> when\ncreating the account. Connect Onboarding won’t ask for the prefilled information during account onboarding.\nYou can prefill any information on the account.</p>",
        "operationId": "PostAccounts",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "business_profile": {
                  "explode": true,
                  "style": "deepObject"
                },
                "capabilities": {
                  "explode": true,
                  "style": "deepObject"
                },
                "company": {
                  "explode": true,
                  "style": "deepObject"
                },
                "controller": {
                  "explode": true,
                  "style": "deepObject"
                },
                "documents": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "groups": {
                  "explode": true,
                  "style": "deepObject"
                },
                "individual": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "settings": {
                  "explode": true,
                  "style": "deepObject"
                },
                "tos_acceptance": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "account_token": {
                    "description": "An [account token](https://stripe.com/docs/api#create_account_token), used to securely provide details to the account.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "business_profile": {
                    "description": "Business information about the account.",
                    "properties": {
                      "annual_revenue": {
                        "description": "The applicant's gross annual revenue for its preceding fiscal year.",
                        "properties": {
                          "amount": {
                            "description": "A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal).",
                            "type": "integer"
                          },
                          "currency": {
                            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                            "type": "string"
                          },
                          "fiscal_year_end": {
                            "description": "The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "amount",
                          "currency",
                          "fiscal_year_end"
                        ],
                        "title": "annual_revenue_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "amount",
                          "currency",
                          "fiscal_year_end"
                        ]
                      },
                      "estimated_worker_count": {
                        "description": "An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.",
                        "type": "integer"
                      },
                      "mcc": {
                        "description": "[The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.",
                        "maxLength": 4,
                        "type": "string"
                      },
                      "monthly_estimated_revenue": {
                        "description": "An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.",
                        "properties": {
                          "amount": {
                            "description": "A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal).",
                            "type": "integer"
                          },
                          "currency": {
                            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                            "type": "string"
                          }
                        },
                        "required": [
                          "amount",
                          "currency"
                        ],
                        "title": "monthly_estimated_revenue_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "amount",
                          "currency"
                        ]
                      },
                      "name": {
                        "description": "The customer-facing business name.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "product_description": {
                        "description": "Internal-only description of the product sold by, or service provided by, the business. Used by Stripe for risk and underwriting purposes.",
                        "maxLength": 40000,
                        "type": "string"
                      },
                      "support_address": {
                        "description": "A publicly available mailing address for sending support issues to.",
                        "properties": {
                          "city": {
                            "description": "City, district, suburb, town, or village.",
                            "maxLength": 100,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Address line 1 (e.g., street, PO Box, or company name).",
                            "maxLength": 200,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                            "maxLength": 200,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "ZIP or postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "State, county, province, or region.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "address_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "line1",
                          "line2",
                          "postal_code",
                          "state"
                        ]
                      },
                      "support_email": {
                        "description": "A publicly available email address for sending support issues to.",
                        "type": "string"
                      },
                      "support_phone": {
                        "description": "A publicly available phone number to call with support issues.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "support_url": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "A publicly available website for handling support issues."
                      },
                      "url": {
                        "description": "The business's publicly available website.",
                        "type": "string"
                      }
                    },
                    "title": "business_profile_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "annual_revenue",
                      "estimated_worker_count",
                      "industry",
                      "mcc",
                      "monthly_estimated_revenue",
                      "name",
                      "payment_collection_methods",
                      "privacy_policy_url",
                      "product_description",
                      "singapore_account_activity_survey",
                      "specified_commercial_transactions_act_url",
                      "support_address",
                      "support_email",
                      "support_phone",
                      "support_url",
                      "terms_of_service_url",
                      "url",
                      "url_opt_out_reason"
                    ]
                  },
                  "business_type": {
                    "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.",
                    "enum": [
                      "company",
                      "government_entity",
                      "individual",
                      "non_profit"
                    ],
                    "type": "string",
                    "x-stripeBypassValidation": true
                  },
                  "capabilities": {
                    "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.",
                    "properties": {
                      "acss_debit_payments": {
                        "description": "The acss_debit_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "affirm_payments": {
                        "description": "The affirm_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "afterpay_clearpay_payments": {
                        "description": "The afterpay_clearpay_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "alma_payments": {
                        "description": "The alma_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "amazon_pay_payments": {
                        "description": "The amazon_pay_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "au_becs_debit_payments": {
                        "description": "The au_becs_debit_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "bacs_debit_payments": {
                        "description": "The bacs_debit_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "bancontact_payments": {
                        "description": "The bancontact_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "bank_transfer_payments": {
                        "description": "The bank_transfer_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "blik_payments": {
                        "description": "The blik_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "boleto_payments": {
                        "description": "The boleto_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "card_issuing": {
                        "description": "The card_issuing capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "card_payments": {
                        "description": "The card_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "cartes_bancaires_payments": {
                        "description": "The cartes_bancaires_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "cashapp_payments": {
                        "description": "The cashapp_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "eps_payments": {
                        "description": "The eps_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "fpx_payments": {
                        "description": "The fpx_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "gb_bank_transfer_payments": {
                        "description": "The gb_bank_transfer_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "giropay_payments": {
                        "description": "The giropay_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "grabpay_payments": {
                        "description": "The grabpay_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "ideal_payments": {
                        "description": "The ideal_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "india_international_payments": {
                        "description": "The india_international_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "jcb_payments": {
                        "description": "The jcb_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "jp_bank_transfer_payments": {
                        "description": "The jp_bank_transfer_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "kakao_pay_payments": {
                        "description": "The kakao_pay_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "klarna_payments": {
                        "description": "The klarna_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "konbini_payments": {
                        "description": "The konbini_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "kr_card_payments": {
                        "description": "The kr_card_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "legacy_payments": {
                        "description": "The legacy_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "link_payments": {
                        "description": "The link_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "mobilepay_payments": {
                        "description": "The mobilepay_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "multibanco_payments": {
                        "description": "The multibanco_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "mx_bank_transfer_payments": {
                        "description": "The mx_bank_transfer_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "naver_pay_payments": {
                        "description": "The naver_pay_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "oxxo_payments": {
                        "description": "The oxxo_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "p24_payments": {
                        "description": "The p24_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "payco_payments": {
                        "description": "The payco_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "paynow_payments": {
                        "description": "The paynow_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "promptpay_payments": {
                        "description": "The promptpay_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "revolut_pay_payments": {
                        "description": "The revolut_pay_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "samsung_pay_payments": {
                        "description": "The samsung_pay_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "sepa_bank_transfer_payments": {
                        "description": "The sepa_bank_transfer_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "sepa_debit_payments": {
                        "description": "The sepa_debit_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "sofort_payments": {
                        "description": "The sofort_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "swish_payments": {
                        "description": "The swish_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "tax_reporting_us_1099_k": {
                        "description": "The tax_reporting_us_1099_k capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "tax_reporting_us_1099_misc": {
                        "description": "The tax_reporting_us_1099_misc capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "transfers": {
                        "description": "The transfers capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "treasury": {
                        "description": "The treasury capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "twint_payments": {
                        "description": "The twint_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "us_bank_account_ach_payments": {
                        "description": "The us_bank_account_ach_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "us_bank_transfer_payments": {
                        "description": "The us_bank_transfer_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "zip_payments": {
                        "description": "The zip_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      }
                    },
                    "title": "capabilities_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "ach_debit_payments",
                      "acss_debit_payments",
                      "affirm_payments",
                      "afterpay_clearpay_payments",
                      "alipay_payments",
                      "alma_payments",
                      "amazon_pay_payments",
                      "apple_pay_later_payments",
                      "au_bank_transfer_payments",
                      "au_becs_debit_payments",
                      "automatic_indirect_tax",
                      "bacs_debit_payments",
                      "bacs_debit_stripe_sun_payments",
                      "bancontact_payments",
                      "bank_transfer_payments",
                      "beneficiary_transfers",
                      "billie_payments",
                      "bizum_payments",
                      "blik_payments",
                      "boleto_payments",
                      "ca_bank_transfer_payments",
                      "capchase_pay_payments",
                      "card_issuing",
                      "card_issuing_charge_card",
                      "card_issuing_charge_card_stripe",
                      "card_issuing_spend_card_cross_river",
                      "card_payments",
                      "cartes_bancaires_payments",
                      "cash_advances",
                      "cashapp_payments",
                      "crypto_financial_accounts",
                      "crypto_payments",
                      "crypto_transfers",
                      "crypto_transfers_platform",
                      "demo_pay_payments",
                      "duitnow_payments",
                      "dummy_passthrough_card_payments",
                      "eps_payments",
                      "fpx_payments",
                      "funding_credit",
                      "gb_bank_transfer_payments",
                      "giropay_payments",
                      "gopay_payments",
                      "grabpay_payments",
                      "id_bank_transfer_payments",
                      "id_bank_transfer_payments_bca",
                      "id_credit_transfer_payments",
                      "ideal_payments",
                      "india_international_payments",
                      "jcb_payments",
                      "jp_bank_transfer_payments",
                      "kakao_pay_payments",
                      "klarna_payments",
                      "konbini_payments",
                      "kr_card_payments",
                      "kr_market_payments",
                      "kriya_payments",
                      "legacy_payments",
                      "link_payments",
                      "loans",
                      "mb_way_payments",
                      "meta_pay_payments",
                      "mobilepay_payments",
                      "mondu_payments",
                      "multibanco_payments",
                      "mx_bank_transfer_payments",
                      "naver_pay_payments",
                      "netbanking_payments",
                      "ng_bank_payments",
                      "ng_bank_transfer_payments",
                      "ng_card_payments",
                      "ng_market_payments",
                      "ng_ussd_payments",
                      "nz_bank_account_becs_debit_payments",
                      "nz_bank_transfer_payments",
                      "oxxo_payments",
                      "p24_payments",
                      "pay_by_bank_payments",
                      "payco_payments",
                      "payments",
                      "paynow_payments",
                      "paypal_payments",
                      "payto_payments",
                      "pix_payments",
                      "promptpay_payments",
                      "qris_payments",
                      "rechnung_payments",
                      "revolut_pay_payments",
                      "samsung_pay_payments",
                      "satispay_payments",
                      "scalapay_payments",
                      "sepa_bank_transfer_payments",
                      "sepa_debit_payments",
                      "sequra_payments",
                      "shopeepay_payments",
                      "sofort_payments",
                      "south_korea_market_payments",
                      "submerchant_payments",
                      "sunbit_payments",
                      "swish_payments",
                      "tax_reporting_us_1099_k",
                      "tax_reporting_us_1099_misc",
                      "transfers",
                      "treasury",
                      "treasury_evolve",
                      "treasury_fifth_third",
                      "treasury_goldman_sachs",
                      "twint_payments",
                      "upi_payments",
                      "us_bank_account_ach_payments",
                      "us_bank_transfer_payments",
                      "vipps_payments",
                      "wechat_pay_payments",
                      "zip_payments"
                    ]
                  },
                  "company": {
                    "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.",
                    "properties": {
                      "address": {
                        "description": "The company's primary address.",
                        "properties": {
                          "city": {
                            "description": "City, district, suburb, town, or village.",
                            "maxLength": 100,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Address line 1 (e.g., street, PO Box, or company name).",
                            "maxLength": 200,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                            "maxLength": 200,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "ZIP or postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "State, county, province, or region.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "legal_entity_and_kyc_address_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "line1",
                          "line2",
                          "postal_code",
                          "state"
                        ]
                      },
                      "address_kana": {
                        "description": "The Kana variation of the company's primary address (Japan only).",
                        "properties": {
                          "city": {
                            "description": "City or ward.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Block or building number.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Building details.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "Postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "Prefecture.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "town": {
                            "description": "Town or cho-me.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "japan_address_kana_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "db_code",
                          "line1",
                          "line2",
                          "postal_code",
                          "state",
                          "town"
                        ]
                      },
                      "address_kanji": {
                        "description": "The Kanji variation of the company's primary address (Japan only).",
                        "properties": {
                          "city": {
                            "description": "City or ward.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Block or building number.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Building details.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "Postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "Prefecture.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "town": {
                            "description": "Town or cho-me.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "japan_address_kanji_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "db_code",
                          "line1",
                          "line2",
                          "postal_code",
                          "state",
                          "town"
                        ]
                      },
                      "directors_provided": {
                        "description": "Whether the company's directors have been provided. Set this Boolean to `true` after creating all the company's directors with [the Persons API](/api/persons) for accounts with a `relationship.director` requirement. This value is not automatically set to `true` after creating directors, so it needs to be updated to indicate all directors have been provided.",
                        "type": "boolean"
                      },
                      "executives_provided": {
                        "description": "Whether the company's executives have been provided. Set this Boolean to `true` after creating all the company's executives with [the Persons API](/api/persons) for accounts with a `relationship.executive` requirement.",
                        "type": "boolean"
                      },
                      "export_license_id": {
                        "description": "The export license ID number of the company, also referred as Import Export Code (India only).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "export_purpose_code": {
                        "description": "The purpose code to use for export transactions (India only).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "name": {
                        "description": "The company's legal name.",
                        "maxLength": 100,
                        "type": "string"
                      },
                      "name_kana": {
                        "description": "The Kana variation of the company's legal name (Japan only).",
                        "maxLength": 100,
                        "type": "string"
                      },
                      "name_kanji": {
                        "description": "The Kanji variation of the company's legal name (Japan only).",
                        "maxLength": 100,
                        "type": "string"
                      },
                      "owners_provided": {
                        "description": "Whether the company's owners have been provided. Set this Boolean to `true` after creating all the company's owners with [the Persons API](/api/persons) for accounts with a `relationship.owner` requirement.",
                        "type": "boolean"
                      },
                      "ownership_declaration": {
                        "description": "This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.",
                        "properties": {
                          "date": {
                            "description": "The Unix timestamp marking when the beneficial owner attestation was made.",
                            "format": "unix-time",
                            "type": "integer"
                          },
                          "ip": {
                            "description": "The IP address from which the beneficial owner attestation was made.",
                            "type": "string"
                          },
                          "user_agent": {
                            "description": "The user agent of the browser from which the beneficial owner attestation was made.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "company_ownership_declaration",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "date",
                          "ip",
                          "user_agent"
                        ]
                      },
                      "phone": {
                        "description": "The company's phone number (used for verification).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "registration_number": {
                        "description": "The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "structure": {
                        "description": "The category identifying the legal structure of the company or legal entity. See [Business structure](/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value.",
                        "enum": [
                          "",
                          "free_zone_establishment",
                          "free_zone_llc",
                          "government_instrumentality",
                          "governmental_unit",
                          "incorporated_non_profit",
                          "incorporated_partnership",
                          "limited_liability_partnership",
                          "llc",
                          "multi_member_llc",
                          "private_company",
                          "private_corporation",
                          "private_partnership",
                          "public_company",
                          "public_corporation",
                          "public_partnership",
                          "registered_charity",
                          "single_member_llc",
                          "sole_establishment",
                          "sole_proprietorship",
                          "tax_exempt_government_instrumentality",
                          "unincorporated_association",
                          "unincorporated_non_profit",
                          "unincorporated_partnership"
                        ],
                        "type": "string",
                        "x-stripeBypassValidation": true
                      },
                      "tax_id": {
                        "description": "The business ID number of the company, as appropriate for the company’s country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.)",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "tax_id_registrar": {
                        "description": "The jurisdiction in which the `tax_id` is registered (Germany-based companies only).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "vat_id": {
                        "description": "The VAT number of the company.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "verification": {
                        "description": "Information on the verification state of the company.",
                        "properties": {
                          "document": {
                            "description": "A document verifying the business.",
                            "properties": {
                              "back": {
                                "description": "The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                                "maxLength": 500,
                                "type": "string"
                              },
                              "front": {
                                "description": "The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                                "maxLength": 500,
                                "type": "string"
                              }
                            },
                            "title": "verification_document_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "back",
                              "front"
                            ]
                          }
                        },
                        "title": "verification_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "document"
                        ]
                      }
                    },
                    "title": "company_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "address",
                      "address_kana",
                      "address_kanji",
                      "contact_point_verification_address",
                      "cross_border_transaction_classifications",
                      "directors_provided",
                      "executives_provided",
                      "export_license_id",
                      "export_purpose_code",
                      "fiscal_code",
                      "invoicing_recipient_code",
                      "name",
                      "name_kana",
                      "name_kanji",
                      "owners_provided",
                      "ownership_declaration",
                      "ownership_exemption_reason",
                      "pan",
                      "phone",
                      "registered_email",
                      "registration_date",
                      "registration_number",
                      "stock_data",
                      "structure",
                      "tax_deduction_account_number",
                      "tax_id",
                      "tax_id_registrar",
                      "vat_id",
                      "vat_registration_status",
                      "verification"
                    ]
                  },
                  "controller": {
                    "description": "A hash of configuration describing the account controller's attributes.",
                    "properties": {
                      "fees": {
                        "description": "A hash of configuration for who pays Stripe fees for product usage on this account.",
                        "properties": {
                          "payer": {
                            "description": "A value indicating the responsible payer of Stripe fees on this account. Defaults to `account`. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).",
                            "enum": [
                              "account",
                              "application"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "controller_fees_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "payer"
                        ]
                      },
                      "losses": {
                        "description": "A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.",
                        "properties": {
                          "payments": {
                            "description": "A value indicating who is liable when this account can't pay back negative balances resulting from payments. Defaults to `stripe`.",
                            "enum": [
                              "application",
                              "stripe"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "controller_losses_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "payments"
                        ]
                      },
                      "requirement_collection": {
                        "description": "A value indicating responsibility for collecting updated information when requirements on the account are due or change. Defaults to `stripe`.",
                        "enum": [
                          "application",
                          "stripe"
                        ],
                        "type": "string"
                      },
                      "stripe_dashboard": {
                        "description": "A hash of configuration for Stripe-hosted dashboards.",
                        "properties": {
                          "type": {
                            "description": "Whether this account should have access to the full Stripe Dashboard (`full`), to the Express Dashboard (`express`), or to no Stripe-hosted dashboard (`none`). Defaults to `full`.",
                            "enum": [
                              "express",
                              "full",
                              "none"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "controller_dashboard_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      }
                    },
                    "title": "controller_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "application",
                      "dashboard",
                      "fees",
                      "losses",
                      "requirement_collection",
                      "stripe_dashboard"
                    ]
                  },
                  "country": {
                    "description": "The country in which the account holder resides, or in which the business is legally established. This should be an ISO 3166-1 alpha-2 country code. For example, if you are in the United States and the business for which you're creating an account is legally represented in Canada, you would use `CA` as the country for the account being created. Available countries include [Stripe's global markets](https://stripe.com/global) as well as countries where [cross-border payouts](https://stripe.com/docs/connect/cross-border-payouts) are supported.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "default_currency": {
                    "description": "Three-letter ISO currency code representing the default currency for the account. This must be a currency that [Stripe supports in the account's country](https://docs.stripe.com/payouts).",
                    "type": "string"
                  },
                  "documents": {
                    "description": "Documents that may be submitted to satisfy various informational requests.",
                    "properties": {
                      "bank_account_ownership_verification": {
                        "description": "One or more documents that support the [Bank account ownership verification](https://support.stripe.com/questions/bank-account-ownership-verification) requirement. Must be a document associated with the account’s primary active bank account that displays the last 4 digits of the account number, either a statement or a check.",
                        "properties": {
                          "files": {
                            "description": "One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.",
                            "items": {
                              "maxLength": 500,
                              "type": "string"
                            },
                            "type": "array"
                          }
                        },
                        "title": "documents_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "files"
                        ]
                      },
                      "company_license": {
                        "description": "One or more documents that demonstrate proof of a company's license to operate.",
                        "properties": {
                          "files": {
                            "description": "One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.",
                            "items": {
                              "maxLength": 500,
                              "type": "string"
                            },
                            "type": "array"
                          }
                        },
                        "title": "documents_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "files"
                        ]
                      },
                      "company_memorandum_of_association": {
                        "description": "One or more documents showing the company's Memorandum of Association.",
                        "properties": {
                          "files": {
                            "description": "One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.",
                            "items": {
                              "maxLength": 500,
                              "type": "string"
                            },
                            "type": "array"
                          }
                        },
                        "title": "documents_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "files"
                        ]
                      },
                      "company_ministerial_decree": {
                        "description": "(Certain countries only) One or more documents showing the ministerial decree legalizing the company's establishment.",
                        "properties": {
                          "files": {
                            "description": "One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.",
                            "items": {
                              "maxLength": 500,
                              "type": "string"
                            },
                            "type": "array"
                          }
                        },
                        "title": "documents_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "files"
                        ]
                      },
                      "company_registration_verification": {
                        "description": "One or more documents that demonstrate proof of a company's registration with the appropriate local authorities.",
                        "properties": {
                          "files": {
                            "description": "One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.",
                            "items": {
                              "maxLength": 500,
                              "type": "string"
                            },
                            "type": "array"
                          }
                        },
                        "title": "documents_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "files"
                        ]
                      },
                      "company_tax_id_verification": {
                        "description": "One or more documents that demonstrate proof of a company's tax ID.",
                        "properties": {
                          "files": {
                            "description": "One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.",
                            "items": {
                              "maxLength": 500,
                              "type": "string"
                            },
                            "type": "array"
                          }
                        },
                        "title": "documents_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "files"
                        ]
                      },
                      "proof_of_registration": {
                        "description": "One or more documents showing the company’s proof of registration with the national business registry.",
                        "properties": {
                          "files": {
                            "description": "One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.",
                            "items": {
                              "maxLength": 500,
                              "type": "string"
                            },
                            "type": "array"
                          }
                        },
                        "title": "documents_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "files"
                        ]
                      }
                    },
                    "title": "documents_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "bank_account_ownership_verification",
                      "company_address_verification",
                      "company_license",
                      "company_memorandum_of_association",
                      "company_ministerial_decree",
                      "company_registration_verification",
                      "company_tax_id_verification",
                      "company_vat_id_verification",
                      "proof_of_registration"
                    ]
                  },
                  "email": {
                    "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": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "external_account": {
                    "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. <br><br>By 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.",
                    "maxLength": 5000,
                    "type": "string",
                    "x-stripeBypassValidation": true
                  },
                  "groups": {
                    "description": "A hash of account group type to tokens. These are account groups this account should be added to",
                    "properties": {
                      "payments_pricing": {
                        "anyOf": [
                          {
                            "maxLength": 5000,
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/docs/connect/platform-pricing-tools) for details."
                      }
                    },
                    "title": "account_groups_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "payments_pricing"
                    ]
                  },
                  "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](/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.",
                    "properties": {
                      "address": {
                        "description": "The individual's primary address.",
                        "properties": {
                          "city": {
                            "description": "City, district, suburb, town, or village.",
                            "maxLength": 100,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Address line 1 (e.g., street, PO Box, or company name).",
                            "maxLength": 200,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                            "maxLength": 200,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "ZIP or postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "State, county, province, or region.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "address_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "line1",
                          "line2",
                          "postal_code",
                          "state"
                        ]
                      },
                      "address_kana": {
                        "description": "The Kana variation of the individual's primary address (Japan only).",
                        "properties": {
                          "city": {
                            "description": "City or ward.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Block or building number.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Building details.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "Postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "Prefecture.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "town": {
                            "description": "Town or cho-me.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "japan_address_kana_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "db_code",
                          "line1",
                          "line2",
                          "postal_code",
                          "state",
                          "town"
                        ]
                      },
                      "address_kanji": {
                        "description": "The Kanji variation of the individual's primary address (Japan only).",
                        "properties": {
                          "city": {
                            "description": "City or ward.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Block or building number.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Building details.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "Postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "Prefecture.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "town": {
                            "description": "Town or cho-me.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "japan_address_kanji_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "db_code",
                          "line1",
                          "line2",
                          "postal_code",
                          "state",
                          "town"
                        ]
                      },
                      "dob": {
                        "anyOf": [
                          {
                            "properties": {
                              "day": {
                                "description": "The day of birth, between 1 and 31.",
                                "type": "integer"
                              },
                              "month": {
                                "description": "The month of birth, between 1 and 12.",
                                "type": "integer"
                              },
                              "year": {
                                "description": "The four-digit year of birth.",
                                "type": "integer"
                              }
                            },
                            "required": [
                              "day",
                              "month",
                              "year"
                            ],
                            "title": "date_of_birth_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "day",
                              "month",
                              "year"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The individual's date of birth."
                      },
                      "email": {
                        "description": "The individual's email address.",
                        "type": "string"
                      },
                      "first_name": {
                        "description": "The individual's first name.",
                        "maxLength": 100,
                        "type": "string"
                      },
                      "first_name_kana": {
                        "description": "The Kana variation of the individual's first name (Japan only).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "first_name_kanji": {
                        "description": "The Kanji variation of the individual's first name (Japan only).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "full_name_aliases": {
                        "anyOf": [
                          {
                            "items": {
                              "maxLength": 300,
                              "type": "string"
                            },
                            "type": "array"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "A list of alternate names or aliases that the individual is known by."
                      },
                      "gender": {
                        "description": "The individual's gender",
                        "type": "string"
                      },
                      "id_number": {
                        "description": "The government-issued ID number of the individual, as appropriate for the representative's country. (Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada). Instead of the number itself, you can also provide a [PII token created with Stripe.js](/js/tokens/create_token?type=pii).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "id_number_secondary": {
                        "description": "The government-issued secondary ID number of the individual, as appropriate for the representative's country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token created with Stripe.js](/js/tokens/create_token?type=pii).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "last_name": {
                        "description": "The individual's last name.",
                        "maxLength": 100,
                        "type": "string"
                      },
                      "last_name_kana": {
                        "description": "The Kana variation of the individual's last name (Japan only).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "last_name_kanji": {
                        "description": "The Kanji variation of the individual's last name (Japan only).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "maiden_name": {
                        "description": "The individual's maiden name.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "metadata": {
                        "anyOf": [
                          {
                            "additionalProperties": {
                              "type": "string"
                            },
                            "type": "object"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                      },
                      "phone": {
                        "description": "The individual's phone number.",
                        "type": "string"
                      },
                      "political_exposure": {
                        "description": "Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.",
                        "enum": [
                          "existing",
                          "none"
                        ],
                        "type": "string"
                      },
                      "registered_address": {
                        "description": "The individual's registered address.",
                        "properties": {
                          "city": {
                            "description": "City, district, suburb, town, or village.",
                            "maxLength": 100,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Address line 1 (e.g., street, PO Box, or company name).",
                            "maxLength": 200,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                            "maxLength": 200,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "ZIP or postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "State, county, province, or region.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "address_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "line1",
                          "line2",
                          "postal_code",
                          "state"
                        ]
                      },
                      "relationship": {
                        "description": "Describes the person’s relationship to the account.",
                        "properties": {
                          "director": {
                            "description": "Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.",
                            "type": "boolean"
                          },
                          "executive": {
                            "description": "Whether the person has significant responsibility to control, manage, or direct the organization.",
                            "type": "boolean"
                          },
                          "owner": {
                            "description": "Whether the person is an owner of the account’s legal entity.",
                            "type": "boolean"
                          },
                          "percent_ownership": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "The percent owned by the person of the account's legal entity."
                          },
                          "title": {
                            "description": "The person's title (e.g., CEO, Support Engineer).",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "individual_relationship_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "controller",
                          "director",
                          "executive",
                          "officer",
                          "owner",
                          "partner",
                          "percent_ownership",
                          "title"
                        ]
                      },
                      "ssn_last_4": {
                        "description": "The last four digits of the individual's Social Security Number (U.S. only).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "verification": {
                        "description": "The individual's verification document information.",
                        "properties": {
                          "additional_document": {
                            "description": "A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.",
                            "properties": {
                              "back": {
                                "description": "The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                                "maxLength": 500,
                                "type": "string"
                              },
                              "front": {
                                "description": "The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                                "maxLength": 500,
                                "type": "string"
                              }
                            },
                            "title": "person_verification_document_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "back",
                              "electronic_id",
                              "front"
                            ]
                          },
                          "document": {
                            "description": "An identifying document, either a passport or local ID card.",
                            "properties": {
                              "back": {
                                "description": "The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                                "maxLength": 500,
                                "type": "string"
                              },
                              "front": {
                                "description": "The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                                "maxLength": 500,
                                "type": "string"
                              }
                            },
                            "title": "person_verification_document_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "back",
                              "electronic_id",
                              "front"
                            ]
                          }
                        },
                        "title": "person_verification_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "additional_document",
                          "document",
                          "proof_of_liveness"
                        ]
                      }
                    },
                    "title": "individual_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "address",
                      "address_kana",
                      "address_kanji",
                      "birth_city",
                      "birth_country",
                      "dob",
                      "email",
                      "first_name",
                      "first_name_kana",
                      "first_name_kanji",
                      "full_name_aliases",
                      "gender",
                      "id_number",
                      "id_number_secondary",
                      "last_name",
                      "last_name_kana",
                      "last_name_kanji",
                      "maiden_name",
                      "metadata",
                      "phone",
                      "political_exposure",
                      "registered_address",
                      "relationship",
                      "ssn_last_4",
                      "verification"
                    ]
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "settings": {
                    "description": "Options for customizing how the account functions within Stripe.",
                    "properties": {
                      "bacs_debit_payments": {
                        "description": "Settings specific to Bacs Direct Debit.",
                        "properties": {
                          "display_name": {
                            "description": "The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as \"Stripe\" and the account is onboarded to Stripe branding, which is free.",
                            "type": "string"
                          }
                        },
                        "title": "bacs_debit_payments_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "display_name"
                        ]
                      },
                      "branding": {
                        "description": "Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.",
                        "properties": {
                          "icon": {
                            "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "logo": {
                            "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A logo for the account that will be used in Checkout instead of the icon and without the account's name next to it if provided. Must be at least 128px x 128px.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "primary_color": {
                            "description": "A CSS hex color value representing the primary branding color for this account.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "secondary_color": {
                            "description": "A CSS hex color value representing the secondary branding color for this account.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "branding_settings_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "icon",
                          "logo",
                          "primary_color",
                          "secondary_color",
                          "show_support_phone"
                        ]
                      },
                      "card_issuing": {
                        "description": "Settings specific to the account's use of the Card Issuing product.",
                        "properties": {
                          "tos_acceptance": {
                            "description": "Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](/issuing/connect/tos_acceptance).",
                            "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",
                            "x-stripeMostCommon": [
                              "date",
                              "ip",
                              "user_agent"
                            ]
                          }
                        },
                        "title": "card_issuing_settings_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "tos_acceptance",
                          "tos_acceptances"
                        ]
                      },
                      "card_payments": {
                        "description": "Settings specific to card charging on the account.",
                        "properties": {
                          "decline_on": {
                            "description": "Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.",
                            "properties": {
                              "avs_failure": {
                                "description": "Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification.",
                                "type": "boolean"
                              },
                              "cvc_failure": {
                                "description": "Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.",
                                "type": "boolean"
                              }
                            },
                            "title": "decline_charge_on_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "avs_failure",
                              "cvc_failure"
                            ]
                          },
                          "statement_descriptor_prefix": {
                            "description": "The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic `statement_descriptor` specified on the charge. `statement_descriptor_prefix` is useful for maximizing descriptor space for the dynamic portion.",
                            "maxLength": 10,
                            "type": "string"
                          },
                          "statement_descriptor_prefix_kana": {
                            "anyOf": [
                              {
                                "maxLength": 10,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "The Kana variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kana` specified on the charge. `statement_descriptor_prefix_kana` is useful for maximizing descriptor space for the dynamic portion."
                          },
                          "statement_descriptor_prefix_kanji": {
                            "anyOf": [
                              {
                                "maxLength": 10,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kanji` specified on the charge. `statement_descriptor_prefix_kanji` is useful for maximizing descriptor space for the dynamic portion."
                          }
                        },
                        "title": "card_payments_settings_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "decline_on",
                          "onboarding_policy",
                          "statement_descriptor_prefix",
                          "statement_descriptor_prefix_kana",
                          "statement_descriptor_prefix_kanji"
                        ]
                      },
                      "payments": {
                        "description": "Settings that apply across payment methods for charging on the account.",
                        "properties": {
                          "statement_descriptor": {
                            "description": "The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a `statement_descriptor_prefix`, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the `statement_descriptor` text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the [account settings documentation](https://docs.stripe.com/get-started/account/statement-descriptors).",
                            "maxLength": 22,
                            "type": "string"
                          },
                          "statement_descriptor_kana": {
                            "description": "The Kana variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).",
                            "maxLength": 22,
                            "type": "string"
                          },
                          "statement_descriptor_kanji": {
                            "description": "The Kanji variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).",
                            "maxLength": 22,
                            "type": "string"
                          }
                        },
                        "title": "payments_settings_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "statement_descriptor",
                          "statement_descriptor_kana",
                          "statement_descriptor_kanji"
                        ]
                      },
                      "payouts": {
                        "description": "Settings specific to the account's payouts.",
                        "properties": {
                          "debit_negative_balances": {
                            "description": "A Boolean indicating whether Stripe should try to reclaim negative balances from an attached bank account. For details, see [Understanding Connect Account Balances](/connect/account-balances).",
                            "type": "boolean"
                          },
                          "schedule": {
                            "description": "Details on when funds from charges are available, and when they are paid out to an external account. For details, see our [Setting Bank and Debit Card Payouts](/connect/bank-transfers#payout-information) documentation.",
                            "properties": {
                              "delay_days": {
                                "anyOf": [
                                  {
                                    "enum": [
                                      "minimum"
                                    ],
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  {
                                    "type": "integer"
                                  }
                                ],
                                "description": "The number of days charge funds are held before being paid out. May also be set to `minimum`, representing the lowest available value for the account country. Default is `minimum`. The `delay_days` parameter remains at the last configured value if `interval` is `manual`. [Learn more about controlling payout delay days](/connect/manage-payout-schedule)."
                              },
                              "interval": {
                                "description": "How frequently available funds are paid out. One of: `daily`, `manual`, `weekly`, or `monthly`. Default is `daily`.",
                                "enum": [
                                  "daily",
                                  "manual",
                                  "monthly",
                                  "weekly"
                                ],
                                "maxLength": 5000,
                                "type": "string",
                                "x-stripeBypassValidation": true
                              },
                              "monthly_anchor": {
                                "description": "The day of the month when available funds are paid out, specified as a number between 1--31. Payouts nominally scheduled between the 29th and 31st of the month are instead sent on the last day of a shorter month. Required and applicable only if `interval` is `monthly`.",
                                "type": "integer"
                              },
                              "weekly_anchor": {
                                "description": "The day of the week when available funds are paid out, specified as `monday`, `tuesday`, etc. (required and applicable only if `interval` is `weekly`.)",
                                "enum": [
                                  "friday",
                                  "monday",
                                  "saturday",
                                  "sunday",
                                  "thursday",
                                  "tuesday",
                                  "wednesday"
                                ],
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "transfer_schedule_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "automatic",
                              "delay_days",
                              "interval",
                              "monthly_anchor",
                              "monthly_payout_days",
                              "timezone",
                              "weekly_anchor",
                              "weekly_payout_days"
                            ]
                          },
                          "statement_descriptor": {
                            "description": "The text that appears on the bank account statement for payouts. If not set, this defaults to the platform's bank descriptor as set in the Dashboard.",
                            "maxLength": 22,
                            "type": "string"
                          }
                        },
                        "title": "payout_settings_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "debit_negative_balances",
                          "schedule",
                          "statement_descriptor"
                        ]
                      },
                      "treasury": {
                        "description": "Settings specific to the account's Treasury FinancialAccounts.",
                        "properties": {
                          "tos_acceptance": {
                            "description": "Details on the account's acceptance of the Stripe Treasury Services 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",
                            "x-stripeMostCommon": [
                              "date",
                              "ip",
                              "user_agent"
                            ]
                          }
                        },
                        "title": "treasury_settings_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "tos_acceptance"
                        ]
                      }
                    },
                    "title": "settings_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "affirm_payments",
                      "apply_future_requirements",
                      "bacs_debit_payments",
                      "bank_bca_onboarding",
                      "branding",
                      "capital",
                      "card_issuing",
                      "card_issuing_charge_card",
                      "card_issuing_payout",
                      "card_payments",
                      "funding_credit",
                      "konbini_payments",
                      "payments",
                      "payouts",
                      "tax_forms",
                      "treasury"
                    ]
                  },
                  "tos_acceptance": {
                    "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. This property defaults to a `full` service agreement when empty.",
                    "properties": {
                      "date": {
                        "description": "The Unix timestamp marking when the account representative accepted their service agreement.",
                        "format": "unix-time",
                        "type": "integer"
                      },
                      "ip": {
                        "description": "The IP address from which the account representative accepted their service agreement.",
                        "type": "string"
                      },
                      "service_agreement": {
                        "description": "The user's service agreement type.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "user_agent": {
                        "description": "The user agent of the browser from which the account representative accepted their service agreement.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "tos_acceptance_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "date",
                      "ip",
                      "service_agreement",
                      "user_agent"
                    ]
                  },
                  "type": {
                    "description": "The type of Stripe account to create. May be one of `custom`, `express` or `standard`.",
                    "enum": [
                      "custom",
                      "express",
                      "standard"
                    ],
                    "type": "string"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "business_type",
                  "capabilities",
                  "company",
                  "controller",
                  "country",
                  "email",
                  "individual",
                  "metadata",
                  "tos_acceptance",
                  "type"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/account"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        }
      }
    },
    "/v1/accounts/{account}": {
      "delete": {
        "description": "<p>With <a href=\"/connect\">Connect</a>, you can delete accounts you manage.</p>\n\n<p>Test-mode accounts can be deleted at any time.</p>\n\n<p>Live-mode accounts where Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. Live-mode accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be deleted when all <a href=\"/api/balance/balance_object\">balances</a> are zero.</p>\n\n<p>If you want to delete your own account, use the <a href=\"https://dashboard.stripe.com/settings/account\">account information tab in your account settings</a> instead.</p>",
        "operationId": "DeleteAccountsAccount",
        "parameters": [
          {
            "in": "path",
            "name": "account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/deleted_account"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Delete an account"
      },
      "get": {
        "description": "<p>Retrieves the details of an account.</p>",
        "operationId": "GetAccountsAccount",
        "parameters": [
          {
            "in": "path",
            "name": "account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/account"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve account"
      },
      "post": {
        "description": "<p>Updates a <a href=\"/connect/accounts\">connected account</a> by setting the values of the parameters passed. Any parameters not provided are\nleft unchanged.</p>\n\n<p>For accounts where <a href=\"/api/accounts/object#account_object-controller-requirement_collection\">controller.requirement_collection</a>\nis <code>application</code>, which includes Custom accounts, you can update any information on the account.</p>\n\n<p>For accounts where <a href=\"/api/accounts/object#account_object-controller-requirement_collection\">controller.requirement_collection</a>\nis <code>stripe</code>, which includes Standard and Express accounts, you can update all information until you create\nan <a href=\"/api/account_links\">Account Link</a> or <a href=\"/api/account_sessions\">Account Session</a> to start Connect onboarding,\nafter which some properties can no longer be updated.</p>\n\n<p>To update your own account, use the <a href=\"https://dashboard.stripe.com/settings/account\">Dashboard</a>. Refer to our\n<a href=\"/docs/connect/updating-accounts\">Connect</a> documentation to learn more about updating accounts.</p>",
        "operationId": "PostAccountsAccount",
        "parameters": [
          {
            "in": "path",
            "name": "account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "business_profile": {
                  "explode": true,
                  "style": "deepObject"
                },
                "capabilities": {
                  "explode": true,
                  "style": "deepObject"
                },
                "company": {
                  "explode": true,
                  "style": "deepObject"
                },
                "documents": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "groups": {
                  "explode": true,
                  "style": "deepObject"
                },
                "individual": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "settings": {
                  "explode": true,
                  "style": "deepObject"
                },
                "tos_acceptance": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "account_token": {
                    "description": "An [account token](https://stripe.com/docs/api#create_account_token), used to securely provide details to the account.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "business_profile": {
                    "description": "Business information about the account.",
                    "properties": {
                      "annual_revenue": {
                        "description": "The applicant's gross annual revenue for its preceding fiscal year.",
                        "properties": {
                          "amount": {
                            "description": "A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal).",
                            "type": "integer"
                          },
                          "currency": {
                            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                            "type": "string"
                          },
                          "fiscal_year_end": {
                            "description": "The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "amount",
                          "currency",
                          "fiscal_year_end"
                        ],
                        "title": "annual_revenue_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "amount",
                          "currency",
                          "fiscal_year_end"
                        ]
                      },
                      "estimated_worker_count": {
                        "description": "An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.",
                        "type": "integer"
                      },
                      "mcc": {
                        "description": "[The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.",
                        "maxLength": 4,
                        "type": "string"
                      },
                      "monthly_estimated_revenue": {
                        "description": "An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.",
                        "properties": {
                          "amount": {
                            "description": "A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal).",
                            "type": "integer"
                          },
                          "currency": {
                            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                            "type": "string"
                          }
                        },
                        "required": [
                          "amount",
                          "currency"
                        ],
                        "title": "monthly_estimated_revenue_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "amount",
                          "currency"
                        ]
                      },
                      "name": {
                        "description": "The customer-facing business name.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "product_description": {
                        "description": "Internal-only description of the product sold by, or service provided by, the business. Used by Stripe for risk and underwriting purposes.",
                        "maxLength": 40000,
                        "type": "string"
                      },
                      "support_address": {
                        "description": "A publicly available mailing address for sending support issues to.",
                        "properties": {
                          "city": {
                            "description": "City, district, suburb, town, or village.",
                            "maxLength": 100,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Address line 1 (e.g., street, PO Box, or company name).",
                            "maxLength": 200,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                            "maxLength": 200,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "ZIP or postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "State, county, province, or region.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "address_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "line1",
                          "line2",
                          "postal_code",
                          "state"
                        ]
                      },
                      "support_email": {
                        "description": "A publicly available email address for sending support issues to.",
                        "type": "string"
                      },
                      "support_phone": {
                        "description": "A publicly available phone number to call with support issues.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "support_url": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "A publicly available website for handling support issues."
                      },
                      "url": {
                        "description": "The business's publicly available website.",
                        "type": "string"
                      }
                    },
                    "title": "business_profile_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "annual_revenue",
                      "estimated_worker_count",
                      "industry",
                      "mcc",
                      "monthly_estimated_revenue",
                      "name",
                      "payment_collection_methods",
                      "privacy_policy_url",
                      "product_description",
                      "singapore_account_activity_survey",
                      "specified_commercial_transactions_act_url",
                      "support_address",
                      "support_email",
                      "support_phone",
                      "support_url",
                      "terms_of_service_url",
                      "url",
                      "url_opt_out_reason"
                    ]
                  },
                  "business_type": {
                    "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.",
                    "enum": [
                      "company",
                      "government_entity",
                      "individual",
                      "non_profit"
                    ],
                    "type": "string",
                    "x-stripeBypassValidation": true
                  },
                  "capabilities": {
                    "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.",
                    "properties": {
                      "acss_debit_payments": {
                        "description": "The acss_debit_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "affirm_payments": {
                        "description": "The affirm_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "afterpay_clearpay_payments": {
                        "description": "The afterpay_clearpay_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "alma_payments": {
                        "description": "The alma_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "amazon_pay_payments": {
                        "description": "The amazon_pay_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "au_becs_debit_payments": {
                        "description": "The au_becs_debit_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "bacs_debit_payments": {
                        "description": "The bacs_debit_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "bancontact_payments": {
                        "description": "The bancontact_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "bank_transfer_payments": {
                        "description": "The bank_transfer_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "blik_payments": {
                        "description": "The blik_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "boleto_payments": {
                        "description": "The boleto_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "card_issuing": {
                        "description": "The card_issuing capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "card_payments": {
                        "description": "The card_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "cartes_bancaires_payments": {
                        "description": "The cartes_bancaires_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "cashapp_payments": {
                        "description": "The cashapp_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "eps_payments": {
                        "description": "The eps_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "fpx_payments": {
                        "description": "The fpx_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "gb_bank_transfer_payments": {
                        "description": "The gb_bank_transfer_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "giropay_payments": {
                        "description": "The giropay_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "grabpay_payments": {
                        "description": "The grabpay_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "ideal_payments": {
                        "description": "The ideal_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "india_international_payments": {
                        "description": "The india_international_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "jcb_payments": {
                        "description": "The jcb_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "jp_bank_transfer_payments": {
                        "description": "The jp_bank_transfer_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "kakao_pay_payments": {
                        "description": "The kakao_pay_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "klarna_payments": {
                        "description": "The klarna_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "konbini_payments": {
                        "description": "The konbini_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "kr_card_payments": {
                        "description": "The kr_card_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "legacy_payments": {
                        "description": "The legacy_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "link_payments": {
                        "description": "The link_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "mobilepay_payments": {
                        "description": "The mobilepay_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "multibanco_payments": {
                        "description": "The multibanco_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "mx_bank_transfer_payments": {
                        "description": "The mx_bank_transfer_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "naver_pay_payments": {
                        "description": "The naver_pay_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "oxxo_payments": {
                        "description": "The oxxo_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "p24_payments": {
                        "description": "The p24_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "payco_payments": {
                        "description": "The payco_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "paynow_payments": {
                        "description": "The paynow_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "promptpay_payments": {
                        "description": "The promptpay_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "revolut_pay_payments": {
                        "description": "The revolut_pay_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "samsung_pay_payments": {
                        "description": "The samsung_pay_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "sepa_bank_transfer_payments": {
                        "description": "The sepa_bank_transfer_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "sepa_debit_payments": {
                        "description": "The sepa_debit_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "sofort_payments": {
                        "description": "The sofort_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "swish_payments": {
                        "description": "The swish_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "tax_reporting_us_1099_k": {
                        "description": "The tax_reporting_us_1099_k capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "tax_reporting_us_1099_misc": {
                        "description": "The tax_reporting_us_1099_misc capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "transfers": {
                        "description": "The transfers capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "treasury": {
                        "description": "The treasury capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "twint_payments": {
                        "description": "The twint_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "us_bank_account_ach_payments": {
                        "description": "The us_bank_account_ach_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "us_bank_transfer_payments": {
                        "description": "The us_bank_transfer_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "zip_payments": {
                        "description": "The zip_payments capability.",
                        "properties": {
                          "requested": {
                            "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
                            "type": "boolean"
                          }
                        },
                        "title": "capability_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      }
                    },
                    "title": "capabilities_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "ach_debit_payments",
                      "acss_debit_payments",
                      "affirm_payments",
                      "afterpay_clearpay_payments",
                      "alipay_payments",
                      "alma_payments",
                      "amazon_pay_payments",
                      "apple_pay_later_payments",
                      "au_bank_transfer_payments",
                      "au_becs_debit_payments",
                      "automatic_indirect_tax",
                      "bacs_debit_payments",
                      "bacs_debit_stripe_sun_payments",
                      "bancontact_payments",
                      "bank_transfer_payments",
                      "beneficiary_transfers",
                      "billie_payments",
                      "bizum_payments",
                      "blik_payments",
                      "boleto_payments",
                      "ca_bank_transfer_payments",
                      "capchase_pay_payments",
                      "card_issuing",
                      "card_issuing_charge_card",
                      "card_issuing_charge_card_stripe",
                      "card_issuing_spend_card_cross_river",
                      "card_payments",
                      "cartes_bancaires_payments",
                      "cash_advances",
                      "cashapp_payments",
                      "crypto_financial_accounts",
                      "crypto_payments",
                      "crypto_transfers",
                      "crypto_transfers_platform",
                      "demo_pay_payments",
                      "duitnow_payments",
                      "dummy_passthrough_card_payments",
                      "eps_payments",
                      "fpx_payments",
                      "funding_credit",
                      "gb_bank_transfer_payments",
                      "giropay_payments",
                      "gopay_payments",
                      "grabpay_payments",
                      "id_bank_transfer_payments",
                      "id_bank_transfer_payments_bca",
                      "id_credit_transfer_payments",
                      "ideal_payments",
                      "india_international_payments",
                      "jcb_payments",
                      "jp_bank_transfer_payments",
                      "kakao_pay_payments",
                      "klarna_payments",
                      "konbini_payments",
                      "kr_card_payments",
                      "kr_market_payments",
                      "kriya_payments",
                      "legacy_payments",
                      "link_payments",
                      "loans",
                      "mb_way_payments",
                      "meta_pay_payments",
                      "mobilepay_payments",
                      "mondu_payments",
                      "multibanco_payments",
                      "mx_bank_transfer_payments",
                      "naver_pay_payments",
                      "netbanking_payments",
                      "ng_bank_payments",
                      "ng_bank_transfer_payments",
                      "ng_card_payments",
                      "ng_market_payments",
                      "ng_ussd_payments",
                      "nz_bank_account_becs_debit_payments",
                      "nz_bank_transfer_payments",
                      "oxxo_payments",
                      "p24_payments",
                      "pay_by_bank_payments",
                      "payco_payments",
                      "payments",
                      "paynow_payments",
                      "paypal_payments",
                      "payto_payments",
                      "pix_payments",
                      "promptpay_payments",
                      "qris_payments",
                      "rechnung_payments",
                      "revolut_pay_payments",
                      "samsung_pay_payments",
                      "satispay_payments",
                      "scalapay_payments",
                      "sepa_bank_transfer_payments",
                      "sepa_debit_payments",
                      "sequra_payments",
                      "shopeepay_payments",
                      "sofort_payments",
                      "south_korea_market_payments",
                      "submerchant_payments",
                      "sunbit_payments",
                      "swish_payments",
                      "tax_reporting_us_1099_k",
                      "tax_reporting_us_1099_misc",
                      "transfers",
                      "treasury",
                      "treasury_evolve",
                      "treasury_fifth_third",
                      "treasury_goldman_sachs",
                      "twint_payments",
                      "upi_payments",
                      "us_bank_account_ach_payments",
                      "us_bank_transfer_payments",
                      "vipps_payments",
                      "wechat_pay_payments",
                      "zip_payments"
                    ]
                  },
                  "company": {
                    "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.",
                    "properties": {
                      "address": {
                        "description": "The company's primary address.",
                        "properties": {
                          "city": {
                            "description": "City, district, suburb, town, or village.",
                            "maxLength": 100,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Address line 1 (e.g., street, PO Box, or company name).",
                            "maxLength": 200,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                            "maxLength": 200,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "ZIP or postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "State, county, province, or region.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "legal_entity_and_kyc_address_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "line1",
                          "line2",
                          "postal_code",
                          "state"
                        ]
                      },
                      "address_kana": {
                        "description": "The Kana variation of the company's primary address (Japan only).",
                        "properties": {
                          "city": {
                            "description": "City or ward.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Block or building number.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Building details.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "Postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "Prefecture.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "town": {
                            "description": "Town or cho-me.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "japan_address_kana_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "db_code",
                          "line1",
                          "line2",
                          "postal_code",
                          "state",
                          "town"
                        ]
                      },
                      "address_kanji": {
                        "description": "The Kanji variation of the company's primary address (Japan only).",
                        "properties": {
                          "city": {
                            "description": "City or ward.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Block or building number.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Building details.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "Postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "Prefecture.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "town": {
                            "description": "Town or cho-me.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "japan_address_kanji_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "db_code",
                          "line1",
                          "line2",
                          "postal_code",
                          "state",
                          "town"
                        ]
                      },
                      "directors_provided": {
                        "description": "Whether the company's directors have been provided. Set this Boolean to `true` after creating all the company's directors with [the Persons API](/api/persons) for accounts with a `relationship.director` requirement. This value is not automatically set to `true` after creating directors, so it needs to be updated to indicate all directors have been provided.",
                        "type": "boolean"
                      },
                      "executives_provided": {
                        "description": "Whether the company's executives have been provided. Set this Boolean to `true` after creating all the company's executives with [the Persons API](/api/persons) for accounts with a `relationship.executive` requirement.",
                        "type": "boolean"
                      },
                      "export_license_id": {
                        "description": "The export license ID number of the company, also referred as Import Export Code (India only).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "export_purpose_code": {
                        "description": "The purpose code to use for export transactions (India only).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "name": {
                        "description": "The company's legal name.",
                        "maxLength": 100,
                        "type": "string"
                      },
                      "name_kana": {
                        "description": "The Kana variation of the company's legal name (Japan only).",
                        "maxLength": 100,
                        "type": "string"
                      },
                      "name_kanji": {
                        "description": "The Kanji variation of the company's legal name (Japan only).",
                        "maxLength": 100,
                        "type": "string"
                      },
                      "owners_provided": {
                        "description": "Whether the company's owners have been provided. Set this Boolean to `true` after creating all the company's owners with [the Persons API](/api/persons) for accounts with a `relationship.owner` requirement.",
                        "type": "boolean"
                      },
                      "ownership_declaration": {
                        "description": "This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.",
                        "properties": {
                          "date": {
                            "description": "The Unix timestamp marking when the beneficial owner attestation was made.",
                            "format": "unix-time",
                            "type": "integer"
                          },
                          "ip": {
                            "description": "The IP address from which the beneficial owner attestation was made.",
                            "type": "string"
                          },
                          "user_agent": {
                            "description": "The user agent of the browser from which the beneficial owner attestation was made.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "company_ownership_declaration",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "date",
                          "ip",
                          "user_agent"
                        ]
                      },
                      "phone": {
                        "description": "The company's phone number (used for verification).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "registration_number": {
                        "description": "The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "structure": {
                        "description": "The category identifying the legal structure of the company or legal entity. See [Business structure](/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value.",
                        "enum": [
                          "",
                          "free_zone_establishment",
                          "free_zone_llc",
                          "government_instrumentality",
                          "governmental_unit",
                          "incorporated_non_profit",
                          "incorporated_partnership",
                          "limited_liability_partnership",
                          "llc",
                          "multi_member_llc",
                          "private_company",
                          "private_corporation",
                          "private_partnership",
                          "public_company",
                          "public_corporation",
                          "public_partnership",
                          "registered_charity",
                          "single_member_llc",
                          "sole_establishment",
                          "sole_proprietorship",
                          "tax_exempt_government_instrumentality",
                          "unincorporated_association",
                          "unincorporated_non_profit",
                          "unincorporated_partnership"
                        ],
                        "type": "string",
                        "x-stripeBypassValidation": true
                      },
                      "tax_id": {
                        "description": "The business ID number of the company, as appropriate for the company’s country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.)",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "tax_id_registrar": {
                        "description": "The jurisdiction in which the `tax_id` is registered (Germany-based companies only).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "vat_id": {
                        "description": "The VAT number of the company.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "verification": {
                        "description": "Information on the verification state of the company.",
                        "properties": {
                          "document": {
                            "description": "A document verifying the business.",
                            "properties": {
                              "back": {
                                "description": "The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                                "maxLength": 500,
                                "type": "string"
                              },
                              "front": {
                                "description": "The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                                "maxLength": 500,
                                "type": "string"
                              }
                            },
                            "title": "verification_document_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "back",
                              "front"
                            ]
                          }
                        },
                        "title": "verification_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "document"
                        ]
                      }
                    },
                    "title": "company_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "address",
                      "address_kana",
                      "address_kanji",
                      "contact_point_verification_address",
                      "cross_border_transaction_classifications",
                      "directors_provided",
                      "executives_provided",
                      "export_license_id",
                      "export_purpose_code",
                      "fiscal_code",
                      "invoicing_recipient_code",
                      "name",
                      "name_kana",
                      "name_kanji",
                      "owners_provided",
                      "ownership_declaration",
                      "ownership_exemption_reason",
                      "pan",
                      "phone",
                      "registered_email",
                      "registration_date",
                      "registration_number",
                      "stock_data",
                      "structure",
                      "tax_deduction_account_number",
                      "tax_id",
                      "tax_id_registrar",
                      "vat_id",
                      "vat_registration_status",
                      "verification"
                    ]
                  },
                  "default_currency": {
                    "description": "Three-letter ISO currency code representing the default currency for the account. This must be a currency that [Stripe supports in the account's country](https://docs.stripe.com/payouts).",
                    "type": "string"
                  },
                  "documents": {
                    "description": "Documents that may be submitted to satisfy various informational requests.",
                    "properties": {
                      "bank_account_ownership_verification": {
                        "description": "One or more documents that support the [Bank account ownership verification](https://support.stripe.com/questions/bank-account-ownership-verification) requirement. Must be a document associated with the account’s primary active bank account that displays the last 4 digits of the account number, either a statement or a check.",
                        "properties": {
                          "files": {
                            "description": "One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.",
                            "items": {
                              "maxLength": 500,
                              "type": "string"
                            },
                            "type": "array"
                          }
                        },
                        "title": "documents_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "files"
                        ]
                      },
                      "company_license": {
                        "description": "One or more documents that demonstrate proof of a company's license to operate.",
                        "properties": {
                          "files": {
                            "description": "One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.",
                            "items": {
                              "maxLength": 500,
                              "type": "string"
                            },
                            "type": "array"
                          }
                        },
                        "title": "documents_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "files"
                        ]
                      },
                      "company_memorandum_of_association": {
                        "description": "One or more documents showing the company's Memorandum of Association.",
                        "properties": {
                          "files": {
                            "description": "One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.",
                            "items": {
                              "maxLength": 500,
                              "type": "string"
                            },
                            "type": "array"
                          }
                        },
                        "title": "documents_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "files"
                        ]
                      },
                      "company_ministerial_decree": {
                        "description": "(Certain countries only) One or more documents showing the ministerial decree legalizing the company's establishment.",
                        "properties": {
                          "files": {
                            "description": "One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.",
                            "items": {
                              "maxLength": 500,
                              "type": "string"
                            },
                            "type": "array"
                          }
                        },
                        "title": "documents_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "files"
                        ]
                      },
                      "company_registration_verification": {
                        "description": "One or more documents that demonstrate proof of a company's registration with the appropriate local authorities.",
                        "properties": {
                          "files": {
                            "description": "One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.",
                            "items": {
                              "maxLength": 500,
                              "type": "string"
                            },
                            "type": "array"
                          }
                        },
                        "title": "documents_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "files"
                        ]
                      },
                      "company_tax_id_verification": {
                        "description": "One or more documents that demonstrate proof of a company's tax ID.",
                        "properties": {
                          "files": {
                            "description": "One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.",
                            "items": {
                              "maxLength": 500,
                              "type": "string"
                            },
                            "type": "array"
                          }
                        },
                        "title": "documents_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "files"
                        ]
                      },
                      "proof_of_registration": {
                        "description": "One or more documents showing the company’s proof of registration with the national business registry.",
                        "properties": {
                          "files": {
                            "description": "One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.",
                            "items": {
                              "maxLength": 500,
                              "type": "string"
                            },
                            "type": "array"
                          }
                        },
                        "title": "documents_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "files"
                        ]
                      }
                    },
                    "title": "documents_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "bank_account_ownership_verification",
                      "company_address_verification",
                      "company_license",
                      "company_memorandum_of_association",
                      "company_ministerial_decree",
                      "company_registration_verification",
                      "company_tax_id_verification",
                      "company_vat_id_verification",
                      "proof_of_registration"
                    ]
                  },
                  "email": {
                    "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": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "external_account": {
                    "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. <br><br>By 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.",
                    "maxLength": 5000,
                    "type": "string",
                    "x-stripeBypassValidation": true
                  },
                  "groups": {
                    "description": "A hash of account group type to tokens. These are account groups this account should be added to",
                    "properties": {
                      "payments_pricing": {
                        "anyOf": [
                          {
                            "maxLength": 5000,
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/docs/connect/platform-pricing-tools) for details."
                      }
                    },
                    "title": "account_groups_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "payments_pricing"
                    ]
                  },
                  "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](/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.",
                    "properties": {
                      "address": {
                        "description": "The individual's primary address.",
                        "properties": {
                          "city": {
                            "description": "City, district, suburb, town, or village.",
                            "maxLength": 100,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Address line 1 (e.g., street, PO Box, or company name).",
                            "maxLength": 200,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                            "maxLength": 200,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "ZIP or postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "State, county, province, or region.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "address_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "line1",
                          "line2",
                          "postal_code",
                          "state"
                        ]
                      },
                      "address_kana": {
                        "description": "The Kana variation of the individual's primary address (Japan only).",
                        "properties": {
                          "city": {
                            "description": "City or ward.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Block or building number.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Building details.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "Postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "Prefecture.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "town": {
                            "description": "Town or cho-me.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "japan_address_kana_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "db_code",
                          "line1",
                          "line2",
                          "postal_code",
                          "state",
                          "town"
                        ]
                      },
                      "address_kanji": {
                        "description": "The Kanji variation of the individual's primary address (Japan only).",
                        "properties": {
                          "city": {
                            "description": "City or ward.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Block or building number.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Building details.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "Postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "Prefecture.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "town": {
                            "description": "Town or cho-me.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "japan_address_kanji_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "db_code",
                          "line1",
                          "line2",
                          "postal_code",
                          "state",
                          "town"
                        ]
                      },
                      "dob": {
                        "anyOf": [
                          {
                            "properties": {
                              "day": {
                                "description": "The day of birth, between 1 and 31.",
                                "type": "integer"
                              },
                              "month": {
                                "description": "The month of birth, between 1 and 12.",
                                "type": "integer"
                              },
                              "year": {
                                "description": "The four-digit year of birth.",
                                "type": "integer"
                              }
                            },
                            "required": [
                              "day",
                              "month",
                              "year"
                            ],
                            "title": "date_of_birth_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "day",
                              "month",
                              "year"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The individual's date of birth."
                      },
                      "email": {
                        "description": "The individual's email address.",
                        "type": "string"
                      },
                      "first_name": {
                        "description": "The individual's first name.",
                        "maxLength": 100,
                        "type": "string"
                      },
                      "first_name_kana": {
                        "description": "The Kana variation of the individual's first name (Japan only).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "first_name_kanji": {
                        "description": "The Kanji variation of the individual's first name (Japan only).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "full_name_aliases": {
                        "anyOf": [
                          {
                            "items": {
                              "maxLength": 300,
                              "type": "string"
                            },
                            "type": "array"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "A list of alternate names or aliases that the individual is known by."
                      },
                      "gender": {
                        "description": "The individual's gender",
                        "type": "string"
                      },
                      "id_number": {
                        "description": "The government-issued ID number of the individual, as appropriate for the representative's country. (Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada). Instead of the number itself, you can also provide a [PII token created with Stripe.js](/js/tokens/create_token?type=pii).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "id_number_secondary": {
                        "description": "The government-issued secondary ID number of the individual, as appropriate for the representative's country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token created with Stripe.js](/js/tokens/create_token?type=pii).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "last_name": {
                        "description": "The individual's last name.",
                        "maxLength": 100,
                        "type": "string"
                      },
                      "last_name_kana": {
                        "description": "The Kana variation of the individual's last name (Japan only).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "last_name_kanji": {
                        "description": "The Kanji variation of the individual's last name (Japan only).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "maiden_name": {
                        "description": "The individual's maiden name.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "metadata": {
                        "anyOf": [
                          {
                            "additionalProperties": {
                              "type": "string"
                            },
                            "type": "object"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                      },
                      "phone": {
                        "description": "The individual's phone number.",
                        "type": "string"
                      },
                      "political_exposure": {
                        "description": "Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.",
                        "enum": [
                          "existing",
                          "none"
                        ],
                        "type": "string"
                      },
                      "registered_address": {
                        "description": "The individual's registered address.",
                        "properties": {
                          "city": {
                            "description": "City, district, suburb, town, or village.",
                            "maxLength": 100,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Address line 1 (e.g., street, PO Box, or company name).",
                            "maxLength": 200,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                            "maxLength": 200,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "ZIP or postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "State, county, province, or region.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "address_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "line1",
                          "line2",
                          "postal_code",
                          "state"
                        ]
                      },
                      "relationship": {
                        "description": "Describes the person’s relationship to the account.",
                        "properties": {
                          "director": {
                            "description": "Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.",
                            "type": "boolean"
                          },
                          "executive": {
                            "description": "Whether the person has significant responsibility to control, manage, or direct the organization.",
                            "type": "boolean"
                          },
                          "owner": {
                            "description": "Whether the person is an owner of the account’s legal entity.",
                            "type": "boolean"
                          },
                          "percent_ownership": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "The percent owned by the person of the account's legal entity."
                          },
                          "title": {
                            "description": "The person's title (e.g., CEO, Support Engineer).",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "individual_relationship_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "controller",
                          "director",
                          "executive",
                          "officer",
                          "owner",
                          "partner",
                          "percent_ownership",
                          "title"
                        ]
                      },
                      "ssn_last_4": {
                        "description": "The last four digits of the individual's Social Security Number (U.S. only).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "verification": {
                        "description": "The individual's verification document information.",
                        "properties": {
                          "additional_document": {
                            "description": "A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.",
                            "properties": {
                              "back": {
                                "description": "The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                                "maxLength": 500,
                                "type": "string"
                              },
                              "front": {
                                "description": "The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                                "maxLength": 500,
                                "type": "string"
                              }
                            },
                            "title": "person_verification_document_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "back",
                              "electronic_id",
                              "front"
                            ]
                          },
                          "document": {
                            "description": "An identifying document, either a passport or local ID card.",
                            "properties": {
                              "back": {
                                "description": "The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                                "maxLength": 500,
                                "type": "string"
                              },
                              "front": {
                                "description": "The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                                "maxLength": 500,
                                "type": "string"
                              }
                            },
                            "title": "person_verification_document_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "back",
                              "electronic_id",
                              "front"
                            ]
                          }
                        },
                        "title": "person_verification_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "additional_document",
                          "document",
                          "proof_of_liveness"
                        ]
                      }
                    },
                    "title": "individual_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "address",
                      "address_kana",
                      "address_kanji",
                      "birth_city",
                      "birth_country",
                      "dob",
                      "email",
                      "first_name",
                      "first_name_kana",
                      "first_name_kanji",
                      "full_name_aliases",
                      "gender",
                      "id_number",
                      "id_number_secondary",
                      "last_name",
                      "last_name_kana",
                      "last_name_kanji",
                      "maiden_name",
                      "metadata",
                      "phone",
                      "political_exposure",
                      "registered_address",
                      "relationship",
                      "ssn_last_4",
                      "verification"
                    ]
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "settings": {
                    "description": "Options for customizing how the account functions within Stripe.",
                    "properties": {
                      "bacs_debit_payments": {
                        "description": "Settings specific to Bacs Direct Debit payments.",
                        "properties": {
                          "display_name": {
                            "description": "The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as \"Stripe\" and the account is onboarded to Stripe branding, which is free.",
                            "type": "string"
                          }
                        },
                        "title": "bacs_debit_payments_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "display_name"
                        ]
                      },
                      "branding": {
                        "description": "Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.",
                        "properties": {
                          "icon": {
                            "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "logo": {
                            "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A logo for the account that will be used in Checkout instead of the icon and without the account's name next to it if provided. Must be at least 128px x 128px.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "primary_color": {
                            "description": "A CSS hex color value representing the primary branding color for this account.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "secondary_color": {
                            "description": "A CSS hex color value representing the secondary branding color for this account.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "branding_settings_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "icon",
                          "logo",
                          "primary_color",
                          "secondary_color",
                          "show_support_phone"
                        ]
                      },
                      "card_issuing": {
                        "description": "Settings specific to the account's use of the Card Issuing product.",
                        "properties": {
                          "tos_acceptance": {
                            "description": "Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](/issuing/connect/tos_acceptance).",
                            "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",
                            "x-stripeMostCommon": [
                              "date",
                              "ip",
                              "user_agent"
                            ]
                          }
                        },
                        "title": "card_issuing_settings_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "tos_acceptance",
                          "tos_acceptances"
                        ]
                      },
                      "card_payments": {
                        "description": "Settings specific to card charging on the account.",
                        "properties": {
                          "decline_on": {
                            "description": "Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.",
                            "properties": {
                              "avs_failure": {
                                "description": "Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification.",
                                "type": "boolean"
                              },
                              "cvc_failure": {
                                "description": "Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.",
                                "type": "boolean"
                              }
                            },
                            "title": "decline_charge_on_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "avs_failure",
                              "cvc_failure"
                            ]
                          },
                          "statement_descriptor_prefix": {
                            "description": "The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic `statement_descriptor` specified on the charge. `statement_descriptor_prefix` is useful for maximizing descriptor space for the dynamic portion.",
                            "maxLength": 10,
                            "type": "string"
                          },
                          "statement_descriptor_prefix_kana": {
                            "anyOf": [
                              {
                                "maxLength": 10,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "The Kana variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kana` specified on the charge. `statement_descriptor_prefix_kana` is useful for maximizing descriptor space for the dynamic portion."
                          },
                          "statement_descriptor_prefix_kanji": {
                            "anyOf": [
                              {
                                "maxLength": 10,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kanji` specified on the charge. `statement_descriptor_prefix_kanji` is useful for maximizing descriptor space for the dynamic portion."
                          }
                        },
                        "title": "card_payments_settings_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "decline_on",
                          "onboarding_policy",
                          "statement_descriptor_prefix",
                          "statement_descriptor_prefix_kana",
                          "statement_descriptor_prefix_kanji"
                        ]
                      },
                      "invoices": {
                        "description": "Settings specific to the account's use of Invoices.",
                        "properties": {
                          "default_account_tax_ids": {
                            "anyOf": [
                              {
                                "items": {
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "The list of default Account Tax IDs to automatically include on invoices. Account Tax IDs get added when an invoice is finalized."
                          }
                        },
                        "title": "invoices_settings_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "default_account_tax_ids"
                        ]
                      },
                      "payments": {
                        "description": "Settings that apply across payment methods for charging on the account.",
                        "properties": {
                          "statement_descriptor": {
                            "description": "The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a `statement_descriptor_prefix`, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the `statement_descriptor` text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the [account settings documentation](https://docs.stripe.com/get-started/account/statement-descriptors).",
                            "maxLength": 22,
                            "type": "string"
                          },
                          "statement_descriptor_kana": {
                            "description": "The Kana variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).",
                            "maxLength": 22,
                            "type": "string"
                          },
                          "statement_descriptor_kanji": {
                            "description": "The Kanji variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).",
                            "maxLength": 22,
                            "type": "string"
                          }
                        },
                        "title": "payments_settings_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "statement_descriptor",
                          "statement_descriptor_kana",
                          "statement_descriptor_kanji"
                        ]
                      },
                      "payouts": {
                        "description": "Settings specific to the account's payouts.",
                        "properties": {
                          "debit_negative_balances": {
                            "description": "A Boolean indicating whether Stripe should try to reclaim negative balances from an attached bank account. For details, see [Understanding Connect Account Balances](/connect/account-balances).",
                            "type": "boolean"
                          },
                          "schedule": {
                            "description": "Details on when funds from charges are available, and when they are paid out to an external account. For details, see our [Setting Bank and Debit Card Payouts](/connect/bank-transfers#payout-information) documentation.",
                            "properties": {
                              "delay_days": {
                                "anyOf": [
                                  {
                                    "enum": [
                                      "minimum"
                                    ],
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  {
                                    "type": "integer"
                                  }
                                ],
                                "description": "The number of days charge funds are held before being paid out. May also be set to `minimum`, representing the lowest available value for the account country. Default is `minimum`. The `delay_days` parameter remains at the last configured value if `interval` is `manual`. [Learn more about controlling payout delay days](/connect/manage-payout-schedule)."
                              },
                              "interval": {
                                "description": "How frequently available funds are paid out. One of: `daily`, `manual`, `weekly`, or `monthly`. Default is `daily`.",
                                "enum": [
                                  "daily",
                                  "manual",
                                  "monthly",
                                  "weekly"
                                ],
                                "maxLength": 5000,
                                "type": "string",
                                "x-stripeBypassValidation": true
                              },
                              "monthly_anchor": {
                                "description": "The day of the month when available funds are paid out, specified as a number between 1--31. Payouts nominally scheduled between the 29th and 31st of the month are instead sent on the last day of a shorter month. Required and applicable only if `interval` is `monthly`.",
                                "type": "integer"
                              },
                              "weekly_anchor": {
                                "description": "The day of the week when available funds are paid out, specified as `monday`, `tuesday`, etc. (required and applicable only if `interval` is `weekly`.)",
                                "enum": [
                                  "friday",
                                  "monday",
                                  "saturday",
                                  "sunday",
                                  "thursday",
                                  "tuesday",
                                  "wednesday"
                                ],
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "transfer_schedule_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "automatic",
                              "delay_days",
                              "interval",
                              "monthly_anchor",
                              "monthly_payout_days",
                              "timezone",
                              "weekly_anchor",
                              "weekly_payout_days"
                            ]
                          },
                          "statement_descriptor": {
                            "description": "The text that appears on the bank account statement for payouts. If not set, this defaults to the platform's bank descriptor as set in the Dashboard.",
                            "maxLength": 22,
                            "type": "string"
                          }
                        },
                        "title": "payout_settings_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "debit_negative_balances",
                          "schedule",
                          "statement_descriptor"
                        ]
                      },
                      "treasury": {
                        "description": "Settings specific to the account's Treasury FinancialAccounts.",
                        "properties": {
                          "tos_acceptance": {
                            "description": "Details on the account's acceptance of the Stripe Treasury Services 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",
                            "x-stripeMostCommon": [
                              "date",
                              "ip",
                              "user_agent"
                            ]
                          }
                        },
                        "title": "treasury_settings_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "tos_acceptance"
                        ]
                      }
                    },
                    "title": "settings_specs_update",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "affirm_payments",
                      "apply_future_requirements",
                      "bacs_debit_payments",
                      "bank_bca_onboarding",
                      "branding",
                      "capital",
                      "card_issuing",
                      "card_issuing_charge_card",
                      "card_issuing_payout",
                      "card_payments",
                      "funding_credit",
                      "invoices",
                      "konbini_payments",
                      "payments",
                      "payouts",
                      "tax_forms",
                      "treasury"
                    ]
                  },
                  "tos_acceptance": {
                    "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. This property defaults to a `full` service agreement when empty.",
                    "properties": {
                      "date": {
                        "description": "The Unix timestamp marking when the account representative accepted their service agreement.",
                        "format": "unix-time",
                        "type": "integer"
                      },
                      "ip": {
                        "description": "The IP address from which the account representative accepted their service agreement.",
                        "type": "string"
                      },
                      "service_agreement": {
                        "description": "The user's service agreement type.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "user_agent": {
                        "description": "The user agent of the browser from which the account representative accepted their service agreement.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "tos_acceptance_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "date",
                      "ip",
                      "service_agreement",
                      "user_agent"
                    ]
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "business_type",
                  "capabilities",
                  "company",
                  "email",
                  "individual",
                  "metadata",
                  "tos_acceptance"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/account"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update an account"
      }
    },
    "/v1/accounts/{account}/capabilities": {
      "get": {
        "description": "<p>Returns a list of capabilities associated with the account. The capabilities are returned sorted by creation date, with the most recent capability appearing first.</p>",
        "operationId": "GetAccountsAccountCapabilities",
        "parameters": [
          {
            "in": "path",
            "name": "account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/capability"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "ListAccountCapability",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all account capabilities"
      }
    },
    "/v1/accounts/{account}/capabilities/{capability}": {
      "get": {
        "description": "<p>Retrieves information about the specified Account Capability.</p>",
        "operationId": "GetAccountsAccountCapabilitiesCapability",
        "parameters": [
          {
            "in": "path",
            "name": "account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "capability",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/capability"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve an Account Capability"
      },
      "post": {
        "description": "<p>Updates an existing Account Capability. Request or remove a capability by updating its <code>requested</code> parameter.</p>",
        "operationId": "PostAccountsAccountCapabilitiesCapability",
        "parameters": [
          {
            "in": "path",
            "name": "account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "capability",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "requested": {
                    "description": "To request a new capability for an account, pass true. There can be a delay before the requested capability becomes active. If the capability has any activation requirements, the response includes them in the `requirements` arrays.\n\nIf a capability isn't permanent, you can remove it from the account by passing false. Some capabilities are permanent after they've been requested. Attempting to remove a permanent capability returns an error.",
                    "type": "boolean"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "requested"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/capability"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update an Account Capability"
      }
    },
    "/v1/accounts/{account}/external_accounts": {
      "get": {
        "description": "<p>List external accounts for an account.</p>",
        "operationId": "GetAccountsAccountExternalAccounts",
        "parameters": [
          {
            "in": "path",
            "name": "account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "Filter external accounts according to a particular object type.",
            "in": "query",
            "name": "object",
            "required": false,
            "schema": {
              "enum": [
                "bank_account",
                "card"
              ],
              "maxLength": 5000,
              "type": "string",
              "x-stripeBypassValidation": true,
              "x-stripeParam": {
                "class_name": "object_type"
              }
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "The list contains all external accounts that have been attached to the Stripe account. These may be bank accounts or cards.",
                      "items": {
                        "$ref": "#/components/schemas/external_account"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "ExternalAccountList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all external accounts"
      },
      "post": {
        "description": "<p>Create an external account for a given account.</p>",
        "operationId": "PostAccountsAccountExternalAccounts",
        "parameters": [
          {
            "in": "path",
            "name": "account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "default_for_currency": {
                    "description": "When set to true, or if this is the first external account added in this currency, this account becomes the default external account for its currency.",
                    "type": "boolean"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "external_account": {
                    "description": "Please refer to full [documentation](https://stripe.com/docs/api) instead.",
                    "maxLength": 5000,
                    "type": "string",
                    "x-stripeBypassValidation": true
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  }
                },
                "required": [
                  "external_account"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "external_account",
                  "metadata"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/external_account"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create an external account"
      }
    },
    "/v1/accounts/{account}/external_accounts/{id}": {
      "delete": {
        "description": "<p>Delete a specified external account for a given account.</p>",
        "operationId": "DeleteAccountsAccountExternalAccountsId",
        "parameters": [
          {
            "in": "path",
            "name": "account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/deleted_external_account"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Delete an external account"
      },
      "get": {
        "description": "<p>Retrieve a specified external account for a given account.</p>",
        "operationId": "GetAccountsAccountExternalAccountsId",
        "parameters": [
          {
            "in": "path",
            "name": "account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/external_account"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve an external account"
      },
      "post": {
        "description": "<p>Updates the metadata, account holder name, account holder type of a bank account belonging to\na connected account and optionally sets it as the default for its currency. Other bank account\ndetails are not editable by design.</p>\n\n<p>You can only update bank accounts when <a href=\"/api/accounts/object#account_object-controller-requirement_collection\">account.controller.requirement_collection</a> is <code>application</code>, which includes <a href=\"/connect/custom-accounts\">Custom accounts</a>.</p>\n\n<p>You can re-enable a disabled bank account by performing an update call without providing any\narguments or changes.</p>",
        "operationId": "PostAccountsAccountExternalAccountsId",
        "parameters": [
          {
            "in": "path",
            "name": "account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "documents": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "account_holder_name": {
                    "description": "The name of the person or business that owns the bank account.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "account_holder_type": {
                    "description": "The type of entity that holds the account. This can be either `individual` or `company`.",
                    "enum": [
                      "",
                      "company",
                      "individual"
                    ],
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "account_type": {
                    "description": "The bank account type. This can only be `checking` or `savings` in most countries. In Japan, this can only be `futsu` or `toza`.",
                    "enum": [
                      "checking",
                      "futsu",
                      "savings",
                      "toza"
                    ],
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "address_city": {
                    "description": "City/District/Suburb/Town/Village.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "address_country": {
                    "description": "Billing address country, if provided when creating card.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "address_line1": {
                    "description": "Address line 1 (Street address/PO Box/Company name).",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "address_line2": {
                    "description": "Address line 2 (Apartment/Suite/Unit/Building).",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "address_state": {
                    "description": "State/County/Province/Region.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "address_zip": {
                    "description": "ZIP or postal code.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "default_for_currency": {
                    "description": "When set to true, this becomes the default external account for its currency.",
                    "type": "boolean"
                  },
                  "documents": {
                    "description": "Documents that may be submitted to satisfy various informational requests.",
                    "properties": {
                      "bank_account_ownership_verification": {
                        "description": "One or more documents that support the [Bank account ownership verification](https://support.stripe.com/questions/bank-account-ownership-verification) requirement. Must be a document associated with the bank account that displays the last 4 digits of the account number, either a statement or a check.",
                        "properties": {
                          "files": {
                            "description": "One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.",
                            "items": {
                              "maxLength": 500,
                              "type": "string"
                            },
                            "type": "array"
                          }
                        },
                        "title": "documents_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "files"
                        ]
                      }
                    },
                    "title": "external_account_documents_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "bank_account_ownership_verification"
                    ]
                  },
                  "exp_month": {
                    "description": "Two digit number representing the card’s expiration month.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "exp_year": {
                    "description": "Four digit number representing the card’s expiration year.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "name": {
                    "description": "Cardholder name.",
                    "maxLength": 5000,
                    "type": "string"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "default_for_currency",
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/external_account"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        }
      }
    },
    "/v1/accounts/{account}/login_links": {
      "post": {
        "description": "<p>Creates a login link for a connected account to access the Express Dashboard.</p>\n\n<p><strong>You can only create login links for accounts that use the <a href=\"/connect/express-dashboard\">Express Dashboard</a> and are connected to your platform</strong>.</p>",
        "operationId": "PostAccountsAccountLoginLinks",
        "parameters": [
          {
            "in": "path",
            "name": "account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/login_link"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a login link"
      }
    },
    "/v1/accounts/{account}/persons": {
      "get": {
        "description": "<p>Returns a list of people associated with the account’s legal entity. The people are returned sorted by creation date, with the most recent people appearing first.</p>",
        "operationId": "GetAccountsAccountPersons",
        "parameters": [
          {
            "in": "path",
            "name": "account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "Filters on the list of people returned based on the person's relationship to the account's company.",
            "explode": true,
            "in": "query",
            "name": "relationship",
            "required": false,
            "schema": {
              "properties": {
                "authorizer": {
                  "description": "A filter on the list of people returned based on whether these people are authorizers of the account's representative.",
                  "type": "boolean"
                },
                "director": {
                  "description": "A filter on the list of people returned based on whether these people are directors of the account's company.",
                  "type": "boolean"
                },
                "executive": {
                  "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"
                },
                "representative": {
                  "description": "A filter on the list of people returned based on whether these people are the representative of the account's company.",
                  "type": "boolean"
                }
              },
              "title": "all_people_relationship_specs",
              "type": "object",
              "x-stripeMostCommon": [
                "authorizer",
                "director",
                "executive",
                "legal_guardian",
                "officer",
                "owner",
                "partner",
                "representative"
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/person"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "PersonList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all persons"
      },
      "post": {
        "description": "<p>Creates a new person.</p>",
        "operationId": "PostAccountsAccountPersons",
        "parameters": [
          {
            "in": "path",
            "name": "account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "additional_tos_acceptances": {
                  "explode": true,
                  "style": "deepObject"
                },
                "address": {
                  "explode": true,
                  "style": "deepObject"
                },
                "address_kana": {
                  "explode": true,
                  "style": "deepObject"
                },
                "address_kanji": {
                  "explode": true,
                  "style": "deepObject"
                },
                "dob": {
                  "explode": true,
                  "style": "deepObject"
                },
                "documents": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "full_name_aliases": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "registered_address": {
                  "explode": true,
                  "style": "deepObject"
                },
                "relationship": {
                  "explode": true,
                  "style": "deepObject"
                },
                "verification": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "additional_tos_acceptances": {
                    "description": "Details on the legal guardian's or authorizer'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",
                        "x-stripeMostCommon": [
                          "date",
                          "ip",
                          "user_agent"
                        ]
                      }
                    },
                    "title": "person_additional_tos_acceptances_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "account",
                      "representative"
                    ]
                  },
                  "address": {
                    "description": "The person's address.",
                    "properties": {
                      "city": {
                        "description": "City, district, suburb, town, or village.",
                        "maxLength": 100,
                        "type": "string"
                      },
                      "country": {
                        "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "line1": {
                        "description": "Address line 1 (e.g., street, PO Box, or company name).",
                        "maxLength": 200,
                        "type": "string"
                      },
                      "line2": {
                        "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                        "maxLength": 200,
                        "type": "string"
                      },
                      "postal_code": {
                        "description": "ZIP or postal code.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "state": {
                        "description": "State, county, province, or region.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "legal_entity_and_kyc_address_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "city",
                      "country",
                      "line1",
                      "line2",
                      "postal_code",
                      "state"
                    ]
                  },
                  "address_kana": {
                    "description": "The Kana variation of the person's address (Japan only).",
                    "properties": {
                      "city": {
                        "description": "City or ward.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "country": {
                        "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "line1": {
                        "description": "Block or building number.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "line2": {
                        "description": "Building details.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "postal_code": {
                        "description": "Postal code.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "state": {
                        "description": "Prefecture.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "town": {
                        "description": "Town or cho-me.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "japan_address_kana_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "city",
                      "country",
                      "db_code",
                      "line1",
                      "line2",
                      "postal_code",
                      "state",
                      "town"
                    ]
                  },
                  "address_kanji": {
                    "description": "The Kanji variation of the person's address (Japan only).",
                    "properties": {
                      "city": {
                        "description": "City or ward.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "country": {
                        "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "line1": {
                        "description": "Block or building number.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "line2": {
                        "description": "Building details.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "postal_code": {
                        "description": "Postal code.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "state": {
                        "description": "Prefecture.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "town": {
                        "description": "Town or cho-me.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "japan_address_kanji_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "city",
                      "country",
                      "db_code",
                      "line1",
                      "line2",
                      "postal_code",
                      "state",
                      "town"
                    ]
                  },
                  "dob": {
                    "anyOf": [
                      {
                        "properties": {
                          "day": {
                            "description": "The day of birth, between 1 and 31.",
                            "type": "integer"
                          },
                          "month": {
                            "description": "The month of birth, between 1 and 12.",
                            "type": "integer"
                          },
                          "year": {
                            "description": "The four-digit year of birth.",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "day",
                          "month",
                          "year"
                        ],
                        "title": "date_of_birth_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "day",
                          "month",
                          "year"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The person's date of birth."
                  },
                  "documents": {
                    "description": "Documents that may be submitted to satisfy various informational requests.",
                    "properties": {
                      "company_authorization": {
                        "description": "One or more documents that demonstrate proof that this person is authorized to represent the company.",
                        "properties": {
                          "files": {
                            "description": "One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.",
                            "items": {
                              "anyOf": [
                                {
                                  "maxLength": 500,
                                  "type": "string"
                                },
                                {
                                  "enum": [
                                    ""
                                  ],
                                  "type": "string"
                                }
                              ]
                            },
                            "type": "array"
                          }
                        },
                        "title": "documents_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "files"
                        ]
                      },
                      "passport": {
                        "description": "One or more documents showing the person's passport page with photo and personal data.",
                        "properties": {
                          "files": {
                            "description": "One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.",
                            "items": {
                              "anyOf": [
                                {
                                  "maxLength": 500,
                                  "type": "string"
                                },
                                {
                                  "enum": [
                                    ""
                                  ],
                                  "type": "string"
                                }
                              ]
                            },
                            "type": "array"
                          }
                        },
                        "title": "documents_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "files"
                        ]
                      },
                      "visa": {
                        "description": "One or more documents showing the person's visa required for living in the country where they are residing.",
                        "properties": {
                          "files": {
                            "description": "One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.",
                            "items": {
                              "anyOf": [
                                {
                                  "maxLength": 500,
                                  "type": "string"
                                },
                                {
                                  "enum": [
                                    ""
                                  ],
                                  "type": "string"
                                }
                              ]
                            },
                            "type": "array"
                          }
                        },
                        "title": "documents_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "files"
                        ]
                      }
                    },
                    "title": "person_documents_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "DASHBOARD_proof_of_liveness",
                      "company_authorization",
                      "passport",
                      "visa"
                    ]
                  },
                  "email": {
                    "description": "The person's email address.",
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "first_name": {
                    "description": "The person's first name.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "first_name_kana": {
                    "description": "The Kana variation of the person's first name (Japan only).",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "first_name_kanji": {
                    "description": "The Kanji variation of the person's first name (Japan only).",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "full_name_aliases": {
                    "anyOf": [
                      {
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A list of alternate names or aliases that the person is known by."
                  },
                  "gender": {
                    "description": "The person's gender (International regulations require either \"male\" or \"female\").",
                    "type": "string"
                  },
                  "id_number": {
                    "description": "The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://docs.stripe.com/js/tokens/create_token?type=pii).",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "id_number_secondary": {
                    "description": "The person's secondary ID number, as appropriate for their country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://docs.stripe.com/js/tokens/create_token?type=pii).",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "last_name": {
                    "description": "The person's last name.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "last_name_kana": {
                    "description": "The Kana variation of the person's last name (Japan only).",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "last_name_kanji": {
                    "description": "The Kanji variation of the person's last name (Japan only).",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "maiden_name": {
                    "description": "The person's maiden name.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "nationality": {
                    "description": "The country where the person is a national. Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)), or \"XX\" if unavailable.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "person_token": {
                    "description": "A [person token](https://docs.stripe.com/connect/account-tokens), used to securely provide details to the person.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "phone": {
                    "description": "The person's phone number.",
                    "type": "string"
                  },
                  "political_exposure": {
                    "description": "Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "registered_address": {
                    "description": "The person's registered address.",
                    "properties": {
                      "city": {
                        "description": "City, district, suburb, town, or village.",
                        "maxLength": 100,
                        "type": "string"
                      },
                      "country": {
                        "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "line1": {
                        "description": "Address line 1 (e.g., street, PO Box, or company name).",
                        "maxLength": 200,
                        "type": "string"
                      },
                      "line2": {
                        "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                        "maxLength": 200,
                        "type": "string"
                      },
                      "postal_code": {
                        "description": "ZIP or postal code.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "state": {
                        "description": "State, county, province, or region.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "address_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "city",
                      "country",
                      "line1",
                      "line2",
                      "postal_code",
                      "state"
                    ]
                  },
                  "relationship": {
                    "description": "The relationship that this person has with the account's legal entity.",
                    "properties": {
                      "authorizer": {
                        "description": "Whether the person is the authorizer of the account's representative.",
                        "type": "boolean"
                      },
                      "director": {
                        "description": "Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.",
                        "type": "boolean"
                      },
                      "executive": {
                        "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"
                      },
                      "percent_ownership": {
                        "anyOf": [
                          {
                            "type": "number"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The percent owned by the person of the account's legal entity."
                      },
                      "representative": {
                        "description": "Whether the person is authorized as the primary representative of the account. This is the person nominated by the business to provide information about themselves, and general information about the account. There can only be one representative at any given time. At the time the account is created, this person should be set to the person responsible for opening the account.",
                        "type": "boolean"
                      },
                      "title": {
                        "description": "The person's title (e.g., CEO, Support Engineer).",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "relationship_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "authorizer",
                      "controller",
                      "director",
                      "executive",
                      "legal_guardian",
                      "officer",
                      "owner",
                      "partner",
                      "percent_ownership",
                      "representative",
                      "title"
                    ]
                  },
                  "ssn_last_4": {
                    "description": "The last four digits of the person's Social Security number (U.S. only).",
                    "type": "string"
                  },
                  "verification": {
                    "description": "The person's verification status.",
                    "properties": {
                      "additional_document": {
                        "description": "A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.",
                        "properties": {
                          "back": {
                            "description": "The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                            "maxLength": 500,
                            "type": "string"
                          },
                          "front": {
                            "description": "The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                            "maxLength": 500,
                            "type": "string"
                          }
                        },
                        "title": "person_verification_document_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "back",
                          "electronic_id",
                          "front"
                        ]
                      },
                      "document": {
                        "description": "An identifying document, either a passport or local ID card.",
                        "properties": {
                          "back": {
                            "description": "The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                            "maxLength": 500,
                            "type": "string"
                          },
                          "front": {
                            "description": "The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                            "maxLength": 500,
                            "type": "string"
                          }
                        },
                        "title": "person_verification_document_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "back",
                          "electronic_id",
                          "front"
                        ]
                      }
                    },
                    "title": "person_verification_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "additional_document",
                      "document",
                      "proof_of_liveness"
                    ]
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "address",
                  "dob",
                  "email",
                  "first_name",
                  "id_number",
                  "last_name",
                  "metadata",
                  "phone",
                  "relationship",
                  "ssn_last_4"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/person"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a person"
      }
    },
    "/v1/accounts/{account}/persons/{person}": {
      "delete": {
        "description": "<p>Deletes an existing person’s relationship to the account’s legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is the <code>account_opener</code>. If your integration is using the <code>executive</code> parameter, you cannot delete the only verified <code>executive</code> on file.</p>",
        "operationId": "DeleteAccountsAccountPersonsPerson",
        "parameters": [
          {
            "in": "path",
            "name": "account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "person",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/deleted_person"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Delete a person"
      },
      "get": {
        "description": "<p>Retrieves an existing person.</p>",
        "operationId": "GetAccountsAccountPersonsPerson",
        "parameters": [
          {
            "in": "path",
            "name": "account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "person",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/person"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a person"
      },
      "post": {
        "description": "<p>Updates an existing person.</p>",
        "operationId": "PostAccountsAccountPersonsPerson",
        "parameters": [
          {
            "in": "path",
            "name": "account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "person",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "additional_tos_acceptances": {
                  "explode": true,
                  "style": "deepObject"
                },
                "address": {
                  "explode": true,
                  "style": "deepObject"
                },
                "address_kana": {
                  "explode": true,
                  "style": "deepObject"
                },
                "address_kanji": {
                  "explode": true,
                  "style": "deepObject"
                },
                "dob": {
                  "explode": true,
                  "style": "deepObject"
                },
                "documents": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "full_name_aliases": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "registered_address": {
                  "explode": true,
                  "style": "deepObject"
                },
                "relationship": {
                  "explode": true,
                  "style": "deepObject"
                },
                "verification": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "additional_tos_acceptances": {
                    "description": "Details on the legal guardian's or authorizer'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",
                        "x-stripeMostCommon": [
                          "date",
                          "ip",
                          "user_agent"
                        ]
                      }
                    },
                    "title": "person_additional_tos_acceptances_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "account",
                      "representative"
                    ]
                  },
                  "address": {
                    "description": "The person's address.",
                    "properties": {
                      "city": {
                        "description": "City, district, suburb, town, or village.",
                        "maxLength": 100,
                        "type": "string"
                      },
                      "country": {
                        "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "line1": {
                        "description": "Address line 1 (e.g., street, PO Box, or company name).",
                        "maxLength": 200,
                        "type": "string"
                      },
                      "line2": {
                        "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                        "maxLength": 200,
                        "type": "string"
                      },
                      "postal_code": {
                        "description": "ZIP or postal code.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "state": {
                        "description": "State, county, province, or region.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "legal_entity_and_kyc_address_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "city",
                      "country",
                      "line1",
                      "line2",
                      "postal_code",
                      "state"
                    ]
                  },
                  "address_kana": {
                    "description": "The Kana variation of the person's address (Japan only).",
                    "properties": {
                      "city": {
                        "description": "City or ward.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "country": {
                        "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "line1": {
                        "description": "Block or building number.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "line2": {
                        "description": "Building details.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "postal_code": {
                        "description": "Postal code.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "state": {
                        "description": "Prefecture.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "town": {
                        "description": "Town or cho-me.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "japan_address_kana_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "city",
                      "country",
                      "db_code",
                      "line1",
                      "line2",
                      "postal_code",
                      "state",
                      "town"
                    ]
                  },
                  "address_kanji": {
                    "description": "The Kanji variation of the person's address (Japan only).",
                    "properties": {
                      "city": {
                        "description": "City or ward.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "country": {
                        "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "line1": {
                        "description": "Block or building number.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "line2": {
                        "description": "Building details.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "postal_code": {
                        "description": "Postal code.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "state": {
                        "description": "Prefecture.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "town": {
                        "description": "Town or cho-me.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "japan_address_kanji_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "city",
                      "country",
                      "db_code",
                      "line1",
                      "line2",
                      "postal_code",
                      "state",
                      "town"
                    ]
                  },
                  "dob": {
                    "anyOf": [
                      {
                        "properties": {
                          "day": {
                            "description": "The day of birth, between 1 and 31.",
                            "type": "integer"
                          },
                          "month": {
                            "description": "The month of birth, between 1 and 12.",
                            "type": "integer"
                          },
                          "year": {
                            "description": "The four-digit year of birth.",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "day",
                          "month",
                          "year"
                        ],
                        "title": "date_of_birth_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "day",
                          "month",
                          "year"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The person's date of birth."
                  },
                  "documents": {
                    "description": "Documents that may be submitted to satisfy various informational requests.",
                    "properties": {
                      "company_authorization": {
                        "description": "One or more documents that demonstrate proof that this person is authorized to represent the company.",
                        "properties": {
                          "files": {
                            "description": "One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.",
                            "items": {
                              "anyOf": [
                                {
                                  "maxLength": 500,
                                  "type": "string"
                                },
                                {
                                  "enum": [
                                    ""
                                  ],
                                  "type": "string"
                                }
                              ]
                            },
                            "type": "array"
                          }
                        },
                        "title": "documents_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "files"
                        ]
                      },
                      "passport": {
                        "description": "One or more documents showing the person's passport page with photo and personal data.",
                        "properties": {
                          "files": {
                            "description": "One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.",
                            "items": {
                              "anyOf": [
                                {
                                  "maxLength": 500,
                                  "type": "string"
                                },
                                {
                                  "enum": [
                                    ""
                                  ],
                                  "type": "string"
                                }
                              ]
                            },
                            "type": "array"
                          }
                        },
                        "title": "documents_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "files"
                        ]
                      },
                      "visa": {
                        "description": "One or more documents showing the person's visa required for living in the country where they are residing.",
                        "properties": {
                          "files": {
                            "description": "One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.",
                            "items": {
                              "anyOf": [
                                {
                                  "maxLength": 500,
                                  "type": "string"
                                },
                                {
                                  "enum": [
                                    ""
                                  ],
                                  "type": "string"
                                }
                              ]
                            },
                            "type": "array"
                          }
                        },
                        "title": "documents_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "files"
                        ]
                      }
                    },
                    "title": "person_documents_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "DASHBOARD_proof_of_liveness",
                      "company_authorization",
                      "passport",
                      "visa"
                    ]
                  },
                  "email": {
                    "description": "The person's email address.",
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "first_name": {
                    "description": "The person's first name.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "first_name_kana": {
                    "description": "The Kana variation of the person's first name (Japan only).",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "first_name_kanji": {
                    "description": "The Kanji variation of the person's first name (Japan only).",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "full_name_aliases": {
                    "anyOf": [
                      {
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A list of alternate names or aliases that the person is known by."
                  },
                  "gender": {
                    "description": "The person's gender (International regulations require either \"male\" or \"female\").",
                    "type": "string"
                  },
                  "id_number": {
                    "description": "The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://docs.stripe.com/js/tokens/create_token?type=pii).",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "id_number_secondary": {
                    "description": "The person's secondary ID number, as appropriate for their country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://docs.stripe.com/js/tokens/create_token?type=pii).",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "last_name": {
                    "description": "The person's last name.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "last_name_kana": {
                    "description": "The Kana variation of the person's last name (Japan only).",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "last_name_kanji": {
                    "description": "The Kanji variation of the person's last name (Japan only).",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "maiden_name": {
                    "description": "The person's maiden name.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "nationality": {
                    "description": "The country where the person is a national. Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)), or \"XX\" if unavailable.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "person_token": {
                    "description": "A [person token](https://docs.stripe.com/connect/account-tokens), used to securely provide details to the person.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "phone": {
                    "description": "The person's phone number.",
                    "type": "string"
                  },
                  "political_exposure": {
                    "description": "Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "registered_address": {
                    "description": "The person's registered address.",
                    "properties": {
                      "city": {
                        "description": "City, district, suburb, town, or village.",
                        "maxLength": 100,
                        "type": "string"
                      },
                      "country": {
                        "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "line1": {
                        "description": "Address line 1 (e.g., street, PO Box, or company name).",
                        "maxLength": 200,
                        "type": "string"
                      },
                      "line2": {
                        "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                        "maxLength": 200,
                        "type": "string"
                      },
                      "postal_code": {
                        "description": "ZIP or postal code.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "state": {
                        "description": "State, county, province, or region.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "address_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "city",
                      "country",
                      "line1",
                      "line2",
                      "postal_code",
                      "state"
                    ]
                  },
                  "relationship": {
                    "description": "The relationship that this person has with the account's legal entity.",
                    "properties": {
                      "authorizer": {
                        "description": "Whether the person is the authorizer of the account's representative.",
                        "type": "boolean"
                      },
                      "director": {
                        "description": "Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.",
                        "type": "boolean"
                      },
                      "executive": {
                        "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"
                      },
                      "percent_ownership": {
                        "anyOf": [
                          {
                            "type": "number"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The percent owned by the person of the account's legal entity."
                      },
                      "representative": {
                        "description": "Whether the person is authorized as the primary representative of the account. This is the person nominated by the business to provide information about themselves, and general information about the account. There can only be one representative at any given time. At the time the account is created, this person should be set to the person responsible for opening the account.",
                        "type": "boolean"
                      },
                      "title": {
                        "description": "The person's title (e.g., CEO, Support Engineer).",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "relationship_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "authorizer",
                      "controller",
                      "director",
                      "executive",
                      "legal_guardian",
                      "officer",
                      "owner",
                      "partner",
                      "percent_ownership",
                      "representative",
                      "title"
                    ]
                  },
                  "ssn_last_4": {
                    "description": "The last four digits of the person's Social Security number (U.S. only).",
                    "type": "string"
                  },
                  "verification": {
                    "description": "The person's verification status.",
                    "properties": {
                      "additional_document": {
                        "description": "A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.",
                        "properties": {
                          "back": {
                            "description": "The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                            "maxLength": 500,
                            "type": "string"
                          },
                          "front": {
                            "description": "The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                            "maxLength": 500,
                            "type": "string"
                          }
                        },
                        "title": "person_verification_document_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "back",
                          "electronic_id",
                          "front"
                        ]
                      },
                      "document": {
                        "description": "An identifying document, either a passport or local ID card.",
                        "properties": {
                          "back": {
                            "description": "The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                            "maxLength": 500,
                            "type": "string"
                          },
                          "front": {
                            "description": "The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                            "maxLength": 500,
                            "type": "string"
                          }
                        },
                        "title": "person_verification_document_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "back",
                          "electronic_id",
                          "front"
                        ]
                      }
                    },
                    "title": "person_verification_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "additional_document",
                      "document",
                      "proof_of_liveness"
                    ]
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "address",
                  "dob",
                  "email",
                  "first_name",
                  "id_number",
                  "last_name",
                  "metadata",
                  "phone",
                  "relationship",
                  "ssn_last_4"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/person"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a person"
      }
    },
    "/v1/accounts/{account}/reject": {
      "post": {
        "description": "<p>With <a href=\"/connect\">Connect</a>, you can reject accounts that you have flagged as suspicious.</p>\n\n<p>Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected. Test-mode accounts can be rejected at any time. Live-mode accounts can only be rejected after all balances are zero.</p>",
        "operationId": "PostAccountsAccountReject",
        "parameters": [
          {
            "in": "path",
            "name": "account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "reason": {
                    "description": "The reason for rejecting the account. Can be `fraud`, `terms_of_service`, or `other`.",
                    "maxLength": 5000,
                    "type": "string"
                  }
                },
                "required": [
                  "reason"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "reason"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/account"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Reject an account"
      }
    },
    "/v1/apple_pay/domains": {
      "get": {
        "description": "<p>List apple pay domains.</p>",
        "operationId": "GetApplePayDomains",
        "parameters": [
          {
            "in": "query",
            "name": "domain_name",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/apple_pay_domain"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/apple_pay/domains",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "ApplePayDomainList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        }
      },
      "post": {
        "description": "<p>Create an apple pay domain.</p>",
        "operationId": "PostApplePayDomains",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "domain_name": {
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "domain_name"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "domain_name"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/apple_pay_domain"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        }
      }
    },
    "/v1/apple_pay/domains/{domain}": {
      "delete": {
        "description": "<p>Delete an apple pay domain.</p>",
        "operationId": "DeleteApplePayDomainsDomain",
        "parameters": [
          {
            "in": "path",
            "name": "domain",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/deleted_apple_pay_domain"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        }
      },
      "get": {
        "description": "<p>Retrieve an apple pay domain.</p>",
        "operationId": "GetApplePayDomainsDomain",
        "parameters": [
          {
            "in": "path",
            "name": "domain",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/apple_pay_domain"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        }
      }
    },
    "/v1/application_fees": {
      "get": {
        "description": "<p>Returns a list of application fees you’ve previously collected. The application fees are returned in sorted order, with the most recent fees appearing first.</p>",
        "operationId": "GetApplicationFees",
        "parameters": [
          {
            "description": "Only return application fees for the charge specified by this charge ID.",
            "in": "query",
            "name": "charge",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return applications fees that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/application_fee"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/application_fees",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "PlatformEarningList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all application fees"
      }
    },
    "/v1/application_fees/{fee}/refunds/{id}": {
      "get": {
        "description": "<p>By default, you can see the 10 most recent refunds stored directly on the application fee object, but you can also retrieve details about a specific refund stored on the application fee.</p>",
        "operationId": "GetApplicationFeesFeeRefundsId",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "fee",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/fee_refund"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve an application fee refund"
      },
      "post": {
        "description": "<p>Updates the specified application fee refund by setting the values of the parameters passed. Any parameters not provided will be left unchanged.</p>\n\n<p>This request only accepts metadata as an argument.</p>",
        "operationId": "PostApplicationFeesFeeRefundsId",
        "parameters": [
          {
            "in": "path",
            "name": "fee",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/fee_refund"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update an application fee refund"
      }
    },
    "/v1/application_fees/{id}": {
      "get": {
        "description": "<p>Retrieves the details of an application fee that your account has collected. The same information is returned when refunding the application fee.</p>",
        "operationId": "GetApplicationFeesId",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/application_fee"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve an application fee"
      }
    },
    "/v1/application_fees/{id}/refunds": {
      "get": {
        "description": "<p>You can see a list of the refunds belonging to a specific application fee. Note that the 10 most recent refunds are always available by default on the application fee object. If you need more than those 10, you can use this API method and the <code>limit</code> and <code>starting_after</code> parameters to page through additional refunds.</p>",
        "operationId": "GetApplicationFeesIdRefunds",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/fee_refund"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "FeeRefundList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all application fee refunds"
      },
      "post": {
        "description": "<p>Refunds an application fee that has previously been collected but not yet refunded.\nFunds will be refunded to the Stripe account from which the fee was originally collected.</p>\n\n<p>You can optionally refund only part of an application fee.\nYou can do so multiple times, until the entire fee has been refunded.</p>\n\n<p>Once entirely refunded, an application fee can’t be refunded again.\nThis method will raise an error when called on an already-refunded application fee,\nor when trying to refund more money than is left on an application fee.</p>",
        "operationId": "PostApplicationFeesIdRefunds",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "A positive integer, in _cents (or local equivalent)_, representing how much of this fee to refund. Can refund only up to the remaining unrefunded amount of the fee.",
                    "type": "integer"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/fee_refund"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create an application fee refund"
      }
    },
    "/v1/apps/secrets": {
      "get": {
        "description": "<p>List all secrets stored on the given scope.</p>",
        "operationId": "GetAppsSecrets",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "explode": true,
            "in": "query",
            "name": "scope",
            "required": true,
            "schema": {
              "properties": {
                "type": {
                  "description": "The secret scope type.",
                  "enum": [
                    "account",
                    "user"
                  ],
                  "type": "string"
                },
                "user": {
                  "description": "The user ID. This field is required if `type` is set to `user`, and should not be provided if `type` is set to `account`.",
                  "maxLength": 5000,
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "title": "scope_param",
              "type": "object",
              "x-stripeMostCommon": [
                "type",
                "user"
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/apps.secret"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/apps/secrets",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "SecretServiceResourceSecretList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List secrets"
      },
      "post": {
        "description": "<p>Create or replace a secret in the secret store.</p>",
        "operationId": "PostAppsSecrets",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "scope": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "expires_at": {
                    "description": "The Unix timestamp for the expiry time of the secret, after which the secret deletes.",
                    "format": "unix-time",
                    "type": "integer"
                  },
                  "name": {
                    "description": "A name for the secret that's unique within the scope.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "payload": {
                    "description": "The plaintext secret value to be stored.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "scope": {
                    "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.",
                    "properties": {
                      "type": {
                        "description": "The secret scope type.",
                        "enum": [
                          "account",
                          "user"
                        ],
                        "type": "string"
                      },
                      "user": {
                        "description": "The user ID. This field is required if `type` is set to `user`, and should not be provided if `type` is set to `account`.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "title": "scope_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "type",
                      "user"
                    ]
                  }
                },
                "required": [
                  "name",
                  "payload",
                  "scope"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "expires_at",
                  "name",
                  "payload",
                  "scope"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/apps.secret"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Set a Secret"
      }
    },
    "/v1/apps/secrets/delete": {
      "post": {
        "description": "<p>Deletes a secret from the secret store by name and scope.</p>",
        "operationId": "PostAppsSecretsDelete",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "scope": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "name": {
                    "description": "A name for the secret that's unique within the scope.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "scope": {
                    "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.",
                    "properties": {
                      "type": {
                        "description": "The secret scope type.",
                        "enum": [
                          "account",
                          "user"
                        ],
                        "type": "string"
                      },
                      "user": {
                        "description": "The user ID. This field is required if `type` is set to `user`, and should not be provided if `type` is set to `account`.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "title": "scope_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "type",
                      "user"
                    ]
                  }
                },
                "required": [
                  "name",
                  "scope"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "name",
                  "scope"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/apps.secret"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Delete a Secret"
      }
    },
    "/v1/apps/secrets/find": {
      "get": {
        "description": "<p>Finds a secret in the secret store by name and scope.</p>",
        "operationId": "GetAppsSecretsFind",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A name for the secret that's unique within the scope.",
            "in": "query",
            "name": "name",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "explode": true,
            "in": "query",
            "name": "scope",
            "required": true,
            "schema": {
              "properties": {
                "type": {
                  "description": "The secret scope type.",
                  "enum": [
                    "account",
                    "user"
                  ],
                  "type": "string"
                },
                "user": {
                  "description": "The user ID. This field is required if `type` is set to `user`, and should not be provided if `type` is set to `account`.",
                  "maxLength": 5000,
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "title": "scope_param",
              "type": "object",
              "x-stripeMostCommon": [
                "type",
                "user"
              ]
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/apps.secret"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Find a Secret"
      }
    },
    "/v1/balance": {
      "get": {
        "description": "<p>Retrieves the current account balance, based on the authentication that was used to make the request.\n For a sample request, see <a href=\"/docs/connect/account-balances#accounting-for-negative-balances\">Accounting for negative balances</a>.</p>",
        "operationId": "GetBalance",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/balance"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve balance"
      }
    },
    "/v1/balance_transactions": {
      "get": {
        "description": "<p>Returns a list of transactions that have contributed to the Stripe account balance (e.g., charges, transfers, and so forth). The transactions are returned in sorted order, with the most recent transactions appearing first.</p>\n\n<p>Note that this endpoint was previously called “Balance history” and used the path <code>/v1/balance/history</code>.</p>",
        "operationId": "GetBalanceTransactions",
        "parameters": [
          {
            "description": "Only return transactions that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "Only return transactions in a certain currency. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
            "in": "query",
            "name": "currency",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "For automatic Stripe payouts only, only returns transactions that were paid out on the specified payout ID.",
            "in": "query",
            "name": "payout",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only returns the original transaction.",
            "in": "query",
            "name": "source",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only returns transactions of the given type. One of: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `stripe_fee`, `stripe_fx_fee`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, or `transfer_refund`.",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/balance_transaction"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/balance_transactions",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "BalanceTransactionsList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all balance transactions"
      }
    },
    "/v1/balance_transactions/{id}": {
      "get": {
        "description": "<p>Retrieves the balance transaction with the given ID.</p>\n\n<p>Note that this endpoint previously used the path <code>/v1/balance/history/:id</code>.</p>",
        "operationId": "GetBalanceTransactionsId",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/balance_transaction"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a balance transaction"
      }
    },
    "/v1/billing/alerts": {
      "get": {
        "description": "<p>Lists billing active and inactive alerts</p>",
        "operationId": "GetBillingAlerts",
        "parameters": [
          {
            "description": "Filter results to only include this type of alert.",
            "in": "query",
            "name": "alert_type",
            "required": false,
            "schema": {
              "enum": [
                "usage_threshold"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "Filter results to only include alerts with the given meter.",
            "in": "query",
            "name": "meter",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/billing.alert"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/billing/alerts",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "ThresholdsResourceAlertList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List billing alerts"
      },
      "post": {
        "description": "<p>Creates a billing alert</p>",
        "operationId": "PostBillingAlerts",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "usage_threshold": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "alert_type": {
                    "description": "The type of alert to create.",
                    "enum": [
                      "usage_threshold"
                    ],
                    "type": "string",
                    "x-stripeBypassValidation": true
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "title": {
                    "description": "The title of the alert.",
                    "maxLength": 256,
                    "type": "string"
                  },
                  "usage_threshold": {
                    "description": "The configuration of the usage threshold.",
                    "properties": {
                      "filters": {
                        "description": "The filters allows limiting the scope of this usage alert. You can only specify up to one filter at this time.",
                        "items": {
                          "properties": {
                            "customer": {
                              "description": "Limit the scope to this usage alert only to this customer.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "type": {
                              "description": "What type of filter is being applied to this usage alert.",
                              "enum": [
                                "customer"
                              ],
                              "type": "string"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "title": "usage_alert_filter",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "customer",
                            "type"
                          ]
                        },
                        "type": "array"
                      },
                      "gte": {
                        "description": "Defines at which value the alert will fire.",
                        "type": "integer"
                      },
                      "meter": {
                        "description": "The [Billing Meter](/api/billing/meter) ID whose usage is monitored.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "recurrence": {
                        "description": "Whether the alert should only fire only once, or once per billing cycle.",
                        "enum": [
                          "one_time"
                        ],
                        "type": "string",
                        "x-stripeBypassValidation": true
                      }
                    },
                    "required": [
                      "gte",
                      "recurrence"
                    ],
                    "title": "usage_threshold_config",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "filters",
                      "gte",
                      "meter",
                      "recurrence"
                    ]
                  }
                },
                "required": [
                  "alert_type",
                  "title"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "alert_type",
                  "title",
                  "usage_threshold"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/billing.alert"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a billing alert"
      }
    },
    "/v1/billing/alerts/{id}": {
      "get": {
        "description": "<p>Retrieves a billing alert given an ID</p>",
        "operationId": "GetBillingAlertsId",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/billing.alert"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a billing alert"
      }
    },
    "/v1/billing/alerts/{id}/activate": {
      "post": {
        "description": "<p>Reactivates this alert, allowing it to trigger again.</p>",
        "operationId": "PostBillingAlertsIdActivate",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/billing.alert"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Activate a billing alert"
      }
    },
    "/v1/billing/alerts/{id}/archive": {
      "post": {
        "description": "<p>Archives this alert, removing it from the list view and APIs. This is non-reversible.</p>",
        "operationId": "PostBillingAlertsIdArchive",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/billing.alert"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Archive a billing alert"
      }
    },
    "/v1/billing/alerts/{id}/deactivate": {
      "post": {
        "description": "<p>Deactivates this alert, preventing it from triggering.</p>",
        "operationId": "PostBillingAlertsIdDeactivate",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/billing.alert"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Deactivate a billing alert"
      }
    },
    "/v1/billing/credit_balance_summary": {
      "get": {
        "description": "<p>Retrieves the credit balance summary for a customer</p>",
        "operationId": "GetBillingCreditBalanceSummary",
        "parameters": [
          {
            "description": "The customer for which to fetch credit balance summary.",
            "in": "query",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "The filter criteria for the credit balance summary.",
            "explode": true,
            "in": "query",
            "name": "filter",
            "required": true,
            "schema": {
              "properties": {
                "applicability_scope": {
                  "description": "The billing credit applicability scope for which to fetch credit balance summary.",
                  "properties": {
                    "price_type": {
                      "description": "The price type for which credit grants can apply. We currently only support the `metered` price type.",
                      "enum": [
                        "metered"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "price_type"
                  ],
                  "title": "scope_param",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "price_type"
                  ]
                },
                "credit_grant": {
                  "description": "The credit grant for which to fetch credit balance summary.",
                  "maxLength": 5000,
                  "type": "string"
                },
                "type": {
                  "description": "Specify the type of this filter.",
                  "enum": [
                    "applicability_scope",
                    "credit_grant"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "title": "balance_summary_filter_param",
              "type": "object",
              "x-stripeMostCommon": [
                "applicability_scope",
                "credit_grant",
                "type"
              ]
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/billing.credit_balance_summary"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve the credit balance summary for a customer"
      }
    },
    "/v1/billing/credit_balance_transactions": {
      "get": {
        "description": "<p>Retrieve a list of credit balance transactions</p>",
        "operationId": "GetBillingCreditBalanceTransactions",
        "parameters": [
          {
            "description": "The credit grant for which to fetch credit balance transactions.",
            "in": "query",
            "name": "credit_grant",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "The customer for which to fetch credit balance transactions.",
            "in": "query",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/billing.credit_balance_transaction"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/billing/credit_grants",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "BillingCreditGrantsResourceBalanceTransactionList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List credit balance transactions"
      }
    },
    "/v1/billing/credit_balance_transactions/{id}": {
      "get": {
        "description": "<p>Retrieves a credit balance transaction</p>",
        "operationId": "GetBillingCreditBalanceTransactionsId",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "Unique identifier for the object.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/billing.credit_balance_transaction"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a credit balance transaction"
      }
    },
    "/v1/billing/credit_grants": {
      "get": {
        "description": "<p>Retrieve a list of credit grants.</p>",
        "operationId": "GetBillingCreditGrants",
        "parameters": [
          {
            "description": "Only return credit grants for this customer.",
            "in": "query",
            "name": "customer",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/billing.credit_grant"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/billing/credit_grants",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "BillingCreditGrantsResourceCreditGrantList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List credit grants"
      },
      "post": {
        "description": "<p>Creates a credit grant</p>",
        "operationId": "PostBillingCreditGrants",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "amount": {
                  "explode": true,
                  "style": "deepObject"
                },
                "applicability_config": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "Amount of this credit grant.",
                    "properties": {
                      "monetary": {
                        "description": "The monetary amount.",
                        "properties": {
                          "currency": {
                            "description": "Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `value` parameter.",
                            "type": "string"
                          },
                          "value": {
                            "description": "A positive integer representing the amount of the credit grant.",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "currency",
                          "value"
                        ],
                        "title": "monetary_amount_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "currency",
                          "value"
                        ]
                      },
                      "type": {
                        "description": "Specify the type of this amount. We currently only support `monetary` billing credits.",
                        "enum": [
                          "monetary"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "title": "amount_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "monetary",
                      "type"
                    ]
                  },
                  "applicability_config": {
                    "description": "Configuration specifying what this credit grant applies to.",
                    "properties": {
                      "scope": {
                        "description": "Specify the scope of this applicability config.",
                        "properties": {
                          "price_type": {
                            "description": "The price type for which credit grants can apply. We currently only support the `metered` price type.",
                            "enum": [
                              "metered"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "price_type"
                        ],
                        "title": "scope_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "price_type"
                        ]
                      }
                    },
                    "required": [
                      "scope"
                    ],
                    "title": "applicability_config_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "scope"
                    ]
                  },
                  "category": {
                    "description": "The category of this credit grant.",
                    "enum": [
                      "paid",
                      "promotional"
                    ],
                    "type": "string"
                  },
                  "customer": {
                    "description": "ID of the customer to receive the billing credits.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "effective_at": {
                    "description": "The time when the billing credits become effective—when they're eligible for use. Defaults to the current timestamp if not specified.",
                    "format": "unix-time",
                    "type": "integer"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "expires_at": {
                    "description": "The time when the billing credits will expire. If not specified, the billing credits don't expire.",
                    "format": "unix-time",
                    "type": "integer"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object (for example, cost basis) in a structured format.",
                    "type": "object"
                  },
                  "name": {
                    "description": "A descriptive name shown in the Dashboard.",
                    "maxLength": 100,
                    "type": "string"
                  }
                },
                "required": [
                  "amount",
                  "applicability_config",
                  "category",
                  "customer"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "applicability_config",
                  "category",
                  "customer",
                  "effective_at",
                  "expires_at",
                  "metadata",
                  "name"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/billing.credit_grant"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a credit grant"
      }
    },
    "/v1/billing/credit_grants/{id}": {
      "get": {
        "description": "<p>Retrieves a credit grant</p>",
        "operationId": "GetBillingCreditGrantsId",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "Unique identifier for the object.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/billing.credit_grant"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a credit grant"
      },
      "post": {
        "description": "<p>Updates a credit grant</p>",
        "operationId": "PostBillingCreditGrantsId",
        "parameters": [
          {
            "description": "Unique identifier for the object.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expires_at": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "expires_at": {
                    "anyOf": [
                      {
                        "format": "unix-time",
                        "type": "integer"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The time when the billing credits created by this credit grant expire. If set to empty, the billing credits never expire."
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of key-value pairs you can attach to an object. This can be useful for storing additional information about the object (for example, cost basis) in a structured format.",
                    "type": "object"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "expires_at",
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/billing.credit_grant"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a credit grant"
      }
    },
    "/v1/billing/credit_grants/{id}/expire": {
      "post": {
        "description": "<p>Expires a credit grant.</p>",
        "operationId": "PostBillingCreditGrantsIdExpire",
        "parameters": [
          {
            "description": "Unique identifier for the object.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/billing.credit_grant"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Expire a credit grant"
      }
    },
    "/v1/billing/credit_grants/{id}/void": {
      "post": {
        "description": "<p>Voids a credit grant.</p>",
        "operationId": "PostBillingCreditGrantsIdVoid",
        "parameters": [
          {
            "description": "Unique identifier for the object.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/billing.credit_grant"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Void a credit grant"
      }
    },
    "/v1/billing/meter_event_adjustments": {
      "post": {
        "description": "<p>Creates a billing meter event adjustment</p>",
        "operationId": "PostBillingMeterEventAdjustments",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "cancel": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "cancel": {
                    "description": "Specifies which event to cancel.",
                    "properties": {
                      "identifier": {
                        "description": "Unique identifier for the event. You can only cancel events within 24 hours of Stripe receiving them.",
                        "maxLength": 100,
                        "type": "string"
                      }
                    },
                    "title": "event_adjustment_cancel_settings_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "identifier"
                    ]
                  },
                  "event_name": {
                    "description": "The name of the meter event. Corresponds with the `event_name` field on a meter.",
                    "maxLength": 100,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "type": {
                    "description": "Specifies whether to cancel a single event or a range of events for a time period. Time period cancellation is not supported yet.",
                    "enum": [
                      "cancel"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "event_name",
                  "type"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "cancel",
                  "event_name",
                  "type"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/billing.meter_event_adjustment"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a billing meter event adjustment"
      }
    },
    "/v1/billing/meter_events": {
      "post": {
        "description": "<p>Creates a billing meter event</p>",
        "operationId": "PostBillingMeterEvents",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payload": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "event_name": {
                    "description": "The name of the meter event. Corresponds with the `event_name` field on a meter.",
                    "maxLength": 100,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "identifier": {
                    "description": "A unique identifier for the event. If not provided, one will be generated. We strongly advise using UUID-like identifiers. We will enforce uniqueness within a rolling period of at least 24 hours. The enforcement of uniqueness primarily addresses issues arising from accidental retries or other problems occurring within extremely brief time intervals. This approach helps prevent duplicate entries and ensures data integrity in high-frequency operations.",
                    "maxLength": 100,
                    "type": "string"
                  },
                  "payload": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "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": "object"
                  },
                  "timestamp": {
                    "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.",
                    "format": "unix-time",
                    "type": "integer"
                  }
                },
                "required": [
                  "event_name",
                  "payload"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "event_name",
                  "identifier",
                  "payload",
                  "timestamp"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/billing.meter_event"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a billing meter event"
      }
    },
    "/v1/billing/meters": {
      "get": {
        "description": "<p>Retrieve a list of billing meters.</p>",
        "operationId": "GetBillingMeters",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Filter results to only include meters with the given status.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "active",
                "inactive"
              ],
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/billing.meter"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/billing/meters",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "BillingMeterResourceBillingMeterList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List billing meters"
      },
      "post": {
        "description": "<p>Creates a billing meter</p>",
        "operationId": "PostBillingMeters",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "customer_mapping": {
                  "explode": true,
                  "style": "deepObject"
                },
                "default_aggregation": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "value_settings": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "customer_mapping": {
                    "description": "Fields that specify how to map a meter event to a customer.",
                    "properties": {
                      "event_payload_key": {
                        "description": "The key in the usage event payload to use for mapping the event to a customer.",
                        "maxLength": 100,
                        "type": "string"
                      },
                      "type": {
                        "description": "The method for mapping a meter event to a customer. Must be `by_id`.",
                        "enum": [
                          "by_id"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "event_payload_key",
                      "type"
                    ],
                    "title": "customer_mapping_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "event_payload_key",
                      "type"
                    ]
                  },
                  "default_aggregation": {
                    "description": "The default settings to aggregate a meter's events with.",
                    "properties": {
                      "formula": {
                        "description": "Specifies how events are aggregated. Allowed values are `count` to count the number of events and `sum` to sum each event's value.",
                        "enum": [
                          "count",
                          "sum"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "formula"
                    ],
                    "title": "aggregation_settings_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "formula"
                    ]
                  },
                  "display_name": {
                    "description": "The meter's name.",
                    "maxLength": 250,
                    "type": "string"
                  },
                  "event_name": {
                    "description": "The name of the meter event to record usage for. Corresponds with the `event_name` field on meter events.",
                    "maxLength": 100,
                    "type": "string"
                  },
                  "event_time_window": {
                    "description": "The time window to pre-aggregate meter events for, if any.",
                    "enum": [
                      "day",
                      "hour"
                    ],
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "value_settings": {
                    "description": "Fields that specify how to calculate a meter event's value.",
                    "properties": {
                      "event_payload_key": {
                        "description": "The key in the usage event payload to use as the value for this meter. For example, if the event payload contains usage on a `bytes_used` field, then set the event_payload_key to \"bytes_used\".",
                        "maxLength": 100,
                        "type": "string"
                      }
                    },
                    "required": [
                      "event_payload_key"
                    ],
                    "title": "meter_value_settings_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "event_payload_key"
                    ]
                  }
                },
                "required": [
                  "default_aggregation",
                  "display_name",
                  "event_name"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "customer_mapping",
                  "default_aggregation",
                  "display_name",
                  "event_name",
                  "event_time_window",
                  "value_settings"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/billing.meter"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a billing meter"
      }
    },
    "/v1/billing/meters/{id}": {
      "get": {
        "description": "<p>Retrieves a billing meter given an ID</p>",
        "operationId": "GetBillingMetersId",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "Unique identifier for the object.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/billing.meter"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a billing meter"
      },
      "post": {
        "description": "<p>Updates a billing meter</p>",
        "operationId": "PostBillingMetersId",
        "parameters": [
          {
            "description": "Unique identifier for the object.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "display_name": {
                    "description": "The meter's name.",
                    "maxLength": 250,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "display_name"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/billing.meter"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a billing meter"
      }
    },
    "/v1/billing/meters/{id}/deactivate": {
      "post": {
        "description": "<p>Deactivates a billing meter</p>",
        "operationId": "PostBillingMetersIdDeactivate",
        "parameters": [
          {
            "description": "Unique identifier for the object.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/billing.meter"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Deactivate a billing meter"
      }
    },
    "/v1/billing/meters/{id}/event_summaries": {
      "get": {
        "description": "<p>Retrieve a list of billing meter event summaries.</p>",
        "operationId": "GetBillingMetersIdEventSummaries",
        "parameters": [
          {
            "description": "The customer for which to fetch event summaries.",
            "in": "query",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "The timestamp from when to stop aggregating meter events (exclusive). Must be aligned with minute boundaries.",
            "in": "query",
            "name": "end_time",
            "required": true,
            "schema": {
              "format": "unix-time",
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "Unique identifier for the object.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "The timestamp from when to start aggregating meter events (inclusive). Must be aligned with minute boundaries.",
            "in": "query",
            "name": "start_time",
            "required": true,
            "schema": {
              "format": "unix-time",
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies what granularity to use when generating event summaries. If not specified, a single event summary would be returned for the specified time range. For hourly granularity, start and end times must align with hour boundaries (e.g., 00:00, 01:00, ..., 23:00). For daily granularity, start and end times must align with UTC day boundaries (00:00 UTC).",
            "in": "query",
            "name": "value_grouping_window",
            "required": false,
            "schema": {
              "enum": [
                "day",
                "hour"
              ],
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/billing.meter_event_summary"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/billing/meters/[^/]+/event_summaries",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "BillingMeterResourceBillingMeterEventSummaryList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List billing meter event summaries"
      }
    },
    "/v1/billing/meters/{id}/reactivate": {
      "post": {
        "description": "<p>Reactivates a billing meter</p>",
        "operationId": "PostBillingMetersIdReactivate",
        "parameters": [
          {
            "description": "Unique identifier for the object.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/billing.meter"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Reactivate a billing meter"
      }
    },
    "/v1/billing_portal/configurations": {
      "get": {
        "description": "<p>Returns a list of configurations that describe the functionality of the customer portal.</p>",
        "operationId": "GetBillingPortalConfigurations",
        "parameters": [
          {
            "description": "Only return configurations that are active or inactive (e.g., pass `true` to only list active configurations).",
            "in": "query",
            "name": "active",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "Only return the default or non-default configurations (e.g., pass `true` to only list the default configuration).",
            "in": "query",
            "name": "is_default",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/billing_portal.configuration"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/billing_portal/configurations",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "PortalPublicResourceConfigurationList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List portal configurations"
      },
      "post": {
        "description": "<p>Creates a configuration that describes the functionality and behavior of a PortalSession</p>",
        "operationId": "PostBillingPortalConfigurations",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "business_profile": {
                  "explode": true,
                  "style": "deepObject"
                },
                "default_return_url": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "features": {
                  "explode": true,
                  "style": "deepObject"
                },
                "login_page": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "business_profile": {
                    "description": "The business information shown to customers in the portal.",
                    "properties": {
                      "headline": {
                        "anyOf": [
                          {
                            "maxLength": 60,
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The messaging shown to customers in the portal."
                      },
                      "privacy_policy_url": {
                        "description": "A link to the business’s publicly available privacy policy.",
                        "type": "string"
                      },
                      "terms_of_service_url": {
                        "description": "A link to the business’s publicly available terms of service.",
                        "type": "string"
                      }
                    },
                    "title": "business_profile_create_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "headline",
                      "privacy_policy_url",
                      "terms_of_service_url"
                    ]
                  },
                  "default_return_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The default URL to redirect customers to when they click on the portal's link to return to your website. This can be [overriden](https://stripe.com/docs/api/customer_portal/sessions/create#create_portal_session-return_url) when creating the session."
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "features": {
                    "description": "Information about the features available in the portal.",
                    "properties": {
                      "customer_update": {
                        "description": "Information about updating the customer details in the portal.",
                        "properties": {
                          "allowed_updates": {
                            "anyOf": [
                              {
                                "items": {
                                  "enum": [
                                    "address",
                                    "email",
                                    "name",
                                    "phone",
                                    "shipping",
                                    "tax_id"
                                  ],
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "The types of customer updates that are supported. When empty, customers are not updateable."
                          },
                          "enabled": {
                            "description": "Whether the feature is enabled.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "customer_update_creation_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "allowed_updates",
                          "enabled"
                        ]
                      },
                      "invoice_history": {
                        "description": "Information about showing the billing history in the portal.",
                        "properties": {
                          "enabled": {
                            "description": "Whether the feature is enabled.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "invoice_list_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "enabled"
                        ]
                      },
                      "payment_method_update": {
                        "description": "Information about updating payment methods in the portal.",
                        "properties": {
                          "enabled": {
                            "description": "Whether the feature is enabled.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "payment_method_update_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "enabled"
                        ]
                      },
                      "subscription_cancel": {
                        "description": "Information about canceling subscriptions in the portal.",
                        "properties": {
                          "cancellation_reason": {
                            "description": "Whether the cancellation reasons will be collected in the portal and which options are exposed to the customer",
                            "properties": {
                              "enabled": {
                                "description": "Whether the feature is enabled.",
                                "type": "boolean"
                              },
                              "options": {
                                "anyOf": [
                                  {
                                    "items": {
                                      "enum": [
                                        "customer_service",
                                        "low_quality",
                                        "missing_features",
                                        "other",
                                        "switched_service",
                                        "too_complex",
                                        "too_expensive",
                                        "unused"
                                      ],
                                      "type": "string"
                                    },
                                    "type": "array"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Which cancellation reasons will be given as options to the customer."
                              }
                            },
                            "required": [
                              "enabled",
                              "options"
                            ],
                            "title": "subscription_cancellation_reason_creation_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "enabled",
                              "options"
                            ]
                          },
                          "enabled": {
                            "description": "Whether the feature is enabled.",
                            "type": "boolean"
                          },
                          "mode": {
                            "description": "Whether to cancel subscriptions immediately or at the end of the billing period.",
                            "enum": [
                              "at_period_end",
                              "immediately"
                            ],
                            "type": "string"
                          },
                          "proration_behavior": {
                            "description": "Whether to create prorations when canceling subscriptions. Possible values are `none` and `create_prorations`, which is only compatible with `mode=immediately`. No prorations are generated when canceling a subscription at the end of its natural billing period.",
                            "enum": [
                              "always_invoice",
                              "create_prorations",
                              "none"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "subscription_cancel_creation_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "cancellation_reason",
                          "cancellation_redirect",
                          "enabled",
                          "mode",
                          "proration_behavior"
                        ]
                      },
                      "subscription_update": {
                        "description": "Information about updating subscriptions in the portal.",
                        "properties": {
                          "default_allowed_updates": {
                            "anyOf": [
                              {
                                "items": {
                                  "enum": [
                                    "price",
                                    "promotion_code",
                                    "quantity"
                                  ],
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "The types of subscription updates that are supported. When empty, subscriptions are not updateable."
                          },
                          "enabled": {
                            "description": "Whether the feature is enabled.",
                            "type": "boolean"
                          },
                          "products": {
                            "anyOf": [
                              {
                                "items": {
                                  "properties": {
                                    "prices": {
                                      "description": "The list of price IDs for the product that a subscription can be updated to.",
                                      "items": {
                                        "maxLength": 5000,
                                        "type": "string"
                                      },
                                      "type": "array"
                                    },
                                    "product": {
                                      "description": "The product id.",
                                      "maxLength": 5000,
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "prices",
                                    "product"
                                  ],
                                  "title": "subscription_update_product_param",
                                  "type": "object",
                                  "x-stripeMostCommon": [
                                    "prices",
                                    "product"
                                  ]
                                },
                                "type": "array"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "The list of up to 10 products that support subscription updates."
                          },
                          "proration_behavior": {
                            "description": "Determines how to handle prorations resulting from subscription updates. Valid values are `none`, `create_prorations`, and `always_invoice`.",
                            "enum": [
                              "always_invoice",
                              "create_prorations",
                              "none"
                            ],
                            "type": "string"
                          },
                          "schedule_at_period_end": {
                            "description": "Setting to control when an update should be scheduled at the end of the period instead of applying immediately.",
                            "properties": {
                              "conditions": {
                                "description": "List of conditions. When any condition is true, the update will be scheduled at the end of the current period.",
                                "items": {
                                  "properties": {
                                    "type": {
                                      "description": "The type of condition.",
                                      "enum": [
                                        "decreasing_item_amount",
                                        "shortening_interval"
                                      ],
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "type"
                                  ],
                                  "title": "schedule_update_at_period_end_condition_param",
                                  "type": "object",
                                  "x-stripeMostCommon": [
                                    "type"
                                  ]
                                },
                                "type": "array"
                              }
                            },
                            "title": "schedule_update_at_period_end_creating_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "conditions"
                            ]
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "subscription_update_creation_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "default_allowed_updates",
                          "enabled",
                          "products",
                          "proration_behavior",
                          "schedule_at_period_end"
                        ]
                      }
                    },
                    "title": "features_creation_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "customer_update",
                      "invoice_history",
                      "payment_method_update",
                      "subscription_cancel",
                      "subscription_update"
                    ]
                  },
                  "login_page": {
                    "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).",
                    "properties": {
                      "enabled": {
                        "description": "Set to `true` to generate a shareable URL [`login_page.url`](https://stripe.com/docs/api/customer_portal/configuration#portal_configuration_object-login_page-url) that will take your customers to a hosted login page for the customer portal.",
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "enabled"
                    ],
                    "title": "login_page_create_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "enabled"
                    ]
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  }
                },
                "required": [
                  "features"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "business_profile",
                  "default_return_url",
                  "features",
                  "login_page",
                  "metadata"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/billing_portal.configuration"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a portal configuration"
      }
    },
    "/v1/billing_portal/configurations/{configuration}": {
      "get": {
        "description": "<p>Retrieves a configuration that describes the functionality of the customer portal.</p>",
        "operationId": "GetBillingPortalConfigurationsConfiguration",
        "parameters": [
          {
            "in": "path",
            "name": "configuration",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/billing_portal.configuration"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a portal configuration"
      },
      "post": {
        "description": "<p>Updates a configuration that describes the functionality of the customer portal.</p>",
        "operationId": "PostBillingPortalConfigurationsConfiguration",
        "parameters": [
          {
            "in": "path",
            "name": "configuration",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "business_profile": {
                  "explode": true,
                  "style": "deepObject"
                },
                "default_return_url": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "features": {
                  "explode": true,
                  "style": "deepObject"
                },
                "login_page": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "active": {
                    "description": "Whether the configuration is active and can be used to create portal sessions.",
                    "type": "boolean"
                  },
                  "business_profile": {
                    "description": "The business information shown to customers in the portal.",
                    "properties": {
                      "headline": {
                        "anyOf": [
                          {
                            "maxLength": 60,
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The messaging shown to customers in the portal."
                      },
                      "privacy_policy_url": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "A link to the business’s publicly available privacy policy."
                      },
                      "terms_of_service_url": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "A link to the business’s publicly available terms of service."
                      }
                    },
                    "title": "business_profile_update_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "headline",
                      "privacy_policy_url",
                      "terms_of_service_url"
                    ]
                  },
                  "default_return_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The default URL to redirect customers to when they click on the portal's link to return to your website. This can be [overriden](https://stripe.com/docs/api/customer_portal/sessions/create#create_portal_session-return_url) when creating the session."
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "features": {
                    "description": "Information about the features available in the portal.",
                    "properties": {
                      "customer_update": {
                        "description": "Information about updating the customer details in the portal.",
                        "properties": {
                          "allowed_updates": {
                            "anyOf": [
                              {
                                "items": {
                                  "enum": [
                                    "address",
                                    "email",
                                    "name",
                                    "phone",
                                    "shipping",
                                    "tax_id"
                                  ],
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "The types of customer updates that are supported. When empty, customers are not updateable."
                          },
                          "enabled": {
                            "description": "Whether the feature is enabled.",
                            "type": "boolean"
                          }
                        },
                        "title": "customer_update_updating_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "allowed_updates",
                          "enabled"
                        ]
                      },
                      "invoice_history": {
                        "description": "Information about showing the billing history in the portal.",
                        "properties": {
                          "enabled": {
                            "description": "Whether the feature is enabled.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "invoice_list_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "enabled"
                        ]
                      },
                      "payment_method_update": {
                        "description": "Information about updating payment methods in the portal.",
                        "properties": {
                          "enabled": {
                            "description": "Whether the feature is enabled.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "payment_method_update_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "enabled"
                        ]
                      },
                      "subscription_cancel": {
                        "description": "Information about canceling subscriptions in the portal.",
                        "properties": {
                          "cancellation_reason": {
                            "description": "Whether the cancellation reasons will be collected in the portal and which options are exposed to the customer",
                            "properties": {
                              "enabled": {
                                "description": "Whether the feature is enabled.",
                                "type": "boolean"
                              },
                              "options": {
                                "anyOf": [
                                  {
                                    "items": {
                                      "enum": [
                                        "customer_service",
                                        "low_quality",
                                        "missing_features",
                                        "other",
                                        "switched_service",
                                        "too_complex",
                                        "too_expensive",
                                        "unused"
                                      ],
                                      "type": "string"
                                    },
                                    "type": "array"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Which cancellation reasons will be given as options to the customer."
                              }
                            },
                            "required": [
                              "enabled"
                            ],
                            "title": "subscription_cancellation_reason_updating_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "enabled",
                              "options"
                            ]
                          },
                          "enabled": {
                            "description": "Whether the feature is enabled.",
                            "type": "boolean"
                          },
                          "mode": {
                            "description": "Whether to cancel subscriptions immediately or at the end of the billing period.",
                            "enum": [
                              "at_period_end",
                              "immediately"
                            ],
                            "type": "string"
                          },
                          "proration_behavior": {
                            "description": "Whether to create prorations when canceling subscriptions. Possible values are `none` and `create_prorations`, which is only compatible with `mode=immediately`. No prorations are generated when canceling a subscription at the end of its natural billing period.",
                            "enum": [
                              "always_invoice",
                              "create_prorations",
                              "none"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "subscription_cancel_updating_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "cancellation_reason",
                          "cancellation_redirect",
                          "enabled",
                          "mode",
                          "proration_behavior"
                        ]
                      },
                      "subscription_update": {
                        "description": "Information about updating subscriptions in the portal.",
                        "properties": {
                          "default_allowed_updates": {
                            "anyOf": [
                              {
                                "items": {
                                  "enum": [
                                    "price",
                                    "promotion_code",
                                    "quantity"
                                  ],
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "The types of subscription updates that are supported. When empty, subscriptions are not updateable."
                          },
                          "enabled": {
                            "description": "Whether the feature is enabled.",
                            "type": "boolean"
                          },
                          "products": {
                            "anyOf": [
                              {
                                "items": {
                                  "properties": {
                                    "prices": {
                                      "description": "The list of price IDs for the product that a subscription can be updated to.",
                                      "items": {
                                        "maxLength": 5000,
                                        "type": "string"
                                      },
                                      "type": "array"
                                    },
                                    "product": {
                                      "description": "The product id.",
                                      "maxLength": 5000,
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "prices",
                                    "product"
                                  ],
                                  "title": "subscription_update_product_param",
                                  "type": "object",
                                  "x-stripeMostCommon": [
                                    "prices",
                                    "product"
                                  ]
                                },
                                "type": "array"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "The list of up to 10 products that support subscription updates."
                          },
                          "proration_behavior": {
                            "description": "Determines how to handle prorations resulting from subscription updates. Valid values are `none`, `create_prorations`, and `always_invoice`.",
                            "enum": [
                              "always_invoice",
                              "create_prorations",
                              "none"
                            ],
                            "type": "string"
                          },
                          "schedule_at_period_end": {
                            "description": "Setting to control when an update should be scheduled at the end of the period instead of applying immediately.",
                            "properties": {
                              "conditions": {
                                "anyOf": [
                                  {
                                    "items": {
                                      "properties": {
                                        "type": {
                                          "description": "The type of condition.",
                                          "enum": [
                                            "decreasing_item_amount",
                                            "shortening_interval"
                                          ],
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "type"
                                      ],
                                      "title": "schedule_update_at_period_end_condition_param",
                                      "type": "object",
                                      "x-stripeMostCommon": [
                                        "type"
                                      ]
                                    },
                                    "type": "array"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "List of conditions. When any condition is true, the update will be scheduled at the end of the current period."
                              }
                            },
                            "title": "schedule_update_at_period_end_updating_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "conditions"
                            ]
                          }
                        },
                        "title": "subscription_update_updating_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "default_allowed_updates",
                          "enabled",
                          "products",
                          "proration_behavior",
                          "schedule_at_period_end"
                        ]
                      }
                    },
                    "title": "features_updating_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "customer_update",
                      "invoice_history",
                      "payment_method_update",
                      "subscription_cancel",
                      "subscription_update"
                    ]
                  },
                  "login_page": {
                    "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).",
                    "properties": {
                      "enabled": {
                        "description": "Set to `true` to generate a shareable URL [`login_page.url`](https://stripe.com/docs/api/customer_portal/configuration#portal_configuration_object-login_page-url) that will take your customers to a hosted login page for the customer portal.\n\nSet to `false` to deactivate the `login_page.url`.",
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "enabled"
                    ],
                    "title": "login_page_update_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "enabled"
                    ]
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "active",
                  "business_profile",
                  "default_return_url",
                  "features",
                  "login_page",
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/billing_portal.configuration"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a portal configuration"
      }
    },
    "/v1/billing_portal/sessions": {
      "post": {
        "description": "<p>Creates a session of the customer portal.</p>",
        "operationId": "PostBillingPortalSessions",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "flow_data": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "configuration": {
                    "description": "The ID of an existing [configuration](https://stripe.com/docs/api/customer_portal/configuration) to use for this session, describing its functionality and features. If not specified, the session uses the default configuration.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "customer": {
                    "description": "The ID of an existing customer.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "flow_data": {
                    "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.",
                    "properties": {
                      "after_completion": {
                        "description": "Behavior after the flow is completed.",
                        "properties": {
                          "hosted_confirmation": {
                            "description": "Configuration when `after_completion.type=hosted_confirmation`.",
                            "properties": {
                              "custom_message": {
                                "description": "A custom message to display to the customer after the flow is completed.",
                                "maxLength": 500,
                                "type": "string"
                              }
                            },
                            "title": "after_completion_hosted_confirmation_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "custom_message"
                            ]
                          },
                          "redirect": {
                            "description": "Configuration when `after_completion.type=redirect`.",
                            "properties": {
                              "return_url": {
                                "description": "The URL the customer will be redirected to after the flow is completed.",
                                "type": "string"
                              }
                            },
                            "required": [
                              "return_url"
                            ],
                            "title": "after_completion_redirect_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "return_url"
                            ]
                          },
                          "type": {
                            "description": "The specified behavior after the flow is completed.",
                            "enum": [
                              "hosted_confirmation",
                              "portal_homepage",
                              "redirect"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "flow_data_after_completion_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "hosted_confirmation",
                          "redirect",
                          "type"
                        ]
                      },
                      "subscription_cancel": {
                        "description": "Configuration when `flow_data.type=subscription_cancel`.",
                        "properties": {
                          "retention": {
                            "description": "Specify a retention strategy to be used in the cancellation flow.",
                            "properties": {
                              "coupon_offer": {
                                "description": "Configuration when `retention.type=coupon_offer`.",
                                "properties": {
                                  "coupon": {
                                    "description": "The ID of the coupon to be offered.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "coupon"
                                ],
                                "title": "coupon_offer_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "coupon"
                                ]
                              },
                              "type": {
                                "description": "Type of retention strategy to use with the customer.",
                                "enum": [
                                  "coupon_offer"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "coupon_offer",
                              "type"
                            ],
                            "title": "retention_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "coupon_offer",
                              "type"
                            ]
                          },
                          "subscription": {
                            "description": "The ID of the subscription to be canceled.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "subscription"
                        ],
                        "title": "flow_data_subscription_cancel_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "retention",
                          "subscription"
                        ]
                      },
                      "subscription_update": {
                        "description": "Configuration when `flow_data.type=subscription_update`.",
                        "properties": {
                          "subscription": {
                            "description": "The ID of the subscription to be updated.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "subscription"
                        ],
                        "title": "flow_data_subscription_update_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "subscription"
                        ]
                      },
                      "subscription_update_confirm": {
                        "description": "Configuration when `flow_data.type=subscription_update_confirm`.",
                        "properties": {
                          "discounts": {
                            "description": "The coupon or promotion code to apply to this subscription update. Currently, only up to one may be specified.",
                            "items": {
                              "properties": {
                                "coupon": {
                                  "description": "The ID of the coupon to apply to this subscription update.",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "promotion_code": {
                                  "description": "The ID of a promotion code to apply to this subscription update.",
                                  "maxLength": 5000,
                                  "type": "string"
                                }
                              },
                              "title": "subscription_update_confirm_discount_params",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "coupon",
                                "promotion_code"
                              ]
                            },
                            "type": "array"
                          },
                          "items": {
                            "description": "The [subscription item](https://stripe.com/docs/api/subscription_items) to be updated through this flow. Currently, only up to one may be specified and subscriptions with multiple items are not updatable.",
                            "items": {
                              "properties": {
                                "id": {
                                  "description": "The ID of the [subscription item](https://stripe.com/docs/api/subscriptions/object#subscription_object-items-data-id) to be updated.",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "price": {
                                  "description": "The price the customer should subscribe to through this flow. The price must also be included in the configuration's [`features.subscription_update.products`](https://stripe.com/docs/api/customer_portal/configuration#portal_configuration_object-features-subscription_update-products).",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "quantity": {
                                  "description": "[Quantity](https://stripe.com/docs/subscriptions/quantities) for this item that the customer should subscribe to through this flow.",
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "id"
                              ],
                              "title": "subscription_update_confirm_item_params",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "deleted",
                                "id",
                                "price",
                                "quantity"
                              ]
                            },
                            "type": "array"
                          },
                          "subscription": {
                            "description": "The ID of the subscription to be updated.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "items",
                          "subscription"
                        ],
                        "title": "flow_data_subscription_update_confirm_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "discounts",
                          "items",
                          "recurring_items",
                          "subscription"
                        ]
                      },
                      "type": {
                        "description": "Type of flow that the customer will go through.",
                        "enum": [
                          "payment_method_update",
                          "subscription_cancel",
                          "subscription_update",
                          "subscription_update_confirm"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "title": "flow_data_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "after_completion",
                      "subscription_cancel",
                      "subscription_update",
                      "subscription_update_confirm",
                      "type"
                    ]
                  },
                  "locale": {
                    "description": "The IETF language tag of the locale customer portal is displayed in. If blank or auto, the customer’s `preferred_locales` or browser’s locale is used.",
                    "enum": [
                      "auto",
                      "bg",
                      "cs",
                      "da",
                      "de",
                      "el",
                      "en",
                      "en-AU",
                      "en-CA",
                      "en-GB",
                      "en-IE",
                      "en-IN",
                      "en-NZ",
                      "en-SG",
                      "es",
                      "es-419",
                      "et",
                      "fi",
                      "fil",
                      "fr",
                      "fr-CA",
                      "hr",
                      "hu",
                      "id",
                      "it",
                      "ja",
                      "ko",
                      "lt",
                      "lv",
                      "ms",
                      "mt",
                      "nb",
                      "nl",
                      "pl",
                      "pt",
                      "pt-BR",
                      "ro",
                      "ru",
                      "sk",
                      "sl",
                      "sv",
                      "th",
                      "tr",
                      "vi",
                      "zh",
                      "zh-HK",
                      "zh-TW"
                    ],
                    "type": "string"
                  },
                  "on_behalf_of": {
                    "description": "The `on_behalf_of` account to use for this session. When specified, only subscriptions and invoices with this `on_behalf_of` account appear in the portal. For more information, see the [docs](https://stripe.com/docs/connect/separate-charges-and-transfers#settlement-merchant). Use the [Accounts API](https://stripe.com/docs/api/accounts/object#account_object-settings-branding) to modify the `on_behalf_of` account's branding settings, which the portal displays.",
                    "type": "string"
                  },
                  "return_url": {
                    "description": "The default URL to redirect customers to when they click on the portal's link to return to your website.",
                    "type": "string"
                  }
                },
                "required": [
                  "customer"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "configuration",
                  "customer",
                  "flow_data",
                  "locale",
                  "on_behalf_of",
                  "return_url"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/billing_portal.session"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a portal session"
      }
    },
    "/v1/charges": {
      "get": {
        "description": "<p>Returns a list of charges you’ve previously created. The charges are returned in sorted order, with the most recent charges appearing first.</p>",
        "operationId": "GetCharges",
        "parameters": [
          {
            "description": "Only return charges that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "Only return charges for the customer specified by this customer ID.",
            "in": "query",
            "name": "customer",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "Only return charges that were created by the PaymentIntent specified by this PaymentIntent ID.",
            "in": "query",
            "name": "payment_intent",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return charges for this transfer group, limited to 100.",
            "in": "query",
            "name": "transfer_group",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/charge"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/charges",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "ChargeList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all charges"
      },
      "post": {
        "description": "<p>This method is no longer recommended—use the <a href=\"/docs/api/payment_intents\">Payment Intents API</a>\nto initiate a new payment instead. Confirmation of the PaymentIntent creates the <code>Charge</code>\nobject used to request payment.</p>",
        "operationId": "PostCharges",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "destination": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "radar_options": {
                  "explode": true,
                  "style": "deepObject"
                },
                "shipping": {
                  "explode": true,
                  "style": "deepObject"
                },
                "transfer_data": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).",
                    "type": "integer"
                  },
                  "application_fee": {
                    "type": "integer"
                  },
                  "application_fee_amount": {
                    "description": "A fee in cents (or local equivalent) that will be applied to the charge 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/connect/direct-charges#collect-fees).",
                    "type": "integer"
                  },
                  "capture": {
                    "description": "Whether to immediately capture the charge. Defaults to `true`. When `false`, the charge issues an authorization (or pre-authorization), and will need to be [captured](https://stripe.com/docs/api#capture_charge) later. Uncaptured charges expire after a set number of days (7 by default). For more information, see the [authorizing charges and settling later](https://stripe.com/docs/charges/placing-a-hold) documentation.",
                    "type": "boolean"
                  },
                  "currency": {
                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                    "type": "string"
                  },
                  "customer": {
                    "description": "The ID of an existing customer that will be charged in this request.",
                    "maxLength": 500,
                    "type": "string"
                  },
                  "description": {
                    "description": "An arbitrary string which you can attach to a `Charge` object. It is displayed when in the web interface alongside the charge. Note that if you use Stripe to send automatic email receipts to your customers, your receipt emails will include the `description` of the charge(s) that they are describing.",
                    "maxLength": 40000,
                    "type": "string"
                  },
                  "destination": {
                    "properties": {
                      "account": {
                        "description": "ID of an existing, connected Stripe account.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "amount": {
                        "description": "The amount to transfer to the destination account without creating an `Application Fee` object. Cannot be combined with the `application_fee` parameter. Must be less than or equal to the charge amount.",
                        "type": "integer"
                      }
                    },
                    "required": [
                      "account"
                    ],
                    "title": "destination_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "account",
                      "amount"
                    ]
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "on_behalf_of": {
                    "description": "The Stripe account ID for which these funds are intended. Automatically set if you use the `destination` parameter. For details, see [Creating Separate Charges and Transfers](https://stripe.com/docs/connect/separate-charges-and-transfers#settlement-merchant).",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "radar_options": {
                    "description": "Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.",
                    "properties": {
                      "session": {
                        "description": "A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "radar_options_with_hidden_options",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "session",
                      "skip_rules"
                    ]
                  },
                  "receipt_email": {
                    "description": "The email address to which this charge's [receipt](https://stripe.com/docs/dashboard/receipts) will be sent. The receipt will not be sent until the charge is paid, and no receipts will be sent for test mode charges. If this charge is for a [Customer](https://stripe.com/docs/api/customers/object), the email address specified here will override the customer's email address. If `receipt_email` is specified for a charge in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).",
                    "type": "string"
                  },
                  "shipping": {
                    "description": "Shipping information for the charge. Helps prevent fraud on charges for physical goods.",
                    "properties": {
                      "address": {
                        "description": "Shipping address.",
                        "properties": {
                          "city": {
                            "description": "City, district, suburb, town, or village.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Address line 1 (e.g., street, PO Box, or company name).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "ZIP or postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "State, county, province, or region.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "optional_fields_address",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "line1",
                          "line2",
                          "postal_code",
                          "state"
                        ]
                      },
                      "carrier": {
                        "description": "The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "name": {
                        "description": "Recipient name.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "phone": {
                        "description": "Recipient phone (including extension).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "tracking_number": {
                        "description": "The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "required": [
                      "address",
                      "name"
                    ],
                    "title": "optional_fields_shipping",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "address",
                      "carrier",
                      "name",
                      "phone",
                      "tracking_number"
                    ]
                  },
                  "source": {
                    "description": "A payment source to be charged. This can be the ID of a [card](https://stripe.com/docs/api#cards) (i.e., credit or debit card), a [bank account](https://stripe.com/docs/api#bank_accounts), a [source](https://stripe.com/docs/api#sources), a [token](https://stripe.com/docs/api#tokens), or a [connected account](https://stripe.com/docs/connect/account-debits#charging-a-connected-account). For certain sources---namely, [cards](https://stripe.com/docs/api#cards), [bank accounts](https://stripe.com/docs/api#bank_accounts), and attached [sources](https://stripe.com/docs/api#sources)---you must also pass the ID of the associated customer.",
                    "maxLength": 5000,
                    "type": "string",
                    "x-stripeBypassValidation": true
                  },
                  "statement_descriptor": {
                    "description": "For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).\n\nFor a card charge, this value is ignored unless you don't specify a `statement_descriptor_suffix`, in which case this value is used as the suffix.",
                    "maxLength": 22,
                    "type": "string"
                  },
                  "statement_descriptor_suffix": {
                    "description": "Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.",
                    "maxLength": 22,
                    "type": "string"
                  },
                  "transfer_data": {
                    "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.",
                    "properties": {
                      "amount": {
                        "description": "The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.",
                        "type": "integer"
                      },
                      "destination": {
                        "description": "ID of an existing, connected Stripe account.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "required": [
                      "destination"
                    ],
                    "title": "transfer_data_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "amount",
                      "destination"
                    ]
                  },
                  "transfer_group": {
                    "description": "A string that identifies this transaction as part of a group. For details, see [Grouping transactions](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options).",
                    "type": "string"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "application_fee",
                  "currency",
                  "customer",
                  "description",
                  "destination",
                  "metadata",
                  "receipt_email",
                  "shipping",
                  "source",
                  "statement_descriptor",
                  "statement_descriptor_suffix"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/charge"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        }
      }
    },
    "/v1/charges/search": {
      "get": {
        "description": "<p>Search for charges you’ve previously created using Stripe’s <a href=\"/docs/search#search-query-language\">Search Query Language</a>.\nDon’t use search in read-after-write flows where strict consistency is necessary. Under normal operating\nconditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up\nto an hour behind during outages. Search functionality is not available to merchants in India.</p>",
        "operationId": "GetChargesSearch",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "The search query string. See [search query language](https://stripe.com/docs/search#search-query-language) and the list of supported [query fields for charges](https://stripe.com/docs/search#query-fields-for-charges).",
            "in": "query",
            "name": "query",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/charge"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "type": "boolean"
                    },
                    "next_page": {
                      "maxLength": 5000,
                      "nullable": true,
                      "type": "string"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value.",
                      "enum": [
                        "search_result"
                      ],
                      "type": "string"
                    },
                    "total_count": {
                      "description": "The total number of objects that match the query, only accurate up to 10,000.",
                      "type": "integer"
                    },
                    "url": {
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "next_page",
                    "object",
                    "url"
                  ],
                  "title": "SearchResult",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "next_page",
                    "object",
                    "total_count",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Search charges"
      }
    },
    "/v1/charges/{charge}": {
      "get": {
        "description": "<p>Retrieves the details of a charge that has previously been created. Supply the unique charge ID that was returned from your previous request, and Stripe will return the corresponding charge information. The same information is returned when creating or refunding the charge.</p>",
        "operationId": "GetChargesCharge",
        "parameters": [
          {
            "in": "path",
            "name": "charge",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/charge"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a charge"
      },
      "post": {
        "description": "<p>Updates the specified charge by setting the values of the parameters passed. Any parameters not provided will be left unchanged.</p>",
        "operationId": "PostChargesCharge",
        "parameters": [
          {
            "in": "path",
            "name": "charge",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "fraud_details": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "shipping": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "customer": {
                    "description": "The ID of an existing customer that will be associated with this request. This field may only be updated if there is no existing associated customer with this charge.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "description": {
                    "description": "An arbitrary string which you can attach to a charge object. It is displayed when in the web interface alongside the charge. Note that if you use Stripe to send automatic email receipts to your customers, your receipt emails will include the `description` of the charge(s) that they are describing.",
                    "maxLength": 40000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "fraud_details": {
                    "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.",
                    "properties": {
                      "user_report": {
                        "description": "Either `safe` or `fraudulent`.",
                        "enum": [
                          "",
                          "fraudulent",
                          "safe"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "required": [
                      "user_report"
                    ],
                    "title": "fraud_details",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "user_report"
                    ]
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "receipt_email": {
                    "description": "This is the email address that the receipt for this charge will be sent to. If this field is updated, then a new email receipt will be sent to the updated address.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "shipping": {
                    "description": "Shipping information for the charge. Helps prevent fraud on charges for physical goods.",
                    "properties": {
                      "address": {
                        "description": "Shipping address.",
                        "properties": {
                          "city": {
                            "description": "City, district, suburb, town, or village.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Address line 1 (e.g., street, PO Box, or company name).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "ZIP or postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "State, county, province, or region.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "optional_fields_address",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "line1",
                          "line2",
                          "postal_code",
                          "state"
                        ]
                      },
                      "carrier": {
                        "description": "The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "name": {
                        "description": "Recipient name.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "phone": {
                        "description": "Recipient phone (including extension).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "tracking_number": {
                        "description": "The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "required": [
                      "address",
                      "name"
                    ],
                    "title": "optional_fields_shipping",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "address",
                      "carrier",
                      "name",
                      "phone",
                      "tracking_number"
                    ]
                  },
                  "transfer_group": {
                    "description": "A string that identifies this transaction as part of a group. `transfer_group` may only be provided if it has not been set. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options) for details.",
                    "type": "string"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "customer",
                  "description",
                  "metadata",
                  "receipt_email",
                  "shipping"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/charge"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a charge"
      }
    },
    "/v1/charges/{charge}/capture": {
      "post": {
        "description": "<p>Capture the payment of an existing, uncaptured charge that was created with the <code>capture</code> option set to false.</p>\n\n<p>Uncaptured payments expire a set number of days after they are created (<a href=\"/docs/charges/placing-a-hold\">7 by default</a>), after which they are marked as refunded and capture attempts will fail.</p>\n\n<p>Don’t use this method to capture a PaymentIntent-initiated charge. Use <a href=\"/docs/api/payment_intents/capture\">Capture a PaymentIntent</a>.</p>",
        "operationId": "PostChargesChargeCapture",
        "parameters": [
          {
            "in": "path",
            "name": "charge",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "transfer_data": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "The amount to capture, which must be less than or equal to the original amount. Any additional amount will be automatically refunded.",
                    "type": "integer"
                  },
                  "application_fee": {
                    "description": "An application fee to add on to this charge.",
                    "type": "integer"
                  },
                  "application_fee_amount": {
                    "description": "An application fee amount to add on to this charge, which must be less than or equal to the original amount.",
                    "type": "integer"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "receipt_email": {
                    "description": "The email address to send this charge's receipt to. This will override the previously-specified email address for this charge, if one was set. Receipts will not be sent in test mode.",
                    "type": "string"
                  },
                  "statement_descriptor": {
                    "description": "For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).\n\nFor a card charge, this value is ignored unless you don't specify a `statement_descriptor_suffix`, in which case this value is used as the suffix.",
                    "maxLength": 22,
                    "type": "string"
                  },
                  "statement_descriptor_suffix": {
                    "description": "Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.",
                    "maxLength": 22,
                    "type": "string"
                  },
                  "transfer_data": {
                    "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.",
                    "properties": {
                      "amount": {
                        "description": "The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.",
                        "type": "integer"
                      }
                    },
                    "title": "transfer_data_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "amount"
                    ]
                  },
                  "transfer_group": {
                    "description": "A string that identifies this transaction as part of a group. `transfer_group` may only be provided if it has not been set. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options) for details.",
                    "type": "string"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "application_fee",
                  "receipt_email",
                  "statement_descriptor",
                  "statement_descriptor_suffix"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/charge"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Capture a payment"
      }
    },
    "/v1/charges/{charge}/refunds": {
      "get": {
        "description": "<p>You can see a list of the refunds belonging to a specific charge. Note that the 10 most recent refunds are always available by default on the charge object. If you need more than those 10, you can use this API method and the <code>limit</code> and <code>starting_after</code> parameters to page through additional refunds.</p>",
        "operationId": "GetChargesChargeRefunds",
        "parameters": [
          {
            "in": "path",
            "name": "charge",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/refund"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "RefundList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all refunds"
      }
    },
    "/v1/charges/{charge}/refunds/{refund}": {
      "get": {
        "description": "<p>Retrieves the details of an existing refund.</p>",
        "operationId": "GetChargesChargeRefundsRefund",
        "parameters": [
          {
            "in": "path",
            "name": "charge",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "refund",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/refund"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        }
      }
    },
    "/v1/checkout/sessions": {
      "get": {
        "description": "<p>Returns a list of Checkout Sessions.</p>",
        "operationId": "GetCheckoutSessions",
        "parameters": [
          {
            "description": "Only return Checkout Sessions that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "Only return the Checkout Sessions for the Customer specified.",
            "in": "query",
            "name": "customer",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return the Checkout Sessions for the Customer details specified.",
            "explode": true,
            "in": "query",
            "name": "customer_details",
            "required": false,
            "schema": {
              "properties": {
                "email": {
                  "description": "Customer's email address.",
                  "type": "string"
                }
              },
              "required": [
                "email"
              ],
              "title": "customer_details_params",
              "type": "object",
              "x-stripeMostCommon": [
                "email"
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "Only return the Checkout Session for the PaymentIntent specified.",
            "in": "query",
            "name": "payment_intent",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return the Checkout Sessions for the Payment Link specified.",
            "in": "query",
            "name": "payment_link",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return the Checkout Sessions matching the given status.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "complete",
                "expired",
                "open"
              ],
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return the Checkout Session for the subscription specified.",
            "in": "query",
            "name": "subscription",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/checkout.session"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "PaymentPagesCheckoutSessionList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all Checkout Sessions"
      },
      "post": {
        "description": "<p>Creates a Session object.</p>",
        "operationId": "PostCheckoutSessions",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "adaptive_pricing": {
                  "explode": true,
                  "style": "deepObject"
                },
                "after_expiration": {
                  "explode": true,
                  "style": "deepObject"
                },
                "automatic_tax": {
                  "explode": true,
                  "style": "deepObject"
                },
                "consent_collection": {
                  "explode": true,
                  "style": "deepObject"
                },
                "custom_fields": {
                  "explode": true,
                  "style": "deepObject"
                },
                "custom_text": {
                  "explode": true,
                  "style": "deepObject"
                },
                "customer_update": {
                  "explode": true,
                  "style": "deepObject"
                },
                "discounts": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "invoice_creation": {
                  "explode": true,
                  "style": "deepObject"
                },
                "line_items": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_intent_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_method_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_method_options": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_method_types": {
                  "explode": true,
                  "style": "deepObject"
                },
                "phone_number_collection": {
                  "explode": true,
                  "style": "deepObject"
                },
                "saved_payment_method_options": {
                  "explode": true,
                  "style": "deepObject"
                },
                "setup_intent_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "shipping_address_collection": {
                  "explode": true,
                  "style": "deepObject"
                },
                "shipping_options": {
                  "explode": true,
                  "style": "deepObject"
                },
                "subscription_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "tax_id_collection": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "adaptive_pricing": {
                    "description": "Settings for price localization with [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing).",
                    "properties": {
                      "enabled": {
                        "description": "Set to `true` to enable [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing). Defaults to your [dashboard setting](https://dashboard.stripe.com/settings/adaptive-pricing).",
                        "type": "boolean"
                      }
                    },
                    "title": "adaptive_pricing_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "enabled"
                    ]
                  },
                  "after_expiration": {
                    "description": "Configure actions after a Checkout Session has expired.",
                    "properties": {
                      "recovery": {
                        "description": "Configure a Checkout Session that can be used to recover an expired session.",
                        "properties": {
                          "allow_promotion_codes": {
                            "description": "Enables user redeemable promotion codes on the recovered Checkout Sessions. Defaults to `false`",
                            "type": "boolean"
                          },
                          "enabled": {
                            "description": "If `true`, a recovery URL will be generated to recover this Checkout Session if it\nexpires before a successful transaction is completed. It will be attached to the\nCheckout Session object upon expiration.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "recovery_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "allow_promotion_codes",
                          "enabled"
                        ]
                      }
                    },
                    "title": "after_expiration_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "recovery"
                    ]
                  },
                  "allow_promotion_codes": {
                    "description": "Enables user redeemable promotion codes.",
                    "type": "boolean"
                  },
                  "automatic_tax": {
                    "description": "Settings for automatic tax lookup for this session and resulting payments, invoices, and subscriptions.",
                    "properties": {
                      "enabled": {
                        "description": "Set to true to enable automatic taxes.",
                        "type": "boolean"
                      },
                      "liability": {
                        "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.",
                        "properties": {
                          "account": {
                            "description": "The connected account being referenced when `type` is `account`.",
                            "type": "string"
                          },
                          "type": {
                            "description": "Type of the account referenced in the request.",
                            "enum": [
                              "account",
                              "self"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account",
                          "type"
                        ]
                      }
                    },
                    "required": [
                      "enabled"
                    ],
                    "title": "automatic_tax_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "enabled",
                      "liability"
                    ]
                  },
                  "billing_address_collection": {
                    "description": "Specify whether Checkout should collect the customer's billing address. Defaults to `auto`.",
                    "enum": [
                      "auto",
                      "required"
                    ],
                    "type": "string"
                  },
                  "cancel_url": {
                    "description": "If set, Checkout displays a back button and customers will be directed to this URL if they decide to cancel payment and return to your website. This parameter is not allowed if ui_mode is `embedded`.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "client_reference_id": {
                    "description": "A unique string to reference the Checkout Session. This can be a\ncustomer ID, a cart ID, or similar, and can be used to reconcile the\nsession with your internal systems.",
                    "maxLength": 200,
                    "type": "string"
                  },
                  "consent_collection": {
                    "description": "Configure fields for the Checkout Session to gather active consent from customers.",
                    "properties": {
                      "payment_method_reuse_agreement": {
                        "description": "Determines the display of payment method reuse agreement text in the UI. If set to `hidden`, it will hide legal text related to the reuse of a payment method.",
                        "properties": {
                          "position": {
                            "description": "Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's\ndefaults will be used. When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI.",
                            "enum": [
                              "auto",
                              "hidden"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "position"
                        ],
                        "title": "payment_method_reuse_agreement_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "position"
                        ]
                      },
                      "promotions": {
                        "description": "If set to `auto`, enables the collection of customer consent for promotional communications. The Checkout\nSession will determine whether to display an option to opt into promotional communication\nfrom the merchant depending on the customer's locale. Only available to US merchants.",
                        "enum": [
                          "auto",
                          "none"
                        ],
                        "type": "string"
                      },
                      "terms_of_service": {
                        "description": "If set to `required`, it requires customers to check a terms of service checkbox before being able to pay.\nThere must be a valid terms of service URL set in your [Dashboard settings](https://dashboard.stripe.com/settings/public).",
                        "enum": [
                          "none",
                          "required"
                        ],
                        "type": "string"
                      }
                    },
                    "title": "consent_collection_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "payment_method_reuse_agreement",
                      "promotions",
                      "terms_of_service"
                    ]
                  },
                  "currency": {
                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). Required in `setup` mode when `payment_method_types` is not set.",
                    "type": "string"
                  },
                  "custom_fields": {
                    "description": "Collect additional information from your customer using custom fields. Up to 3 fields are supported.",
                    "items": {
                      "properties": {
                        "dropdown": {
                          "description": "Configuration for `type=dropdown` fields.",
                          "properties": {
                            "default_value": {
                              "description": "The value that will pre-fill the field on the payment page.Must match a `value` in the `options` array.",
                              "maxLength": 100,
                              "type": "string"
                            },
                            "options": {
                              "description": "The options available for the customer to select. Up to 200 options allowed.",
                              "items": {
                                "properties": {
                                  "label": {
                                    "description": "The label for the option, displayed to the customer. Up to 100 characters.",
                                    "maxLength": 100,
                                    "type": "string"
                                  },
                                  "value": {
                                    "description": "The value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer. Must be unique to this option, alphanumeric, and up to 100 characters.",
                                    "maxLength": 100,
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "label",
                                  "value"
                                ],
                                "title": "custom_field_option_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "label",
                                  "value"
                                ]
                              },
                              "type": "array"
                            }
                          },
                          "required": [
                            "options"
                          ],
                          "title": "custom_field_dropdown_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "default_value",
                            "options"
                          ]
                        },
                        "key": {
                          "description": "String of your choice that your integration can use to reconcile this field. Must be unique to this field, alphanumeric, and up to 200 characters.",
                          "maxLength": 200,
                          "type": "string"
                        },
                        "label": {
                          "description": "The label for the field, displayed to the customer.",
                          "properties": {
                            "custom": {
                              "description": "Custom text for the label, displayed to the customer. Up to 50 characters.",
                              "maxLength": 50,
                              "type": "string"
                            },
                            "type": {
                              "description": "The type of the label.",
                              "enum": [
                                "custom"
                              ],
                              "type": "string"
                            }
                          },
                          "required": [
                            "custom",
                            "type"
                          ],
                          "title": "custom_field_label_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "custom",
                            "type"
                          ]
                        },
                        "numeric": {
                          "description": "Configuration for `type=numeric` fields.",
                          "properties": {
                            "default_value": {
                              "description": "The value that will pre-fill the field on the payment page.",
                              "maxLength": 255,
                              "type": "string"
                            },
                            "maximum_length": {
                              "description": "The maximum character length constraint for the customer's input.",
                              "type": "integer"
                            },
                            "minimum_length": {
                              "description": "The minimum character length requirement for the customer's input.",
                              "type": "integer"
                            }
                          },
                          "title": "custom_field_numeric_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "default_value",
                            "maximum_length",
                            "minimum_length"
                          ]
                        },
                        "optional": {
                          "description": "Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`.",
                          "type": "boolean"
                        },
                        "text": {
                          "description": "Configuration for `type=text` fields.",
                          "properties": {
                            "default_value": {
                              "description": "The value that will pre-fill the field on the payment page.",
                              "maxLength": 255,
                              "type": "string"
                            },
                            "maximum_length": {
                              "description": "The maximum character length constraint for the customer's input.",
                              "type": "integer"
                            },
                            "minimum_length": {
                              "description": "The minimum character length requirement for the customer's input.",
                              "type": "integer"
                            }
                          },
                          "title": "custom_field_text_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "default_value",
                            "maximum_length",
                            "minimum_length"
                          ]
                        },
                        "type": {
                          "description": "The type of the field.",
                          "enum": [
                            "dropdown",
                            "numeric",
                            "text"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "key",
                        "label",
                        "type"
                      ],
                      "title": "custom_field_param",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "dropdown",
                        "key",
                        "label",
                        "numeric",
                        "optional",
                        "text",
                        "type"
                      ]
                    },
                    "type": "array"
                  },
                  "custom_text": {
                    "description": "Display additional text for your customers using custom text.",
                    "properties": {
                      "after_submit": {
                        "anyOf": [
                          {
                            "properties": {
                              "message": {
                                "description": "Text may be up to 1200 characters in length.",
                                "maxLength": 1200,
                                "type": "string"
                              }
                            },
                            "required": [
                              "message"
                            ],
                            "title": "custom_text_position_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "message"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Custom text that should be displayed after the payment confirmation button."
                      },
                      "shipping_address": {
                        "anyOf": [
                          {
                            "properties": {
                              "message": {
                                "description": "Text may be up to 1200 characters in length.",
                                "maxLength": 1200,
                                "type": "string"
                              }
                            },
                            "required": [
                              "message"
                            ],
                            "title": "custom_text_position_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "message"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Custom text that should be displayed alongside shipping address collection."
                      },
                      "submit": {
                        "anyOf": [
                          {
                            "properties": {
                              "message": {
                                "description": "Text may be up to 1200 characters in length.",
                                "maxLength": 1200,
                                "type": "string"
                              }
                            },
                            "required": [
                              "message"
                            ],
                            "title": "custom_text_position_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "message"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Custom text that should be displayed alongside the payment confirmation button."
                      },
                      "terms_of_service_acceptance": {
                        "anyOf": [
                          {
                            "properties": {
                              "message": {
                                "description": "Text may be up to 1200 characters in length.",
                                "maxLength": 1200,
                                "type": "string"
                              }
                            },
                            "required": [
                              "message"
                            ],
                            "title": "custom_text_position_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "message"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Custom text that should be displayed in place of the default terms of service agreement text."
                      }
                    },
                    "title": "custom_text_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "after_submit",
                      "shipping_address",
                      "submit",
                      "terms_of_service_acceptance"
                    ]
                  },
                  "customer": {
                    "description": "ID of an existing Customer, if one exists. In `payment` mode, the customer’s most recently saved card\npayment method will be used to prefill the email, name, card details, and billing address\non the Checkout page. In `subscription` mode, the customer’s [default payment method](https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method)\nwill be used if it’s a card, otherwise the most recently saved card will be used. A valid billing address, billing name and billing email are required on the payment method for Checkout to prefill the customer's card details.\n\nIf the Customer already has a valid [email](https://stripe.com/docs/api/customers/object#customer_object-email) set, the email will be prefilled and not editable in Checkout.\nIf the Customer does not have a valid `email`, Checkout will set the email entered during the session on the Customer.\n\nIf blank for Checkout Sessions in `subscription` mode or with `customer_creation` set as `always` in `payment` mode, Checkout will create a new Customer object based on information provided during the payment flow.\n\nYou can set [`payment_intent_data.setup_future_usage`](https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-setup_future_usage) to have Checkout automatically attach the payment method to the Customer you pass in for future reuse.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "customer_creation": {
                    "description": "Configure whether a Checkout Session creates a [Customer](https://stripe.com/docs/api/customers) during Session confirmation.\n\nWhen a Customer is not created, you can still retrieve email, address, and other customer data entered in Checkout\nwith [customer_details](https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-customer_details).\n\nSessions that don't create Customers instead are grouped by [guest customers](https://stripe.com/docs/payments/checkout/guest-customers)\nin the Dashboard. Promotion codes limited to first time customers will return invalid for these Sessions.\n\nCan only be set in `payment` and `setup` mode.",
                    "enum": [
                      "always",
                      "if_required"
                    ],
                    "type": "string"
                  },
                  "customer_email": {
                    "description": "If provided, this value will be used when the Customer object is created.\nIf not provided, customers will be asked to enter their email address.\nUse this parameter to prefill customer data if you already have an email\non file. To access information about the customer once a session is\ncomplete, use the `customer` field.",
                    "type": "string"
                  },
                  "customer_update": {
                    "description": "Controls what fields on Customer can be updated by the Checkout Session. Can only be provided when `customer` is provided.",
                    "properties": {
                      "address": {
                        "description": "Describes whether Checkout saves the billing address onto `customer.address`.\nTo always collect a full billing address, use `billing_address_collection`. Defaults to `never`.",
                        "enum": [
                          "auto",
                          "never"
                        ],
                        "type": "string",
                        "x-stripeBypassValidation": true
                      },
                      "name": {
                        "description": "Describes whether Checkout saves the name onto `customer.name`. Defaults to `never`.",
                        "enum": [
                          "auto",
                          "never"
                        ],
                        "type": "string",
                        "x-stripeBypassValidation": true
                      },
                      "shipping": {
                        "description": "Describes whether Checkout saves shipping information onto `customer.shipping`.\nTo collect shipping information, use `shipping_address_collection`. Defaults to `never`.",
                        "enum": [
                          "auto",
                          "never"
                        ],
                        "type": "string",
                        "x-stripeBypassValidation": true
                      }
                    },
                    "title": "customer_update_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "address",
                      "name",
                      "shipping"
                    ]
                  },
                  "discounts": {
                    "description": "The coupon or promotion code to apply to this Session. Currently, only up to one may be specified.",
                    "items": {
                      "properties": {
                        "coupon": {
                          "description": "The ID of the coupon to apply to this Session.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "promotion_code": {
                          "description": "The ID of a promotion code to apply to this Session.",
                          "maxLength": 5000,
                          "type": "string"
                        }
                      },
                      "title": "discount_params",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "coupon",
                        "promotion_code"
                      ]
                    },
                    "type": "array"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "expires_at": {
                    "description": "The Epoch time in seconds at which the Checkout Session will expire. It can be anywhere from 30 minutes to 24 hours after Checkout Session creation. By default, this value is 24 hours from creation.",
                    "format": "unix-time",
                    "type": "integer"
                  },
                  "invoice_creation": {
                    "description": "Generate a post-purchase Invoice for one-time payments.",
                    "properties": {
                      "enabled": {
                        "description": "Set to `true` to enable invoice creation.",
                        "type": "boolean"
                      },
                      "invoice_data": {
                        "description": "Parameters passed when creating invoices for payment-mode Checkout Sessions.",
                        "properties": {
                          "account_tax_ids": {
                            "anyOf": [
                              {
                                "items": {
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "The account tax IDs associated with the invoice."
                          },
                          "custom_fields": {
                            "anyOf": [
                              {
                                "items": {
                                  "properties": {
                                    "name": {
                                      "description": "The name of the custom field. This may be up to 40 characters.",
                                      "maxLength": 40,
                                      "type": "string"
                                    },
                                    "value": {
                                      "description": "The value of the custom field. This may be up to 140 characters.",
                                      "maxLength": 140,
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "name",
                                    "value"
                                  ],
                                  "title": "custom_field_params",
                                  "type": "object",
                                  "x-stripeMostCommon": [
                                    "name",
                                    "value"
                                  ]
                                },
                                "type": "array"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Default custom fields to be displayed on invoices for this customer."
                          },
                          "description": {
                            "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
                            "maxLength": 1500,
                            "type": "string"
                          },
                          "footer": {
                            "description": "Default footer to be displayed on invoices for this customer.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "issuer": {
                            "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.",
                            "properties": {
                              "account": {
                                "description": "The connected account being referenced when `type` is `account`.",
                                "type": "string"
                              },
                              "type": {
                                "description": "Type of the account referenced in the request.",
                                "enum": [
                                  "account",
                                  "self"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "title": "param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "account",
                              "type"
                            ]
                          },
                          "metadata": {
                            "additionalProperties": {
                              "type": "string"
                            },
                            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                            "type": "object"
                          },
                          "rendering_options": {
                            "anyOf": [
                              {
                                "properties": {
                                  "amount_tax_display": {
                                    "description": "How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.",
                                    "enum": [
                                      "",
                                      "exclude_tax",
                                      "include_inclusive_tax"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "title": "rendering_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "amount_tax_display",
                                  "invoice_title"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Default options for invoice PDF rendering for this customer."
                          }
                        },
                        "title": "invoice_data_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_tax_ids",
                          "custom_fields",
                          "description",
                          "footer",
                          "issuer",
                          "metadata",
                          "rendering_options"
                        ]
                      }
                    },
                    "required": [
                      "enabled"
                    ],
                    "title": "invoice_creation_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "enabled",
                      "invoice_data"
                    ]
                  },
                  "line_items": {
                    "description": "A list of items the customer is purchasing. Use this parameter to pass one-time or recurring [Prices](https://stripe.com/docs/api/prices).\n\nFor `payment` mode, there is a maximum of 100 line items, however it is recommended to consolidate line items if there are more than a few dozen.\n\nFor `subscription` mode, there is a maximum of 20 line items with recurring Prices and 20 line items with one-time Prices. Line items with one-time Prices will be on the initial invoice only.",
                    "items": {
                      "properties": {
                        "adjustable_quantity": {
                          "description": "When set, provides configuration for this item’s quantity to be adjusted by the customer during Checkout.",
                          "properties": {
                            "enabled": {
                              "description": "Set to true if the quantity can be adjusted to any non-negative integer.",
                              "type": "boolean"
                            },
                            "maximum": {
                              "description": "The maximum quantity the customer can purchase for the Checkout Session. By default this value is 99. You can specify a value up to 999999.",
                              "type": "integer"
                            },
                            "minimum": {
                              "description": "The minimum quantity the customer must purchase for the Checkout Session. By default this value is 0.",
                              "type": "integer"
                            }
                          },
                          "required": [
                            "enabled"
                          ],
                          "title": "adjustable_quantity_params",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "enabled",
                            "maximum",
                            "minimum"
                          ]
                        },
                        "dynamic_tax_rates": {
                          "description": "The [tax rates](https://stripe.com/docs/api/tax_rates) that will be applied to this line item depending on the customer's billing/shipping address. We currently support the following countries: US, GB, AU, and all countries in the EU.",
                          "items": {
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "price": {
                          "description": "The ID of the [Price](https://stripe.com/docs/api/prices) or [Plan](https://stripe.com/docs/api/plans) object. One of `price` or `price_data` is required.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "price_data": {
                          "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
                          "properties": {
                            "currency": {
                              "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                              "type": "string"
                            },
                            "product": {
                              "description": "The ID of the product that this price will belong to. One of `product` or `product_data` is required.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "product_data": {
                              "description": "Data used to generate a new product object inline. One of `product` or `product_data` is required.",
                              "properties": {
                                "description": {
                                  "description": "The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.",
                                  "maxLength": 40000,
                                  "type": "string"
                                },
                                "images": {
                                  "description": "A list of up to 8 URLs of images for this product, meant to be displayable to the customer.",
                                  "items": {
                                    "type": "string"
                                  },
                                  "type": "array"
                                },
                                "metadata": {
                                  "additionalProperties": {
                                    "type": "string"
                                  },
                                  "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                                  "type": "object"
                                },
                                "name": {
                                  "description": "The product's name, meant to be displayable to the customer.",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "tax_code": {
                                  "description": "A [tax code](https://stripe.com/docs/tax/tax-categories) ID.",
                                  "maxLength": 5000,
                                  "type": "string"
                                }
                              },
                              "required": [
                                "name"
                              ],
                              "title": "product_data",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "description",
                                "images",
                                "metadata",
                                "name",
                                "tax_code"
                              ]
                            },
                            "recurring": {
                              "description": "The recurring components of a price such as `interval` and `interval_count`.",
                              "properties": {
                                "interval": {
                                  "description": "Specifies billing frequency. Either `day`, `week`, `month` or `year`.",
                                  "enum": [
                                    "day",
                                    "month",
                                    "week",
                                    "year"
                                  ],
                                  "type": "string"
                                },
                                "interval_count": {
                                  "description": "The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).",
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "interval"
                              ],
                              "title": "recurring_adhoc",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "interval"
                              ]
                            },
                            "tax_behavior": {
                              "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                              "enum": [
                                "exclusive",
                                "inclusive",
                                "unspecified"
                              ],
                              "type": "string"
                            },
                            "unit_amount": {
                              "description": "A non-negative integer in cents (or local equivalent) representing how much to charge. One of `unit_amount` or `unit_amount_decimal` is required.",
                              "type": "integer"
                            },
                            "unit_amount_decimal": {
                              "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                              "format": "decimal",
                              "type": "string"
                            }
                          },
                          "required": [
                            "currency"
                          ],
                          "title": "price_data_with_product_data",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "currency",
                            "product",
                            "unit_amount"
                          ]
                        },
                        "quantity": {
                          "description": "The quantity of the line item being purchased. Quantity should not be defined when `recurring.usage_type=metered`.",
                          "type": "integer"
                        },
                        "tax_rates": {
                          "description": "The [tax rates](https://stripe.com/docs/api/tax_rates) which apply to this line item.",
                          "items": {
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "type": "array"
                        }
                      },
                      "title": "line_item_params",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "adjustable_quantity",
                        "display",
                        "dynamic_tax_rates",
                        "metadata",
                        "price",
                        "price_data",
                        "pricing_spec",
                        "quantity",
                        "tax_rates"
                      ]
                    },
                    "type": "array"
                  },
                  "locale": {
                    "description": "The IETF language tag of the locale Checkout is displayed in. If blank or `auto`, the browser's locale is used.",
                    "enum": [
                      "auto",
                      "bg",
                      "cs",
                      "da",
                      "de",
                      "el",
                      "en",
                      "en-GB",
                      "es",
                      "es-419",
                      "et",
                      "fi",
                      "fil",
                      "fr",
                      "fr-CA",
                      "hr",
                      "hu",
                      "id",
                      "it",
                      "ja",
                      "ko",
                      "lt",
                      "lv",
                      "ms",
                      "mt",
                      "nb",
                      "nl",
                      "pl",
                      "pt",
                      "pt-BR",
                      "ro",
                      "ru",
                      "sk",
                      "sl",
                      "sv",
                      "th",
                      "tr",
                      "vi",
                      "zh",
                      "zh-HK",
                      "zh-TW"
                    ],
                    "type": "string",
                    "x-stripeBypassValidation": true
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "mode": {
                    "description": "The mode of the Checkout Session. Pass `subscription` if the Checkout Session includes at least one recurring item.",
                    "enum": [
                      "payment",
                      "setup",
                      "subscription"
                    ],
                    "type": "string"
                  },
                  "payment_intent_data": {
                    "description": "A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode.",
                    "properties": {
                      "application_fee_amount": {
                        "description": "The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total payment amount. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).",
                        "type": "integer"
                      },
                      "capture_method": {
                        "description": "Controls when the funds will be captured from the customer's account.",
                        "enum": [
                          "automatic",
                          "automatic_async",
                          "manual"
                        ],
                        "type": "string"
                      },
                      "description": {
                        "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
                        "maxLength": 1000,
                        "type": "string"
                      },
                      "metadata": {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                        "type": "object"
                      },
                      "on_behalf_of": {
                        "description": "The Stripe account ID for which these funds are intended. For details,\nsee the PaymentIntents [use case for connected\naccounts](/docs/payments/connected-accounts).",
                        "type": "string"
                      },
                      "receipt_email": {
                        "description": "Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).",
                        "type": "string"
                      },
                      "setup_future_usage": {
                        "description": "Indicates that you intend to [make future payments](https://stripe.com/docs/payments/payment-intents#future-usage) with the payment\nmethod collected by this Checkout Session.\n\nWhen setting this to `on_session`, Checkout will show a notice to the\ncustomer that their payment details will be saved.\n\nWhen setting this to `off_session`, Checkout will show a notice to the\ncustomer that their payment details will be saved and used for future\npayments.\n\nIf a Customer has been provided or Checkout creates a new Customer,\nCheckout will attach the payment method to the Customer.\n\nIf Checkout does not create a Customer, the payment method is not attached\nto a Customer. To reuse the payment method, you can retrieve it from the\nCheckout Session's PaymentIntent.\n\nWhen processing card payments, Checkout also uses `setup_future_usage`\nto dynamically optimize your payment flow and comply with regional\nlegislation and network rules, such as SCA.",
                        "enum": [
                          "off_session",
                          "on_session"
                        ],
                        "type": "string"
                      },
                      "shipping": {
                        "description": "Shipping information for this payment.",
                        "properties": {
                          "address": {
                            "description": "Shipping address.",
                            "properties": {
                              "city": {
                                "description": "City, district, suburb, town, or village.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "country": {
                                "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line1": {
                                "description": "Address line 1 (e.g., street, PO Box, or company name).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line2": {
                                "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "postal_code": {
                                "description": "ZIP or postal code.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "state": {
                                "description": "State, county, province, or region.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "required": [
                              "line1"
                            ],
                            "title": "address",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "city",
                              "country",
                              "line1",
                              "line2",
                              "postal_code",
                              "state"
                            ]
                          },
                          "carrier": {
                            "description": "The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "name": {
                            "description": "Recipient name.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "phone": {
                            "description": "Recipient phone (including extension).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "tracking_number": {
                            "description": "The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "address",
                          "name"
                        ],
                        "title": "shipping",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "address",
                          "carrier",
                          "name",
                          "phone",
                          "tracking_number"
                        ]
                      },
                      "statement_descriptor": {
                        "description": "Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).\n\nSetting this value for a card charge returns an error. For card charges, set the [statement_descriptor_suffix](https://docs.stripe.com/get-started/account/statement-descriptors#dynamic) instead.",
                        "maxLength": 22,
                        "type": "string"
                      },
                      "statement_descriptor_suffix": {
                        "description": "Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement.",
                        "maxLength": 22,
                        "type": "string"
                      },
                      "transfer_data": {
                        "description": "The parameters used to automatically create a Transfer when the payment succeeds.\nFor more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).",
                        "properties": {
                          "amount": {
                            "description": "The amount that will be transferred automatically when a charge succeeds.",
                            "type": "integer"
                          },
                          "destination": {
                            "description": "If specified, successful charges will be attributed to the destination\naccount for tax reporting, and the funds from charges will be transferred\nto the destination account. The ID of the resulting transfer will be\nreturned on the successful charge's `transfer` field.",
                            "type": "string"
                          }
                        },
                        "required": [
                          "destination"
                        ],
                        "title": "transfer_data_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "amount",
                          "destination"
                        ]
                      },
                      "transfer_group": {
                        "description": "A string that identifies the resulting payment as part of a group. See the PaymentIntents [use case for connected accounts](https://stripe.com/docs/connect/separate-charges-and-transfers) for details.",
                        "type": "string"
                      }
                    },
                    "title": "payment_intent_data_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "application_fee_amount",
                      "capture_method",
                      "cross_border_classification",
                      "description",
                      "fulfillment_date",
                      "metadata",
                      "on_behalf_of",
                      "receipt_email",
                      "setup_future_usage",
                      "shipping",
                      "statement_descriptor",
                      "statement_descriptor_suffix",
                      "transfer_data",
                      "transfer_group"
                    ]
                  },
                  "payment_method_collection": {
                    "description": "Specify whether Checkout should collect a payment method. When set to `if_required`, Checkout will not collect a payment method when the total due for the session is 0.\nThis may occur if the Checkout Session includes a free trial or a discount.\n\nCan only be set in `subscription` mode. Defaults to `always`.\n\nIf you'd like information on how to collect a payment method outside of Checkout, read the guide on configuring [subscriptions with a free trial](https://stripe.com/docs/payments/checkout/free-trials).",
                    "enum": [
                      "always",
                      "if_required"
                    ],
                    "type": "string"
                  },
                  "payment_method_configuration": {
                    "description": "The ID of the payment method configuration to use with this Checkout session.",
                    "maxLength": 100,
                    "type": "string"
                  },
                  "payment_method_data": {
                    "description": "This parameter allows you to set some attributes on the payment method created during a Checkout session.",
                    "properties": {
                      "allow_redisplay": {
                        "description": "Allow redisplay will be set on the payment method on confirmation and indicates whether this payment method can be shown again to the customer in a checkout flow. Only set this field if you wish to override the allow_redisplay value determined by Checkout.",
                        "enum": [
                          "always",
                          "limited",
                          "unspecified"
                        ],
                        "type": "string"
                      }
                    },
                    "title": "payment_method_data_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "allow_redisplay"
                    ]
                  },
                  "payment_method_options": {
                    "description": "Payment-method-specific configuration.",
                    "properties": {
                      "acss_debit": {
                        "description": "contains details about the ACSS Debit payment method options.",
                        "properties": {
                          "currency": {
                            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). This is only accepted for Checkout Sessions in `setup` mode.",
                            "enum": [
                              "cad",
                              "usd"
                            ],
                            "type": "string"
                          },
                          "mandate_options": {
                            "description": "Additional fields for Mandate creation",
                            "properties": {
                              "custom_mandate_url": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "A URL for custom mandate text to render during confirmation step.\nThe URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,\nor `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent."
                              },
                              "default_for": {
                                "description": "List of Stripe products where this mandate can be selected automatically. Only usable in `setup` mode.",
                                "items": {
                                  "enum": [
                                    "invoice",
                                    "subscription"
                                  ],
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "interval_description": {
                                "description": "Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.",
                                "maxLength": 500,
                                "type": "string"
                              },
                              "payment_schedule": {
                                "description": "Payment schedule for the mandate.",
                                "enum": [
                                  "combined",
                                  "interval",
                                  "sporadic"
                                ],
                                "type": "string"
                              },
                              "transaction_type": {
                                "description": "Transaction type of the mandate.",
                                "enum": [
                                  "business",
                                  "personal"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "mandate_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "custom_mandate_url",
                              "default_for",
                              "interval_description",
                              "payment_schedule",
                              "transaction_type"
                            ]
                          },
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none",
                              "off_session",
                              "on_session"
                            ],
                            "type": "string"
                          },
                          "verification_method": {
                            "description": "Verification method for the intent",
                            "enum": [
                              "automatic",
                              "instant",
                              "microdeposits"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "currency",
                          "mandate_options",
                          "setup_future_usage",
                          "verification_method"
                        ]
                      },
                      "affirm": {
                        "description": "contains details about the Affirm payment method options.",
                        "properties": {
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "setup_future_usage"
                        ]
                      },
                      "afterpay_clearpay": {
                        "description": "contains details about the Afterpay Clearpay payment method options.",
                        "properties": {
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "setup_future_usage"
                        ]
                      },
                      "alipay": {
                        "description": "contains details about the Alipay payment method options.",
                        "properties": {
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "currency",
                          "setup_future_usage"
                        ]
                      },
                      "amazon_pay": {
                        "description": "contains details about the AmazonPay payment method options.",
                        "properties": {
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none",
                              "off_session"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "setup_future_usage"
                        ]
                      },
                      "au_becs_debit": {
                        "description": "contains details about the AU Becs Debit payment method options.",
                        "properties": {
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "setup_future_usage",
                          "target_date"
                        ]
                      },
                      "bacs_debit": {
                        "description": "contains details about the Bacs Debit payment method options.",
                        "properties": {
                          "mandate_options": {
                            "description": "Additional fields for Mandate creation",
                            "properties": {},
                            "title": "payment_method_options_mandate_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "reference_prefix"
                            ]
                          },
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none",
                              "off_session",
                              "on_session"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "mandate_options",
                          "setup_future_usage",
                          "target_date"
                        ]
                      },
                      "bancontact": {
                        "description": "contains details about the Bancontact payment method options.",
                        "properties": {
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "setup_future_usage"
                        ]
                      },
                      "boleto": {
                        "description": "contains details about the Boleto payment method options.",
                        "properties": {
                          "expires_after_days": {
                            "description": "The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time.",
                            "type": "integer"
                          },
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none",
                              "off_session",
                              "on_session"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "expires_after_days",
                          "setup_future_usage"
                        ]
                      },
                      "card": {
                        "description": "contains details about the Card payment method options.",
                        "properties": {
                          "installments": {
                            "description": "Installment options for card payments",
                            "properties": {
                              "enabled": {
                                "description": "Setting to true enables installments for this Checkout Session.\nSetting to false will prevent any installment plan from applying to a payment.",
                                "type": "boolean"
                              }
                            },
                            "title": "installments_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "enabled"
                            ]
                          },
                          "request_extended_authorization": {
                            "description": "Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.",
                            "enum": [
                              "if_available",
                              "never"
                            ],
                            "type": "string"
                          },
                          "request_incremental_authorization": {
                            "description": "Request ability to [increment the authorization](/payments/incremental-authorization) for this CheckoutSession.",
                            "enum": [
                              "if_available",
                              "never"
                            ],
                            "type": "string"
                          },
                          "request_multicapture": {
                            "description": "Request ability to make [multiple captures](/payments/multicapture) for this CheckoutSession.",
                            "enum": [
                              "if_available",
                              "never"
                            ],
                            "type": "string"
                          },
                          "request_overcapture": {
                            "description": "Request ability to [overcapture](/payments/overcapture) for this CheckoutSession.",
                            "enum": [
                              "if_available",
                              "never"
                            ],
                            "type": "string"
                          },
                          "request_three_d_secure": {
                            "description": "We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.",
                            "enum": [
                              "any",
                              "automatic",
                              "challenge"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          },
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "off_session",
                              "on_session"
                            ],
                            "type": "string"
                          },
                          "statement_descriptor_suffix_kana": {
                            "description": "Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters.",
                            "maxLength": 22,
                            "type": "string"
                          },
                          "statement_descriptor_suffix_kanji": {
                            "description": "Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.",
                            "maxLength": 17,
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "installments",
                          "request_decremental_authorization",
                          "request_extended_authorization",
                          "request_incremental_authorization",
                          "request_multicapture",
                          "request_overcapture",
                          "request_three_d_secure",
                          "restrictions",
                          "setup_future_usage",
                          "statement_descriptor_suffix_kana",
                          "statement_descriptor_suffix_kanji"
                        ]
                      },
                      "cashapp": {
                        "description": "contains details about the Cashapp Pay payment method options.",
                        "properties": {
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none",
                              "off_session",
                              "on_session"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "setup_future_usage"
                        ]
                      },
                      "customer_balance": {
                        "description": "contains details about the Customer Balance payment method options.",
                        "properties": {
                          "bank_transfer": {
                            "description": "Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.",
                            "properties": {
                              "eu_bank_transfer": {
                                "description": "Configuration for eu_bank_transfer funding type.",
                                "properties": {
                                  "country": {
                                    "description": "The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "country"
                                ],
                                "title": "eu_bank_transfer_params",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "country"
                                ]
                              },
                              "requested_address_types": {
                                "description": "List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.\n\nPermitted values include: `sort_code`, `zengin`, `iban`, or `spei`.",
                                "items": {
                                  "enum": [
                                    "aba",
                                    "iban",
                                    "sepa",
                                    "sort_code",
                                    "spei",
                                    "swift",
                                    "zengin"
                                  ],
                                  "type": "string",
                                  "x-stripeBypassValidation": true
                                },
                                "type": "array"
                              },
                              "type": {
                                "description": "The list of bank transfer types that this PaymentIntent is allowed to use for funding.",
                                "enum": [
                                  "eu_bank_transfer",
                                  "gb_bank_transfer",
                                  "jp_bank_transfer",
                                  "mx_bank_transfer",
                                  "us_bank_transfer"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "title": "bank_transfer_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "eu_bank_transfer",
                              "id_bank_transfer",
                              "requested_address_types",
                              "type"
                            ]
                          },
                          "funding_type": {
                            "description": "The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.",
                            "enum": [
                              "bank_transfer"
                            ],
                            "type": "string"
                          },
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "bank_transfer",
                          "funding_type",
                          "setup_future_usage"
                        ]
                      },
                      "eps": {
                        "description": "contains details about the EPS payment method options.",
                        "properties": {
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "setup_future_usage"
                        ]
                      },
                      "fpx": {
                        "description": "contains details about the FPX payment method options.",
                        "properties": {
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "setup_future_usage"
                        ]
                      },
                      "giropay": {
                        "description": "contains details about the Giropay payment method options.",
                        "properties": {
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "setup_future_usage"
                        ]
                      },
                      "grabpay": {
                        "description": "contains details about the Grabpay payment method options.",
                        "properties": {
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "setup_future_usage"
                        ]
                      },
                      "ideal": {
                        "description": "contains details about the Ideal payment method options.",
                        "properties": {
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "setup_future_usage"
                        ]
                      },
                      "kakao_pay": {
                        "description": "contains details about the Kakao Pay payment method options.",
                        "properties": {
                          "capture_method": {
                            "description": "Controls when the funds will be captured from the customer's account.",
                            "enum": [
                              "manual"
                            ],
                            "type": "string"
                          },
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none",
                              "off_session"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "capture_method",
                          "setup_future_usage"
                        ]
                      },
                      "klarna": {
                        "description": "contains details about the Klarna payment method options.",
                        "properties": {
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "interoperability_token",
                          "setup_future_usage"
                        ]
                      },
                      "konbini": {
                        "description": "contains details about the Konbini payment method options.",
                        "properties": {
                          "expires_after_days": {
                            "description": "The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. Defaults to 3 days.",
                            "type": "integer"
                          },
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "expires_after_days",
                          "setup_future_usage"
                        ]
                      },
                      "kr_card": {
                        "description": "contains details about the Korean card payment method options.",
                        "properties": {
                          "capture_method": {
                            "description": "Controls when the funds will be captured from the customer's account.",
                            "enum": [
                              "manual"
                            ],
                            "type": "string"
                          },
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none",
                              "off_session"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "capture_method",
                          "setup_future_usage"
                        ]
                      },
                      "link": {
                        "description": "contains details about the Link payment method options.",
                        "properties": {
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none",
                              "off_session"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "setup_future_usage"
                        ]
                      },
                      "mobilepay": {
                        "description": "contains details about the Mobilepay payment method options.",
                        "properties": {
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "setup_future_usage"
                        ]
                      },
                      "multibanco": {
                        "description": "contains details about the Multibanco payment method options.",
                        "properties": {
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "setup_future_usage"
                        ]
                      },
                      "naver_pay": {
                        "description": "contains details about the Naver Pay payment method options.",
                        "properties": {
                          "capture_method": {
                            "description": "Controls when the funds will be captured from the customer's account.",
                            "enum": [
                              "manual"
                            ],
                            "type": "string"
                          },
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none",
                              "off_session"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "capture_method",
                          "setup_future_usage"
                        ]
                      },
                      "oxxo": {
                        "description": "contains details about the OXXO payment method options.",
                        "properties": {
                          "expires_after_days": {
                            "description": "The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.",
                            "type": "integer"
                          },
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "expires_after_days",
                          "setup_future_usage"
                        ]
                      },
                      "p24": {
                        "description": "contains details about the P24 payment method options.",
                        "properties": {
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none"
                            ],
                            "type": "string"
                          },
                          "tos_shown_and_accepted": {
                            "description": "Confirm that the payer has accepted the P24 terms and conditions.",
                            "type": "boolean"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "setup_future_usage",
                          "tos_shown_and_accepted"
                        ]
                      },
                      "payco": {
                        "description": "contains details about the PAYCO payment method options.",
                        "properties": {
                          "capture_method": {
                            "description": "Controls when the funds will be captured from the customer's account.",
                            "enum": [
                              "manual"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "capture_method"
                        ]
                      },
                      "paynow": {
                        "description": "contains details about the PayNow payment method options.",
                        "properties": {
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "setup_future_usage"
                        ]
                      },
                      "paypal": {
                        "description": "contains details about the PayPal payment method options.",
                        "properties": {
                          "capture_method": {
                            "description": "Controls when the funds will be captured from the customer's account.",
                            "enum": [
                              "",
                              "manual"
                            ],
                            "type": "string"
                          },
                          "preferred_locale": {
                            "description": "[Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.",
                            "enum": [
                              "cs-CZ",
                              "da-DK",
                              "de-AT",
                              "de-DE",
                              "de-LU",
                              "el-GR",
                              "en-GB",
                              "en-US",
                              "es-ES",
                              "fi-FI",
                              "fr-BE",
                              "fr-FR",
                              "fr-LU",
                              "hu-HU",
                              "it-IT",
                              "nl-BE",
                              "nl-NL",
                              "pl-PL",
                              "pt-PT",
                              "sk-SK",
                              "sv-SE"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          },
                          "reference": {
                            "description": "A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.",
                            "maxLength": 127,
                            "type": "string"
                          },
                          "risk_correlation_id": {
                            "description": "The risk correlation ID for an on-session payment using a saved PayPal payment method.",
                            "maxLength": 32,
                            "type": "string"
                          },
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                            "enum": [
                              "",
                              "none",
                              "off_session"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "capture_method",
                          "preferred_locale",
                          "reference",
                          "reference_id",
                          "risk_correlation_id",
                          "setup_future_usage",
                          "subsellers"
                        ]
                      },
                      "pix": {
                        "description": "contains details about the Pix payment method options.",
                        "properties": {
                          "expires_after_seconds": {
                            "description": "The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.",
                            "type": "integer"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "expires_after_seconds"
                        ]
                      },
                      "revolut_pay": {
                        "description": "contains details about the RevolutPay payment method options.",
                        "properties": {
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none",
                              "off_session"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "setup_future_usage"
                        ]
                      },
                      "samsung_pay": {
                        "description": "contains details about the Samsung Pay payment method options.",
                        "properties": {
                          "capture_method": {
                            "description": "Controls when the funds will be captured from the customer's account.",
                            "enum": [
                              "manual"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "capture_method"
                        ]
                      },
                      "sepa_debit": {
                        "description": "contains details about the Sepa Debit payment method options.",
                        "properties": {
                          "mandate_options": {
                            "description": "Additional fields for Mandate creation",
                            "properties": {},
                            "title": "payment_method_options_mandate_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "reference",
                              "reference_prefix"
                            ]
                          },
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none",
                              "off_session",
                              "on_session"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "mandate_options",
                          "setup_future_usage",
                          "target_date",
                          "verification_method"
                        ]
                      },
                      "sofort": {
                        "description": "contains details about the Sofort payment method options.",
                        "properties": {
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "setup_future_usage"
                        ]
                      },
                      "swish": {
                        "description": "contains details about the Swish payment method options.",
                        "properties": {
                          "reference": {
                            "description": "The order reference that will be displayed to customers in the Swish application. Defaults to the `id` of the Payment Intent.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "authorization_method",
                          "reference"
                        ]
                      },
                      "us_bank_account": {
                        "description": "contains details about the Us Bank Account payment method options.",
                        "properties": {
                          "financial_connections": {
                            "description": "Additional fields for Financial Connections Session creation",
                            "properties": {
                              "permissions": {
                                "description": "The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.",
                                "items": {
                                  "enum": [
                                    "balances",
                                    "ownership",
                                    "payment_method",
                                    "transactions"
                                  ],
                                  "maxLength": 5000,
                                  "type": "string",
                                  "x-stripeBypassValidation": true
                                },
                                "type": "array"
                              },
                              "prefetch": {
                                "description": "List of data features that you would like to retrieve upon account creation.",
                                "items": {
                                  "enum": [
                                    "balances",
                                    "ownership",
                                    "transactions"
                                  ],
                                  "type": "string",
                                  "x-stripeBypassValidation": true
                                },
                                "type": "array"
                              }
                            },
                            "title": "linked_account_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "permissions",
                              "prefetch"
                            ]
                          },
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none",
                              "off_session",
                              "on_session"
                            ],
                            "type": "string"
                          },
                          "verification_method": {
                            "description": "Verification method for the intent",
                            "enum": [
                              "automatic",
                              "instant"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "financial_connections",
                          "setup_future_usage",
                          "verification_method"
                        ]
                      },
                      "wechat_pay": {
                        "description": "contains details about the WeChat Pay payment method options.",
                        "properties": {
                          "app_id": {
                            "description": "The app ID registered with WeChat Pay. Only required when client is ios or android.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "client": {
                            "description": "The client type that the end customer will pay from",
                            "enum": [
                              "android",
                              "ios",
                              "web"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          },
                          "setup_future_usage": {
                            "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                            "enum": [
                              "none"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "client"
                        ],
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "app_id",
                          "client",
                          "setup_future_usage"
                        ]
                      }
                    },
                    "title": "payment_method_options_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "acss_debit",
                      "affirm",
                      "afterpay_clearpay",
                      "alipay",
                      "amazon_pay",
                      "au_becs_debit",
                      "bacs_debit",
                      "bancontact",
                      "boleto",
                      "card",
                      "cashapp",
                      "customer_balance",
                      "demo_pay",
                      "eps",
                      "fpx",
                      "giropay",
                      "grabpay",
                      "id_bank_transfer",
                      "ideal",
                      "kakao_pay",
                      "klarna",
                      "konbini",
                      "kr_card",
                      "kr_market",
                      "link",
                      "mobilepay",
                      "multibanco",
                      "naver_pay",
                      "ng_bank",
                      "ng_bank_transfer",
                      "ng_card",
                      "ng_market",
                      "ng_ussd",
                      "oxxo",
                      "p24",
                      "pay_by_bank",
                      "payco",
                      "paynow",
                      "paypal",
                      "payto",
                      "pix",
                      "revolut_pay",
                      "samsung_pay",
                      "sepa_debit",
                      "sofort",
                      "swish",
                      "upi",
                      "us_bank_account",
                      "wechat_pay"
                    ]
                  },
                  "payment_method_types": {
                    "description": "A list of the types of payment methods (e.g., `card`) this Checkout Session can accept.\n\nYou can omit this attribute to manage your payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).\nSee [Dynamic Payment Methods](https://stripe.com/docs/payments/payment-methods/integration-options#using-dynamic-payment-methods) for more details.\n\nRead more about the supported payment methods and their requirements in our [payment\nmethod details guide](/docs/payments/checkout/payment-methods).\n\nIf multiple payment methods are passed, Checkout will dynamically reorder them to\nprioritize the most relevant payment methods based on the customer's location and\nother characteristics.",
                    "items": {
                      "enum": [
                        "acss_debit",
                        "affirm",
                        "afterpay_clearpay",
                        "alipay",
                        "alma",
                        "amazon_pay",
                        "au_becs_debit",
                        "bacs_debit",
                        "bancontact",
                        "blik",
                        "boleto",
                        "card",
                        "cashapp",
                        "customer_balance",
                        "eps",
                        "fpx",
                        "giropay",
                        "grabpay",
                        "ideal",
                        "kakao_pay",
                        "klarna",
                        "konbini",
                        "kr_card",
                        "link",
                        "mobilepay",
                        "multibanco",
                        "naver_pay",
                        "oxxo",
                        "p24",
                        "payco",
                        "paynow",
                        "paypal",
                        "pix",
                        "promptpay",
                        "revolut_pay",
                        "samsung_pay",
                        "sepa_debit",
                        "sofort",
                        "swish",
                        "twint",
                        "us_bank_account",
                        "wechat_pay",
                        "zip"
                      ],
                      "type": "string",
                      "x-stripeBypassValidation": true
                    },
                    "type": "array"
                  },
                  "phone_number_collection": {
                    "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).",
                    "properties": {
                      "enabled": {
                        "description": "Set to `true` to enable phone number collection.",
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "enabled"
                    ],
                    "title": "phone_number_collection_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "enabled"
                    ]
                  },
                  "redirect_on_completion": {
                    "description": "This parameter applies to `ui_mode: embedded`. Learn more about the [redirect behavior](https://stripe.com/docs/payments/checkout/custom-success-page?payment-ui=embedded-form) of embedded sessions. Defaults to `always`.",
                    "enum": [
                      "always",
                      "if_required",
                      "never"
                    ],
                    "type": "string"
                  },
                  "return_url": {
                    "description": "The URL to redirect your customer back to after they authenticate or cancel their payment on the\npayment method's app or site. This parameter is required if ui_mode is `embedded`\nand redirect-based payment methods are enabled on the session.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "saved_payment_method_options": {
                    "description": "Controls saved payment method settings for the session. Only available in `payment` and `subscription` mode.",
                    "properties": {
                      "allow_redisplay_filters": {
                        "description": "Uses the `allow_redisplay` value of each saved payment method to filter the set presented to a returning customer. By default, only saved payment methods with ’allow_redisplay: ‘always’ are shown in Checkout.",
                        "items": {
                          "enum": [
                            "always",
                            "limited",
                            "unspecified"
                          ],
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "payment_method_save": {
                        "description": "Enable customers to choose if they wish to save their payment method for future use. Disabled by default.",
                        "enum": [
                          "disabled",
                          "enabled"
                        ],
                        "type": "string"
                      }
                    },
                    "title": "saved_payment_method_options_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "allow_redisplay_filters",
                      "payment_method_remove",
                      "payment_method_save"
                    ]
                  },
                  "setup_intent_data": {
                    "description": "A subset of parameters to be passed to SetupIntent creation for Checkout Sessions in `setup` mode.",
                    "properties": {
                      "description": {
                        "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
                        "maxLength": 1000,
                        "type": "string"
                      },
                      "metadata": {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                        "type": "object"
                      },
                      "on_behalf_of": {
                        "description": "The Stripe account for which the setup is intended.",
                        "type": "string"
                      }
                    },
                    "title": "setup_intent_data_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "description",
                      "metadata",
                      "on_behalf_of"
                    ]
                  },
                  "shipping_address_collection": {
                    "description": "When set, provides configuration for Checkout to collect a shipping address from a customer.",
                    "properties": {
                      "allowed_countries": {
                        "description": "An array of two-letter ISO country codes representing which countries Checkout should provide as options for\nshipping locations.",
                        "items": {
                          "enum": [
                            "AC",
                            "AD",
                            "AE",
                            "AF",
                            "AG",
                            "AI",
                            "AL",
                            "AM",
                            "AO",
                            "AQ",
                            "AR",
                            "AT",
                            "AU",
                            "AW",
                            "AX",
                            "AZ",
                            "BA",
                            "BB",
                            "BD",
                            "BE",
                            "BF",
                            "BG",
                            "BH",
                            "BI",
                            "BJ",
                            "BL",
                            "BM",
                            "BN",
                            "BO",
                            "BQ",
                            "BR",
                            "BS",
                            "BT",
                            "BV",
                            "BW",
                            "BY",
                            "BZ",
                            "CA",
                            "CD",
                            "CF",
                            "CG",
                            "CH",
                            "CI",
                            "CK",
                            "CL",
                            "CM",
                            "CN",
                            "CO",
                            "CR",
                            "CV",
                            "CW",
                            "CY",
                            "CZ",
                            "DE",
                            "DJ",
                            "DK",
                            "DM",
                            "DO",
                            "DZ",
                            "EC",
                            "EE",
                            "EG",
                            "EH",
                            "ER",
                            "ES",
                            "ET",
                            "FI",
                            "FJ",
                            "FK",
                            "FO",
                            "FR",
                            "GA",
                            "GB",
                            "GD",
                            "GE",
                            "GF",
                            "GG",
                            "GH",
                            "GI",
                            "GL",
                            "GM",
                            "GN",
                            "GP",
                            "GQ",
                            "GR",
                            "GS",
                            "GT",
                            "GU",
                            "GW",
                            "GY",
                            "HK",
                            "HN",
                            "HR",
                            "HT",
                            "HU",
                            "ID",
                            "IE",
                            "IL",
                            "IM",
                            "IN",
                            "IO",
                            "IQ",
                            "IS",
                            "IT",
                            "JE",
                            "JM",
                            "JO",
                            "JP",
                            "KE",
                            "KG",
                            "KH",
                            "KI",
                            "KM",
                            "KN",
                            "KR",
                            "KW",
                            "KY",
                            "KZ",
                            "LA",
                            "LB",
                            "LC",
                            "LI",
                            "LK",
                            "LR",
                            "LS",
                            "LT",
                            "LU",
                            "LV",
                            "LY",
                            "MA",
                            "MC",
                            "MD",
                            "ME",
                            "MF",
                            "MG",
                            "MK",
                            "ML",
                            "MM",
                            "MN",
                            "MO",
                            "MQ",
                            "MR",
                            "MS",
                            "MT",
                            "MU",
                            "MV",
                            "MW",
                            "MX",
                            "MY",
                            "MZ",
                            "NA",
                            "NC",
                            "NE",
                            "NG",
                            "NI",
                            "NL",
                            "NO",
                            "NP",
                            "NR",
                            "NU",
                            "NZ",
                            "OM",
                            "PA",
                            "PE",
                            "PF",
                            "PG",
                            "PH",
                            "PK",
                            "PL",
                            "PM",
                            "PN",
                            "PR",
                            "PS",
                            "PT",
                            "PY",
                            "QA",
                            "RE",
                            "RO",
                            "RS",
                            "RU",
                            "RW",
                            "SA",
                            "SB",
                            "SC",
                            "SE",
                            "SG",
                            "SH",
                            "SI",
                            "SJ",
                            "SK",
                            "SL",
                            "SM",
                            "SN",
                            "SO",
                            "SR",
                            "SS",
                            "ST",
                            "SV",
                            "SX",
                            "SZ",
                            "TA",
                            "TC",
                            "TD",
                            "TF",
                            "TG",
                            "TH",
                            "TJ",
                            "TK",
                            "TL",
                            "TM",
                            "TN",
                            "TO",
                            "TR",
                            "TT",
                            "TV",
                            "TW",
                            "TZ",
                            "UA",
                            "UG",
                            "US",
                            "UY",
                            "UZ",
                            "VA",
                            "VC",
                            "VE",
                            "VG",
                            "VN",
                            "VU",
                            "WF",
                            "WS",
                            "XK",
                            "YE",
                            "YT",
                            "ZA",
                            "ZM",
                            "ZW",
                            "ZZ"
                          ],
                          "type": "string"
                        },
                        "type": "array"
                      }
                    },
                    "required": [
                      "allowed_countries"
                    ],
                    "title": "shipping_address_collection_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "allowed_countries"
                    ]
                  },
                  "shipping_options": {
                    "description": "The shipping rate options to apply to this Session. Up to a maximum of 5.",
                    "items": {
                      "properties": {
                        "shipping_rate": {
                          "description": "The ID of the Shipping Rate to use for this shipping option.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "shipping_rate_data": {
                          "description": "Parameters to be passed to Shipping Rate creation for this shipping option.",
                          "properties": {
                            "delivery_estimate": {
                              "description": "The estimated range for how long shipping will take, meant to be displayable to the customer. This will appear on CheckoutSessions.",
                              "properties": {
                                "maximum": {
                                  "description": "The upper bound of the estimated range. If empty, represents no upper bound i.e., infinite.",
                                  "properties": {
                                    "unit": {
                                      "description": "A unit of time.",
                                      "enum": [
                                        "business_day",
                                        "day",
                                        "hour",
                                        "month",
                                        "week"
                                      ],
                                      "type": "string"
                                    },
                                    "value": {
                                      "description": "Must be greater than 0.",
                                      "type": "integer"
                                    }
                                  },
                                  "required": [
                                    "unit",
                                    "value"
                                  ],
                                  "title": "delivery_estimate_bound",
                                  "type": "object",
                                  "x-stripeMostCommon": [
                                    "unit",
                                    "value"
                                  ]
                                },
                                "minimum": {
                                  "description": "The lower bound of the estimated range. If empty, represents no lower bound.",
                                  "properties": {
                                    "unit": {
                                      "description": "A unit of time.",
                                      "enum": [
                                        "business_day",
                                        "day",
                                        "hour",
                                        "month",
                                        "week"
                                      ],
                                      "type": "string"
                                    },
                                    "value": {
                                      "description": "Must be greater than 0.",
                                      "type": "integer"
                                    }
                                  },
                                  "required": [
                                    "unit",
                                    "value"
                                  ],
                                  "title": "delivery_estimate_bound",
                                  "type": "object",
                                  "x-stripeMostCommon": [
                                    "unit",
                                    "value"
                                  ]
                                }
                              },
                              "title": "delivery_estimate",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "maximum",
                                "minimum"
                              ]
                            },
                            "display_name": {
                              "description": "The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions.",
                              "maxLength": 100,
                              "type": "string"
                            },
                            "fixed_amount": {
                              "description": "Describes a fixed amount to charge for shipping. Must be present if type is `fixed_amount`.",
                              "properties": {
                                "amount": {
                                  "description": "A non-negative integer in cents representing how much to charge.",
                                  "type": "integer"
                                },
                                "currency": {
                                  "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                                  "type": "string"
                                },
                                "currency_options": {
                                  "additionalProperties": {
                                    "properties": {
                                      "amount": {
                                        "description": "A non-negative integer in cents representing how much to charge.",
                                        "type": "integer"
                                      },
                                      "tax_behavior": {
                                        "description": "Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.",
                                        "enum": [
                                          "exclusive",
                                          "inclusive",
                                          "unspecified"
                                        ],
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "amount"
                                    ],
                                    "title": "currency_option",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "amount",
                                      "tax_behavior"
                                    ]
                                  },
                                  "description": "Shipping rates defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).",
                                  "type": "object"
                                }
                              },
                              "required": [
                                "amount",
                                "currency"
                              ],
                              "title": "fixed_amount",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "amount",
                                "currency",
                                "currency_options"
                              ]
                            },
                            "metadata": {
                              "additionalProperties": {
                                "type": "string"
                              },
                              "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                              "type": "object"
                            },
                            "tax_behavior": {
                              "description": "Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.",
                              "enum": [
                                "exclusive",
                                "inclusive",
                                "unspecified"
                              ],
                              "type": "string"
                            },
                            "tax_code": {
                              "description": "A [tax code](https://stripe.com/docs/tax/tax-categories) ID. The Shipping tax code is `txcd_92010001`.",
                              "type": "string"
                            },
                            "type": {
                              "description": "The type of calculation to use on the shipping rate.",
                              "enum": [
                                "fixed_amount"
                              ],
                              "type": "string"
                            }
                          },
                          "required": [
                            "display_name"
                          ],
                          "title": "method_params",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "display_name",
                            "fixed_amount",
                            "metadata",
                            "tax_behavior",
                            "tax_code",
                            "type"
                          ]
                        }
                      },
                      "title": "shipping_option_params",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "shipping_rate",
                        "shipping_rate_data"
                      ]
                    },
                    "type": "array"
                  },
                  "submit_type": {
                    "description": "Describes the type of transaction being performed by Checkout in order to customize\nrelevant text on the page, such as the submit button. `submit_type` can only be\nspecified on Checkout Sessions in `payment` mode. If blank or `auto`, `pay` is used.",
                    "enum": [
                      "auto",
                      "book",
                      "donate",
                      "pay",
                      "subscribe"
                    ],
                    "type": "string"
                  },
                  "subscription_data": {
                    "description": "A subset of parameters to be passed to subscription creation for Checkout Sessions in `subscription` mode.",
                    "properties": {
                      "application_fee_percent": {
                        "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. To use an application fee percent, the request must be made on behalf of another account, using the `Stripe-Account` header or an OAuth key. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions).",
                        "type": "number"
                      },
                      "billing_cycle_anchor": {
                        "description": "A future timestamp to anchor the subscription's billing cycle for new subscriptions.",
                        "format": "unix-time",
                        "type": "integer"
                      },
                      "default_tax_rates": {
                        "description": "The tax rates that will apply to any subscription item that does not have\n`tax_rates` set. Invoices created will have their `default_tax_rates` populated\nfrom the subscription.",
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "description": {
                        "description": "The subscription's description, meant to be displayable to the customer.\nUse this field to optionally store an explanation of the subscription\nfor rendering in the [customer portal](https://stripe.com/docs/customer-management).",
                        "maxLength": 500,
                        "type": "string"
                      },
                      "invoice_settings": {
                        "description": "All invoices will be billed using the specified settings.",
                        "properties": {
                          "issuer": {
                            "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.",
                            "properties": {
                              "account": {
                                "description": "The connected account being referenced when `type` is `account`.",
                                "type": "string"
                              },
                              "type": {
                                "description": "Type of the account referenced in the request.",
                                "enum": [
                                  "account",
                                  "self"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "title": "param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "account",
                              "type"
                            ]
                          }
                        },
                        "title": "invoice_settings_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "issuer"
                        ]
                      },
                      "metadata": {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                        "type": "object"
                      },
                      "on_behalf_of": {
                        "description": "The account on behalf of which to charge, for each of the subscription's invoices.",
                        "type": "string"
                      },
                      "proration_behavior": {
                        "description": "Determines how to handle prorations resulting from the `billing_cycle_anchor`. If no value is passed, the default is `create_prorations`.",
                        "enum": [
                          "create_prorations",
                          "none"
                        ],
                        "type": "string"
                      },
                      "transfer_data": {
                        "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.",
                        "properties": {
                          "amount_percent": {
                            "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.",
                            "type": "number"
                          },
                          "destination": {
                            "description": "ID of an existing, connected Stripe account.",
                            "type": "string"
                          }
                        },
                        "required": [
                          "destination"
                        ],
                        "title": "transfer_data_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "amount_percent",
                          "destination"
                        ]
                      },
                      "trial_end": {
                        "description": "Unix timestamp representing the end of the trial period the customer\nwill get before being charged for the first time. Has to be at least\n48 hours in the future.",
                        "format": "unix-time",
                        "type": "integer"
                      },
                      "trial_period_days": {
                        "description": "Integer representing the number of trial period days before the\ncustomer is charged for the first time. Has to be at least 1.",
                        "type": "integer"
                      },
                      "trial_settings": {
                        "description": "Settings related to subscription trials.",
                        "properties": {
                          "end_behavior": {
                            "description": "Defines how the subscription should behave when the user's free trial ends.",
                            "properties": {
                              "missing_payment_method": {
                                "description": "Indicates how the subscription should change when the trial ends if the user did not provide a payment method.",
                                "enum": [
                                  "cancel",
                                  "create_invoice",
                                  "pause"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "missing_payment_method"
                            ],
                            "title": "end_behavior",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "missing_payment_method"
                            ]
                          }
                        },
                        "required": [
                          "end_behavior"
                        ],
                        "title": "trial_settings_config",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "end_behavior"
                        ]
                      }
                    },
                    "title": "subscription_data_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "application_fee_percent",
                      "billing_cycle_anchor",
                      "default_tax_rates",
                      "description",
                      "invoice_settings",
                      "metadata",
                      "on_behalf_of",
                      "proration_behavior",
                      "tax_filing_currency",
                      "transfer_data",
                      "trial_end",
                      "trial_period_days"
                    ]
                  },
                  "success_url": {
                    "description": "The URL to which Stripe should send customers when payment or setup\nis complete.\nThis parameter is not allowed if ui_mode is `embedded`. If you’d like to use\ninformation from the successful Checkout Session on your page, read the\nguide on [customizing your success page](https://stripe.com/docs/payments/checkout/custom-success-page).",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "tax_id_collection": {
                    "description": "Controls tax ID collection during checkout.",
                    "properties": {
                      "enabled": {
                        "description": "Enable tax ID collection during checkout. Defaults to `false`.",
                        "type": "boolean"
                      },
                      "required": {
                        "description": "Describes whether a tax ID is required during checkout. Defaults to `never`.",
                        "enum": [
                          "if_supported",
                          "never"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "enabled"
                    ],
                    "title": "tax_id_collection_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "enabled",
                      "required"
                    ]
                  },
                  "ui_mode": {
                    "description": "The UI mode of the Session. Defaults to `hosted`.",
                    "enum": [
                      "embedded",
                      "hosted"
                    ],
                    "type": "string",
                    "x-stripeBypassValidation": true
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "automatic_tax",
                  "client_reference_id",
                  "customer",
                  "customer_email",
                  "line_items",
                  "metadata",
                  "mode",
                  "return_url",
                  "success_url"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/checkout.session"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a Session"
      }
    },
    "/v1/checkout/sessions/{session}": {
      "get": {
        "description": "<p>Retrieves a Session object.</p>",
        "operationId": "GetCheckoutSessionsSession",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "session",
            "required": true,
            "schema": {
              "maxLength": 66,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/checkout.session"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a Session"
      },
      "post": {
        "description": "<p>Updates a Session object.</p>",
        "operationId": "PostCheckoutSessionsSession",
        "parameters": [
          {
            "in": "path",
            "name": "session",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/checkout.session"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a Session"
      }
    },
    "/v1/checkout/sessions/{session}/expire": {
      "post": {
        "description": "<p>A Session can be expired when it is in one of these statuses: <code>open</code> </p>\n\n<p>After it expires, a customer can’t complete a Session and customers loading the Session see a message saying the Session is expired.</p>",
        "operationId": "PostCheckoutSessionsSessionExpire",
        "parameters": [
          {
            "in": "path",
            "name": "session",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/checkout.session"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Expire a Session"
      }
    },
    "/v1/checkout/sessions/{session}/line_items": {
      "get": {
        "description": "<p>When retrieving a Checkout Session, there is an includable <strong>line_items</strong> property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.</p>",
        "operationId": "GetCheckoutSessionsSessionLineItems",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "in": "path",
            "name": "session",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/item"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "PaymentPagesCheckoutSessionListLineItems",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a Checkout Session's line items"
      }
    },
    "/v1/climate/orders": {
      "get": {
        "description": "<p>Lists all Climate order objects. The orders are returned sorted by creation date, with the\nmost recently created orders appearing first.</p>",
        "operationId": "GetClimateOrders",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/climate.order"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/climate/orders",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "ClimateRemovalsOrdersList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List orders"
      },
      "post": {
        "description": "<p>Creates a Climate order object for a given Climate product. The order will be processed immediately\nafter creation and payment will be deducted your Stripe balance.</p>",
        "operationId": "PostClimateOrders",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "beneficiary": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "Requested amount of carbon removal units. Either this or `metric_tons` must be specified.",
                    "type": "integer"
                  },
                  "beneficiary": {
                    "description": "Publicly sharable reference for the end beneficiary of carbon removal. Assumed to be the Stripe account if not set.",
                    "properties": {
                      "public_name": {
                        "description": "Publicly displayable name for the end beneficiary of carbon removal.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "required": [
                      "public_name"
                    ],
                    "title": "beneficiary_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "public_name"
                    ]
                  },
                  "currency": {
                    "description": "Request currency for the order as a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a supported [settlement currency for your account](https://stripe.com/docs/currencies). If omitted, the account's default currency will be used.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "metric_tons": {
                    "description": "Requested number of tons for the order. Either this or `amount` must be specified.",
                    "format": "decimal",
                    "type": "string"
                  },
                  "product": {
                    "description": "Unique identifier of the Climate product.",
                    "maxLength": 5000,
                    "type": "string"
                  }
                },
                "required": [
                  "product"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "beneficiary",
                  "currency",
                  "metadata",
                  "metric_tons",
                  "product"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/climate.order"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create an order"
      }
    },
    "/v1/climate/orders/{order}": {
      "get": {
        "description": "<p>Retrieves the details of a Climate order object with the given ID.</p>",
        "operationId": "GetClimateOrdersOrder",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "Unique identifier of the order.",
            "in": "path",
            "name": "order",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/climate.order"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve an order"
      },
      "post": {
        "description": "<p>Updates the specified order by setting the values of the parameters passed.</p>",
        "operationId": "PostClimateOrdersOrder",
        "parameters": [
          {
            "description": "Unique identifier of the order.",
            "in": "path",
            "name": "order",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "beneficiary": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "beneficiary": {
                    "anyOf": [
                      {
                        "properties": {
                          "public_name": {
                            "anyOf": [
                              {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Publicly displayable name for the end beneficiary of carbon removal."
                          }
                        },
                        "required": [
                          "public_name"
                        ],
                        "title": "beneficiary_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "public_name"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Publicly sharable reference for the end beneficiary of carbon removal. Assumed to be the Stripe account if not set."
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "beneficiary",
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/climate.order"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update an order"
      }
    },
    "/v1/climate/orders/{order}/cancel": {
      "post": {
        "description": "<p>Cancels a Climate order. You can cancel an order within 24 hours of creation. Stripe refunds the\nreservation <code>amount_subtotal</code>, but not the <code>amount_fees</code> for user-triggered cancellations. Frontier\nmight cancel reservations if suppliers fail to deliver. If Frontier cancels the reservation, Stripe\nprovides 90 days advance notice and refunds the <code>amount_total</code>.</p>",
        "operationId": "PostClimateOrdersOrderCancel",
        "parameters": [
          {
            "description": "Unique identifier of the order.",
            "in": "path",
            "name": "order",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/climate.order"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Cancel an order"
      }
    },
    "/v1/climate/products": {
      "get": {
        "description": "<p>Lists all available Climate product objects.</p>",
        "operationId": "GetClimateProducts",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/climate.product"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/climate/products",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "ClimateRemovalsProductsList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List products"
      }
    },
    "/v1/climate/products/{product}": {
      "get": {
        "description": "<p>Retrieves the details of a Climate product with the given ID.</p>",
        "operationId": "GetClimateProductsProduct",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "product",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/climate.product"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a product"
      }
    },
    "/v1/climate/suppliers": {
      "get": {
        "description": "<p>Lists all available Climate supplier objects.</p>",
        "operationId": "GetClimateSuppliers",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/climate.supplier"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/climate/suppliers",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "ClimateRemovalsSuppliersList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List suppliers"
      }
    },
    "/v1/climate/suppliers/{supplier}": {
      "get": {
        "description": "<p>Retrieves a Climate supplier object.</p>",
        "operationId": "GetClimateSuppliersSupplier",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "supplier",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/climate.supplier"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a supplier"
      }
    },
    "/v1/confirmation_tokens/{confirmation_token}": {
      "get": {
        "description": "<p>Retrieves an existing ConfirmationToken object</p>",
        "operationId": "GetConfirmationTokensConfirmationToken",
        "parameters": [
          {
            "in": "path",
            "name": "confirmation_token",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/confirmation_token"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a ConfirmationToken"
      }
    },
    "/v1/country_specs": {
      "get": {
        "description": "<p>Lists all Country Spec objects available in the API.</p>",
        "operationId": "GetCountrySpecs",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/country_spec"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/country_specs",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "CountrySpecList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List Country Specs"
      }
    },
    "/v1/country_specs/{country}": {
      "get": {
        "description": "<p>Returns a Country Spec for a given Country code.</p>",
        "operationId": "GetCountrySpecsCountry",
        "parameters": [
          {
            "in": "path",
            "name": "country",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/country_spec"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a Country Spec"
      }
    },
    "/v1/coupons": {
      "get": {
        "description": "<p>Returns a list of your coupons.</p>",
        "operationId": "GetCoupons",
        "parameters": [
          {
            "description": "A filter on the list, based on the object `created` field. The value can be a string with an integer Unix timestamp, or it can be a dictionary with a number of different query options.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/coupon"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/coupons",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "CouponsResourceCouponList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all coupons"
      },
      "post": {
        "description": "<p>You can create coupons easily via the <a href=\"https://dashboard.stripe.com/coupons\">coupon management</a> page of the Stripe dashboard. Coupon creation is also accessible via the API if you need to create coupons on the fly.</p>\n\n<p>A coupon has either a <code>percent_off</code> or an <code>amount_off</code> and <code>currency</code>. If you set an <code>amount_off</code>, that amount will be subtracted from any invoice’s subtotal. For example, an invoice with a subtotal of <currency>100</currency> will have a final total of <currency>0</currency> if a coupon with an <code>amount_off</code> of <amount>200</amount> is applied to it and an invoice with a subtotal of <currency>300</currency> will have a final total of <currency>100</currency> if a coupon with an <code>amount_off</code> of <amount>200</amount> is applied to it.</p>",
        "operationId": "PostCoupons",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "applies_to": {
                  "explode": true,
                  "style": "deepObject"
                },
                "currency_options": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount_off": {
                    "description": "A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed).",
                    "type": "integer"
                  },
                  "applies_to": {
                    "description": "A hash containing directions for what this Coupon will apply discounts to.",
                    "properties": {
                      "products": {
                        "description": "An array of Product IDs that this Coupon will apply to.",
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      }
                    },
                    "title": "applies_to_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "product_classes",
                      "products"
                    ]
                  },
                  "currency": {
                    "description": "Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `amount_off` parameter (required if `amount_off` is passed).",
                    "type": "string"
                  },
                  "currency_options": {
                    "additionalProperties": {
                      "properties": {
                        "amount_off": {
                          "description": "A positive integer representing the amount to subtract from an invoice total.",
                          "type": "integer"
                        }
                      },
                      "required": [
                        "amount_off"
                      ],
                      "title": "currency_option",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "amount_off"
                      ]
                    },
                    "description": "Coupons defined in each available currency option (only supported if `amount_off` is passed). Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).",
                    "type": "object"
                  },
                  "duration": {
                    "description": "Specifies how long the discount will be in effect if used on a subscription. Defaults to `once`.",
                    "enum": [
                      "forever",
                      "once",
                      "repeating"
                    ],
                    "type": "string",
                    "x-stripeBypassValidation": true
                  },
                  "duration_in_months": {
                    "description": "Required only if `duration` is `repeating`, in which case it must be a positive integer that specifies the number of months the discount will be in effect.",
                    "type": "integer"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "id": {
                    "description": "Unique string of your choice that will be used to identify this coupon when applying it to a customer. If you don't want to specify a particular code, you can leave the ID blank and we'll generate a random code for you.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "max_redemptions": {
                    "description": "A positive integer specifying the number of times the coupon can be redeemed before it's no longer valid. For example, you might have a 50% off coupon that the first 20 readers of your blog can use.",
                    "type": "integer"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "name": {
                    "description": "Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set.",
                    "maxLength": 40,
                    "type": "string"
                  },
                  "percent_off": {
                    "description": "A positive float larger than 0, and smaller or equal to 100, that represents the discount the coupon will apply (required if `amount_off` is not passed).",
                    "type": "number"
                  },
                  "redeem_by": {
                    "description": "Unix timestamp specifying the last time at which the coupon can be redeemed. After the redeem_by date, the coupon can no longer be applied to new customers.",
                    "format": "unix-time",
                    "type": "integer"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "amount_off",
                  "currency",
                  "duration",
                  "duration_in_months",
                  "metadata",
                  "name",
                  "percent_off"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/coupon"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a coupon"
      }
    },
    "/v1/coupons/{coupon}": {
      "delete": {
        "description": "<p>You can delete coupons via the <a href=\"https://dashboard.stripe.com/coupons\">coupon management</a> page of the Stripe dashboard. However, deleting a coupon does not affect any customers who have already applied the coupon; it means that new customers can’t redeem the coupon. You can also delete coupons via the API.</p>",
        "operationId": "DeleteCouponsCoupon",
        "parameters": [
          {
            "in": "path",
            "name": "coupon",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/deleted_coupon"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Delete a coupon"
      },
      "get": {
        "description": "<p>Retrieves the coupon with the given ID.</p>",
        "operationId": "GetCouponsCoupon",
        "parameters": [
          {
            "in": "path",
            "name": "coupon",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/coupon"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a coupon"
      },
      "post": {
        "description": "<p>Updates the metadata of a coupon. Other coupon details (currency, duration, amount_off) are, by design, not editable.</p>",
        "operationId": "PostCouponsCoupon",
        "parameters": [
          {
            "in": "path",
            "name": "coupon",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "currency_options": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "currency_options": {
                    "additionalProperties": {
                      "properties": {
                        "amount_off": {
                          "description": "A positive integer representing the amount to subtract from an invoice total.",
                          "type": "integer"
                        }
                      },
                      "required": [
                        "amount_off"
                      ],
                      "title": "currency_option",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "amount_off"
                      ]
                    },
                    "description": "Coupons defined in each available currency option (only supported if the coupon is amount-based). Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).",
                    "type": "object"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "name": {
                    "description": "Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set.",
                    "maxLength": 40,
                    "type": "string"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "metadata",
                  "name"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/coupon"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a coupon"
      }
    },
    "/v1/credit_notes": {
      "get": {
        "description": "<p>Returns a list of credit notes.</p>",
        "operationId": "GetCreditNotes",
        "parameters": [
          {
            "description": "Only return credit notes that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "Only return credit notes for the customer specified by this customer ID.",
            "in": "query",
            "name": "customer",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "Only return credit notes for the invoice specified by this invoice ID.",
            "in": "query",
            "name": "invoice",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/credit_note"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "CreditNotesList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all credit notes"
      },
      "post": {
        "description": "<p>Issue a credit note to adjust the amount of a finalized invoice. For a <code>status=open</code> invoice, a credit note reduces\nits <code>amount_due</code>. For a <code>status=paid</code> invoice, a credit note does not affect its <code>amount_due</code>. Instead, it can result\nin any combination of the following:</p>\n\n<ul>\n<li>Refund: create a new refund (using <code>refund_amount</code>) or link an existing refund (using <code>refund</code>).</li>\n<li>Customer balance credit: credit the customer’s balance (using <code>credit_amount</code>) which will be automatically applied to their next invoice when it’s finalized.</li>\n<li>Outside of Stripe credit: record the amount that is or will be credited outside of Stripe (using <code>out_of_band_amount</code>).</li>\n</ul>\n\n<p>For post-payment credit notes the sum of the refund, credit and outside of Stripe amounts must equal the credit note total.</p>\n\n<p>You may issue multiple credit notes for an invoice. Each credit note will increment the invoice’s <code>pre_payment_credit_notes_amount</code>\nor <code>post_payment_credit_notes_amount</code> depending on its <code>status</code> at the time of credit note creation.</p>",
        "operationId": "PostCreditNotes",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "lines": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "shipping_cost": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "The integer amount in cents (or local equivalent) representing the total amount of the credit note.",
                    "type": "integer"
                  },
                  "credit_amount": {
                    "description": "The integer amount in cents (or local equivalent) representing the amount to credit the customer's balance, which will be automatically applied to their next invoice.",
                    "type": "integer"
                  },
                  "effective_at": {
                    "description": "The date when this credit note is in effect. Same as `created` unless overwritten. When defined, this value replaces the system-generated 'Date of issue' printed on the credit note PDF.",
                    "format": "unix-time",
                    "type": "integer"
                  },
                  "email_type": {
                    "description": "Type of email to send to the customer, one of `credit_note` or `none` and the default is `credit_note`.",
                    "enum": [
                      "credit_note",
                      "none"
                    ],
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "invoice": {
                    "description": "ID of the invoice.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "lines": {
                    "description": "Line items that make up the credit note.",
                    "items": {
                      "properties": {
                        "amount": {
                          "description": "The line item amount to credit. Only valid when `type` is `invoice_line_item`. If invoice is set up with `automatic_tax[enabled]=true`, this amount is tax exclusive",
                          "type": "integer"
                        },
                        "description": {
                          "description": "The description of the credit note line item. Only valid when the `type` is `custom_line_item`.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "invoice_line_item": {
                          "description": "The invoice line item to credit. Only valid when the `type` is `invoice_line_item`.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "quantity": {
                          "description": "The line item quantity to credit.",
                          "type": "integer"
                        },
                        "tax_amounts": {
                          "anyOf": [
                            {
                              "items": {
                                "properties": {
                                  "amount": {
                                    "description": "The amount, in cents (or local equivalent), of the tax.",
                                    "type": "integer"
                                  },
                                  "tax_rate": {
                                    "description": "The id of the tax rate for this tax amount. The tax rate must have been automatically created by Stripe.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "taxable_amount": {
                                    "description": "The amount on which tax is calculated, in cents (or local equivalent).",
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "amount",
                                  "tax_rate",
                                  "taxable_amount"
                                ],
                                "title": "tax_amount_with_tax_rate_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "amount",
                                  "tax_rate",
                                  "taxable_amount"
                                ]
                              },
                              "type": "array"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "A list of up to 10 tax amounts for the credit note line item. Cannot be mixed with `tax_rates`."
                        },
                        "tax_rates": {
                          "anyOf": [
                            {
                              "items": {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "type": "array"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "The tax rates which apply to the credit note line item. Only valid when the `type` is `custom_line_item` and cannot be mixed with `tax_amounts`."
                        },
                        "type": {
                          "description": "Type of the credit note line item, one of `invoice_line_item` or `custom_line_item`",
                          "enum": [
                            "custom_line_item",
                            "invoice_line_item"
                          ],
                          "type": "string"
                        },
                        "unit_amount": {
                          "description": "The integer unit amount in cents (or local equivalent) of the credit note line item. This `unit_amount` will be multiplied by the quantity to get the full amount to credit for this line item. Only valid when `type` is `custom_line_item`.",
                          "type": "integer"
                        },
                        "unit_amount_decimal": {
                          "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                          "format": "decimal",
                          "type": "string"
                        }
                      },
                      "required": [
                        "type"
                      ],
                      "title": "credit_note_line_item_params",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "amount",
                        "description",
                        "invoice_line_item",
                        "quantity",
                        "tax_amounts",
                        "tax_rates",
                        "type",
                        "unit_amount",
                        "unit_amount_decimal"
                      ]
                    },
                    "type": "array"
                  },
                  "memo": {
                    "description": "The credit note's memo appears on the credit note PDF.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "out_of_band_amount": {
                    "description": "The integer amount in cents (or local equivalent) representing the amount that is credited outside of Stripe.",
                    "type": "integer"
                  },
                  "reason": {
                    "description": "Reason for issuing this credit note, one of `duplicate`, `fraudulent`, `order_change`, or `product_unsatisfactory`",
                    "enum": [
                      "duplicate",
                      "fraudulent",
                      "order_change",
                      "product_unsatisfactory"
                    ],
                    "type": "string"
                  },
                  "refund": {
                    "description": "ID of an existing refund to link this credit note to.",
                    "type": "string"
                  },
                  "refund_amount": {
                    "description": "The integer amount in cents (or local equivalent) representing the amount to refund. If set, a refund will be created for the charge associated with the invoice.",
                    "type": "integer"
                  },
                  "shipping_cost": {
                    "description": "When shipping_cost contains the shipping_rate from the invoice, the shipping_cost is included in the credit note.",
                    "properties": {
                      "shipping_rate": {
                        "description": "The ID of the shipping rate to use for this order.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "credit_note_shipping_cost",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "shipping_rate"
                    ]
                  }
                },
                "required": [
                  "invoice"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "invoice",
                  "lines",
                  "memo",
                  "metadata",
                  "reason"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/credit_note"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a credit note"
      }
    },
    "/v1/credit_notes/preview": {
      "get": {
        "description": "<p>Get a preview of a credit note without creating it.</p>",
        "operationId": "GetCreditNotesPreview",
        "parameters": [
          {
            "description": "The integer amount in cents (or local equivalent) representing the total amount of the credit note.",
            "in": "query",
            "name": "amount",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "The integer amount in cents (or local equivalent) representing the amount to credit the customer's balance, which will be automatically applied to their next invoice.",
            "in": "query",
            "name": "credit_amount",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "The date when this credit note is in effect. Same as `created` unless overwritten. When defined, this value replaces the system-generated 'Date of issue' printed on the credit note PDF.",
            "in": "query",
            "name": "effective_at",
            "required": false,
            "schema": {
              "format": "unix-time",
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "Type of email to send to the customer, one of `credit_note` or `none` and the default is `credit_note`.",
            "in": "query",
            "name": "email_type",
            "required": false,
            "schema": {
              "enum": [
                "credit_note",
                "none"
              ],
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "ID of the invoice.",
            "in": "query",
            "name": "invoice",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Line items that make up the credit note.",
            "explode": true,
            "in": "query",
            "name": "lines",
            "required": false,
            "schema": {
              "items": {
                "properties": {
                  "amount": {
                    "description": "The line item amount to credit. Only valid when `type` is `invoice_line_item`. If invoice is set up with `automatic_tax[enabled]=true`, this amount is tax exclusive",
                    "type": "integer"
                  },
                  "description": {
                    "description": "The description of the credit note line item. Only valid when the `type` is `custom_line_item`.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "invoice_line_item": {
                    "description": "The invoice line item to credit. Only valid when the `type` is `invoice_line_item`.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "quantity": {
                    "description": "The line item quantity to credit.",
                    "type": "integer"
                  },
                  "tax_amounts": {
                    "anyOf": [
                      {
                        "items": {
                          "properties": {
                            "amount": {
                              "description": "The amount, in cents (or local equivalent), of the tax.",
                              "type": "integer"
                            },
                            "tax_rate": {
                              "description": "The id of the tax rate for this tax amount. The tax rate must have been automatically created by Stripe.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "taxable_amount": {
                              "description": "The amount on which tax is calculated, in cents (or local equivalent).",
                              "type": "integer"
                            }
                          },
                          "required": [
                            "amount",
                            "tax_rate",
                            "taxable_amount"
                          ],
                          "title": "tax_amount_with_tax_rate_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "amount",
                            "tax_rate",
                            "taxable_amount"
                          ]
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A list of up to 10 tax amounts for the credit note line item. Cannot be mixed with `tax_rates`."
                  },
                  "tax_rates": {
                    "anyOf": [
                      {
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The tax rates which apply to the credit note line item. Only valid when the `type` is `custom_line_item` and cannot be mixed with `tax_amounts`."
                  },
                  "type": {
                    "description": "Type of the credit note line item, one of `invoice_line_item` or `custom_line_item`",
                    "enum": [
                      "custom_line_item",
                      "invoice_line_item"
                    ],
                    "type": "string"
                  },
                  "unit_amount": {
                    "description": "The integer unit amount in cents (or local equivalent) of the credit note line item. This `unit_amount` will be multiplied by the quantity to get the full amount to credit for this line item. Only valid when `type` is `custom_line_item`.",
                    "type": "integer"
                  },
                  "unit_amount_decimal": {
                    "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                    "format": "decimal",
                    "type": "string"
                  }
                },
                "required": [
                  "type"
                ],
                "title": "credit_note_line_item_params",
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "description",
                  "invoice_line_item",
                  "quantity",
                  "tax_amounts",
                  "tax_rates",
                  "type",
                  "unit_amount",
                  "unit_amount_decimal"
                ]
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "The credit note's memo appears on the credit note PDF.",
            "in": "query",
            "name": "memo",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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`.",
            "explode": true,
            "in": "query",
            "name": "metadata",
            "required": false,
            "schema": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "style": "deepObject"
          },
          {
            "description": "The integer amount in cents (or local equivalent) representing the amount that is credited outside of Stripe.",
            "in": "query",
            "name": "out_of_band_amount",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "Reason for issuing this credit note, one of `duplicate`, `fraudulent`, `order_change`, or `product_unsatisfactory`",
            "in": "query",
            "name": "reason",
            "required": false,
            "schema": {
              "enum": [
                "duplicate",
                "fraudulent",
                "order_change",
                "product_unsatisfactory"
              ],
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "ID of an existing refund to link this credit note to.",
            "in": "query",
            "name": "refund",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "The integer amount in cents (or local equivalent) representing the amount to refund. If set, a refund will be created for the charge associated with the invoice.",
            "in": "query",
            "name": "refund_amount",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "When shipping_cost contains the shipping_rate from the invoice, the shipping_cost is included in the credit note.",
            "explode": true,
            "in": "query",
            "name": "shipping_cost",
            "required": false,
            "schema": {
              "properties": {
                "shipping_rate": {
                  "description": "The ID of the shipping rate to use for this order.",
                  "maxLength": 5000,
                  "type": "string"
                }
              },
              "title": "credit_note_shipping_cost",
              "type": "object",
              "x-stripeMostCommon": [
                "shipping_rate"
              ]
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/credit_note"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Preview a credit note"
      }
    },
    "/v1/credit_notes/preview/lines": {
      "get": {
        "description": "<p>When retrieving a credit note preview, you’ll get a <strong>lines</strong> property containing the first handful of those items. This URL you can retrieve the full (paginated) list of line items.</p>",
        "operationId": "GetCreditNotesPreviewLines",
        "parameters": [
          {
            "description": "The integer amount in cents (or local equivalent) representing the total amount of the credit note.",
            "in": "query",
            "name": "amount",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "The integer amount in cents (or local equivalent) representing the amount to credit the customer's balance, which will be automatically applied to their next invoice.",
            "in": "query",
            "name": "credit_amount",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "The date when this credit note is in effect. Same as `created` unless overwritten. When defined, this value replaces the system-generated 'Date of issue' printed on the credit note PDF.",
            "in": "query",
            "name": "effective_at",
            "required": false,
            "schema": {
              "format": "unix-time",
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "Type of email to send to the customer, one of `credit_note` or `none` and the default is `credit_note`.",
            "in": "query",
            "name": "email_type",
            "required": false,
            "schema": {
              "enum": [
                "credit_note",
                "none"
              ],
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "ID of the invoice.",
            "in": "query",
            "name": "invoice",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "Line items that make up the credit note.",
            "explode": true,
            "in": "query",
            "name": "lines",
            "required": false,
            "schema": {
              "items": {
                "properties": {
                  "amount": {
                    "description": "The line item amount to credit. Only valid when `type` is `invoice_line_item`. If invoice is set up with `automatic_tax[enabled]=true`, this amount is tax exclusive",
                    "type": "integer"
                  },
                  "description": {
                    "description": "The description of the credit note line item. Only valid when the `type` is `custom_line_item`.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "invoice_line_item": {
                    "description": "The invoice line item to credit. Only valid when the `type` is `invoice_line_item`.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "quantity": {
                    "description": "The line item quantity to credit.",
                    "type": "integer"
                  },
                  "tax_amounts": {
                    "anyOf": [
                      {
                        "items": {
                          "properties": {
                            "amount": {
                              "description": "The amount, in cents (or local equivalent), of the tax.",
                              "type": "integer"
                            },
                            "tax_rate": {
                              "description": "The id of the tax rate for this tax amount. The tax rate must have been automatically created by Stripe.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "taxable_amount": {
                              "description": "The amount on which tax is calculated, in cents (or local equivalent).",
                              "type": "integer"
                            }
                          },
                          "required": [
                            "amount",
                            "tax_rate",
                            "taxable_amount"
                          ],
                          "title": "tax_amount_with_tax_rate_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "amount",
                            "tax_rate",
                            "taxable_amount"
                          ]
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A list of up to 10 tax amounts for the credit note line item. Cannot be mixed with `tax_rates`."
                  },
                  "tax_rates": {
                    "anyOf": [
                      {
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The tax rates which apply to the credit note line item. Only valid when the `type` is `custom_line_item` and cannot be mixed with `tax_amounts`."
                  },
                  "type": {
                    "description": "Type of the credit note line item, one of `invoice_line_item` or `custom_line_item`",
                    "enum": [
                      "custom_line_item",
                      "invoice_line_item"
                    ],
                    "type": "string"
                  },
                  "unit_amount": {
                    "description": "The integer unit amount in cents (or local equivalent) of the credit note line item. This `unit_amount` will be multiplied by the quantity to get the full amount to credit for this line item. Only valid when `type` is `custom_line_item`.",
                    "type": "integer"
                  },
                  "unit_amount_decimal": {
                    "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                    "format": "decimal",
                    "type": "string"
                  }
                },
                "required": [
                  "type"
                ],
                "title": "credit_note_line_item_params",
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "description",
                  "invoice_line_item",
                  "quantity",
                  "tax_amounts",
                  "tax_rates",
                  "type",
                  "unit_amount",
                  "unit_amount_decimal"
                ]
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "The credit note's memo appears on the credit note PDF.",
            "in": "query",
            "name": "memo",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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`.",
            "explode": true,
            "in": "query",
            "name": "metadata",
            "required": false,
            "schema": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "style": "deepObject"
          },
          {
            "description": "The integer amount in cents (or local equivalent) representing the amount that is credited outside of Stripe.",
            "in": "query",
            "name": "out_of_band_amount",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "Reason for issuing this credit note, one of `duplicate`, `fraudulent`, `order_change`, or `product_unsatisfactory`",
            "in": "query",
            "name": "reason",
            "required": false,
            "schema": {
              "enum": [
                "duplicate",
                "fraudulent",
                "order_change",
                "product_unsatisfactory"
              ],
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "ID of an existing refund to link this credit note to.",
            "in": "query",
            "name": "refund",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "The integer amount in cents (or local equivalent) representing the amount to refund. If set, a refund will be created for the charge associated with the invoice.",
            "in": "query",
            "name": "refund_amount",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "When shipping_cost contains the shipping_rate from the invoice, the shipping_cost is included in the credit note.",
            "explode": true,
            "in": "query",
            "name": "shipping_cost",
            "required": false,
            "schema": {
              "properties": {
                "shipping_rate": {
                  "description": "The ID of the shipping rate to use for this order.",
                  "maxLength": 5000,
                  "type": "string"
                }
              },
              "title": "credit_note_shipping_cost",
              "type": "object",
              "x-stripeMostCommon": [
                "shipping_rate"
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/credit_note_line_item"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "CreditNoteLinesList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a credit note preview's line items"
      }
    },
    "/v1/credit_notes/{credit_note}/lines": {
      "get": {
        "description": "<p>When retrieving a credit note, you’ll get a <strong>lines</strong> property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.</p>",
        "operationId": "GetCreditNotesCreditNoteLines",
        "parameters": [
          {
            "in": "path",
            "name": "credit_note",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/credit_note_line_item"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "CreditNoteLinesList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a credit note's line items"
      }
    },
    "/v1/credit_notes/{id}": {
      "get": {
        "description": "<p>Retrieves the credit note object with the given identifier.</p>",
        "operationId": "GetCreditNotesId",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/credit_note"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a credit note"
      },
      "post": {
        "description": "<p>Updates an existing credit note.</p>",
        "operationId": "PostCreditNotesId",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "memo": {
                    "description": "Credit note memo.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "memo",
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/credit_note"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a credit note"
      }
    },
    "/v1/credit_notes/{id}/void": {
      "post": {
        "description": "<p>Marks a credit note as void. Learn more about <a href=\"/docs/billing/invoices/credit-notes#voiding\">voiding credit notes</a>.</p>",
        "operationId": "PostCreditNotesIdVoid",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/credit_note"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Void a credit note"
      }
    },
    "/v1/customer_sessions": {
      "post": {
        "description": "<p>Creates a Customer Session object that includes a single-use client secret that you can use on your front-end to grant client-side API access for certain customer resources.</p>",
        "operationId": "PostCustomerSessions",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "components": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "components": {
                    "description": "Configuration for each component. Exactly 1 component must be enabled.",
                    "properties": {
                      "buy_button": {
                        "description": "Configuration for buy button.",
                        "properties": {
                          "enabled": {
                            "description": "Whether the buy button is enabled.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "buy_button_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "enabled"
                        ]
                      },
                      "payment_element": {
                        "description": "Configuration for the Payment Element.",
                        "properties": {
                          "enabled": {
                            "description": "Whether the Payment Element is enabled.",
                            "type": "boolean"
                          },
                          "features": {
                            "description": "This hash defines whether the Payment Element supports certain features.",
                            "properties": {
                              "payment_method_allow_redisplay_filters": {
                                "description": "A list of [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) values that controls which saved payment methods the Payment Element displays by filtering to only show payment methods with an `allow_redisplay` value that is present in this list.\n\nIf not specified, defaults to [\"always\"]. In order to display all saved payment methods, specify [\"always\", \"limited\", \"unspecified\"].",
                                "items": {
                                  "enum": [
                                    "always",
                                    "limited",
                                    "unspecified"
                                  ],
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "payment_method_redisplay": {
                                "description": "Controls whether or not the Payment Element shows saved payment methods. This parameter defaults to `disabled`.",
                                "enum": [
                                  "disabled",
                                  "enabled"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              },
                              "payment_method_redisplay_limit": {
                                "description": "Determines the max number of saved payment methods for the Payment Element to display. This parameter defaults to `3`.",
                                "type": "integer"
                              },
                              "payment_method_remove": {
                                "description": "Controls whether the Payment Element displays the option to remove a saved payment method. This parameter defaults to `disabled`.\n\nAllowing buyers to remove their saved payment methods impacts subscriptions that depend on that payment method. Removing the payment method detaches the [`customer` object](https://docs.stripe.com/api/payment_methods/object#payment_method_object-customer) from that [PaymentMethod](https://docs.stripe.com/api/payment_methods).",
                                "enum": [
                                  "disabled",
                                  "enabled"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              },
                              "payment_method_save": {
                                "description": "Controls whether the Payment Element displays a checkbox offering to save a new payment method. This parameter defaults to `disabled`.\n\nIf a customer checks the box, the [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) value on the PaymentMethod is set to `'always'` at confirmation time. For PaymentIntents, the [`setup_future_usage`](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-setup_future_usage) value is also set to the value defined in `payment_method_save_usage`.",
                                "enum": [
                                  "disabled",
                                  "enabled"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              },
                              "payment_method_save_usage": {
                                "description": "When using PaymentIntents and the customer checks the save checkbox, this field determines the [`setup_future_usage`](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-setup_future_usage) value used to confirm the PaymentIntent.\n\nWhen using SetupIntents, directly configure the [`usage`](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-usage) value on SetupIntent creation.",
                                "enum": [
                                  "off_session",
                                  "on_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "features_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "payment_method_allow_redisplay_filters",
                              "payment_method_redisplay",
                              "payment_method_redisplay_limit",
                              "payment_method_remove",
                              "payment_method_save",
                              "payment_method_save_usage",
                              "payment_method_set_as_default",
                              "payment_method_update"
                            ]
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "payment_element_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "enabled",
                          "features"
                        ]
                      },
                      "pricing_table": {
                        "description": "Configuration for the pricing table.",
                        "properties": {
                          "enabled": {
                            "description": "Whether the pricing table is enabled.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "pricing_table_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "enabled"
                        ]
                      }
                    },
                    "title": "components",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "buy_button",
                      "customer_sheet",
                      "mobile_payment_element",
                      "payment_element",
                      "payment_sheet",
                      "pricing_table"
                    ]
                  },
                  "customer": {
                    "description": "The ID of an existing customer for which to create the Customer Session.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "components",
                  "customer"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "components",
                  "customer"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/customer_session"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a Customer Session"
      }
    },
    "/v1/customers": {
      "get": {
        "description": "<p>Returns a list of your customers. The customers are returned sorted by creation date, with the most recent customers appearing first.</p>",
        "operationId": "GetCustomers",
        "parameters": [
          {
            "description": "Only return customers that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "A case-sensitive filter on the list based on the customer's `email` field. The value must be a string.",
            "in": "query",
            "name": "email",
            "required": false,
            "schema": {
              "maxLength": 512,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Provides a list of customers that are associated with the specified test clock. The response will not include customers with test clocks if this parameter is not set.",
            "in": "query",
            "name": "test_clock",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/customer"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/customers",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "CustomerResourceCustomerList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all customers"
      },
      "post": {
        "description": "<p>Creates a new customer object.</p>",
        "operationId": "PostCustomers",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "address": {
                  "explode": true,
                  "style": "deepObject"
                },
                "cash_balance": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "invoice_settings": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "preferred_locales": {
                  "explode": true,
                  "style": "deepObject"
                },
                "shipping": {
                  "explode": true,
                  "style": "deepObject"
                },
                "tax": {
                  "explode": true,
                  "style": "deepObject"
                },
                "tax_id_data": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "address": {
                    "anyOf": [
                      {
                        "properties": {
                          "city": {
                            "description": "City, district, suburb, town, or village.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "country": {
                            "description": "A freeform text field for the country. However, in order to activate some tax features, the format should be a two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Address line 1 (e.g., street, PO Box, or company name).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "ZIP or postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "State, county, province, or region.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "optional_fields_customer_address",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "line1",
                          "line2",
                          "postal_code",
                          "state"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The customer's address."
                  },
                  "balance": {
                    "description": "An integer amount in cents (or local equivalent) that represents the customer's current balance, which affect the customer's future invoices. A negative amount represents a credit that decreases the amount due on an invoice; a positive amount increases the amount due on an invoice.",
                    "type": "integer"
                  },
                  "cash_balance": {
                    "description": "Balance information and default balance settings for this customer.",
                    "properties": {
                      "settings": {
                        "description": "Settings controlling the behavior of the customer's cash balance,\nsuch as reconciliation of funds received.",
                        "properties": {
                          "reconciliation_mode": {
                            "description": "Controls how funds transferred by the customer are applied to payment intents and invoices. Valid options are `automatic`, `manual`, or `merchant_default`. For more information about these reconciliation modes, see [Reconciliation](https://stripe.com/docs/payments/customer-balance/reconciliation).",
                            "enum": [
                              "automatic",
                              "manual",
                              "merchant_default"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "balance_settings_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "reconciliation_mode"
                        ]
                      }
                    },
                    "title": "cash_balance_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "settings"
                    ]
                  },
                  "coupon": {
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "description": {
                    "description": "An arbitrary string that you can attach to a customer object. It is displayed alongside the customer in the dashboard.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "email": {
                    "description": "Customer's email address. It's displayed alongside the customer in your dashboard and can be useful for searching and tracking. This may be up to *512 characters*.",
                    "maxLength": 512,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "invoice_prefix": {
                    "description": "The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "invoice_settings": {
                    "description": "Default invoice settings for this customer.",
                    "properties": {
                      "custom_fields": {
                        "anyOf": [
                          {
                            "items": {
                              "properties": {
                                "name": {
                                  "description": "The name of the custom field. This may be up to 40 characters.",
                                  "maxLength": 40,
                                  "type": "string"
                                },
                                "value": {
                                  "description": "The value of the custom field. This may be up to 140 characters.",
                                  "maxLength": 140,
                                  "type": "string"
                                }
                              },
                              "required": [
                                "name",
                                "value"
                              ],
                              "title": "custom_field_params",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "name",
                                "value"
                              ]
                            },
                            "type": "array"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The list of up to 4 default custom fields to be displayed on invoices for this customer. When updating, pass an empty string to remove previously-defined fields."
                      },
                      "default_payment_method": {
                        "description": "ID of a payment method that's attached to the customer, to be used as the customer's default payment method for subscriptions and invoices.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "footer": {
                        "description": "Default footer to be displayed on invoices for this customer.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "rendering_options": {
                        "anyOf": [
                          {
                            "properties": {
                              "amount_tax_display": {
                                "description": "How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.",
                                "enum": [
                                  "",
                                  "exclude_tax",
                                  "include_inclusive_tax"
                                ],
                                "type": "string"
                              },
                              "template": {
                                "description": "ID of the invoice rendering template to use for future invoices.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "customer_rendering_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "amount_tax_display",
                              "invoice_title",
                              "template"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Default options for invoice PDF rendering for this customer."
                      }
                    },
                    "title": "customer_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "amount_to_forgive",
                      "amount_to_forgive_currency",
                      "custom_fields",
                      "days_until_due",
                      "default_payment_method",
                      "footer",
                      "rendering_options",
                      "send_hosted_payment_email",
                      "supported_payment_methods"
                    ]
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "name": {
                    "description": "The customer's full name or business name.",
                    "maxLength": 256,
                    "type": "string"
                  },
                  "next_invoice_sequence": {
                    "description": "The sequence to be used on the customer's next invoice. Defaults to 1.",
                    "type": "integer"
                  },
                  "payment_method": {
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "phone": {
                    "description": "The customer's phone number.",
                    "maxLength": 20,
                    "type": "string"
                  },
                  "preferred_locales": {
                    "description": "Customer's preferred languages, ordered by preference.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "promotion_code": {
                    "description": "The ID of a promotion code to apply to the customer. The customer will have a discount applied on all recurring payments. Charges you create through the API will not have the discount.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "shipping": {
                    "anyOf": [
                      {
                        "properties": {
                          "address": {
                            "description": "Customer shipping address.",
                            "properties": {
                              "city": {
                                "description": "City, district, suburb, town, or village.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "country": {
                                "description": "A freeform text field for the country. However, in order to activate some tax features, the format should be a two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line1": {
                                "description": "Address line 1 (e.g., street, PO Box, or company name).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line2": {
                                "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "postal_code": {
                                "description": "ZIP or postal code.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "state": {
                                "description": "State, county, province, or region.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "optional_fields_customer_address",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "city",
                              "country",
                              "line1",
                              "line2",
                              "postal_code",
                              "state"
                            ]
                          },
                          "name": {
                            "description": "Customer name.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "phone": {
                            "description": "Customer phone (including extension).",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "address",
                          "name"
                        ],
                        "title": "customer_shipping",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "address",
                          "name",
                          "phone"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The customer's shipping information. Appears on invoices emailed to this customer."
                  },
                  "source": {
                    "maxLength": 5000,
                    "type": "string",
                    "x-stripeBypassValidation": true
                  },
                  "tax": {
                    "description": "Tax details about the customer.",
                    "properties": {
                      "ip_address": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "A recent IP address of the customer used for tax reporting and tax location inference. Stripe recommends updating the IP address when a new PaymentMethod is attached or the address field on the customer is updated. We recommend against updating this field more frequently since it could result in unexpected tax location/reporting outcomes."
                      },
                      "validate_location": {
                        "description": "A flag that indicates when Stripe should validate the customer tax location. Defaults to `deferred`.",
                        "enum": [
                          "deferred",
                          "immediately"
                        ],
                        "type": "string"
                      }
                    },
                    "title": "shared_tax_create_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "ip_address",
                      "validate_location"
                    ]
                  },
                  "tax_exempt": {
                    "description": "The customer's tax exemption. One of `none`, `exempt`, or `reverse`.",
                    "enum": [
                      "",
                      "exempt",
                      "none",
                      "reverse"
                    ],
                    "type": "string"
                  },
                  "tax_id_data": {
                    "description": "The customer's tax IDs.",
                    "items": {
                      "properties": {
                        "type": {
                          "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `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`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat`",
                          "enum": [
                            "ad_nrt",
                            "ae_trn",
                            "ar_cuit",
                            "au_abn",
                            "au_arn",
                            "bg_uic",
                            "bh_vat",
                            "bo_tin",
                            "br_cnpj",
                            "br_cpf",
                            "by_tin",
                            "ca_bn",
                            "ca_gst_hst",
                            "ca_pst_bc",
                            "ca_pst_mb",
                            "ca_pst_sk",
                            "ca_qst",
                            "ch_uid",
                            "ch_vat",
                            "cl_tin",
                            "cn_tin",
                            "co_nit",
                            "cr_tin",
                            "de_stn",
                            "do_rcn",
                            "ec_ruc",
                            "eg_tin",
                            "es_cif",
                            "eu_oss_vat",
                            "eu_vat",
                            "gb_vat",
                            "ge_vat",
                            "hk_br",
                            "hr_oib",
                            "hu_tin",
                            "id_npwp",
                            "il_vat",
                            "in_gst",
                            "is_vat",
                            "jp_cn",
                            "jp_rn",
                            "jp_trn",
                            "ke_pin",
                            "kr_brn",
                            "kz_bin",
                            "li_uid",
                            "li_vat",
                            "ma_vat",
                            "md_vat",
                            "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",
                            "tz_vat",
                            "ua_vat",
                            "us_ein",
                            "uy_ruc",
                            "uz_tin",
                            "uz_vat",
                            "ve_rif",
                            "vn_tin",
                            "za_vat"
                          ],
                          "maxLength": 5000,
                          "type": "string",
                          "x-stripeBypassValidation": true
                        },
                        "value": {
                          "description": "Value of the tax ID.",
                          "type": "string"
                        }
                      },
                      "required": [
                        "type",
                        "value"
                      ],
                      "title": "data_params",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "type",
                        "value"
                      ]
                    },
                    "type": "array"
                  },
                  "test_clock": {
                    "description": "ID of the test clock to attach to the customer.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "validate": {
                    "type": "boolean"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "address",
                  "description",
                  "email",
                  "metadata",
                  "name",
                  "payment_method",
                  "phone",
                  "shipping",
                  "tax"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/customer"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a customer"
      }
    },
    "/v1/customers/search": {
      "get": {
        "description": "<p>Search for customers you’ve previously created using Stripe’s <a href=\"/docs/search#search-query-language\">Search Query Language</a>.\nDon’t use search in read-after-write flows where strict consistency is necessary. Under normal operating\nconditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up\nto an hour behind during outages. Search functionality is not available to merchants in India.</p>",
        "operationId": "GetCustomersSearch",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "The search query string. See [search query language](https://stripe.com/docs/search#search-query-language) and the list of supported [query fields for customers](https://stripe.com/docs/search#query-fields-for-customers).",
            "in": "query",
            "name": "query",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/customer"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "type": "boolean"
                    },
                    "next_page": {
                      "maxLength": 5000,
                      "nullable": true,
                      "type": "string"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value.",
                      "enum": [
                        "search_result"
                      ],
                      "type": "string"
                    },
                    "total_count": {
                      "description": "The total number of objects that match the query, only accurate up to 10,000.",
                      "type": "integer"
                    },
                    "url": {
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "next_page",
                    "object",
                    "url"
                  ],
                  "title": "SearchResult",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "next_page",
                    "object",
                    "total_count",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Search customers"
      }
    },
    "/v1/customers/{customer}": {
      "delete": {
        "description": "<p>Permanently deletes a customer. It cannot be undone. Also immediately cancels any active subscriptions on the customer.</p>",
        "operationId": "DeleteCustomersCustomer",
        "parameters": [
          {
            "in": "path",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/deleted_customer"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Delete a customer"
      },
      "get": {
        "description": "<p>Retrieves a Customer object.</p>",
        "operationId": "GetCustomersCustomer",
        "parameters": [
          {
            "in": "path",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/customer"
                    },
                    {
                      "$ref": "#/components/schemas/deleted_customer"
                    }
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a customer"
      },
      "post": {
        "description": "<p>Updates the specified customer by setting the values of the parameters passed. Any parameters not provided will be left unchanged. For example, if you pass the <strong>source</strong> parameter, that becomes the customer’s active source (e.g., a card) to be used for all charges in the future. When you update a customer to a new valid card source by passing the <strong>source</strong> parameter: for each of the customer’s current subscriptions, if the subscription bills automatically and is in the <code>past_due</code> state, then the latest open invoice for the subscription with automatic collection enabled will be retried. This retry will not count as an automatic retry, and will not affect the next regularly scheduled payment for the invoice. Changing the <strong>default_source</strong> for a customer will not trigger this behavior.</p>\n\n<p>This request accepts mostly the same arguments as the customer creation call.</p>",
        "operationId": "PostCustomersCustomer",
        "parameters": [
          {
            "in": "path",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "address": {
                  "explode": true,
                  "style": "deepObject"
                },
                "cash_balance": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "invoice_settings": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "preferred_locales": {
                  "explode": true,
                  "style": "deepObject"
                },
                "shipping": {
                  "explode": true,
                  "style": "deepObject"
                },
                "tax": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "address": {
                    "anyOf": [
                      {
                        "properties": {
                          "city": {
                            "description": "City, district, suburb, town, or village.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "country": {
                            "description": "A freeform text field for the country. However, in order to activate some tax features, the format should be a two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Address line 1 (e.g., street, PO Box, or company name).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "ZIP or postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "State, county, province, or region.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "optional_fields_customer_address",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "line1",
                          "line2",
                          "postal_code",
                          "state"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The customer's address."
                  },
                  "balance": {
                    "description": "An integer amount in cents (or local equivalent) that represents the customer's current balance, which affect the customer's future invoices. A negative amount represents a credit that decreases the amount due on an invoice; a positive amount increases the amount due on an invoice.",
                    "type": "integer"
                  },
                  "cash_balance": {
                    "description": "Balance information and default balance settings for this customer.",
                    "properties": {
                      "settings": {
                        "description": "Settings controlling the behavior of the customer's cash balance,\nsuch as reconciliation of funds received.",
                        "properties": {
                          "reconciliation_mode": {
                            "description": "Controls how funds transferred by the customer are applied to payment intents and invoices. Valid options are `automatic`, `manual`, or `merchant_default`. For more information about these reconciliation modes, see [Reconciliation](https://stripe.com/docs/payments/customer-balance/reconciliation).",
                            "enum": [
                              "automatic",
                              "manual",
                              "merchant_default"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "balance_settings_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "reconciliation_mode"
                        ]
                      }
                    },
                    "title": "cash_balance_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "settings"
                    ]
                  },
                  "coupon": {
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "default_source": {
                    "description": "If you are using payment methods created via the PaymentMethods API, see the [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method) parameter.\n\nProvide the ID of a payment source already attached to this customer to make it this customer's default payment source.\n\nIf you want to add a new payment source and make it the default, see the [source](https://stripe.com/docs/api/customers/update#update_customer-source) property.",
                    "maxLength": 500,
                    "type": "string"
                  },
                  "description": {
                    "description": "An arbitrary string that you can attach to a customer object. It is displayed alongside the customer in the dashboard.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "email": {
                    "description": "Customer's email address. It's displayed alongside the customer in your dashboard and can be useful for searching and tracking. This may be up to *512 characters*.",
                    "maxLength": 512,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "invoice_prefix": {
                    "description": "The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "invoice_settings": {
                    "description": "Default invoice settings for this customer.",
                    "properties": {
                      "custom_fields": {
                        "anyOf": [
                          {
                            "items": {
                              "properties": {
                                "name": {
                                  "description": "The name of the custom field. This may be up to 40 characters.",
                                  "maxLength": 40,
                                  "type": "string"
                                },
                                "value": {
                                  "description": "The value of the custom field. This may be up to 140 characters.",
                                  "maxLength": 140,
                                  "type": "string"
                                }
                              },
                              "required": [
                                "name",
                                "value"
                              ],
                              "title": "custom_field_params",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "name",
                                "value"
                              ]
                            },
                            "type": "array"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The list of up to 4 default custom fields to be displayed on invoices for this customer. When updating, pass an empty string to remove previously-defined fields."
                      },
                      "default_payment_method": {
                        "description": "ID of a payment method that's attached to the customer, to be used as the customer's default payment method for subscriptions and invoices.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "footer": {
                        "description": "Default footer to be displayed on invoices for this customer.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "rendering_options": {
                        "anyOf": [
                          {
                            "properties": {
                              "amount_tax_display": {
                                "description": "How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.",
                                "enum": [
                                  "",
                                  "exclude_tax",
                                  "include_inclusive_tax"
                                ],
                                "type": "string"
                              },
                              "template": {
                                "description": "ID of the invoice rendering template to use for future invoices.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "customer_rendering_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "amount_tax_display",
                              "invoice_title",
                              "template"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Default options for invoice PDF rendering for this customer."
                      }
                    },
                    "title": "customer_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "amount_to_forgive",
                      "amount_to_forgive_currency",
                      "custom_fields",
                      "days_until_due",
                      "default_payment_method",
                      "footer",
                      "rendering_options",
                      "send_hosted_payment_email",
                      "supported_payment_methods"
                    ]
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "name": {
                    "description": "The customer's full name or business name.",
                    "maxLength": 256,
                    "type": "string"
                  },
                  "next_invoice_sequence": {
                    "description": "The sequence to be used on the customer's next invoice. Defaults to 1.",
                    "type": "integer"
                  },
                  "phone": {
                    "description": "The customer's phone number.",
                    "maxLength": 20,
                    "type": "string"
                  },
                  "preferred_locales": {
                    "description": "Customer's preferred languages, ordered by preference.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "promotion_code": {
                    "description": "The ID of a promotion code to apply to the customer. The customer will have a discount applied on all recurring payments. Charges you create through the API will not have the discount.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "shipping": {
                    "anyOf": [
                      {
                        "properties": {
                          "address": {
                            "description": "Customer shipping address.",
                            "properties": {
                              "city": {
                                "description": "City, district, suburb, town, or village.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "country": {
                                "description": "A freeform text field for the country. However, in order to activate some tax features, the format should be a two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line1": {
                                "description": "Address line 1 (e.g., street, PO Box, or company name).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line2": {
                                "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "postal_code": {
                                "description": "ZIP or postal code.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "state": {
                                "description": "State, county, province, or region.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "optional_fields_customer_address",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "city",
                              "country",
                              "line1",
                              "line2",
                              "postal_code",
                              "state"
                            ]
                          },
                          "name": {
                            "description": "Customer name.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "phone": {
                            "description": "Customer phone (including extension).",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "address",
                          "name"
                        ],
                        "title": "customer_shipping",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "address",
                          "name",
                          "phone"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The customer's shipping information. Appears on invoices emailed to this customer."
                  },
                  "source": {
                    "maxLength": 5000,
                    "type": "string",
                    "x-stripeBypassValidation": true
                  },
                  "tax": {
                    "description": "Tax details about the customer.",
                    "properties": {
                      "ip_address": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "A recent IP address of the customer used for tax reporting and tax location inference. Stripe recommends updating the IP address when a new PaymentMethod is attached or the address field on the customer is updated. We recommend against updating this field more frequently since it could result in unexpected tax location/reporting outcomes."
                      },
                      "validate_location": {
                        "description": "A flag that indicates when Stripe should validate the customer tax location. Defaults to `deferred`.",
                        "enum": [
                          "auto",
                          "deferred",
                          "immediately"
                        ],
                        "type": "string"
                      }
                    },
                    "title": "shared_tax_update_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "ip_address",
                      "validate_location"
                    ]
                  },
                  "tax_exempt": {
                    "description": "The customer's tax exemption. One of `none`, `exempt`, or `reverse`.",
                    "enum": [
                      "",
                      "exempt",
                      "none",
                      "reverse"
                    ],
                    "type": "string"
                  },
                  "validate": {
                    "type": "boolean"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "address",
                  "description",
                  "email",
                  "metadata",
                  "name",
                  "phone",
                  "shipping",
                  "tax"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/customer"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a customer"
      }
    },
    "/v1/customers/{customer}/balance_transactions": {
      "get": {
        "description": "<p>Returns a list of transactions that updated the customer’s <a href=\"/docs/billing/customer/balance\">balances</a>.</p>",
        "operationId": "GetCustomersCustomerBalanceTransactions",
        "parameters": [
          {
            "in": "path",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/customer_balance_transaction"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "CustomerBalanceTransactionList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List customer balance transactions"
      },
      "post": {
        "description": "<p>Creates an immutable transaction that updates the customer’s credit <a href=\"/docs/billing/customer/balance\">balance</a>.</p>",
        "operationId": "PostCustomersCustomerBalanceTransactions",
        "parameters": [
          {
            "in": "path",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "The integer amount in **cents (or local equivalent)** to apply to the customer's credit balance.",
                    "type": "integer"
                  },
                  "currency": {
                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). Specifies the [`invoice_credit_balance`](https://stripe.com/docs/api/customers/object#customer_object-invoice_credit_balance) that this transaction will apply to. If the customer's `currency` is not set, it will be updated to this value.",
                    "type": "string"
                  },
                  "description": {
                    "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
                    "maxLength": 350,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  }
                },
                "required": [
                  "amount",
                  "currency"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "currency",
                  "description",
                  "metadata"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/customer_balance_transaction"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a customer balance transaction"
      }
    },
    "/v1/customers/{customer}/balance_transactions/{transaction}": {
      "get": {
        "description": "<p>Retrieves a specific customer balance transaction that updated the customer’s <a href=\"/docs/billing/customer/balance\">balances</a>.</p>",
        "operationId": "GetCustomersCustomerBalanceTransactionsTransaction",
        "parameters": [
          {
            "in": "path",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "transaction",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/customer_balance_transaction"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a customer balance transaction"
      },
      "post": {
        "description": "<p>Most credit balance transaction fields are immutable, but you may update its <code>description</code> and <code>metadata</code>.</p>",
        "operationId": "PostCustomersCustomerBalanceTransactionsTransaction",
        "parameters": [
          {
            "in": "path",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "transaction",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "description": {
                    "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
                    "maxLength": 350,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "description",
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/customer_balance_transaction"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a customer credit balance transaction"
      }
    },
    "/v1/customers/{customer}/cash_balance": {
      "get": {
        "description": "<p>Retrieves a customer’s cash balance.</p>",
        "operationId": "GetCustomersCustomerCashBalance",
        "parameters": [
          {
            "in": "path",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/cash_balance"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a cash balance"
      },
      "post": {
        "description": "<p>Changes the settings on a customer’s cash balance.</p>",
        "operationId": "PostCustomersCustomerCashBalance",
        "parameters": [
          {
            "in": "path",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "settings": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "settings": {
                    "description": "A hash of settings for this cash balance.",
                    "properties": {
                      "reconciliation_mode": {
                        "description": "Controls how funds transferred by the customer are applied to payment intents and invoices. Valid options are `automatic`, `manual`, or `merchant_default`. For more information about these reconciliation modes, see [Reconciliation](https://stripe.com/docs/payments/customer-balance/reconciliation).",
                        "enum": [
                          "automatic",
                          "manual",
                          "merchant_default"
                        ],
                        "type": "string"
                      }
                    },
                    "title": "balance_settings_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "reconciliation_mode"
                    ]
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "settings"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/cash_balance"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a cash balance's settings"
      }
    },
    "/v1/customers/{customer}/cash_balance_transactions": {
      "get": {
        "description": "<p>Returns a list of transactions that modified the customer’s <a href=\"/docs/payments/customer-balance\">cash balance</a>.</p>",
        "operationId": "GetCustomersCustomerCashBalanceTransactions",
        "parameters": [
          {
            "in": "path",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Customers with certain payments enabled have a cash balance, representing funds that were paid\nby the customer to a merchant, but have not yet been allocated to a payment. Cash Balance Transactions\nrepresent when funds are moved into or out of this balance. This includes funding by the customer, allocation\nto payments, and refunds to the customer.",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/customer_cash_balance_transaction"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "CustomerCashBalanceTransactionList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List cash balance transactions"
      }
    },
    "/v1/customers/{customer}/cash_balance_transactions/{transaction}": {
      "get": {
        "description": "<p>Retrieves a specific cash balance transaction, which updated the customer’s <a href=\"/docs/payments/customer-balance\">cash balance</a>.</p>",
        "operationId": "GetCustomersCustomerCashBalanceTransactionsTransaction",
        "parameters": [
          {
            "in": "path",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "transaction",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/customer_cash_balance_transaction"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a cash balance transaction"
      }
    },
    "/v1/customers/{customer}/discount": {
      "delete": {
        "description": "<p>Removes the currently applied discount on a customer.</p>",
        "operationId": "DeleteCustomersCustomerDiscount",
        "parameters": [
          {
            "in": "path",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/deleted_discount"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Delete a customer discount"
      }
    },
    "/v1/customers/{customer}/funding_instructions": {
      "post": {
        "description": "<p>Retrieve funding instructions for a customer cash balance. If funding instructions do not yet exist for the customer, new\nfunding instructions will be created. If funding instructions have already been created for a given customer, the same\nfunding instructions will be retrieved. In other words, we will return the same funding instructions each time.</p>",
        "operationId": "PostCustomersCustomerFundingInstructions",
        "parameters": [
          {
            "in": "path",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "bank_transfer": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bank_transfer": {
                    "description": "Additional parameters for `bank_transfer` funding types",
                    "properties": {
                      "eu_bank_transfer": {
                        "description": "Configuration for eu_bank_transfer funding type.",
                        "properties": {
                          "country": {
                            "description": "The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "country"
                        ],
                        "title": "eu_bank_account_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "country"
                        ]
                      },
                      "requested_address_types": {
                        "description": "List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.\n\nPermitted values include: `sort_code`, `zengin`, `iban`, or `spei`.",
                        "items": {
                          "enum": [
                            "iban",
                            "sort_code",
                            "spei",
                            "zengin"
                          ],
                          "type": "string",
                          "x-stripeBypassValidation": true
                        },
                        "type": "array"
                      },
                      "type": {
                        "description": "The type of the `bank_transfer`",
                        "enum": [
                          "eu_bank_transfer",
                          "gb_bank_transfer",
                          "jp_bank_transfer",
                          "mx_bank_transfer",
                          "us_bank_transfer"
                        ],
                        "type": "string",
                        "x-stripeBypassValidation": true
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "title": "bank_transfer_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "eu_bank_transfer",
                      "requested_address_types",
                      "type"
                    ]
                  },
                  "currency": {
                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "funding_type": {
                    "description": "The `funding_type` to get the instructions for.",
                    "enum": [
                      "bank_transfer"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "bank_transfer",
                  "currency",
                  "funding_type"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "bank_transfer",
                  "currency",
                  "funding_type"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/funding_instructions"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create or retrieve funding instructions for a customer cash balance"
      }
    },
    "/v1/customers/{customer}/payment_methods": {
      "get": {
        "description": "<p>Returns a list of PaymentMethods for a given Customer</p>",
        "operationId": "GetCustomersCustomerPaymentMethods",
        "parameters": [
          {
            "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`.",
            "in": "query",
            "name": "allow_redisplay",
            "required": false,
            "schema": {
              "enum": [
                "always",
                "limited",
                "unspecified"
              ],
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "path",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "An optional filter on the list, based on the object `type` field. Without the filter, the list includes all current and future payment method types. If your integration expects only one type of payment method in the response, make sure to provide a type value in the request.",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "enum": [
                "acss_debit",
                "affirm",
                "afterpay_clearpay",
                "alipay",
                "alma",
                "amazon_pay",
                "au_becs_debit",
                "bacs_debit",
                "bancontact",
                "blik",
                "boleto",
                "card",
                "cashapp",
                "customer_balance",
                "eps",
                "fpx",
                "giropay",
                "grabpay",
                "ideal",
                "kakao_pay",
                "klarna",
                "konbini",
                "kr_card",
                "link",
                "mobilepay",
                "multibanco",
                "naver_pay",
                "oxxo",
                "p24",
                "payco",
                "paynow",
                "paypal",
                "pix",
                "promptpay",
                "revolut_pay",
                "samsung_pay",
                "sepa_debit",
                "sofort",
                "swish",
                "twint",
                "us_bank_account",
                "wechat_pay",
                "zip"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/payment_method"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "CustomerPaymentMethodResourceList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List a Customer's PaymentMethods"
      }
    },
    "/v1/customers/{customer}/payment_methods/{payment_method}": {
      "get": {
        "description": "<p>Retrieves a PaymentMethod object for a given Customer.</p>",
        "operationId": "GetCustomersCustomerPaymentMethodsPaymentMethod",
        "parameters": [
          {
            "in": "path",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "payment_method",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payment_method"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a Customer's PaymentMethod"
      }
    },
    "/v1/customers/{customer}/sources": {
      "get": {
        "description": "<p>List sources for a specified customer.</p>",
        "operationId": "GetCustomersCustomerSources",
        "parameters": [
          {
            "in": "path",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "Filter sources according to a particular object type.",
            "in": "query",
            "name": "object",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/payment_source"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "ApmsSourcesSourceList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        }
      },
      "post": {
        "description": "<p>When you create a new credit card, you must specify a customer or recipient on which to create it.</p>\n\n<p>If the card’s owner has no default card, then the new card will become the default.\nHowever, if the owner already has a default, then it will not change.\nTo change the default, you should <a href=\"/docs/api#update_customer\">update the customer</a> to have a new <code>default_source</code>.</p>",
        "operationId": "PostCustomersCustomerSources",
        "parameters": [
          {
            "in": "path",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "source": {
                    "description": "Please refer to full [documentation](https://stripe.com/docs/api) instead.",
                    "maxLength": 5000,
                    "type": "string",
                    "x-stripeBypassValidation": true
                  },
                  "validate": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "source"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "metadata",
                  "source"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payment_source"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a card"
      }
    },
    "/v1/customers/{customer}/sources/{id}": {
      "delete": {
        "description": "<p>Delete a specified source for a given customer.</p>",
        "operationId": "DeleteCustomersCustomerSourcesId",
        "parameters": [
          {
            "in": "path",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/payment_source"
                    },
                    {
                      "$ref": "#/components/schemas/deleted_payment_source"
                    }
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Delete a customer source"
      },
      "get": {
        "description": "<p>Retrieve a specified source for a given customer.</p>",
        "operationId": "GetCustomersCustomerSourcesId",
        "parameters": [
          {
            "in": "path",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 500,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payment_source"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        }
      },
      "post": {
        "description": "<p>Update a specified source for a given customer.</p>",
        "operationId": "PostCustomersCustomerSourcesId",
        "parameters": [
          {
            "in": "path",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "owner": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "account_holder_name": {
                    "description": "The name of the person or business that owns the bank account.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "account_holder_type": {
                    "description": "The type of entity that holds the account. This can be either `individual` or `company`.",
                    "enum": [
                      "company",
                      "individual"
                    ],
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "address_city": {
                    "description": "City/District/Suburb/Town/Village.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "address_country": {
                    "description": "Billing address country, if provided when creating card.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "address_line1": {
                    "description": "Address line 1 (Street address/PO Box/Company name).",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "address_line2": {
                    "description": "Address line 2 (Apartment/Suite/Unit/Building).",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "address_state": {
                    "description": "State/County/Province/Region.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "address_zip": {
                    "description": "ZIP or postal code.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "exp_month": {
                    "description": "Two digit number representing the card’s expiration month.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "exp_year": {
                    "description": "Four digit number representing the card’s expiration year.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "name": {
                    "description": "Cardholder name.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "owner": {
                    "properties": {
                      "address": {
                        "description": "Owner's address.",
                        "properties": {
                          "city": {
                            "description": "City, district, suburb, town, or village.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Address line 1 (e.g., street, PO Box, or company name).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "ZIP or postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "State, county, province, or region.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "source_address",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "line1",
                          "line2",
                          "postal_code",
                          "state"
                        ]
                      },
                      "email": {
                        "description": "Owner's email address.",
                        "type": "string"
                      },
                      "name": {
                        "description": "Owner's full name.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "phone": {
                        "description": "Owner's phone number.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "owner",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "address",
                      "email",
                      "name",
                      "phone"
                    ]
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "account_holder_name",
                  "account_holder_type",
                  "address_city",
                  "address_country",
                  "address_line1",
                  "address_line2",
                  "address_state",
                  "address_zip",
                  "exp_month",
                  "exp_year",
                  "metadata",
                  "name",
                  "owner"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/card"
                    },
                    {
                      "$ref": "#/components/schemas/bank_account"
                    },
                    {
                      "$ref": "#/components/schemas/source"
                    }
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        }
      }
    },
    "/v1/customers/{customer}/sources/{id}/verify": {
      "post": {
        "description": "<p>Verify a specified bank account for a given customer.</p>",
        "operationId": "PostCustomersCustomerSourcesIdVerify",
        "parameters": [
          {
            "in": "path",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "amounts": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amounts": {
                    "description": "Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account.",
                    "items": {
                      "type": "integer"
                    },
                    "type": "array"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "amounts"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/bank_account"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Verify a bank account"
      }
    },
    "/v1/customers/{customer}/tax_ids": {
      "get": {
        "description": "<p>Returns a list of tax IDs for a customer.</p>",
        "operationId": "GetCustomersCustomerTaxIds",
        "parameters": [
          {
            "in": "path",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/tax_id"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "TaxIDsList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all Customer tax IDs"
      },
      "post": {
        "description": "<p>Creates a new <code>tax_id</code> object for a customer.</p>",
        "operationId": "PostCustomersCustomerTaxIds",
        "parameters": [
          {
            "in": "path",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "type": {
                    "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `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`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat`",
                    "enum": [
                      "ad_nrt",
                      "ae_trn",
                      "ar_cuit",
                      "au_abn",
                      "au_arn",
                      "bg_uic",
                      "bh_vat",
                      "bo_tin",
                      "br_cnpj",
                      "br_cpf",
                      "by_tin",
                      "ca_bn",
                      "ca_gst_hst",
                      "ca_pst_bc",
                      "ca_pst_mb",
                      "ca_pst_sk",
                      "ca_qst",
                      "ch_uid",
                      "ch_vat",
                      "cl_tin",
                      "cn_tin",
                      "co_nit",
                      "cr_tin",
                      "de_stn",
                      "do_rcn",
                      "ec_ruc",
                      "eg_tin",
                      "es_cif",
                      "eu_oss_vat",
                      "eu_vat",
                      "gb_vat",
                      "ge_vat",
                      "hk_br",
                      "hr_oib",
                      "hu_tin",
                      "id_npwp",
                      "il_vat",
                      "in_gst",
                      "is_vat",
                      "jp_cn",
                      "jp_rn",
                      "jp_trn",
                      "ke_pin",
                      "kr_brn",
                      "kz_bin",
                      "li_uid",
                      "li_vat",
                      "ma_vat",
                      "md_vat",
                      "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",
                      "tz_vat",
                      "ua_vat",
                      "us_ein",
                      "uy_ruc",
                      "uz_tin",
                      "uz_vat",
                      "ve_rif",
                      "vn_tin",
                      "za_vat"
                    ],
                    "maxLength": 5000,
                    "type": "string",
                    "x-stripeBypassValidation": true
                  },
                  "value": {
                    "description": "Value of the tax ID.",
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "value"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "type",
                  "value"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tax_id"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a Customer tax ID"
      }
    },
    "/v1/customers/{customer}/tax_ids/{id}": {
      "delete": {
        "description": "<p>Deletes an existing <code>tax_id</code> object.</p>",
        "operationId": "DeleteCustomersCustomerTaxIdsId",
        "parameters": [
          {
            "in": "path",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/deleted_tax_id"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Delete a Customer tax ID"
      },
      "get": {
        "description": "<p>Retrieves the <code>tax_id</code> object with the given identifier.</p>",
        "operationId": "GetCustomersCustomerTaxIdsId",
        "parameters": [
          {
            "in": "path",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tax_id"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a Customer tax ID"
      }
    },
    "/v1/disputes": {
      "get": {
        "description": "<p>Returns a list of your disputes.</p>",
        "operationId": "GetDisputes",
        "parameters": [
          {
            "description": "Only return disputes associated to the charge specified by this charge ID.",
            "in": "query",
            "name": "charge",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return disputes that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "Only return disputes associated to the PaymentIntent specified by this PaymentIntent ID.",
            "in": "query",
            "name": "payment_intent",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/dispute"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/disputes",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "DisputeList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all disputes"
      }
    },
    "/v1/disputes/{dispute}": {
      "get": {
        "description": "<p>Retrieves the dispute with the given ID.</p>",
        "operationId": "GetDisputesDispute",
        "parameters": [
          {
            "in": "path",
            "name": "dispute",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/dispute"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a dispute"
      },
      "post": {
        "description": "<p>When you get a dispute, contacting your customer is always the best first step. If that doesn’t work, you can submit evidence to help us resolve the dispute in your favor. You can do this in your <a href=\"https://dashboard.stripe.com/disputes\">dashboard</a>, but if you prefer, you can use the API to submit evidence programmatically.</p>\n\n<p>Depending on your dispute type, different evidence fields will give you a better chance of winning your dispute. To figure out which evidence fields to provide, see our <a href=\"/docs/disputes/categories\">guide to dispute types</a>.</p>",
        "operationId": "PostDisputesDispute",
        "parameters": [
          {
            "in": "path",
            "name": "dispute",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "evidence": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "evidence": {
                    "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.",
                    "properties": {
                      "access_activity_log": {
                        "description": "Any server or activity logs showing proof that the customer accessed or downloaded the purchased digital product. This information should include IP addresses, corresponding timestamps, and any detailed recorded activity. Has a maximum character count of 20,000.",
                        "maxLength": 20000,
                        "type": "string"
                      },
                      "billing_address": {
                        "description": "The billing address provided by the customer.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "cancellation_policy": {
                        "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Your subscription cancellation policy, as shown to the customer.",
                        "type": "string"
                      },
                      "cancellation_policy_disclosure": {
                        "description": "An explanation of how and when the customer was shown your refund policy prior to purchase. Has a maximum character count of 20,000.",
                        "maxLength": 20000,
                        "type": "string"
                      },
                      "cancellation_rebuttal": {
                        "description": "A justification for why the customer's subscription was not canceled. Has a maximum character count of 20,000.",
                        "maxLength": 20000,
                        "type": "string"
                      },
                      "customer_communication": {
                        "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Any communication with the customer that you feel is relevant to your case. Examples include emails proving that the customer received the product or service, or demonstrating their use of or satisfaction with the product or service.",
                        "type": "string"
                      },
                      "customer_email_address": {
                        "description": "The email address of the customer.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "customer_name": {
                        "description": "The name of the customer.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "customer_purchase_ip": {
                        "description": "The IP address that the customer used when making the purchase.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "customer_signature": {
                        "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A relevant document or contract showing the customer's signature.",
                        "type": "string"
                      },
                      "duplicate_charge_documentation": {
                        "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Documentation for the prior charge that can uniquely identify the charge, such as a receipt, shipping label, work order, etc. This document should be paired with a similar document from the disputed payment that proves the two payments are separate.",
                        "type": "string"
                      },
                      "duplicate_charge_explanation": {
                        "description": "An explanation of the difference between the disputed charge versus the prior charge that appears to be a duplicate. Has a maximum character count of 20,000.",
                        "maxLength": 20000,
                        "type": "string"
                      },
                      "duplicate_charge_id": {
                        "description": "The Stripe ID for the prior charge which appears to be a duplicate of the disputed charge.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "enhanced_evidence": {
                        "anyOf": [
                          {
                            "properties": {
                              "visa_compelling_evidence_3": {
                                "description": "Evidence provided for Visa Compelling Evidence 3.0 evidence submission.",
                                "properties": {
                                  "disputed_transaction": {
                                    "description": "Disputed transaction details for Visa Compelling Evidence 3.0 evidence submission.",
                                    "properties": {
                                      "customer_account_id": {
                                        "anyOf": [
                                          {
                                            "maxLength": 5000,
                                            "type": "string"
                                          },
                                          {
                                            "enum": [
                                              ""
                                            ],
                                            "type": "string"
                                          }
                                        ],
                                        "description": "User Account ID used to log into business platform. Must be recognizable by the user."
                                      },
                                      "customer_device_fingerprint": {
                                        "anyOf": [
                                          {
                                            "maxLength": 5000,
                                            "type": "string"
                                          },
                                          {
                                            "enum": [
                                              ""
                                            ],
                                            "type": "string"
                                          }
                                        ],
                                        "description": "Unique identifier of the cardholder’s device derived from a combination of at least two hardware and software attributes. Must be at least 20 characters."
                                      },
                                      "customer_device_id": {
                                        "anyOf": [
                                          {
                                            "maxLength": 5000,
                                            "type": "string"
                                          },
                                          {
                                            "enum": [
                                              ""
                                            ],
                                            "type": "string"
                                          }
                                        ],
                                        "description": "Unique identifier of the cardholder’s device such as a device serial number (e.g., International Mobile Equipment Identity [IMEI]). Must be at least 15 characters."
                                      },
                                      "customer_email_address": {
                                        "anyOf": [
                                          {
                                            "maxLength": 5000,
                                            "type": "string"
                                          },
                                          {
                                            "enum": [
                                              ""
                                            ],
                                            "type": "string"
                                          }
                                        ],
                                        "description": "The email address of the customer."
                                      },
                                      "customer_purchase_ip": {
                                        "anyOf": [
                                          {
                                            "maxLength": 5000,
                                            "type": "string"
                                          },
                                          {
                                            "enum": [
                                              ""
                                            ],
                                            "type": "string"
                                          }
                                        ],
                                        "description": "The IP address that the customer used when making the purchase."
                                      },
                                      "merchandise_or_services": {
                                        "description": "Categorization of disputed payment.",
                                        "enum": [
                                          "merchandise",
                                          "services"
                                        ],
                                        "type": "string"
                                      },
                                      "product_description": {
                                        "anyOf": [
                                          {
                                            "maxLength": 5000,
                                            "type": "string"
                                          },
                                          {
                                            "enum": [
                                              ""
                                            ],
                                            "type": "string"
                                          }
                                        ],
                                        "description": "A description of the product or service that was sold."
                                      },
                                      "shipping_address": {
                                        "description": "The address to which a physical product was shipped. All fields are required for Visa Compelling Evidence 3.0 evidence submission.",
                                        "properties": {
                                          "city": {
                                            "anyOf": [
                                              {
                                                "maxLength": 5000,
                                                "type": "string"
                                              },
                                              {
                                                "enum": [
                                                  ""
                                                ],
                                                "type": "string"
                                              }
                                            ],
                                            "description": "City, district, suburb, town, or village."
                                          },
                                          "country": {
                                            "anyOf": [
                                              {
                                                "maxLength": 5000,
                                                "type": "string"
                                              },
                                              {
                                                "enum": [
                                                  ""
                                                ],
                                                "type": "string"
                                              }
                                            ],
                                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."
                                          },
                                          "line1": {
                                            "anyOf": [
                                              {
                                                "maxLength": 5000,
                                                "type": "string"
                                              },
                                              {
                                                "enum": [
                                                  ""
                                                ],
                                                "type": "string"
                                              }
                                            ],
                                            "description": "Address line 1 (e.g., street, PO Box, or company name)."
                                          },
                                          "line2": {
                                            "anyOf": [
                                              {
                                                "maxLength": 5000,
                                                "type": "string"
                                              },
                                              {
                                                "enum": [
                                                  ""
                                                ],
                                                "type": "string"
                                              }
                                            ],
                                            "description": "Address line 2 (e.g., apartment, suite, unit, or building)."
                                          },
                                          "postal_code": {
                                            "anyOf": [
                                              {
                                                "maxLength": 5000,
                                                "type": "string"
                                              },
                                              {
                                                "enum": [
                                                  ""
                                                ],
                                                "type": "string"
                                              }
                                            ],
                                            "description": "ZIP or postal code."
                                          },
                                          "state": {
                                            "anyOf": [
                                              {
                                                "maxLength": 5000,
                                                "type": "string"
                                              },
                                              {
                                                "enum": [
                                                  ""
                                                ],
                                                "type": "string"
                                              }
                                            ],
                                            "description": "State, county, province, or region."
                                          }
                                        },
                                        "title": "shipping_address",
                                        "type": "object",
                                        "x-stripeMostCommon": [
                                          "city",
                                          "country",
                                          "line1",
                                          "line2",
                                          "postal_code",
                                          "state"
                                        ]
                                      }
                                    },
                                    "title": "visa_compelling_evidence3_disputed_transaction",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "customer_account_id",
                                      "customer_device_fingerprint",
                                      "customer_device_id",
                                      "customer_email_address",
                                      "customer_purchase_ip",
                                      "merchandise_or_services",
                                      "product_description",
                                      "shipping_address"
                                    ]
                                  },
                                  "prior_undisputed_transactions": {
                                    "description": "List of exactly two prior undisputed transaction objects for Visa Compelling Evidence 3.0 evidence submission.",
                                    "items": {
                                      "properties": {
                                        "charge": {
                                          "description": "Stripe charge ID for the Visa Compelling Evidence 3.0 eligible prior charge.",
                                          "maxLength": 5000,
                                          "type": "string"
                                        },
                                        "customer_account_id": {
                                          "anyOf": [
                                            {
                                              "maxLength": 5000,
                                              "type": "string"
                                            },
                                            {
                                              "enum": [
                                                ""
                                              ],
                                              "type": "string"
                                            }
                                          ],
                                          "description": "User Account ID used to log into business platform. Must be recognizable by the user."
                                        },
                                        "customer_device_fingerprint": {
                                          "anyOf": [
                                            {
                                              "maxLength": 5000,
                                              "type": "string"
                                            },
                                            {
                                              "enum": [
                                                ""
                                              ],
                                              "type": "string"
                                            }
                                          ],
                                          "description": "Unique identifier of the cardholder’s device derived from a combination of at least two hardware and software attributes. Must be at least 20 characters."
                                        },
                                        "customer_device_id": {
                                          "anyOf": [
                                            {
                                              "maxLength": 5000,
                                              "type": "string"
                                            },
                                            {
                                              "enum": [
                                                ""
                                              ],
                                              "type": "string"
                                            }
                                          ],
                                          "description": "Unique identifier of the cardholder’s device such as a device serial number (e.g., International Mobile Equipment Identity [IMEI]). Must be at least 15 characters."
                                        },
                                        "customer_email_address": {
                                          "anyOf": [
                                            {
                                              "maxLength": 5000,
                                              "type": "string"
                                            },
                                            {
                                              "enum": [
                                                ""
                                              ],
                                              "type": "string"
                                            }
                                          ],
                                          "description": "The email address of the customer."
                                        },
                                        "customer_purchase_ip": {
                                          "anyOf": [
                                            {
                                              "maxLength": 5000,
                                              "type": "string"
                                            },
                                            {
                                              "enum": [
                                                ""
                                              ],
                                              "type": "string"
                                            }
                                          ],
                                          "description": "The IP address that the customer used when making the purchase."
                                        },
                                        "product_description": {
                                          "anyOf": [
                                            {
                                              "maxLength": 5000,
                                              "type": "string"
                                            },
                                            {
                                              "enum": [
                                                ""
                                              ],
                                              "type": "string"
                                            }
                                          ],
                                          "description": "A description of the product or service that was sold."
                                        },
                                        "shipping_address": {
                                          "description": "The address to which a physical product was shipped. All fields are required for Visa Compelling Evidence 3.0 evidence submission.",
                                          "properties": {
                                            "city": {
                                              "anyOf": [
                                                {
                                                  "maxLength": 5000,
                                                  "type": "string"
                                                },
                                                {
                                                  "enum": [
                                                    ""
                                                  ],
                                                  "type": "string"
                                                }
                                              ],
                                              "description": "City, district, suburb, town, or village."
                                            },
                                            "country": {
                                              "anyOf": [
                                                {
                                                  "maxLength": 5000,
                                                  "type": "string"
                                                },
                                                {
                                                  "enum": [
                                                    ""
                                                  ],
                                                  "type": "string"
                                                }
                                              ],
                                              "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."
                                            },
                                            "line1": {
                                              "anyOf": [
                                                {
                                                  "maxLength": 5000,
                                                  "type": "string"
                                                },
                                                {
                                                  "enum": [
                                                    ""
                                                  ],
                                                  "type": "string"
                                                }
                                              ],
                                              "description": "Address line 1 (e.g., street, PO Box, or company name)."
                                            },
                                            "line2": {
                                              "anyOf": [
                                                {
                                                  "maxLength": 5000,
                                                  "type": "string"
                                                },
                                                {
                                                  "enum": [
                                                    ""
                                                  ],
                                                  "type": "string"
                                                }
                                              ],
                                              "description": "Address line 2 (e.g., apartment, suite, unit, or building)."
                                            },
                                            "postal_code": {
                                              "anyOf": [
                                                {
                                                  "maxLength": 5000,
                                                  "type": "string"
                                                },
                                                {
                                                  "enum": [
                                                    ""
                                                  ],
                                                  "type": "string"
                                                }
                                              ],
                                              "description": "ZIP or postal code."
                                            },
                                            "state": {
                                              "anyOf": [
                                                {
                                                  "maxLength": 5000,
                                                  "type": "string"
                                                },
                                                {
                                                  "enum": [
                                                    ""
                                                  ],
                                                  "type": "string"
                                                }
                                              ],
                                              "description": "State, county, province, or region."
                                            }
                                          },
                                          "title": "shipping_address",
                                          "type": "object",
                                          "x-stripeMostCommon": [
                                            "city",
                                            "country",
                                            "line1",
                                            "line2",
                                            "postal_code",
                                            "state"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "charge"
                                      ],
                                      "title": "visa_compelling_evidence3_prior_undisputed_transaction",
                                      "type": "object",
                                      "x-stripeMostCommon": [
                                        "charge",
                                        "customer_account_id",
                                        "customer_device_fingerprint",
                                        "customer_device_id",
                                        "customer_email_address",
                                        "customer_purchase_ip",
                                        "product_description",
                                        "shipping_address"
                                      ]
                                    },
                                    "type": "array"
                                  }
                                },
                                "title": "visa_compelling_evidence3",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "disputed_transaction",
                                  "prior_undisputed_transactions"
                                ]
                              }
                            },
                            "title": "enhanced_evidence",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "visa_compelling_evidence_3",
                              "visa_compliance"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Additional evidence for qualifying evidence programs."
                      },
                      "product_description": {
                        "description": "A description of the product or service that was sold. Has a maximum character count of 20,000.",
                        "maxLength": 20000,
                        "type": "string"
                      },
                      "receipt": {
                        "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Any receipt or message sent to the customer notifying them of the charge.",
                        "type": "string"
                      },
                      "refund_policy": {
                        "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Your refund policy, as shown to the customer.",
                        "type": "string"
                      },
                      "refund_policy_disclosure": {
                        "description": "Documentation demonstrating that the customer was shown your refund policy prior to purchase. Has a maximum character count of 20,000.",
                        "maxLength": 20000,
                        "type": "string"
                      },
                      "refund_refusal_explanation": {
                        "description": "A justification for why the customer is not entitled to a refund. Has a maximum character count of 20,000.",
                        "maxLength": 20000,
                        "type": "string"
                      },
                      "service_date": {
                        "description": "The date on which the customer received or began receiving the purchased service, in a clear human-readable format.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "service_documentation": {
                        "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Documentation showing proof that a service was provided to the customer. This could include a copy of a signed contract, work order, or other form of written agreement.",
                        "type": "string"
                      },
                      "shipping_address": {
                        "description": "The address to which a physical product was shipped. You should try to include as complete address information as possible.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "shipping_carrier": {
                        "description": "The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. If multiple carriers were used for this purchase, please separate them with commas.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "shipping_date": {
                        "description": "The date on which a physical product began its route to the shipping address, in a clear human-readable format.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "shipping_documentation": {
                        "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Documentation showing proof that a product was shipped to the customer at the same address the customer provided to you. This could include a copy of the shipment receipt, shipping label, etc. It should show the customer's full shipping address, if possible.",
                        "type": "string"
                      },
                      "shipping_tracking_number": {
                        "description": "The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "uncategorized_file": {
                        "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Any additional evidence or statements.",
                        "type": "string"
                      },
                      "uncategorized_text": {
                        "description": "Any additional evidence or statements. Has a maximum character count of 20,000.",
                        "maxLength": 20000,
                        "type": "string"
                      }
                    },
                    "title": "dispute_evidence_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "access_activity_log",
                      "billing_address",
                      "booking",
                      "cancellation_policy",
                      "cancellation_policy_disclosure",
                      "cancellation_rebuttal",
                      "credit_voucher",
                      "customer_communication",
                      "customer_email_address",
                      "customer_name",
                      "customer_purchase_ip",
                      "customer_signature",
                      "duplicate_charge_documentation",
                      "duplicate_charge_explanation",
                      "duplicate_charge_id",
                      "enhanced_evidence",
                      "event_details",
                      "government_order",
                      "narrative",
                      "prior_undisputed_payments",
                      "product_description",
                      "product_service_ad",
                      "receipt",
                      "refund_policy",
                      "refund_policy_disclosure",
                      "refund_refusal_explanation",
                      "service_date",
                      "service_documentation",
                      "shipping_address",
                      "shipping_carrier",
                      "shipping_date",
                      "shipping_documentation",
                      "shipping_tracking_number",
                      "terms_disclosure",
                      "uncategorized_file",
                      "uncategorized_text"
                    ]
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "submit": {
                    "description": "Whether to immediately submit evidence to the bank. If `false`, evidence is staged on the dispute. Staged evidence is visible in the API and Dashboard, and can be submitted to the bank by making another request with this attribute set to `true` (the default).",
                    "type": "boolean"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "evidence",
                  "metadata",
                  "submit"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/dispute"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a dispute"
      }
    },
    "/v1/disputes/{dispute}/close": {
      "post": {
        "description": "<p>Closing the dispute for a charge indicates that you do not have any evidence to submit and are essentially dismissing the dispute, acknowledging it as lost.</p>\n\n<p>The status of the dispute will change from <code>needs_response</code> to <code>lost</code>. <em>Closing a dispute is irreversible</em>.</p>",
        "operationId": "PostDisputesDisputeClose",
        "parameters": [
          {
            "in": "path",
            "name": "dispute",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/dispute"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Close a dispute"
      }
    },
    "/v1/entitlements/active_entitlements": {
      "get": {
        "description": "<p>Retrieve a list of active entitlements for a customer</p>",
        "operationId": "GetEntitlementsActiveEntitlements",
        "parameters": [
          {
            "description": "The ID of the customer.",
            "in": "query",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/entitlements.active_entitlement"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "EntitlementsResourceCustomerEntitlementList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all active entitlements"
      }
    },
    "/v1/entitlements/active_entitlements/{id}": {
      "get": {
        "description": "<p>Retrieve an active entitlement</p>",
        "operationId": "GetEntitlementsActiveEntitlementsId",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "The ID of the entitlement.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/entitlements.active_entitlement"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve an active entitlement"
      }
    },
    "/v1/entitlements/features": {
      "get": {
        "description": "<p>Retrieve a list of features</p>",
        "operationId": "GetEntitlementsFeatures",
        "parameters": [
          {
            "description": "If set, filter results to only include features with the given archive status.",
            "in": "query",
            "name": "archived",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "If set, filter results to only include features with the given lookup_key.",
            "in": "query",
            "name": "lookup_key",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/entitlements.feature"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/entitlements/features",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "EntitlementsResourceFeatureList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all features"
      },
      "post": {
        "description": "<p>Creates a feature</p>",
        "operationId": "PostEntitlementsFeatures",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "lookup_key": {
                    "description": "A unique key you provide as your own system identifier. This may be up to 80 characters.",
                    "maxLength": 80,
                    "type": "string"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
                    "type": "object"
                  },
                  "name": {
                    "description": "The feature's name, for your own purpose, not meant to be displayable to the customer.",
                    "maxLength": 80,
                    "type": "string"
                  }
                },
                "required": [
                  "lookup_key",
                  "name"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "lookup_key",
                  "metadata",
                  "name"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/entitlements.feature"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a feature"
      }
    },
    "/v1/entitlements/features/{id}": {
      "get": {
        "description": "<p>Retrieves a feature</p>",
        "operationId": "GetEntitlementsFeaturesId",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "The ID of the feature.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/entitlements.feature"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a feature"
      },
      "post": {
        "description": "<p>Update a feature’s metadata or permanently deactivate it.</p>",
        "operationId": "PostEntitlementsFeaturesId",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "active": {
                    "description": "Inactive features cannot be attached to new products and will not be returned from the features list endpoint.",
                    "type": "boolean"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format."
                  },
                  "name": {
                    "description": "The feature's name, for your own purpose, not meant to be displayable to the customer.",
                    "maxLength": 80,
                    "type": "string"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "metadata",
                  "name"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/entitlements.feature"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Updates a feature"
      }
    },
    "/v1/ephemeral_keys": {
      "post": {
        "description": "<p>Creates a short-lived API key for a given resource.</p>",
        "operationId": "PostEphemeralKeys",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "customer": {
                    "description": "The ID of the Customer you'd like to modify using the resulting ephemeral key.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "issuing_card": {
                    "description": "The ID of the Issuing Card you'd like to access using the resulting ephemeral key.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "nonce": {
                    "description": "A single-use token, created by Stripe.js, used for creating ephemeral keys for Issuing Cards without exchanging sensitive information.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "verification_session": {
                    "description": "The ID of the Identity VerificationSession you'd like to access using the resulting ephemeral key",
                    "maxLength": 5000,
                    "type": "string"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "customer",
                  "issuing_card",
                  "nonce",
                  "verification_session"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ephemeral_key"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create an ephemeral key"
      }
    },
    "/v1/ephemeral_keys/{key}": {
      "delete": {
        "description": "<p>Invalidates a short-lived API key for a given resource.</p>",
        "operationId": "DeleteEphemeralKeysKey",
        "parameters": [
          {
            "in": "path",
            "name": "key",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ephemeral_key"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Immediately invalidate an ephemeral key"
      }
    },
    "/v1/events": {
      "get": {
        "description": "<p>List events, going back up to 30 days. Each event data is rendered according to Stripe API version at its creation time, specified in <a href=\"https://docs.stripe.com/api/events/object\">event object</a> <code>api_version</code> attribute (not according to your current Stripe API version or <code>Stripe-Version</code> header).</p>",
        "operationId": "GetEvents",
        "parameters": [
          {
            "description": "Only return events that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "delivery_success",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "explode": true,
            "in": "query",
            "name": "types",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/event"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/events",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "NotificationEventList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all events"
      }
    },
    "/v1/events/{id}": {
      "get": {
        "description": "<p>Retrieves the details of an event if it was created in the last 30 days. Supply the unique identifier of the event, which you might have received in a webhook.</p>",
        "operationId": "GetEventsId",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/event"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve an event"
      }
    },
    "/v1/exchange_rates": {
      "get": {
        "description": "<p>Returns a list of objects that contain the rates at which foreign currencies are converted to one another. Only shows the currencies for which Stripe supports.</p>",
        "operationId": "GetExchangeRates",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/exchange_rate"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/exchange_rates",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "ExchangeRateList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all exchange rates"
      }
    },
    "/v1/exchange_rates/{rate_id}": {
      "get": {
        "description": "<p>Retrieves the exchange rates from the given currency to every supported currency.</p>",
        "operationId": "GetExchangeRatesRateId",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "rate_id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/exchange_rate"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve an exchange rate"
      }
    },
    "/v1/file_links": {
      "get": {
        "description": "<p>Returns a list of file links.</p>",
        "operationId": "GetFileLinks",
        "parameters": [
          {
            "description": "Only return links that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "Filter links by their expiration status. By default, Stripe returns all links.",
            "in": "query",
            "name": "expired",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          },
          {
            "description": "Only return links for the given file.",
            "in": "query",
            "name": "file",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/file_link"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/file_links",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "FileResourceFileLinkList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all file links"
      },
      "post": {
        "description": "<p>Creates a new file link object.</p>",
        "operationId": "PostFileLinks",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "expires_at": {
                    "description": "The link isn't usable after this future timestamp.",
                    "format": "unix-time",
                    "type": "integer"
                  },
                  "file": {
                    "description": "The ID of the file. The file's `purpose` must be one of the following: `business_icon`, `business_logo`, `customer_signature`, `dispute_evidence`, `finance_report_run`, `financial_account_statement`, `identity_document_downloadable`, `issuing_regulatory_reporting`, `pci_document`, `selfie`, `sigma_scheduled_query`, `tax_document_user_upload`, or `terminal_reader_splashscreen`.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "expires_at",
                  "file",
                  "metadata"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/file_link"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a file link"
      }
    },
    "/v1/file_links/{link}": {
      "get": {
        "description": "<p>Retrieves the file link with the given ID.</p>",
        "operationId": "GetFileLinksLink",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "link",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/file_link"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a file link"
      },
      "post": {
        "description": "<p>Updates an existing file link object. Expired links can no longer be updated.</p>",
        "operationId": "PostFileLinksLink",
        "parameters": [
          {
            "in": "path",
            "name": "link",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expires_at": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "expires_at": {
                    "anyOf": [
                      {
                        "enum": [
                          "now"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      },
                      {
                        "format": "unix-time",
                        "type": "integer"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A future timestamp after which the link will no longer be usable, or `now` to expire the link immediately."
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "expires_at",
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/file_link"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a file link"
      }
    },
    "/v1/files": {
      "get": {
        "description": "<p>Returns a list of the files that your account has access to. Stripe sorts and returns the files by their creation dates, placing the most recently created files at the top.</p>",
        "operationId": "GetFiles",
        "parameters": [
          {
            "description": "Only return files that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "Filter queries by the file purpose. If you don't provide a purpose, the queries return unfiltered files.",
            "in": "query",
            "name": "purpose",
            "required": false,
            "schema": {
              "enum": [
                "account_requirement",
                "additional_verification",
                "business_icon",
                "business_logo",
                "customer_signature",
                "dispute_evidence",
                "document_provider_identity_document",
                "finance_report_run",
                "financial_account_statement",
                "identity_document",
                "identity_document_downloadable",
                "issuing_regulatory_reporting",
                "pci_document",
                "selfie",
                "sigma_scheduled_query",
                "tax_document_user_upload",
                "terminal_reader_splashscreen"
              ],
              "maxLength": 5000,
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/file"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/files",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "FileResourceFileList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all files"
      },
      "post": {
        "description": "<p>To upload a file to Stripe, you need to send a request of type <code>multipart/form-data</code>. Include the file you want to upload in the request, and the parameters for creating a file.</p>\n\n<p>All of Stripe’s officially supported Client libraries support sending <code>multipart/form-data</code>.</p>",
        "operationId": "PostFiles",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "file_link_data": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "file": {
                    "description": "A file to upload. Make sure that the specifications follow RFC 2388, which defines file transfers for the `multipart/form-data` protocol.",
                    "format": "binary",
                    "type": "string"
                  },
                  "file_link_data": {
                    "description": "Optional parameters that automatically create a [file link](https://stripe.com/docs/api#file_links) for the newly created file.",
                    "properties": {
                      "create": {
                        "description": "Set this to `true` to create a file link for the newly created file. Creating a link is only possible when the file's `purpose` is one of the following: `business_icon`, `business_logo`, `customer_signature`, `dispute_evidence`, `issuing_regulatory_reporting`, `pci_document`, `tax_document_user_upload`, or `terminal_reader_splashscreen`.",
                        "type": "boolean"
                      },
                      "expires_at": {
                        "description": "The link isn't available after this future timestamp.",
                        "format": "unix-time",
                        "type": "integer"
                      },
                      "metadata": {
                        "anyOf": [
                          {
                            "additionalProperties": {
                              "type": "string"
                            },
                            "type": "object"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                      }
                    },
                    "required": [
                      "create"
                    ],
                    "title": "file_link_creation_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "create",
                      "expires_at",
                      "metadata"
                    ]
                  },
                  "purpose": {
                    "description": "The [purpose](https://stripe.com/docs/file-upload#uploading-a-file) of the uploaded file.",
                    "enum": [
                      "account_requirement",
                      "additional_verification",
                      "business_icon",
                      "business_logo",
                      "customer_signature",
                      "dispute_evidence",
                      "identity_document",
                      "issuing_regulatory_reporting",
                      "pci_document",
                      "tax_document_user_upload",
                      "terminal_reader_splashscreen"
                    ],
                    "type": "string",
                    "x-stripeBypassValidation": true
                  }
                },
                "required": [
                  "file",
                  "purpose"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "file",
                  "purpose"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/file"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "servers": [
          {
            "url": "https://files.stripe.com/"
          }
        ],
        "summary": "Create a file"
      }
    },
    "/v1/files/{file}": {
      "get": {
        "description": "<p>Retrieves the details of an existing file object. After you supply a unique file ID, Stripe returns the corresponding file object. Learn how to <a href=\"/docs/file-upload#download-file-contents\">access file contents</a>.</p>",
        "operationId": "GetFilesFile",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "file",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/file"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a file"
      }
    },
    "/v1/financial_connections/accounts": {
      "get": {
        "description": "<p>Returns a list of Financial Connections <code>Account</code> objects.</p>",
        "operationId": "GetFinancialConnectionsAccounts",
        "parameters": [
          {
            "description": "If present, only return accounts that belong to the specified account holder. `account_holder[customer]` and `account_holder[account]` are mutually exclusive.",
            "explode": true,
            "in": "query",
            "name": "account_holder",
            "required": false,
            "schema": {
              "properties": {
                "account": {
                  "description": "The ID of the Stripe account whose accounts will be retrieved.",
                  "maxLength": 5000,
                  "type": "string"
                },
                "customer": {
                  "description": "The ID of the Stripe customer whose accounts will be retrieved.",
                  "maxLength": 5000,
                  "type": "string"
                }
              },
              "title": "accountholder_params",
              "type": "object",
              "x-stripeMostCommon": [
                "account",
                "customer"
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "If present, only return accounts that were collected as part of the given session.",
            "in": "query",
            "name": "session",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/financial_connections.account"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/financial_connections/accounts",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "BankConnectionsResourceLinkedAccountList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List Accounts"
      }
    },
    "/v1/financial_connections/accounts/{account}": {
      "get": {
        "description": "<p>Retrieves the details of an Financial Connections <code>Account</code>.</p>",
        "operationId": "GetFinancialConnectionsAccountsAccount",
        "parameters": [
          {
            "in": "path",
            "name": "account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/financial_connections.account"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve an Account"
      }
    },
    "/v1/financial_connections/accounts/{account}/disconnect": {
      "post": {
        "description": "<p>Disables your access to a Financial Connections <code>Account</code>. You will no longer be able to access data associated with the account (e.g. balances, transactions).</p>",
        "operationId": "PostFinancialConnectionsAccountsAccountDisconnect",
        "parameters": [
          {
            "in": "path",
            "name": "account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/financial_connections.account"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Disconnect an Account"
      }
    },
    "/v1/financial_connections/accounts/{account}/owners": {
      "get": {
        "description": "<p>Lists all owners for a given <code>Account</code></p>",
        "operationId": "GetFinancialConnectionsAccountsAccountOwners",
        "parameters": [
          {
            "in": "path",
            "name": "account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "The ID of the ownership object to fetch owners from.",
            "in": "query",
            "name": "ownership",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/financial_connections.account_owner"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "BankConnectionsResourceOwnerList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List Account Owners"
      }
    },
    "/v1/financial_connections/accounts/{account}/refresh": {
      "post": {
        "description": "<p>Refreshes the data associated with a Financial Connections <code>Account</code>.</p>",
        "operationId": "PostFinancialConnectionsAccountsAccountRefresh",
        "parameters": [
          {
            "in": "path",
            "name": "account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "features": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "features": {
                    "description": "The list of account features that you would like to refresh.",
                    "items": {
                      "enum": [
                        "balance",
                        "ownership",
                        "transactions"
                      ],
                      "type": "string",
                      "x-stripeBypassValidation": true
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "features"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "features"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/financial_connections.account"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Refresh Account data"
      }
    },
    "/v1/financial_connections/accounts/{account}/subscribe": {
      "post": {
        "description": "<p>Subscribes to periodic refreshes of data associated with a Financial Connections <code>Account</code>.</p>",
        "operationId": "PostFinancialConnectionsAccountsAccountSubscribe",
        "parameters": [
          {
            "in": "path",
            "name": "account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "features": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "features": {
                    "description": "The list of account features to which you would like to subscribe.",
                    "items": {
                      "enum": [
                        "transactions"
                      ],
                      "type": "string",
                      "x-stripeBypassValidation": true
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "features"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "features"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/financial_connections.account"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Subscribe to data refreshes for an Account"
      }
    },
    "/v1/financial_connections/accounts/{account}/unsubscribe": {
      "post": {
        "description": "<p>Unsubscribes from periodic refreshes of data associated with a Financial Connections <code>Account</code>.</p>",
        "operationId": "PostFinancialConnectionsAccountsAccountUnsubscribe",
        "parameters": [
          {
            "in": "path",
            "name": "account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "features": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "features": {
                    "description": "The list of account features from which you would like to unsubscribe.",
                    "items": {
                      "enum": [
                        "transactions"
                      ],
                      "type": "string",
                      "x-stripeBypassValidation": true
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "features"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "features"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/financial_connections.account"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Unsubscribe from data refreshes for an Account"
      }
    },
    "/v1/financial_connections/sessions": {
      "post": {
        "description": "<p>To launch the Financial Connections authorization flow, create a <code>Session</code>. The session’s <code>client_secret</code> can be used to launch the flow using Stripe.js.</p>",
        "operationId": "PostFinancialConnectionsSessions",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "account_holder": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "filters": {
                  "explode": true,
                  "style": "deepObject"
                },
                "permissions": {
                  "explode": true,
                  "style": "deepObject"
                },
                "prefetch": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "account_holder": {
                    "description": "The account holder to link accounts for.",
                    "properties": {
                      "account": {
                        "description": "The ID of the Stripe account whose accounts will be retrieved. Should only be present if `type` is `account`.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "customer": {
                        "description": "The ID of the Stripe customer whose accounts will be retrieved. Should only be present if `type` is `customer`.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "type": {
                        "description": "Type of account holder to collect accounts for.",
                        "enum": [
                          "account",
                          "customer"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "title": "accountholder_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "account",
                      "customer",
                      "type"
                    ]
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "filters": {
                    "description": "Filters to restrict the kinds of accounts to collect.",
                    "properties": {
                      "account_subcategories": {
                        "description": "Restricts the Session to subcategories of accounts that can be linked. Valid subcategories are: `checking`, `savings`, `mortgage`, `line_of_credit`, `credit_card`.",
                        "items": {
                          "enum": [
                            "checking",
                            "credit_card",
                            "line_of_credit",
                            "mortgage",
                            "savings"
                          ],
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "countries": {
                        "description": "List of countries from which to collect accounts.",
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      }
                    },
                    "title": "filters_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "account_subcategories",
                      "countries",
                      "institution"
                    ]
                  },
                  "permissions": {
                    "description": "List of data features that you would like to request access to.\n\nPossible values are `balances`, `transactions`, `ownership`, and `payment_method`.",
                    "items": {
                      "enum": [
                        "balances",
                        "ownership",
                        "payment_method",
                        "transactions"
                      ],
                      "maxLength": 5000,
                      "type": "string",
                      "x-stripeBypassValidation": true
                    },
                    "type": "array"
                  },
                  "prefetch": {
                    "description": "List of data features that you would like to retrieve upon account creation.",
                    "items": {
                      "enum": [
                        "balances",
                        "ownership",
                        "transactions"
                      ],
                      "type": "string",
                      "x-stripeBypassValidation": true
                    },
                    "type": "array"
                  },
                  "return_url": {
                    "description": "For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.",
                    "maxLength": 5000,
                    "type": "string"
                  }
                },
                "required": [
                  "account_holder",
                  "permissions"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "account_holder",
                  "filters",
                  "permissions",
                  "prefetch",
                  "return_url"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/financial_connections.session"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a Session"
      }
    },
    "/v1/financial_connections/sessions/{session}": {
      "get": {
        "description": "<p>Retrieves the details of a Financial Connections <code>Session</code></p>",
        "operationId": "GetFinancialConnectionsSessionsSession",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "session",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/financial_connections.session"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a Session"
      }
    },
    "/v1/financial_connections/transactions": {
      "get": {
        "description": "<p>Returns a list of Financial Connections <code>Transaction</code> objects.</p>",
        "operationId": "GetFinancialConnectionsTransactions",
        "parameters": [
          {
            "description": "The ID of the Stripe account whose transactions will be retrieved.",
            "in": "query",
            "name": "account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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:",
            "explode": true,
            "in": "query",
            "name": "transacted_at",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "A filter on the list based on the object `transaction_refresh` field. The value can be a dictionary with the following options:",
            "explode": true,
            "in": "query",
            "name": "transaction_refresh",
            "required": false,
            "schema": {
              "properties": {
                "after": {
                  "description": "Return results where the transactions were created or updated by a refresh that took place after this refresh (non-inclusive).",
                  "maxLength": 5000,
                  "type": "string"
                }
              },
              "required": [
                "after"
              ],
              "title": "transaction_refresh_params",
              "type": "object",
              "x-stripeMostCommon": [
                "after"
              ]
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/financial_connections.transaction"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/financial_connections/transactions",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "BankConnectionsResourceTransactionList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List Transactions"
      }
    },
    "/v1/financial_connections/transactions/{transaction}": {
      "get": {
        "description": "<p>Retrieves the details of a Financial Connections <code>Transaction</code></p>",
        "operationId": "GetFinancialConnectionsTransactionsTransaction",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "transaction",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/financial_connections.transaction"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a Transaction"
      }
    },
    "/v1/forwarding/requests": {
      "get": {
        "description": "<p>Lists all ForwardingRequest objects.</p>",
        "operationId": "GetForwardingRequests",
        "parameters": [
          {
            "description": "Similar to other List endpoints, filters results based on created timestamp. You can pass gt, gte, lt, and lte timestamp values.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "properties": {
                "gt": {
                  "description": "Return results where the `created` field is greater than this value.",
                  "type": "integer"
                },
                "gte": {
                  "description": "Return results where the `created` field is greater than or equal to this value.",
                  "type": "integer"
                },
                "lt": {
                  "description": "Return results where the `created` field is less than this value.",
                  "type": "integer"
                },
                "lte": {
                  "description": "Return results where the `created` field is less than or equal to this value.",
                  "type": "integer"
                }
              },
              "title": "created_param",
              "type": "object",
              "x-stripeMostCommon": [
                "gt",
                "gte",
                "lt",
                "lte"
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "A pagination cursor to fetch the previous page of the list. The value must be a ForwardingRequest ID.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "A pagination cursor to fetch the next page of the list. The value must be a ForwardingRequest ID.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "List of ForwardingRequest data.",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/forwarding.request"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "ForwardingRequestList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all ForwardingRequests"
      },
      "post": {
        "description": "<p>Creates a ForwardingRequest object.</p>",
        "operationId": "PostForwardingRequests",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "replacements": {
                  "explode": true,
                  "style": "deepObject"
                },
                "request": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "payment_method": {
                    "description": "The PaymentMethod to insert into the forwarded request. Forwarding previously consumed PaymentMethods is allowed.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "replacements": {
                    "description": "The field kinds to be replaced in the forwarded request.",
                    "items": {
                      "enum": [
                        "card_cvc",
                        "card_expiry",
                        "card_number",
                        "cardholder_name"
                      ],
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "request": {
                    "description": "The request body and headers to be sent to the destination endpoint.",
                    "properties": {
                      "body": {
                        "description": "The body payload to send to the destination endpoint.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "headers": {
                        "description": "The headers to include in the forwarded request. Can be omitted if no additional headers (excluding Stripe-generated ones such as the Content-Type header) should be included.",
                        "items": {
                          "properties": {
                            "name": {
                              "description": "The header name.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "value": {
                              "description": "The header value.",
                              "maxLength": 5000,
                              "type": "string"
                            }
                          },
                          "required": [
                            "name",
                            "value"
                          ],
                          "title": "header_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "name",
                            "value"
                          ]
                        },
                        "type": "array"
                      }
                    },
                    "title": "request_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "body",
                      "headers"
                    ]
                  },
                  "url": {
                    "description": "The destination URL for the forwarded request. Must be supported by the config.",
                    "maxLength": 5000,
                    "type": "string"
                  }
                },
                "required": [
                  "payment_method",
                  "replacements",
                  "url"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "metadata",
                  "payment_method",
                  "replacements",
                  "request",
                  "url"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/forwarding.request"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a ForwardingRequest"
      }
    },
    "/v1/forwarding/requests/{id}": {
      "get": {
        "description": "<p>Retrieves a ForwardingRequest object.</p>",
        "operationId": "GetForwardingRequestsId",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/forwarding.request"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a ForwardingRequest"
      }
    },
    "/v1/identity/verification_reports": {
      "get": {
        "description": "<p>List all verification reports.</p>",
        "operationId": "GetIdentityVerificationReports",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "client_reference_id",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return VerificationReports that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return VerificationReports of this type",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "enum": [
                "document",
                "id_number"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "style": "form"
          },
          {
            "description": "Only return VerificationReports created by this VerificationSession ID. It is allowed to provide a VerificationIntent ID.",
            "in": "query",
            "name": "verification_session",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/identity.verification_report"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/identity/verification_reports",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "GelatoVerificationReportList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List VerificationReports"
      }
    },
    "/v1/identity/verification_reports/{report}": {
      "get": {
        "description": "<p>Retrieves an existing VerificationReport</p>",
        "operationId": "GetIdentityVerificationReportsReport",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "report",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/identity.verification_report"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a VerificationReport"
      }
    },
    "/v1/identity/verification_sessions": {
      "get": {
        "description": "<p>Returns a list of VerificationSessions</p>",
        "operationId": "GetIdentityVerificationSessions",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "client_reference_id",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return VerificationSessions that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "related_customer",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return VerificationSessions with this status. [Learn more about the lifecycle of sessions](https://stripe.com/docs/identity/how-sessions-work).",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "canceled",
                "processing",
                "requires_input",
                "verified"
              ],
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/identity.verification_session"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/identity/verification_sessions",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "GelatoVerificationSessionList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List VerificationSessions"
      },
      "post": {
        "description": "<p>Creates a VerificationSession object.</p>\n\n<p>After the VerificationSession is created, display a verification modal using the session <code>client_secret</code> or send your users to the session’s <code>url</code>.</p>\n\n<p>If your API key is in test mode, verification checks won’t actually process, though everything else will occur as if in live mode.</p>\n\n<p>Related guide: <a href=\"/docs/identity/verify-identity-documents\">Verify your users’ identity documents</a></p>",
        "operationId": "PostIdentityVerificationSessions",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "options": {
                  "explode": true,
                  "style": "deepObject"
                },
                "provided_details": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "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.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "options": {
                    "description": "A set of options for the session’s verification checks.",
                    "properties": {
                      "document": {
                        "anyOf": [
                          {
                            "properties": {
                              "allowed_types": {
                                "description": "Array of strings of allowed identity document types. If the provided identity document isn’t one of the allowed types, the verification check will fail with a document_type_not_allowed error code.",
                                "items": {
                                  "enum": [
                                    "driving_license",
                                    "id_card",
                                    "passport"
                                  ],
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "require_id_number": {
                                "description": "Collect an ID number and perform an [ID number check](https://stripe.com/docs/identity/verification-checks?type=id-number) with the document’s extracted name and date of birth.",
                                "type": "boolean"
                              },
                              "require_live_capture": {
                                "description": "Disable image uploads, identity document images have to be captured using the device’s camera.",
                                "type": "boolean"
                              },
                              "require_matching_selfie": {
                                "description": "Capture a face image and perform a [selfie check](https://stripe.com/docs/identity/verification-checks?type=selfie) comparing a photo ID and a picture of your user’s face. [Learn more](https://stripe.com/docs/identity/selfie).",
                                "type": "boolean"
                              }
                            },
                            "title": "document_options",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "allowed_types",
                              "require_id_number",
                              "require_live_capture",
                              "require_matching_selfie"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Options that apply to the [document check](https://stripe.com/docs/identity/verification-checks?type=document)."
                      }
                    },
                    "title": "session_options_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "document",
                      "duplicate",
                      "email",
                      "matching",
                      "phone",
                      "phone_otp",
                      "phone_records"
                    ]
                  },
                  "provided_details": {
                    "description": "Details provided about the user being verified. These details may be shown to the user.",
                    "properties": {
                      "email": {
                        "description": "Email of user being verified",
                        "type": "string"
                      },
                      "phone": {
                        "description": "Phone number of user being verified",
                        "type": "string"
                      }
                    },
                    "title": "provided_details_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "address",
                      "dob",
                      "email",
                      "name",
                      "phone"
                    ]
                  },
                  "related_customer": {
                    "description": "Token referencing a Customer resource.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "return_url": {
                    "description": "The URL that the user will be redirected to upon completing the verification flow.",
                    "type": "string"
                  },
                  "type": {
                    "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`.",
                    "enum": [
                      "document",
                      "id_number"
                    ],
                    "type": "string",
                    "x-stripeBypassValidation": true
                  },
                  "verification_flow": {
                    "description": "The ID of a verification flow from the Dashboard. See https://docs.stripe.com/identity/verification-flows.",
                    "maxLength": 5000,
                    "type": "string"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "client_reference_id",
                  "metadata",
                  "options",
                  "provided_details",
                  "related_customer",
                  "return_url",
                  "type",
                  "verification_flow"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/identity.verification_session"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a VerificationSession"
      }
    },
    "/v1/identity/verification_sessions/{session}": {
      "get": {
        "description": "<p>Retrieves the details of a VerificationSession that was previously created.</p>\n\n<p>When the session status is <code>requires_input</code>, you can use this method to retrieve a valid\n<code>client_secret</code> or <code>url</code> to allow re-submission.</p>",
        "operationId": "GetIdentityVerificationSessionsSession",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "session",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/identity.verification_session"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a VerificationSession"
      },
      "post": {
        "description": "<p>Updates a VerificationSession object.</p>\n\n<p>When the session status is <code>requires_input</code>, you can use this method to update the\nverification check and options.</p>",
        "operationId": "PostIdentityVerificationSessionsSession",
        "parameters": [
          {
            "in": "path",
            "name": "session",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "options": {
                  "explode": true,
                  "style": "deepObject"
                },
                "provided_details": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "options": {
                    "description": "A set of options for the session’s verification checks.",
                    "properties": {
                      "document": {
                        "anyOf": [
                          {
                            "properties": {
                              "allowed_types": {
                                "description": "Array of strings of allowed identity document types. If the provided identity document isn’t one of the allowed types, the verification check will fail with a document_type_not_allowed error code.",
                                "items": {
                                  "enum": [
                                    "driving_license",
                                    "id_card",
                                    "passport"
                                  ],
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "require_id_number": {
                                "description": "Collect an ID number and perform an [ID number check](https://stripe.com/docs/identity/verification-checks?type=id-number) with the document’s extracted name and date of birth.",
                                "type": "boolean"
                              },
                              "require_live_capture": {
                                "description": "Disable image uploads, identity document images have to be captured using the device’s camera.",
                                "type": "boolean"
                              },
                              "require_matching_selfie": {
                                "description": "Capture a face image and perform a [selfie check](https://stripe.com/docs/identity/verification-checks?type=selfie) comparing a photo ID and a picture of your user’s face. [Learn more](https://stripe.com/docs/identity/selfie).",
                                "type": "boolean"
                              }
                            },
                            "title": "document_options",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "allowed_types",
                              "require_id_number",
                              "require_live_capture",
                              "require_matching_selfie"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Options that apply to the [document check](https://stripe.com/docs/identity/verification-checks?type=document)."
                      }
                    },
                    "title": "session_options_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "document",
                      "duplicate",
                      "email",
                      "matching",
                      "phone",
                      "phone_otp",
                      "phone_records"
                    ]
                  },
                  "provided_details": {
                    "description": "Details provided about the user being verified. These details may be shown to the user.",
                    "properties": {
                      "email": {
                        "description": "Email of user being verified",
                        "type": "string"
                      },
                      "phone": {
                        "description": "Phone number of user being verified",
                        "type": "string"
                      }
                    },
                    "title": "provided_details_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "address",
                      "dob",
                      "email",
                      "name",
                      "phone"
                    ]
                  },
                  "type": {
                    "description": "The type of [verification check](https://stripe.com/docs/identity/verification-checks) to be performed.",
                    "enum": [
                      "document",
                      "id_number"
                    ],
                    "type": "string",
                    "x-stripeBypassValidation": true
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "metadata",
                  "options",
                  "provided_details",
                  "type"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/identity.verification_session"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a VerificationSession"
      }
    },
    "/v1/identity/verification_sessions/{session}/cancel": {
      "post": {
        "description": "<p>A VerificationSession object can be canceled when it is in <code>requires_input</code> <a href=\"/docs/identity/how-sessions-work\">status</a>.</p>\n\n<p>Once canceled, future submission attempts are disabled. This cannot be undone. <a href=\"/docs/identity/verification-sessions#cancel\">Learn more</a>.</p>",
        "operationId": "PostIdentityVerificationSessionsSessionCancel",
        "parameters": [
          {
            "in": "path",
            "name": "session",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/identity.verification_session"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Cancel a VerificationSession"
      }
    },
    "/v1/identity/verification_sessions/{session}/redact": {
      "post": {
        "description": "<p>Redact a VerificationSession to remove all collected information from Stripe. This will redact\nthe VerificationSession and all objects related to it, including VerificationReports, Events,\nrequest logs, etc.</p>\n\n<p>A VerificationSession object can be redacted when it is in <code>requires_input</code> or <code>verified</code>\n<a href=\"/docs/identity/how-sessions-work\">status</a>. Redacting a VerificationSession in <code>requires_action</code>\nstate will automatically cancel it.</p>\n\n<p>The redaction process may take up to four days. When the redaction process is in progress, the\nVerificationSession’s <code>redaction.status</code> field will be set to <code>processing</code>; when the process is\nfinished, it will change to <code>redacted</code> and an <code>identity.verification_session.redacted</code> event\nwill be emitted.</p>\n\n<p>Redaction is irreversible. Redacted objects are still accessible in the Stripe API, but all the\nfields that contain personal data will be replaced by the string <code>[redacted]</code> or a similar\nplaceholder. The <code>metadata</code> field will also be erased. Redacted objects cannot be updated or\nused for any purpose.</p>\n\n<p><a href=\"/docs/identity/verification-sessions#redact\">Learn more</a>.</p>",
        "operationId": "PostIdentityVerificationSessionsSessionRedact",
        "parameters": [
          {
            "in": "path",
            "name": "session",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/identity.verification_session"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Redact a VerificationSession"
      }
    },
    "/v1/invoice_rendering_templates": {
      "get": {
        "description": "<p>List all templates, ordered by creation date, with the most recently created template appearing first.</p>",
        "operationId": "GetInvoiceRenderingTemplates",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "active",
                "archived"
              ],
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/invoice_rendering_template"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "InvoiceRenderingTemplatesList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all invoice rendering templates"
      }
    },
    "/v1/invoice_rendering_templates/{template}": {
      "get": {
        "description": "<p>Retrieves an invoice rendering template with the given ID. It by default returns the latest version of the template. Optionally, specify a version to see previous versions.</p>",
        "operationId": "GetInvoiceRenderingTemplatesTemplate",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "template",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "query",
            "name": "version",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/invoice_rendering_template"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve an invoice rendering template"
      }
    },
    "/v1/invoice_rendering_templates/{template}/archive": {
      "post": {
        "description": "<p>Updates the status of an invoice rendering template to ‘archived’ so no new Stripe objects (customers, invoices, etc.) can reference it. The template can also no longer be updated. However, if the template is already set on a Stripe object, it will continue to be applied on invoices generated by it.</p>",
        "operationId": "PostInvoiceRenderingTemplatesTemplateArchive",
        "parameters": [
          {
            "in": "path",
            "name": "template",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/invoice_rendering_template"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Archive an invoice rendering template"
      }
    },
    "/v1/invoice_rendering_templates/{template}/unarchive": {
      "post": {
        "description": "<p>Unarchive an invoice rendering template so it can be used on new Stripe objects again.</p>",
        "operationId": "PostInvoiceRenderingTemplatesTemplateUnarchive",
        "parameters": [
          {
            "in": "path",
            "name": "template",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/invoice_rendering_template"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Unarchive an invoice rendering template"
      }
    },
    "/v1/invoiceitems": {
      "get": {
        "description": "<p>Returns a list of your invoice items. Invoice items are returned sorted by creation date, with the most recently created invoice items appearing first.</p>",
        "operationId": "GetInvoiceitems",
        "parameters": [
          {
            "description": "Only return invoice items that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "The identifier of the customer whose invoice items to return. If none is provided, all invoice items will be returned.",
            "in": "query",
            "name": "customer",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "invoice",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "pending",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/invoiceitem"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/invoiceitems",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "InvoicesItemsList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all invoice items"
      },
      "post": {
        "description": "<p>Creates an item to be added to a draft invoice (up to 250 items per invoice). If no invoice is specified, the item will be on the next invoice created for the customer specified.</p>",
        "operationId": "PostInvoiceitems",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "discounts": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "period": {
                  "explode": true,
                  "style": "deepObject"
                },
                "price_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "tax_code": {
                  "explode": true,
                  "style": "deepObject"
                },
                "tax_rates": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "The integer amount in cents (or local equivalent) of the charge to be applied to the upcoming invoice. Passing in a negative `amount` will reduce the `amount_due` on the invoice.",
                    "type": "integer"
                  },
                  "currency": {
                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                    "type": "string"
                  },
                  "customer": {
                    "description": "The ID of the customer who will be billed when this invoice item is billed.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "description": {
                    "description": "An arbitrary string which you can attach to the invoice item. The description is displayed in the invoice for easy tracking.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "discountable": {
                    "description": "Controls whether discounts apply to this invoice item. Defaults to false for prorations or negative invoice items, and true for all other invoice items.",
                    "type": "boolean"
                  },
                  "discounts": {
                    "anyOf": [
                      {
                        "items": {
                          "properties": {
                            "coupon": {
                              "description": "ID of the coupon to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "discount": {
                              "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "promotion_code": {
                              "description": "ID of the promotion code to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            }
                          },
                          "title": "discounts_data_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "coupon"
                          ]
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The coupons and promotion codes to redeem into discounts for the invoice item or invoice line item."
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "invoice": {
                    "description": "The ID of an existing invoice to add this invoice item to. When left blank, the invoice item will be added to the next upcoming scheduled invoice. This is useful when adding invoice items in response to an invoice.created webhook. You can only add invoice items to draft invoices and there is a maximum of 250 items per invoice.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "period": {
                    "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.",
                    "properties": {
                      "end": {
                        "description": "The end of the period, which must be greater than or equal to the start. This value is inclusive.",
                        "format": "unix-time",
                        "type": "integer"
                      },
                      "start": {
                        "description": "The start of the period. This value is inclusive.",
                        "format": "unix-time",
                        "type": "integer"
                      }
                    },
                    "required": [
                      "end",
                      "start"
                    ],
                    "title": "period",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "end",
                      "start"
                    ]
                  },
                  "price": {
                    "description": "The ID of the price object. One of `price` or `price_data` is required.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "price_data": {
                    "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
                    "properties": {
                      "currency": {
                        "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                        "type": "string"
                      },
                      "product": {
                        "description": "The ID of the product that this price will belong to.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "tax_behavior": {
                        "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                        "enum": [
                          "exclusive",
                          "inclusive",
                          "unspecified"
                        ],
                        "type": "string"
                      },
                      "unit_amount": {
                        "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.",
                        "type": "integer"
                      },
                      "unit_amount_decimal": {
                        "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                        "format": "decimal",
                        "type": "string"
                      }
                    },
                    "required": [
                      "currency",
                      "product"
                    ],
                    "title": "one_time_price_data",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "currency",
                      "product",
                      "unit_amount"
                    ]
                  },
                  "quantity": {
                    "description": "Non-negative integer. The quantity of units for the invoice item.",
                    "type": "integer"
                  },
                  "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.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "tax_behavior": {
                    "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                    "enum": [
                      "exclusive",
                      "inclusive",
                      "unspecified"
                    ],
                    "type": "string"
                  },
                  "tax_code": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A [tax code](https://stripe.com/docs/tax/tax-categories) ID."
                  },
                  "tax_rates": {
                    "description": "The tax rates which apply to the invoice item. When set, the `default_tax_rates` on the invoice do not apply to this invoice item.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "unit_amount": {
                    "description": "The integer unit amount in cents (or local equivalent) of the charge to be applied to the upcoming invoice. This `unit_amount` will be multiplied by the quantity to get the full amount. Passing in a negative `unit_amount` will reduce the `amount_due` on the invoice.",
                    "type": "integer"
                  },
                  "unit_amount_decimal": {
                    "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                    "format": "decimal",
                    "type": "string"
                  }
                },
                "required": [
                  "customer"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "currency",
                  "customer",
                  "description",
                  "metadata",
                  "period",
                  "price"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/invoiceitem"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create an invoice item"
      }
    },
    "/v1/invoiceitems/{invoiceitem}": {
      "delete": {
        "description": "<p>Deletes an invoice item, removing it from an invoice. Deleting invoice items is only possible when they’re not attached to invoices, or if it’s attached to a draft invoice.</p>",
        "operationId": "DeleteInvoiceitemsInvoiceitem",
        "parameters": [
          {
            "in": "path",
            "name": "invoiceitem",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/deleted_invoiceitem"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Delete an invoice item"
      },
      "get": {
        "description": "<p>Retrieves the invoice item with the given ID.</p>",
        "operationId": "GetInvoiceitemsInvoiceitem",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "invoiceitem",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/invoiceitem"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve an invoice item"
      },
      "post": {
        "description": "<p>Updates the amount or description of an invoice item on an upcoming invoice. Updating an invoice item is only possible before the invoice it’s attached to is closed.</p>",
        "operationId": "PostInvoiceitemsInvoiceitem",
        "parameters": [
          {
            "in": "path",
            "name": "invoiceitem",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "discounts": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "period": {
                  "explode": true,
                  "style": "deepObject"
                },
                "price_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "tax_code": {
                  "explode": true,
                  "style": "deepObject"
                },
                "tax_rates": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "The integer amount in cents (or local equivalent) of the charge to be applied to the upcoming invoice. If you want to apply a credit to the customer's account, pass a negative amount.",
                    "type": "integer"
                  },
                  "description": {
                    "description": "An arbitrary string which you can attach to the invoice item. The description is displayed in the invoice for easy tracking.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "discountable": {
                    "description": "Controls whether discounts apply to this invoice item. Defaults to false for prorations or negative invoice items, and true for all other invoice items. Cannot be set to true for prorations.",
                    "type": "boolean"
                  },
                  "discounts": {
                    "anyOf": [
                      {
                        "items": {
                          "properties": {
                            "coupon": {
                              "description": "ID of the coupon to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "discount": {
                              "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "promotion_code": {
                              "description": "ID of the promotion code to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            }
                          },
                          "title": "discounts_data_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "coupon"
                          ]
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The coupons, promotion codes & existing discounts which apply to the invoice item or invoice line item. Item discounts are applied before invoice discounts. Pass an empty string to remove previously-defined discounts."
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "period": {
                    "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.",
                    "properties": {
                      "end": {
                        "description": "The end of the period, which must be greater than or equal to the start. This value is inclusive.",
                        "format": "unix-time",
                        "type": "integer"
                      },
                      "start": {
                        "description": "The start of the period. This value is inclusive.",
                        "format": "unix-time",
                        "type": "integer"
                      }
                    },
                    "required": [
                      "end",
                      "start"
                    ],
                    "title": "period",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "end",
                      "start"
                    ]
                  },
                  "price": {
                    "description": "The ID of the price object. One of `price` or `price_data` is required.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "price_data": {
                    "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
                    "properties": {
                      "currency": {
                        "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                        "type": "string"
                      },
                      "product": {
                        "description": "The ID of the product that this price will belong to.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "tax_behavior": {
                        "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                        "enum": [
                          "exclusive",
                          "inclusive",
                          "unspecified"
                        ],
                        "type": "string"
                      },
                      "unit_amount": {
                        "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.",
                        "type": "integer"
                      },
                      "unit_amount_decimal": {
                        "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                        "format": "decimal",
                        "type": "string"
                      }
                    },
                    "required": [
                      "currency",
                      "product"
                    ],
                    "title": "one_time_price_data",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "currency",
                      "product",
                      "unit_amount"
                    ]
                  },
                  "quantity": {
                    "description": "Non-negative integer. The quantity of units for the invoice item.",
                    "type": "integer"
                  },
                  "tax_behavior": {
                    "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                    "enum": [
                      "exclusive",
                      "inclusive",
                      "unspecified"
                    ],
                    "type": "string"
                  },
                  "tax_code": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A [tax code](https://stripe.com/docs/tax/tax-categories) ID."
                  },
                  "tax_rates": {
                    "anyOf": [
                      {
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The tax rates which apply to the invoice item. When set, the `default_tax_rates` on the invoice do not apply to this invoice item. Pass an empty string to remove previously-defined tax rates."
                  },
                  "unit_amount": {
                    "description": "The integer unit amount in cents (or local equivalent) of the charge to be applied to the upcoming invoice. This unit_amount will be multiplied by the quantity to get the full amount. If you want to apply a credit to the customer's account, pass a negative unit_amount.",
                    "type": "integer"
                  },
                  "unit_amount_decimal": {
                    "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                    "format": "decimal",
                    "type": "string"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "description",
                  "metadata",
                  "period",
                  "price"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/invoiceitem"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update an invoice item"
      }
    },
    "/v1/invoices": {
      "get": {
        "description": "<p>You can list all invoices, or list the invoices for a specific customer. The invoices are returned sorted by creation date, with the most recently created invoices appearing first.</p>",
        "operationId": "GetInvoices",
        "parameters": [
          {
            "description": "The collection method of the invoice to retrieve. Either `charge_automatically` or `send_invoice`.",
            "in": "query",
            "name": "collection_method",
            "required": false,
            "schema": {
              "enum": [
                "charge_automatically",
                "send_invoice"
              ],
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return invoices that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "Only return invoices for the customer specified by this customer ID.",
            "in": "query",
            "name": "customer",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "explode": true,
            "in": "query",
            "name": "due_date",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "The status of the invoice, one of `draft`, `open`, `paid`, `uncollectible`, or `void`. [Learn more](https://stripe.com/docs/billing/invoices/workflow#workflow-overview)",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "draft",
                "open",
                "paid",
                "uncollectible",
                "void"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "style": "form"
          },
          {
            "description": "Only return invoices for the subscription specified by this subscription ID.",
            "in": "query",
            "name": "subscription",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/invoice"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/invoices",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "InvoicesResourceList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all invoices"
      },
      "post": {
        "description": "<p>This endpoint creates a draft invoice for a given customer. The invoice remains a draft until you <a href=\"#finalize_invoice\">finalize</a> the invoice, which allows you to <a href=\"#pay_invoice\">pay</a> or <a href=\"#send_invoice\">send</a> the invoice to your customers.</p>",
        "operationId": "PostInvoices",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "account_tax_ids": {
                  "explode": true,
                  "style": "deepObject"
                },
                "automatic_tax": {
                  "explode": true,
                  "style": "deepObject"
                },
                "custom_fields": {
                  "explode": true,
                  "style": "deepObject"
                },
                "default_tax_rates": {
                  "explode": true,
                  "style": "deepObject"
                },
                "discounts": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "from_invoice": {
                  "explode": true,
                  "style": "deepObject"
                },
                "issuer": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_settings": {
                  "explode": true,
                  "style": "deepObject"
                },
                "rendering": {
                  "explode": true,
                  "style": "deepObject"
                },
                "shipping_cost": {
                  "explode": true,
                  "style": "deepObject"
                },
                "shipping_details": {
                  "explode": true,
                  "style": "deepObject"
                },
                "transfer_data": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "account_tax_ids": {
                    "anyOf": [
                      {
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The account tax IDs associated with the invoice. Only editable when the invoice is a draft."
                  },
                  "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": "integer"
                  },
                  "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": "boolean"
                  },
                  "automatic_tax": {
                    "description": "Settings for automatic tax lookup for this invoice.",
                    "properties": {
                      "enabled": {
                        "description": "Whether Stripe automatically computes tax on this invoice. Note that incompatible invoice items (invoice items with manually specified [tax rates](https://stripe.com/docs/api/tax_rates), negative amounts, or `tax_behavior=unspecified`) cannot be added to automatic tax invoices.",
                        "type": "boolean"
                      },
                      "liability": {
                        "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.",
                        "properties": {
                          "account": {
                            "description": "The connected account being referenced when `type` is `account`.",
                            "type": "string"
                          },
                          "type": {
                            "description": "Type of the account referenced in the request.",
                            "enum": [
                              "account",
                              "self"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account",
                          "type"
                        ]
                      }
                    },
                    "required": [
                      "enabled"
                    ],
                    "title": "automatic_tax_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "enabled",
                      "liability"
                    ]
                  },
                  "automatically_finalizes_at": {
                    "description": "The time when this invoice should be scheduled to finalize. The invoice will be finalized at this time if it is still in draft state.",
                    "format": "unix-time",
                    "type": "integer"
                  },
                  "collection_method": {
                    "description": "Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this invoice using the default source attached to the customer. When sending an invoice, Stripe will email this invoice to the customer with payment instructions. Defaults to `charge_automatically`.",
                    "enum": [
                      "charge_automatically",
                      "send_invoice"
                    ],
                    "type": "string"
                  },
                  "currency": {
                    "description": "The currency to create this invoice in. Defaults to that of `customer` if not specified.",
                    "type": "string"
                  },
                  "custom_fields": {
                    "anyOf": [
                      {
                        "items": {
                          "properties": {
                            "name": {
                              "description": "The name of the custom field. This may be up to 40 characters.",
                              "maxLength": 40,
                              "type": "string"
                            },
                            "value": {
                              "description": "The value of the custom field. This may be up to 140 characters.",
                              "maxLength": 140,
                              "type": "string"
                            }
                          },
                          "required": [
                            "name",
                            "value"
                          ],
                          "title": "custom_field_params",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "name",
                            "value"
                          ]
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A list of up to 4 custom fields to be displayed on the invoice."
                  },
                  "customer": {
                    "description": "The ID of the customer who will be billed.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "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": "integer"
                  },
                  "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.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "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.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "default_tax_rates": {
                    "description": "The tax rates that will apply to any line item that does not have `tax_rates` set.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "description": {
                    "description": "An arbitrary string attached to the object. Often useful for displaying to users. Referenced as 'memo' in the Dashboard.",
                    "maxLength": 1500,
                    "type": "string"
                  },
                  "discounts": {
                    "anyOf": [
                      {
                        "items": {
                          "properties": {
                            "coupon": {
                              "description": "ID of the coupon to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "discount": {
                              "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "promotion_code": {
                              "description": "ID of the promotion code to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            }
                          },
                          "title": "discounts_data_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "coupon"
                          ]
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "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."
                  },
                  "due_date": {
                    "description": "The date on which payment for this invoice is due. Valid only for invoices where `collection_method=send_invoice`.",
                    "format": "unix-time",
                    "type": "integer"
                  },
                  "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.",
                    "format": "unix-time",
                    "type": "integer"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "footer": {
                    "description": "Footer to be displayed on the invoice.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "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.",
                    "properties": {
                      "action": {
                        "description": "The relation between the new invoice and the original invoice. Currently, only 'revision' is permitted",
                        "enum": [
                          "revision"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "invoice": {
                        "description": "The `id` of the invoice that will be cloned.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "required": [
                      "action",
                      "invoice"
                    ],
                    "title": "from_invoice",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "action",
                      "invoice"
                    ]
                  },
                  "issuer": {
                    "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.",
                    "properties": {
                      "account": {
                        "description": "The connected account being referenced when `type` is `account`.",
                        "type": "string"
                      },
                      "type": {
                        "description": "Type of the account referenced in the request.",
                        "enum": [
                          "account",
                          "self"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "title": "param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "account",
                      "type"
                    ]
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "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.",
                    "maxLength": 26,
                    "type": "string"
                  },
                  "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": "string"
                  },
                  "payment_settings": {
                    "description": "Configuration settings for the PaymentIntent that is generated when the invoice is finalized.",
                    "properties": {
                      "default_mandate": {
                        "anyOf": [
                          {
                            "maxLength": 5000,
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "ID of the mandate to be used for this invoice. It must correspond to the payment method used to pay the invoice, including the invoice's default_payment_method or default_source, if set."
                      },
                      "payment_method_options": {
                        "description": "Payment-method-specific configuration to provide to the invoice’s PaymentIntent.",
                        "properties": {
                          "acss_debit": {
                            "anyOf": [
                              {
                                "properties": {
                                  "mandate_options": {
                                    "description": "Additional fields for Mandate creation",
                                    "properties": {
                                      "transaction_type": {
                                        "description": "Transaction type of the mandate.",
                                        "enum": [
                                          "business",
                                          "personal"
                                        ],
                                        "type": "string"
                                      }
                                    },
                                    "title": "mandate_options_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "transaction_type"
                                    ]
                                  },
                                  "verification_method": {
                                    "description": "Verification method for the intent",
                                    "enum": [
                                      "automatic",
                                      "instant",
                                      "microdeposits"
                                    ],
                                    "type": "string",
                                    "x-stripeBypassValidation": true
                                  }
                                },
                                "title": "invoice_payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "mandate_options",
                                  "verification_method"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "If paying by `acss_debit`, this sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to the invoice’s PaymentIntent."
                          },
                          "bancontact": {
                            "anyOf": [
                              {
                                "properties": {
                                  "preferred_language": {
                                    "description": "Preferred language of the Bancontact authorization page that the customer is redirected to.",
                                    "enum": [
                                      "de",
                                      "en",
                                      "fr",
                                      "nl"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "title": "invoice_payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "preferred_language"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "If paying by `bancontact`, this sub-hash contains details about the Bancontact payment method options to pass to the invoice’s PaymentIntent."
                          },
                          "card": {
                            "anyOf": [
                              {
                                "properties": {
                                  "installments": {
                                    "description": "Installment configuration for payments attempted on this invoice (Mexico Only).\n\nFor more information, see the [installments integration guide](https://stripe.com/docs/payments/installments).",
                                    "properties": {
                                      "enabled": {
                                        "description": "Setting to true enables installments for this invoice.\nSetting to false will prevent any selected plan from applying to a payment.",
                                        "type": "boolean"
                                      },
                                      "plan": {
                                        "anyOf": [
                                          {
                                            "properties": {
                                              "count": {
                                                "description": "For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card.",
                                                "type": "integer"
                                              },
                                              "interval": {
                                                "description": "For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card.\nOne of `month`.",
                                                "enum": [
                                                  "month"
                                                ],
                                                "type": "string"
                                              },
                                              "type": {
                                                "description": "Type of installment plan, one of `fixed_count`.",
                                                "enum": [
                                                  "fixed_count"
                                                ],
                                                "type": "string",
                                                "x-stripeBypassValidation": true
                                              }
                                            },
                                            "required": [
                                              "type"
                                            ],
                                            "title": "installment_plan",
                                            "type": "object",
                                            "x-stripeMostCommon": [
                                              "count",
                                              "interval",
                                              "type"
                                            ]
                                          },
                                          {
                                            "enum": [
                                              ""
                                            ],
                                            "type": "string"
                                          }
                                        ],
                                        "description": "The selected installment plan to use for this invoice."
                                      }
                                    },
                                    "title": "installments_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "enabled",
                                      "plan"
                                    ]
                                  },
                                  "request_three_d_secure": {
                                    "description": "We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.",
                                    "enum": [
                                      "any",
                                      "automatic",
                                      "challenge"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "title": "invoice_payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "installments",
                                  "request_three_d_secure"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "If paying by `card`, this sub-hash contains details about the Card payment method options to pass to the invoice’s PaymentIntent."
                          },
                          "customer_balance": {
                            "anyOf": [
                              {
                                "properties": {
                                  "bank_transfer": {
                                    "description": "Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.",
                                    "properties": {
                                      "eu_bank_transfer": {
                                        "description": "Configuration for eu_bank_transfer funding type.",
                                        "properties": {
                                          "country": {
                                            "description": "The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.",
                                            "maxLength": 5000,
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "country"
                                        ],
                                        "title": "eu_bank_transfer_param",
                                        "type": "object",
                                        "x-stripeMostCommon": [
                                          "country"
                                        ]
                                      },
                                      "type": {
                                        "description": "The bank transfer type that can be used for funding. Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.",
                                        "type": "string"
                                      }
                                    },
                                    "title": "bank_transfer_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "eu_bank_transfer",
                                      "id_bank_transfer",
                                      "type"
                                    ]
                                  },
                                  "funding_type": {
                                    "description": "The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.",
                                    "type": "string"
                                  }
                                },
                                "title": "invoice_payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "bank_transfer",
                                  "funding_type"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "If paying by `customer_balance`, this sub-hash contains details about the Bank transfer payment method options to pass to the invoice’s PaymentIntent."
                          },
                          "konbini": {
                            "anyOf": [
                              {
                                "properties": {},
                                "title": "invoice_payment_method_options_param",
                                "type": "object"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "If paying by `konbini`, this sub-hash contains details about the Konbini payment method options to pass to the invoice’s PaymentIntent."
                          },
                          "sepa_debit": {
                            "anyOf": [
                              {
                                "properties": {},
                                "title": "invoice_payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "verification_method"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "If paying by `sepa_debit`, this sub-hash contains details about the SEPA Direct Debit payment method options to pass to the invoice’s PaymentIntent."
                          },
                          "us_bank_account": {
                            "anyOf": [
                              {
                                "properties": {
                                  "financial_connections": {
                                    "description": "Additional fields for Financial Connections Session creation",
                                    "properties": {
                                      "filters": {
                                        "description": "Provide filters for the linked accounts that the customer can select for the payment method.",
                                        "properties": {
                                          "account_subcategories": {
                                            "description": "The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.",
                                            "items": {
                                              "enum": [
                                                "checking",
                                                "savings"
                                              ],
                                              "type": "string"
                                            },
                                            "type": "array"
                                          }
                                        },
                                        "title": "invoice_linked_account_options_filters_param",
                                        "type": "object",
                                        "x-stripeMostCommon": [
                                          "account_subcategories",
                                          "institution"
                                        ]
                                      },
                                      "permissions": {
                                        "description": "The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.",
                                        "items": {
                                          "enum": [
                                            "balances",
                                            "ownership",
                                            "payment_method",
                                            "transactions"
                                          ],
                                          "maxLength": 5000,
                                          "type": "string",
                                          "x-stripeBypassValidation": true
                                        },
                                        "type": "array"
                                      },
                                      "prefetch": {
                                        "description": "List of data features that you would like to retrieve upon account creation.",
                                        "items": {
                                          "enum": [
                                            "balances",
                                            "ownership",
                                            "transactions"
                                          ],
                                          "type": "string",
                                          "x-stripeBypassValidation": true
                                        },
                                        "type": "array"
                                      }
                                    },
                                    "title": "invoice_linked_account_options_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "filters",
                                      "permissions",
                                      "prefetch"
                                    ]
                                  },
                                  "verification_method": {
                                    "description": "Verification method for the intent",
                                    "enum": [
                                      "automatic",
                                      "instant",
                                      "microdeposits"
                                    ],
                                    "type": "string",
                                    "x-stripeBypassValidation": true
                                  }
                                },
                                "title": "invoice_payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "financial_connections",
                                  "verification_method"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "If paying by `us_bank_account`, this sub-hash contains details about the ACH direct debit payment method options to pass to the invoice’s PaymentIntent."
                          }
                        },
                        "title": "payment_method_options",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "acss_debit",
                          "bancontact",
                          "card",
                          "customer_balance",
                          "id_bank_transfer",
                          "konbini",
                          "sepa_debit",
                          "us_bank_account"
                        ]
                      },
                      "payment_method_types": {
                        "anyOf": [
                          {
                            "items": {
                              "enum": [
                                "ach_credit_transfer",
                                "ach_debit",
                                "acss_debit",
                                "amazon_pay",
                                "au_becs_debit",
                                "bacs_debit",
                                "bancontact",
                                "boleto",
                                "card",
                                "cashapp",
                                "customer_balance",
                                "eps",
                                "fpx",
                                "giropay",
                                "grabpay",
                                "ideal",
                                "jp_credit_transfer",
                                "kakao_pay",
                                "konbini",
                                "kr_card",
                                "link",
                                "multibanco",
                                "naver_pay",
                                "p24",
                                "payco",
                                "paynow",
                                "paypal",
                                "promptpay",
                                "revolut_pay",
                                "sepa_credit_transfer",
                                "sepa_debit",
                                "sofort",
                                "swish",
                                "us_bank_account",
                                "wechat_pay"
                              ],
                              "type": "string",
                              "x-stripeBypassValidation": true
                            },
                            "type": "array"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The list of payment method types (e.g. card) to provide to the invoice’s PaymentIntent. If not set, Stripe attempts to automatically determine the types to use by looking at the invoice’s default payment method, the subscription’s default payment method, the customer’s default payment method, and your [invoice template settings](https://dashboard.stripe.com/settings/billing/invoice)."
                      }
                    },
                    "title": "payment_settings",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "default_mandate",
                      "payment_method_options",
                      "payment_method_types"
                    ]
                  },
                  "pending_invoice_items_behavior": {
                    "description": "How to handle pending invoice items on invoice creation. Defaults to `exclude` if the parameter is omitted.",
                    "enum": [
                      "exclude",
                      "include"
                    ],
                    "type": "string",
                    "x-stripeBypassValidation": true
                  },
                  "rendering": {
                    "description": "The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.",
                    "properties": {
                      "amount_tax_display": {
                        "description": "How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.",
                        "enum": [
                          "",
                          "exclude_tax",
                          "include_inclusive_tax"
                        ],
                        "type": "string"
                      },
                      "pdf": {
                        "description": "Invoice pdf rendering options",
                        "properties": {
                          "page_size": {
                            "description": "Page size for invoice PDF. Can be set to `a4`, `letter`, or `auto`.\n If set to `auto`, invoice PDF page size defaults to `a4` for customers with\n Japanese locale and `letter` for customers with other locales.",
                            "enum": [
                              "a4",
                              "auto",
                              "letter"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "rendering_pdf_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "page_size"
                        ]
                      },
                      "template": {
                        "description": "ID of the invoice rendering template to use for this invoice.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "template_version": {
                        "anyOf": [
                          {
                            "type": "integer"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The specific version of invoice rendering template to use for this invoice."
                      }
                    },
                    "title": "rendering_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "amount_tax_display",
                      "custom_text",
                      "invoice_title",
                      "pdf",
                      "summary_items_data",
                      "template",
                      "template_version"
                    ]
                  },
                  "shipping_cost": {
                    "description": "Settings for the cost of shipping for this invoice.",
                    "properties": {
                      "shipping_rate": {
                        "description": "The ID of the shipping rate to use for this order.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "shipping_rate_data": {
                        "description": "Parameters to create a new ad-hoc shipping rate for this order.",
                        "properties": {
                          "delivery_estimate": {
                            "description": "The estimated range for how long shipping will take, meant to be displayable to the customer. This will appear on CheckoutSessions.",
                            "properties": {
                              "maximum": {
                                "description": "The upper bound of the estimated range. If empty, represents no upper bound i.e., infinite.",
                                "properties": {
                                  "unit": {
                                    "description": "A unit of time.",
                                    "enum": [
                                      "business_day",
                                      "day",
                                      "hour",
                                      "month",
                                      "week"
                                    ],
                                    "type": "string"
                                  },
                                  "value": {
                                    "description": "Must be greater than 0.",
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "unit",
                                  "value"
                                ],
                                "title": "delivery_estimate_bound",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "unit",
                                  "value"
                                ]
                              },
                              "minimum": {
                                "description": "The lower bound of the estimated range. If empty, represents no lower bound.",
                                "properties": {
                                  "unit": {
                                    "description": "A unit of time.",
                                    "enum": [
                                      "business_day",
                                      "day",
                                      "hour",
                                      "month",
                                      "week"
                                    ],
                                    "type": "string"
                                  },
                                  "value": {
                                    "description": "Must be greater than 0.",
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "unit",
                                  "value"
                                ],
                                "title": "delivery_estimate_bound",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "unit",
                                  "value"
                                ]
                              }
                            },
                            "title": "delivery_estimate",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "maximum",
                              "minimum"
                            ]
                          },
                          "display_name": {
                            "description": "The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions.",
                            "maxLength": 100,
                            "type": "string"
                          },
                          "fixed_amount": {
                            "description": "Describes a fixed amount to charge for shipping. Must be present if type is `fixed_amount`.",
                            "properties": {
                              "amount": {
                                "description": "A non-negative integer in cents representing how much to charge.",
                                "type": "integer"
                              },
                              "currency": {
                                "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                                "type": "string"
                              },
                              "currency_options": {
                                "additionalProperties": {
                                  "properties": {
                                    "amount": {
                                      "description": "A non-negative integer in cents representing how much to charge.",
                                      "type": "integer"
                                    },
                                    "tax_behavior": {
                                      "description": "Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.",
                                      "enum": [
                                        "exclusive",
                                        "inclusive",
                                        "unspecified"
                                      ],
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "amount"
                                  ],
                                  "title": "currency_option",
                                  "type": "object",
                                  "x-stripeMostCommon": [
                                    "amount",
                                    "tax_behavior"
                                  ]
                                },
                                "description": "Shipping rates defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).",
                                "type": "object"
                              }
                            },
                            "required": [
                              "amount",
                              "currency"
                            ],
                            "title": "fixed_amount",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "amount",
                              "currency",
                              "currency_options"
                            ]
                          },
                          "metadata": {
                            "additionalProperties": {
                              "type": "string"
                            },
                            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                            "type": "object"
                          },
                          "tax_behavior": {
                            "description": "Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.",
                            "enum": [
                              "exclusive",
                              "inclusive",
                              "unspecified"
                            ],
                            "type": "string"
                          },
                          "tax_code": {
                            "description": "A [tax code](https://stripe.com/docs/tax/tax-categories) ID. The Shipping tax code is `txcd_92010001`.",
                            "type": "string"
                          },
                          "type": {
                            "description": "The type of calculation to use on the shipping rate.",
                            "enum": [
                              "fixed_amount"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "display_name"
                        ],
                        "title": "method_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "display_name",
                          "fixed_amount",
                          "metadata",
                          "tax_behavior",
                          "tax_code",
                          "type"
                        ]
                      }
                    },
                    "title": "shipping_cost",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "shipping_rate",
                      "shipping_rate_data"
                    ]
                  },
                  "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.",
                    "properties": {
                      "address": {
                        "description": "Shipping address",
                        "properties": {
                          "city": {
                            "description": "City, district, suburb, town, or village.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Address line 1 (e.g., street, PO Box, or company name).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "ZIP or postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "State, county, province, or region.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "optional_fields_address",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "line1",
                          "line2",
                          "postal_code",
                          "state"
                        ]
                      },
                      "name": {
                        "description": "Recipient name.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "phone": {
                        "anyOf": [
                          {
                            "maxLength": 5000,
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Recipient phone (including extension)"
                      }
                    },
                    "required": [
                      "address",
                      "name"
                    ],
                    "title": "recipient_shipping_with_optional_fields_address",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "address",
                      "name",
                      "phone"
                    ]
                  },
                  "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`.",
                    "maxLength": 22,
                    "type": "string"
                  },
                  "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.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "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.",
                    "properties": {
                      "amount": {
                        "description": "The amount that will be transferred automatically when the invoice is paid. If no amount is set, the full amount is transferred.",
                        "type": "integer"
                      },
                      "destination": {
                        "description": "ID of an existing, connected Stripe account.",
                        "type": "string"
                      }
                    },
                    "required": [
                      "destination"
                    ],
                    "title": "transfer_data_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "amount",
                      "destination"
                    ]
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "auto_advance",
                  "collection_method",
                  "customer",
                  "description",
                  "metadata",
                  "subscription"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/invoice"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create an invoice"
      }
    },
    "/v1/invoices/create_preview": {
      "post": {
        "description": "<p>At any time, you can preview the upcoming invoice for a customer. This will show you all the charges that are pending, including subscription renewal charges, invoice item charges, etc. It will also show you any discounts that are applicable to the invoice.</p>\n\n<p>Note that when you are viewing an upcoming invoice, you are simply viewing a preview – the invoice has not yet been created. As such, the upcoming invoice will not show up in invoice listing calls, and you cannot use the API to pay or edit the invoice. If you want to change the amount that your customer will be billed, you can add, remove, or update pending invoice items, or update the customer’s discount.</p>\n\n<p>You can preview the effects of updating a subscription, including a preview of what proration will take place. To ensure that the actual proration is calculated exactly the same as the previewed proration, you should pass the <code>subscription_details.proration_date</code> parameter when doing the actual subscription update. The recommended way to get only the prorations being previewed is to consider only proration line items where <code>period[start]</code> is equal to the <code>subscription_details.proration_date</code> value passed in the request. </p>\n\n<p>Note: Currency conversion calculations use the latest exchange rates. Exchange rates may vary between the time of the preview and the time of the actual invoice creation. <a href=\"https://docs.stripe.com/currencies/conversions\">Learn more</a></p>",
        "operationId": "PostInvoicesCreatePreview",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "automatic_tax": {
                  "explode": true,
                  "style": "deepObject"
                },
                "customer_details": {
                  "explode": true,
                  "style": "deepObject"
                },
                "discounts": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "invoice_items": {
                  "explode": true,
                  "style": "deepObject"
                },
                "issuer": {
                  "explode": true,
                  "style": "deepObject"
                },
                "on_behalf_of": {
                  "explode": true,
                  "style": "deepObject"
                },
                "schedule_details": {
                  "explode": true,
                  "style": "deepObject"
                },
                "subscription_details": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "automatic_tax": {
                    "description": "Settings for automatic tax lookup for this invoice preview.",
                    "properties": {
                      "enabled": {
                        "description": "Whether Stripe automatically computes tax on this invoice. Note that incompatible invoice items (invoice items with manually specified [tax rates](https://stripe.com/docs/api/tax_rates), negative amounts, or `tax_behavior=unspecified`) cannot be added to automatic tax invoices.",
                        "type": "boolean"
                      },
                      "liability": {
                        "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.",
                        "properties": {
                          "account": {
                            "description": "The connected account being referenced when `type` is `account`.",
                            "type": "string"
                          },
                          "type": {
                            "description": "Type of the account referenced in the request.",
                            "enum": [
                              "account",
                              "self"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account",
                          "type"
                        ]
                      }
                    },
                    "required": [
                      "enabled"
                    ],
                    "title": "automatic_tax_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "enabled",
                      "liability"
                    ]
                  },
                  "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.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "currency": {
                    "description": "The currency to preview this invoice in. Defaults to that of `customer` if not specified.",
                    "type": "string"
                  },
                  "customer": {
                    "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.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "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.",
                    "properties": {
                      "address": {
                        "anyOf": [
                          {
                            "properties": {
                              "city": {
                                "description": "City, district, suburb, town, or village.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "country": {
                                "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line1": {
                                "description": "Address line 1 (e.g., street, PO Box, or company name).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line2": {
                                "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "postal_code": {
                                "description": "ZIP or postal code.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "state": {
                                "description": "State, county, province, or region.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "optional_fields_address",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "city",
                              "country",
                              "line1",
                              "line2",
                              "postal_code",
                              "state"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The customer's address."
                      },
                      "shipping": {
                        "anyOf": [
                          {
                            "properties": {
                              "address": {
                                "description": "Customer shipping address.",
                                "properties": {
                                  "city": {
                                    "description": "City, district, suburb, town, or village.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "country": {
                                    "description": "A freeform text field for the country. However, in order to activate some tax features, the format should be a two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "line1": {
                                    "description": "Address line 1 (e.g., street, PO Box, or company name).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "line2": {
                                    "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "postal_code": {
                                    "description": "ZIP or postal code.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "state": {
                                    "description": "State, county, province, or region.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "title": "optional_fields_customer_address",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "city",
                                  "country",
                                  "line1",
                                  "line2",
                                  "postal_code",
                                  "state"
                                ]
                              },
                              "name": {
                                "description": "Customer name.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "phone": {
                                "description": "Customer phone (including extension).",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "required": [
                              "address",
                              "name"
                            ],
                            "title": "customer_shipping",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "address",
                              "name",
                              "phone"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The customer's shipping information. Appears on invoices emailed to this customer."
                      },
                      "tax": {
                        "description": "Tax details about the customer.",
                        "properties": {
                          "ip_address": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "A recent IP address of the customer used for tax reporting and tax location inference. Stripe recommends updating the IP address when a new PaymentMethod is attached or the address field on the customer is updated. We recommend against updating this field more frequently since it could result in unexpected tax location/reporting outcomes."
                          }
                        },
                        "title": "tax_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "ip_address"
                        ]
                      },
                      "tax_exempt": {
                        "description": "The customer's tax exemption. One of `none`, `exempt`, or `reverse`.",
                        "enum": [
                          "",
                          "exempt",
                          "none",
                          "reverse"
                        ],
                        "type": "string"
                      },
                      "tax_ids": {
                        "description": "The customer's tax IDs.",
                        "items": {
                          "properties": {
                            "type": {
                              "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `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`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat`",
                              "enum": [
                                "ad_nrt",
                                "ae_trn",
                                "ar_cuit",
                                "au_abn",
                                "au_arn",
                                "bg_uic",
                                "bh_vat",
                                "bo_tin",
                                "br_cnpj",
                                "br_cpf",
                                "by_tin",
                                "ca_bn",
                                "ca_gst_hst",
                                "ca_pst_bc",
                                "ca_pst_mb",
                                "ca_pst_sk",
                                "ca_qst",
                                "ch_uid",
                                "ch_vat",
                                "cl_tin",
                                "cn_tin",
                                "co_nit",
                                "cr_tin",
                                "de_stn",
                                "do_rcn",
                                "ec_ruc",
                                "eg_tin",
                                "es_cif",
                                "eu_oss_vat",
                                "eu_vat",
                                "gb_vat",
                                "ge_vat",
                                "hk_br",
                                "hr_oib",
                                "hu_tin",
                                "id_npwp",
                                "il_vat",
                                "in_gst",
                                "is_vat",
                                "jp_cn",
                                "jp_rn",
                                "jp_trn",
                                "ke_pin",
                                "kr_brn",
                                "kz_bin",
                                "li_uid",
                                "li_vat",
                                "ma_vat",
                                "md_vat",
                                "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",
                                "tz_vat",
                                "ua_vat",
                                "us_ein",
                                "uy_ruc",
                                "uz_tin",
                                "uz_vat",
                                "ve_rif",
                                "vn_tin",
                                "za_vat"
                              ],
                              "maxLength": 5000,
                              "type": "string",
                              "x-stripeBypassValidation": true
                            },
                            "value": {
                              "description": "Value of the tax ID.",
                              "type": "string"
                            }
                          },
                          "required": [
                            "type",
                            "value"
                          ],
                          "title": "data_params",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "type",
                            "value"
                          ]
                        },
                        "type": "array"
                      }
                    },
                    "title": "customer_details_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "address",
                      "shipping",
                      "tax",
                      "tax_exempt",
                      "tax_ids"
                    ]
                  },
                  "discounts": {
                    "anyOf": [
                      {
                        "items": {
                          "properties": {
                            "coupon": {
                              "description": "ID of the coupon to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "discount": {
                              "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "promotion_code": {
                              "description": "ID of the promotion code to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            }
                          },
                          "title": "discounts_data_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "coupon"
                          ]
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "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."
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "invoice_items": {
                    "description": "List of invoice items to add or update in the upcoming invoice preview (up to 250).",
                    "items": {
                      "properties": {
                        "amount": {
                          "description": "The integer amount in cents (or local equivalent) of previewed invoice item.",
                          "type": "integer"
                        },
                        "currency": {
                          "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). Only applicable to new invoice items.",
                          "type": "string"
                        },
                        "description": {
                          "description": "An arbitrary string which you can attach to the invoice item. The description is displayed in the invoice for easy tracking.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "discountable": {
                          "description": "Explicitly controls whether discounts apply to this invoice item. Defaults to true, except for negative invoice items.",
                          "type": "boolean"
                        },
                        "discounts": {
                          "anyOf": [
                            {
                              "items": {
                                "properties": {
                                  "coupon": {
                                    "description": "ID of the coupon to create a new discount for.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "discount": {
                                    "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "promotion_code": {
                                    "description": "ID of the promotion code to create a new discount for.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "title": "discounts_data_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "coupon"
                                ]
                              },
                              "type": "array"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "The coupons to redeem into discounts for the invoice item in the preview."
                        },
                        "invoiceitem": {
                          "description": "The ID of the invoice item to update in preview. If not specified, a new invoice item will be added to the preview of the upcoming invoice.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "metadata": {
                          "anyOf": [
                            {
                              "additionalProperties": {
                                "type": "string"
                              },
                              "type": "object"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                        },
                        "period": {
                          "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.",
                          "properties": {
                            "end": {
                              "description": "The end of the period, which must be greater than or equal to the start. This value is inclusive.",
                              "format": "unix-time",
                              "type": "integer"
                            },
                            "start": {
                              "description": "The start of the period. This value is inclusive.",
                              "format": "unix-time",
                              "type": "integer"
                            }
                          },
                          "required": [
                            "end",
                            "start"
                          ],
                          "title": "period",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "end",
                            "start"
                          ]
                        },
                        "price": {
                          "description": "The ID of the price object. One of `price` or `price_data` is required.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "price_data": {
                          "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
                          "properties": {
                            "currency": {
                              "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                              "type": "string"
                            },
                            "product": {
                              "description": "The ID of the product that this price will belong to.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "tax_behavior": {
                              "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                              "enum": [
                                "exclusive",
                                "inclusive",
                                "unspecified"
                              ],
                              "type": "string"
                            },
                            "unit_amount": {
                              "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.",
                              "type": "integer"
                            },
                            "unit_amount_decimal": {
                              "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                              "format": "decimal",
                              "type": "string"
                            }
                          },
                          "required": [
                            "currency",
                            "product"
                          ],
                          "title": "one_time_price_data",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "currency",
                            "product",
                            "unit_amount"
                          ]
                        },
                        "quantity": {
                          "description": "Non-negative integer. The quantity of units for the invoice item.",
                          "type": "integer"
                        },
                        "tax_behavior": {
                          "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                          "enum": [
                            "exclusive",
                            "inclusive",
                            "unspecified"
                          ],
                          "type": "string"
                        },
                        "tax_code": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "A [tax code](https://stripe.com/docs/tax/tax-categories) ID."
                        },
                        "tax_rates": {
                          "anyOf": [
                            {
                              "items": {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "type": "array"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "The tax rates that apply to the item. When set, any `default_tax_rates` do not apply to this item."
                        },
                        "unit_amount": {
                          "description": "The integer unit amount in cents (or local equivalent) of the charge to be applied to the upcoming invoice. This unit_amount will be multiplied by the quantity to get the full amount. If you want to apply a credit to the customer's account, pass a negative unit_amount.",
                          "type": "integer"
                        },
                        "unit_amount_decimal": {
                          "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                          "format": "decimal",
                          "type": "string"
                        }
                      },
                      "title": "invoice_item_preview_params",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "amount",
                        "currency",
                        "description",
                        "discountable",
                        "discounts",
                        "invoiceitem",
                        "metadata",
                        "period",
                        "price",
                        "quantity",
                        "tax_behavior",
                        "tax_code",
                        "tax_rates",
                        "unit_amount",
                        "unit_amount_decimal"
                      ]
                    },
                    "type": "array"
                  },
                  "issuer": {
                    "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.",
                    "properties": {
                      "account": {
                        "description": "The connected account being referenced when `type` is `account`.",
                        "type": "string"
                      },
                      "type": {
                        "description": "Type of the account referenced in the request.",
                        "enum": [
                          "account",
                          "self"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "title": "param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "account",
                      "type"
                    ]
                  },
                  "on_behalf_of": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "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."
                  },
                  "preview_mode": {
                    "description": "Customizes the types of values to include when calculating the invoice. Defaults to `next` if unspecified.",
                    "enum": [
                      "next",
                      "recurring"
                    ],
                    "type": "string"
                  },
                  "schedule": {
                    "description": "The identifier of the schedule whose upcoming invoice you'd like to retrieve. Cannot be used with subscription or subscription fields.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "schedule_details": {
                    "description": "The schedule creation or modification params to apply as a preview. Cannot be used with `subscription` or `subscription_` prefixed fields.",
                    "properties": {
                      "end_behavior": {
                        "description": "Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running. `cancel` will end the subscription schedule and cancel the underlying subscription.",
                        "enum": [
                          "cancel",
                          "release"
                        ],
                        "type": "string"
                      },
                      "phases": {
                        "description": "List representing phases of the subscription schedule. Each phase can be customized to have different durations, plans, and coupons. If there are multiple phases, the `end_date` of one phase will always equal the `start_date` of the next phase.",
                        "items": {
                          "properties": {
                            "add_invoice_items": {
                              "description": "A list of prices and quantities that will generate invoice items appended to the next invoice for this phase. You may pass up to 20 items.",
                              "items": {
                                "properties": {
                                  "discounts": {
                                    "description": "The coupons to redeem into discounts for the item.",
                                    "items": {
                                      "properties": {
                                        "coupon": {
                                          "description": "ID of the coupon to create a new discount for.",
                                          "maxLength": 5000,
                                          "type": "string"
                                        },
                                        "discount": {
                                          "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                                          "maxLength": 5000,
                                          "type": "string"
                                        },
                                        "promotion_code": {
                                          "description": "ID of the promotion code to create a new discount for.",
                                          "maxLength": 5000,
                                          "type": "string"
                                        }
                                      },
                                      "title": "discounts_data_param",
                                      "type": "object",
                                      "x-stripeMostCommon": [
                                        "coupon"
                                      ]
                                    },
                                    "type": "array"
                                  },
                                  "price": {
                                    "description": "The ID of the price object. One of `price` or `price_data` is required.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "price_data": {
                                    "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
                                    "properties": {
                                      "currency": {
                                        "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                                        "type": "string"
                                      },
                                      "product": {
                                        "description": "The ID of the product that this price will belong to.",
                                        "maxLength": 5000,
                                        "type": "string"
                                      },
                                      "tax_behavior": {
                                        "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                                        "enum": [
                                          "exclusive",
                                          "inclusive",
                                          "unspecified"
                                        ],
                                        "type": "string"
                                      },
                                      "unit_amount": {
                                        "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge or a negative integer representing the amount to credit to the customer.",
                                        "type": "integer"
                                      },
                                      "unit_amount_decimal": {
                                        "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                                        "format": "decimal",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "currency",
                                      "product"
                                    ],
                                    "title": "one_time_price_data_with_negative_amounts",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "currency",
                                      "product",
                                      "unit_amount"
                                    ]
                                  },
                                  "quantity": {
                                    "description": "Quantity for this item. Defaults to 1.",
                                    "type": "integer"
                                  },
                                  "tax_rates": {
                                    "anyOf": [
                                      {
                                        "items": {
                                          "maxLength": 5000,
                                          "type": "string"
                                        },
                                        "type": "array"
                                      },
                                      {
                                        "enum": [
                                          ""
                                        ],
                                        "type": "string"
                                      }
                                    ],
                                    "description": "The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item."
                                  }
                                },
                                "title": "add_invoice_item_entry",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "price",
                                  "quantity"
                                ],
                                "x-stripeParam": {
                                  "class_name": "AddInvoiceItem"
                                }
                              },
                              "type": "array"
                            },
                            "application_fee_percent": {
                              "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions).",
                              "type": "number"
                            },
                            "automatic_tax": {
                              "description": "Automatic tax settings for this phase.",
                              "properties": {
                                "enabled": {
                                  "description": "Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription.",
                                  "type": "boolean"
                                },
                                "liability": {
                                  "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.",
                                  "properties": {
                                    "account": {
                                      "description": "The connected account being referenced when `type` is `account`.",
                                      "type": "string"
                                    },
                                    "type": {
                                      "description": "Type of the account referenced in the request.",
                                      "enum": [
                                        "account",
                                        "self"
                                      ],
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "type"
                                  ],
                                  "title": "param",
                                  "type": "object",
                                  "x-stripeMostCommon": [
                                    "account",
                                    "type"
                                  ]
                                }
                              },
                              "required": [
                                "enabled"
                              ],
                              "title": "automatic_tax_config",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "enabled",
                                "liability"
                              ]
                            },
                            "billing_cycle_anchor": {
                              "description": "Can be set to `phase_start` to set the anchor to the start of the phase or `automatic` to automatically change it if needed. Cannot be set to `phase_start` if this phase specifies a trial. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle).",
                              "enum": [
                                "automatic",
                                "phase_start"
                              ],
                              "type": "string"
                            },
                            "billing_thresholds": {
                              "anyOf": [
                                {
                                  "properties": {
                                    "amount_gte": {
                                      "description": "Monetary threshold that triggers the subscription to advance to a new billing period",
                                      "type": "integer"
                                    },
                                    "reset_billing_cycle_anchor": {
                                      "description": "Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged.",
                                      "type": "boolean"
                                    }
                                  },
                                  "title": "billing_thresholds_param",
                                  "type": "object",
                                  "x-stripeMostCommon": [
                                    "amount_gte",
                                    "reset_billing_cycle_anchor"
                                  ]
                                },
                                {
                                  "enum": [
                                    ""
                                  ],
                                  "type": "string"
                                }
                              ],
                              "description": "Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds."
                            },
                            "collection_method": {
                              "description": "Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay the underlying subscription at the end of each billing cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`. Defaults to `charge_automatically` on creation.",
                              "enum": [
                                "charge_automatically",
                                "send_invoice"
                              ],
                              "type": "string"
                            },
                            "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.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "currency": {
                              "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                              "type": "string"
                            },
                            "default_payment_method": {
                              "description": "ID of the default payment method for the subscription schedule. It must belong to the customer associated with the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "default_tax_rates": {
                              "anyOf": [
                                {
                                  "items": {
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "type": "array"
                                },
                                {
                                  "enum": [
                                    ""
                                  ],
                                  "type": "string"
                                }
                              ],
                              "description": "A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will set the Subscription's [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates), which means they will be the Invoice's [`default_tax_rates`](https://stripe.com/docs/api/invoices/create#create_invoice-default_tax_rates) for any Invoices issued by the Subscription during this Phase."
                            },
                            "description": {
                              "anyOf": [
                                {
                                  "maxLength": 500,
                                  "type": "string"
                                },
                                {
                                  "enum": [
                                    ""
                                  ],
                                  "type": "string"
                                }
                              ],
                              "description": "Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs."
                            },
                            "discounts": {
                              "anyOf": [
                                {
                                  "items": {
                                    "properties": {
                                      "coupon": {
                                        "description": "ID of the coupon to create a new discount for.",
                                        "maxLength": 5000,
                                        "type": "string"
                                      },
                                      "discount": {
                                        "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                                        "maxLength": 5000,
                                        "type": "string"
                                      },
                                      "promotion_code": {
                                        "description": "ID of the promotion code to create a new discount for.",
                                        "maxLength": 5000,
                                        "type": "string"
                                      }
                                    },
                                    "title": "discounts_data_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "coupon"
                                    ]
                                  },
                                  "type": "array"
                                },
                                {
                                  "enum": [
                                    ""
                                  ],
                                  "type": "string"
                                }
                              ],
                              "description": "The coupons to redeem into discounts for the schedule phase. If not specified, inherits the discount from the subscription's customer. Pass an empty string to avoid inheriting any discounts."
                            },
                            "end_date": {
                              "anyOf": [
                                {
                                  "format": "unix-time",
                                  "type": "integer"
                                },
                                {
                                  "enum": [
                                    "now"
                                  ],
                                  "maxLength": 5000,
                                  "type": "string"
                                }
                              ],
                              "description": "The date at which this phase of the subscription schedule ends. If set, `iterations` must not be set."
                            },
                            "invoice_settings": {
                              "description": "All invoices will be billed using the specified settings.",
                              "properties": {
                                "account_tax_ids": {
                                  "anyOf": [
                                    {
                                      "items": {
                                        "maxLength": 5000,
                                        "type": "string"
                                      },
                                      "type": "array"
                                    },
                                    {
                                      "enum": [
                                        ""
                                      ],
                                      "type": "string"
                                    }
                                  ],
                                  "description": "The account tax IDs associated with this phase of the subscription schedule. Will be set on invoices generated by this phase of the subscription schedule."
                                },
                                "days_until_due": {
                                  "description": "Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`.",
                                  "type": "integer"
                                },
                                "issuer": {
                                  "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.",
                                  "properties": {
                                    "account": {
                                      "description": "The connected account being referenced when `type` is `account`.",
                                      "type": "string"
                                    },
                                    "type": {
                                      "description": "Type of the account referenced in the request.",
                                      "enum": [
                                        "account",
                                        "self"
                                      ],
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "type"
                                  ],
                                  "title": "param",
                                  "type": "object",
                                  "x-stripeMostCommon": [
                                    "account",
                                    "type"
                                  ]
                                }
                              },
                              "title": "invoice_settings",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "account_tax_ids",
                                "custom_fields",
                                "days_until_due",
                                "description",
                                "footer",
                                "issuer",
                                "send_hosted_payment_email",
                                "supported_payment_methods"
                              ]
                            },
                            "items": {
                              "description": "List of configuration items, each with an attached price, to apply during this phase of the subscription schedule.",
                              "items": {
                                "properties": {
                                  "billing_thresholds": {
                                    "anyOf": [
                                      {
                                        "properties": {
                                          "usage_gte": {
                                            "description": "Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte))",
                                            "type": "integer"
                                          }
                                        },
                                        "required": [
                                          "usage_gte"
                                        ],
                                        "title": "item_billing_thresholds_param",
                                        "type": "object",
                                        "x-stripeMostCommon": [
                                          "usage_gte"
                                        ]
                                      },
                                      {
                                        "enum": [
                                          ""
                                        ],
                                        "type": "string"
                                      }
                                    ],
                                    "description": "Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds."
                                  },
                                  "discounts": {
                                    "anyOf": [
                                      {
                                        "items": {
                                          "properties": {
                                            "coupon": {
                                              "description": "ID of the coupon to create a new discount for.",
                                              "maxLength": 5000,
                                              "type": "string"
                                            },
                                            "discount": {
                                              "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                                              "maxLength": 5000,
                                              "type": "string"
                                            },
                                            "promotion_code": {
                                              "description": "ID of the promotion code to create a new discount for.",
                                              "maxLength": 5000,
                                              "type": "string"
                                            }
                                          },
                                          "title": "discounts_data_param",
                                          "type": "object",
                                          "x-stripeMostCommon": [
                                            "coupon"
                                          ]
                                        },
                                        "type": "array"
                                      },
                                      {
                                        "enum": [
                                          ""
                                        ],
                                        "type": "string"
                                      }
                                    ],
                                    "description": "The coupons to redeem into discounts for the subscription item."
                                  },
                                  "metadata": {
                                    "additionalProperties": {
                                      "type": "string"
                                    },
                                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to a configuration item. Metadata on a configuration item will update the underlying subscription item's `metadata` when the phase is entered, adding new keys and replacing existing keys. Individual keys in the subscription item's `metadata` can be unset by posting an empty value to them in the configuration item's `metadata`. To unset all keys in the subscription item's `metadata`, update the subscription item directly or unset every key individually from the configuration item's `metadata`.",
                                    "type": "object"
                                  },
                                  "plan": {
                                    "description": "The plan ID to subscribe to. You may specify the same ID in `plan` and `price`.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "price": {
                                    "description": "The ID of the price object.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "price_data": {
                                    "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline.",
                                    "properties": {
                                      "currency": {
                                        "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                                        "type": "string"
                                      },
                                      "product": {
                                        "description": "The ID of the product that this price will belong to.",
                                        "maxLength": 5000,
                                        "type": "string"
                                      },
                                      "recurring": {
                                        "description": "The recurring components of a price such as `interval` and `interval_count`.",
                                        "properties": {
                                          "interval": {
                                            "description": "Specifies billing frequency. Either `day`, `week`, `month` or `year`.",
                                            "enum": [
                                              "day",
                                              "month",
                                              "week",
                                              "year"
                                            ],
                                            "type": "string"
                                          },
                                          "interval_count": {
                                            "description": "The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).",
                                            "type": "integer"
                                          }
                                        },
                                        "required": [
                                          "interval"
                                        ],
                                        "title": "recurring_adhoc",
                                        "type": "object",
                                        "x-stripeMostCommon": [
                                          "interval"
                                        ]
                                      },
                                      "tax_behavior": {
                                        "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                                        "enum": [
                                          "exclusive",
                                          "inclusive",
                                          "unspecified"
                                        ],
                                        "type": "string"
                                      },
                                      "unit_amount": {
                                        "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.",
                                        "type": "integer"
                                      },
                                      "unit_amount_decimal": {
                                        "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                                        "format": "decimal",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "currency",
                                      "product",
                                      "recurring"
                                    ],
                                    "title": "recurring_price_data",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "currency",
                                      "product",
                                      "recurring",
                                      "unit_amount"
                                    ]
                                  },
                                  "quantity": {
                                    "description": "Quantity for the given price. Can be set only if the price's `usage_type` is `licensed` and not `metered`.",
                                    "type": "integer"
                                  },
                                  "tax_rates": {
                                    "anyOf": [
                                      {
                                        "items": {
                                          "maxLength": 5000,
                                          "type": "string"
                                        },
                                        "type": "array"
                                      },
                                      {
                                        "enum": [
                                          ""
                                        ],
                                        "type": "string"
                                      }
                                    ],
                                    "description": "A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates."
                                  }
                                },
                                "title": "configuration_item_params",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "billing_thresholds",
                                  "discounts",
                                  "metadata",
                                  "plan",
                                  "price",
                                  "quantity",
                                  "tax_rates",
                                  "trial"
                                ]
                              },
                              "type": "array"
                            },
                            "iterations": {
                              "description": "Integer representing the multiplier applied to the price interval. For example, `iterations=2` applied to a price with `interval=month` and `interval_count=3` results in a phase of duration `2 * 3 months = 6 months`. If set, `end_date` must not be set.",
                              "type": "integer"
                            },
                            "metadata": {
                              "additionalProperties": {
                                "type": "string"
                              },
                              "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to a phase. Metadata on a schedule's phase will update the underlying subscription's `metadata` when the phase is entered, adding new keys and replacing existing keys in the subscription's `metadata`. Individual keys in the subscription's `metadata` can be unset by posting an empty value to them in the phase's `metadata`. To unset all keys in the subscription's `metadata`, update the subscription directly or unset every key individually from the phase's `metadata`.",
                              "type": "object"
                            },
                            "on_behalf_of": {
                              "description": "The account on behalf of which to charge, for each of the associated subscription's invoices.",
                              "type": "string"
                            },
                            "proration_behavior": {
                              "description": "Whether the subscription schedule will create [prorations](https://stripe.com/docs/billing/subscriptions/prorations) when transitioning to this phase. The default value is `create_prorations`. This setting controls prorations when a phase is started asynchronously and it is persisted as a field on the phase. It's different from the request-level [proration_behavior](https://stripe.com/docs/api/subscription_schedules/update#update_subscription_schedule-proration_behavior) parameter which controls what happens if the update request affects the billing configuration of the current phase.",
                              "enum": [
                                "always_invoice",
                                "create_prorations",
                                "none"
                              ],
                              "type": "string"
                            },
                            "start_date": {
                              "anyOf": [
                                {
                                  "format": "unix-time",
                                  "type": "integer"
                                },
                                {
                                  "enum": [
                                    "now"
                                  ],
                                  "maxLength": 5000,
                                  "type": "string"
                                }
                              ],
                              "description": "The date at which this phase of the subscription schedule starts or `now`. Must be set on the first phase."
                            },
                            "transfer_data": {
                              "description": "The data with which to automatically create a Transfer for each of the associated subscription's invoices.",
                              "properties": {
                                "amount_percent": {
                                  "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.",
                                  "type": "number"
                                },
                                "destination": {
                                  "description": "ID of an existing, connected Stripe account.",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "destination"
                              ],
                              "title": "transfer_data_specs",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "amount_percent",
                                "destination"
                              ]
                            },
                            "trial": {
                              "description": "If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.",
                              "type": "boolean"
                            },
                            "trial_end": {
                              "anyOf": [
                                {
                                  "format": "unix-time",
                                  "type": "integer"
                                },
                                {
                                  "enum": [
                                    "now"
                                  ],
                                  "maxLength": 5000,
                                  "type": "string"
                                }
                              ],
                              "description": "Sets the phase to trialing from the start date to this date. Must be before the phase end date, can not be combined with `trial`"
                            }
                          },
                          "required": [
                            "items"
                          ],
                          "title": "phase_configuration_params",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "add_invoice_items",
                            "application_fee_percent",
                            "automatic_tax",
                            "billing_cycle_anchor",
                            "billing_thresholds",
                            "collection_method",
                            "coupon",
                            "currency",
                            "default_payment_method",
                            "default_tax_rates",
                            "description",
                            "discounts",
                            "end_date",
                            "invoice_settings",
                            "items",
                            "iterations",
                            "metadata",
                            "on_behalf_of",
                            "pause_collection",
                            "proration_behavior",
                            "start_date",
                            "tax_filing_currency",
                            "transfer_data",
                            "trial",
                            "trial_continuation",
                            "trial_end",
                            "trial_settings"
                          ]
                        },
                        "type": "array"
                      },
                      "proration_behavior": {
                        "description": "In cases where the `schedule_details` params update the currently active phase, specifies if and how to prorate at the time of the request.",
                        "enum": [
                          "always_invoice",
                          "create_prorations",
                          "none"
                        ],
                        "type": "string"
                      }
                    },
                    "title": "schedule_details_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "amendments",
                      "billing_behavior",
                      "end_behavior",
                      "phases",
                      "prebilling",
                      "proration_behavior"
                    ]
                  },
                  "subscription": {
                    "description": "The identifier of the subscription for which you'd like to retrieve the upcoming invoice. If not provided, but a `subscription_details.items` is provided, you will preview creating a subscription with those items. If neither `subscription` nor `subscription_details.items` is provided, you will retrieve the next upcoming invoice from among the customer's subscriptions.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "subscription_details": {
                    "description": "The subscription creation or modification params to apply as a preview. Cannot be used with `schedule` or `schedule_details` fields.",
                    "properties": {
                      "billing_cycle_anchor": {
                        "anyOf": [
                          {
                            "enum": [
                              "now",
                              "unchanged"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          },
                          {
                            "format": "unix-time",
                            "type": "integer"
                          }
                        ],
                        "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`."
                      },
                      "cancel_at": {
                        "anyOf": [
                          {
                            "format": "unix-time",
                            "type": "integer"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "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."
                      },
                      "cancel_at_period_end": {
                        "description": "Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`.",
                        "type": "boolean"
                      },
                      "cancel_now": {
                        "description": "This simulates the subscription being canceled or expired immediately.",
                        "type": "boolean"
                      },
                      "default_tax_rates": {
                        "anyOf": [
                          {
                            "items": {
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "type": "array"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "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."
                      },
                      "items": {
                        "description": "A list of up to 20 subscription items, each with an attached price.",
                        "items": {
                          "properties": {
                            "billing_thresholds": {
                              "anyOf": [
                                {
                                  "properties": {
                                    "usage_gte": {
                                      "description": "Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte))",
                                      "type": "integer"
                                    }
                                  },
                                  "required": [
                                    "usage_gte"
                                  ],
                                  "title": "item_billing_thresholds_param",
                                  "type": "object",
                                  "x-stripeMostCommon": [
                                    "usage_gte"
                                  ]
                                },
                                {
                                  "enum": [
                                    ""
                                  ],
                                  "type": "string"
                                }
                              ],
                              "description": "Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds."
                            },
                            "clear_usage": {
                              "description": "Delete all usage for a given subscription item. Allowed only when `deleted` is set to `true` and the current plan's `usage_type` is `metered`.",
                              "type": "boolean"
                            },
                            "deleted": {
                              "description": "A flag that, if set to `true`, will delete the specified item.",
                              "type": "boolean"
                            },
                            "discounts": {
                              "anyOf": [
                                {
                                  "items": {
                                    "properties": {
                                      "coupon": {
                                        "description": "ID of the coupon to create a new discount for.",
                                        "maxLength": 5000,
                                        "type": "string"
                                      },
                                      "discount": {
                                        "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                                        "maxLength": 5000,
                                        "type": "string"
                                      },
                                      "promotion_code": {
                                        "description": "ID of the promotion code to create a new discount for.",
                                        "maxLength": 5000,
                                        "type": "string"
                                      }
                                    },
                                    "title": "discounts_data_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "coupon"
                                    ]
                                  },
                                  "type": "array"
                                },
                                {
                                  "enum": [
                                    ""
                                  ],
                                  "type": "string"
                                }
                              ],
                              "description": "The coupons to redeem into discounts for the subscription item."
                            },
                            "id": {
                              "description": "Subscription item to update.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "metadata": {
                              "anyOf": [
                                {
                                  "additionalProperties": {
                                    "type": "string"
                                  },
                                  "type": "object"
                                },
                                {
                                  "enum": [
                                    ""
                                  ],
                                  "type": "string"
                                }
                              ],
                              "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                            },
                            "plan": {
                              "description": "Plan ID for this item, as a string.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "price": {
                              "description": "The ID of the price object. One of `price` or `price_data` is required. When changing a subscription item's price, `quantity` is set to 1 unless a `quantity` parameter is provided.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "price_data": {
                              "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
                              "properties": {
                                "currency": {
                                  "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                                  "type": "string"
                                },
                                "product": {
                                  "description": "The ID of the product that this price will belong to.",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "recurring": {
                                  "description": "The recurring components of a price such as `interval` and `interval_count`.",
                                  "properties": {
                                    "interval": {
                                      "description": "Specifies billing frequency. Either `day`, `week`, `month` or `year`.",
                                      "enum": [
                                        "day",
                                        "month",
                                        "week",
                                        "year"
                                      ],
                                      "type": "string"
                                    },
                                    "interval_count": {
                                      "description": "The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).",
                                      "type": "integer"
                                    }
                                  },
                                  "required": [
                                    "interval"
                                  ],
                                  "title": "recurring_adhoc",
                                  "type": "object",
                                  "x-stripeMostCommon": [
                                    "interval"
                                  ]
                                },
                                "tax_behavior": {
                                  "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                                  "enum": [
                                    "exclusive",
                                    "inclusive",
                                    "unspecified"
                                  ],
                                  "type": "string"
                                },
                                "unit_amount": {
                                  "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.",
                                  "type": "integer"
                                },
                                "unit_amount_decimal": {
                                  "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                                  "format": "decimal",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "currency",
                                "product",
                                "recurring"
                              ],
                              "title": "recurring_price_data",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "currency",
                                "product",
                                "recurring",
                                "unit_amount"
                              ]
                            },
                            "quantity": {
                              "description": "Quantity for this item.",
                              "type": "integer"
                            },
                            "tax_rates": {
                              "anyOf": [
                                {
                                  "items": {
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "type": "array"
                                },
                                {
                                  "enum": [
                                    ""
                                  ],
                                  "type": "string"
                                }
                              ],
                              "description": "A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates."
                            }
                          },
                          "title": "subscription_item_update_params",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "billing_thresholds",
                            "clear_usage",
                            "deleted",
                            "discounts",
                            "id",
                            "metadata",
                            "plan",
                            "price",
                            "quantity",
                            "tax_rates"
                          ]
                        },
                        "type": "array"
                      },
                      "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`.",
                        "enum": [
                          "always_invoice",
                          "create_prorations",
                          "none"
                        ],
                        "type": "string"
                      },
                      "proration_date": {
                        "description": "If previewing an update to a subscription, and doing proration, `subscription_details.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_details.items`, or `subscription_details.trial_end` are required. Also, `subscription_details.proration_behavior` cannot be set to 'none'.",
                        "format": "unix-time",
                        "type": "integer"
                      },
                      "resume_at": {
                        "description": "For paused subscriptions, setting `subscription_details.resume_at` to `now` will preview the invoice that will be generated if the subscription is resumed.",
                        "enum": [
                          "now"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "start_date": {
                        "description": "Date a subscription is intended to start (can be future or past).",
                        "format": "unix-time",
                        "type": "integer"
                      },
                      "trial_end": {
                        "anyOf": [
                          {
                            "enum": [
                              "now"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          },
                          {
                            "format": "unix-time",
                            "type": "integer"
                          }
                        ],
                        "description": "If provided, the invoice returned will preview updating or creating a subscription with that trial end. If set, one of `subscription_details.items` or `subscription` is required."
                      }
                    },
                    "title": "subscription_details_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "billing_cycle_anchor",
                      "cancel_at",
                      "cancel_at_period_end",
                      "cancel_now",
                      "default_tax_rates",
                      "items",
                      "prebilling",
                      "proration_behavior",
                      "proration_date",
                      "resume_at",
                      "start_date",
                      "trial_end"
                    ]
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "customer",
                  "subscription"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/invoice"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a preview invoice"
      }
    },
    "/v1/invoices/search": {
      "get": {
        "description": "<p>Search for invoices you’ve previously created using Stripe’s <a href=\"/docs/search#search-query-language\">Search Query Language</a>.\nDon’t use search in read-after-write flows where strict consistency is necessary. Under normal operating\nconditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up\nto an hour behind during outages. Search functionality is not available to merchants in India.</p>",
        "operationId": "GetInvoicesSearch",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "The search query string. See [search query language](https://stripe.com/docs/search#search-query-language) and the list of supported [query fields for invoices](https://stripe.com/docs/search#query-fields-for-invoices).",
            "in": "query",
            "name": "query",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/invoice"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "type": "boolean"
                    },
                    "next_page": {
                      "maxLength": 5000,
                      "nullable": true,
                      "type": "string"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value.",
                      "enum": [
                        "search_result"
                      ],
                      "type": "string"
                    },
                    "total_count": {
                      "description": "The total number of objects that match the query, only accurate up to 10,000.",
                      "type": "integer"
                    },
                    "url": {
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "next_page",
                    "object",
                    "url"
                  ],
                  "title": "SearchResult",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "next_page",
                    "object",
                    "total_count",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Search invoices"
      }
    },
    "/v1/invoices/upcoming": {
      "get": {
        "description": "<p>At any time, you can preview the upcoming invoice for a customer. This will show you all the charges that are pending, including subscription renewal charges, invoice item charges, etc. It will also show you any discounts that are applicable to the invoice.</p>\n\n<p>Note that when you are viewing an upcoming invoice, you are simply viewing a preview – the invoice has not yet been created. As such, the upcoming invoice will not show up in invoice listing calls, and you cannot use the API to pay or edit the invoice. If you want to change the amount that your customer will be billed, you can add, remove, or update pending invoice items, or update the customer’s discount.</p>\n\n<p>You can preview the effects of updating a subscription, including a preview of what proration will take place. To ensure that the actual proration is calculated exactly the same as the previewed proration, you should pass the <code>subscription_details.proration_date</code> parameter when doing the actual subscription update. The recommended way to get only the prorations being previewed is to consider only proration line items where <code>period[start]</code> is equal to the <code>subscription_details.proration_date</code> value passed in the request.</p>\n\n<p>Note: Currency conversion calculations use the latest exchange rates. Exchange rates may vary between the time of the preview and the time of the actual invoice creation. <a href=\"https://docs.stripe.com/currencies/conversions\">Learn more</a></p>",
        "operationId": "GetInvoicesUpcoming",
        "parameters": [
          {
            "description": "Settings for automatic tax lookup for this invoice preview.",
            "explode": true,
            "in": "query",
            "name": "automatic_tax",
            "required": false,
            "schema": {
              "properties": {
                "enabled": {
                  "description": "Whether Stripe automatically computes tax on this invoice. Note that incompatible invoice items (invoice items with manually specified [tax rates](https://stripe.com/docs/api/tax_rates), negative amounts, or `tax_behavior=unspecified`) cannot be added to automatic tax invoices.",
                  "type": "boolean"
                },
                "liability": {
                  "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.",
                  "properties": {
                    "account": {
                      "description": "The connected account being referenced when `type` is `account`.",
                      "type": "string"
                    },
                    "type": {
                      "description": "Type of the account referenced in the request.",
                      "enum": [
                        "account",
                        "self"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "title": "param",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "account",
                    "type"
                  ]
                }
              },
              "required": [
                "enabled"
              ],
              "title": "automatic_tax_param",
              "type": "object",
              "x-stripeMostCommon": [
                "enabled",
                "liability"
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "coupon",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "The currency to preview this invoice in. Defaults to that of `customer` if not specified.",
            "in": "query",
            "name": "currency",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "customer",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "explode": true,
            "in": "query",
            "name": "customer_details",
            "required": false,
            "schema": {
              "properties": {
                "address": {
                  "anyOf": [
                    {
                      "properties": {
                        "city": {
                          "description": "City, district, suburb, town, or village.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "country": {
                          "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "line1": {
                          "description": "Address line 1 (e.g., street, PO Box, or company name).",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "line2": {
                          "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "postal_code": {
                          "description": "ZIP or postal code.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "state": {
                          "description": "State, county, province, or region.",
                          "maxLength": 5000,
                          "type": "string"
                        }
                      },
                      "title": "optional_fields_address",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "city",
                        "country",
                        "line1",
                        "line2",
                        "postal_code",
                        "state"
                      ]
                    },
                    {
                      "enum": [
                        ""
                      ],
                      "type": "string"
                    }
                  ],
                  "description": "The customer's address."
                },
                "shipping": {
                  "anyOf": [
                    {
                      "properties": {
                        "address": {
                          "description": "Customer shipping address.",
                          "properties": {
                            "city": {
                              "description": "City, district, suburb, town, or village.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "country": {
                              "description": "A freeform text field for the country. However, in order to activate some tax features, the format should be a two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "line1": {
                              "description": "Address line 1 (e.g., street, PO Box, or company name).",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "line2": {
                              "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "postal_code": {
                              "description": "ZIP or postal code.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "state": {
                              "description": "State, county, province, or region.",
                              "maxLength": 5000,
                              "type": "string"
                            }
                          },
                          "title": "optional_fields_customer_address",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "city",
                            "country",
                            "line1",
                            "line2",
                            "postal_code",
                            "state"
                          ]
                        },
                        "name": {
                          "description": "Customer name.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "phone": {
                          "description": "Customer phone (including extension).",
                          "maxLength": 5000,
                          "type": "string"
                        }
                      },
                      "required": [
                        "address",
                        "name"
                      ],
                      "title": "customer_shipping",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "address",
                        "name",
                        "phone"
                      ]
                    },
                    {
                      "enum": [
                        ""
                      ],
                      "type": "string"
                    }
                  ],
                  "description": "The customer's shipping information. Appears on invoices emailed to this customer."
                },
                "tax": {
                  "description": "Tax details about the customer.",
                  "properties": {
                    "ip_address": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "enum": [
                            ""
                          ],
                          "type": "string"
                        }
                      ],
                      "description": "A recent IP address of the customer used for tax reporting and tax location inference. Stripe recommends updating the IP address when a new PaymentMethod is attached or the address field on the customer is updated. We recommend against updating this field more frequently since it could result in unexpected tax location/reporting outcomes."
                    }
                  },
                  "title": "tax_param",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "ip_address"
                  ]
                },
                "tax_exempt": {
                  "description": "The customer's tax exemption. One of `none`, `exempt`, or `reverse`.",
                  "enum": [
                    "",
                    "exempt",
                    "none",
                    "reverse"
                  ],
                  "type": "string"
                },
                "tax_ids": {
                  "description": "The customer's tax IDs.",
                  "items": {
                    "properties": {
                      "type": {
                        "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `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`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat`",
                        "enum": [
                          "ad_nrt",
                          "ae_trn",
                          "ar_cuit",
                          "au_abn",
                          "au_arn",
                          "bg_uic",
                          "bh_vat",
                          "bo_tin",
                          "br_cnpj",
                          "br_cpf",
                          "by_tin",
                          "ca_bn",
                          "ca_gst_hst",
                          "ca_pst_bc",
                          "ca_pst_mb",
                          "ca_pst_sk",
                          "ca_qst",
                          "ch_uid",
                          "ch_vat",
                          "cl_tin",
                          "cn_tin",
                          "co_nit",
                          "cr_tin",
                          "de_stn",
                          "do_rcn",
                          "ec_ruc",
                          "eg_tin",
                          "es_cif",
                          "eu_oss_vat",
                          "eu_vat",
                          "gb_vat",
                          "ge_vat",
                          "hk_br",
                          "hr_oib",
                          "hu_tin",
                          "id_npwp",
                          "il_vat",
                          "in_gst",
                          "is_vat",
                          "jp_cn",
                          "jp_rn",
                          "jp_trn",
                          "ke_pin",
                          "kr_brn",
                          "kz_bin",
                          "li_uid",
                          "li_vat",
                          "ma_vat",
                          "md_vat",
                          "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",
                          "tz_vat",
                          "ua_vat",
                          "us_ein",
                          "uy_ruc",
                          "uz_tin",
                          "uz_vat",
                          "ve_rif",
                          "vn_tin",
                          "za_vat"
                        ],
                        "maxLength": 5000,
                        "type": "string",
                        "x-stripeBypassValidation": true
                      },
                      "value": {
                        "description": "Value of the tax ID.",
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "value"
                    ],
                    "title": "data_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "type",
                      "value"
                    ]
                  },
                  "type": "array"
                }
              },
              "title": "customer_details_param",
              "type": "object",
              "x-stripeMostCommon": [
                "address",
                "shipping",
                "tax",
                "tax_exempt",
                "tax_ids"
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "explode": true,
            "in": "query",
            "name": "discounts",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "items": {
                    "properties": {
                      "coupon": {
                        "description": "ID of the coupon to create a new discount for.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "discount": {
                        "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "promotion_code": {
                        "description": "ID of the promotion code to create a new discount for.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "discounts_data_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "coupon"
                    ]
                  },
                  "type": "array"
                },
                {
                  "enum": [
                    ""
                  ],
                  "type": "string"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "List of invoice items to add or update in the upcoming invoice preview (up to 250).",
            "explode": true,
            "in": "query",
            "name": "invoice_items",
            "required": false,
            "schema": {
              "items": {
                "properties": {
                  "amount": {
                    "description": "The integer amount in cents (or local equivalent) of previewed invoice item.",
                    "type": "integer"
                  },
                  "currency": {
                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). Only applicable to new invoice items.",
                    "type": "string"
                  },
                  "description": {
                    "description": "An arbitrary string which you can attach to the invoice item. The description is displayed in the invoice for easy tracking.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "discountable": {
                    "description": "Explicitly controls whether discounts apply to this invoice item. Defaults to true, except for negative invoice items.",
                    "type": "boolean"
                  },
                  "discounts": {
                    "anyOf": [
                      {
                        "items": {
                          "properties": {
                            "coupon": {
                              "description": "ID of the coupon to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "discount": {
                              "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "promotion_code": {
                              "description": "ID of the promotion code to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            }
                          },
                          "title": "discounts_data_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "coupon"
                          ]
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The coupons to redeem into discounts for the invoice item in the preview."
                  },
                  "invoiceitem": {
                    "description": "The ID of the invoice item to update in preview. If not specified, a new invoice item will be added to the preview of the upcoming invoice.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "period": {
                    "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.",
                    "properties": {
                      "end": {
                        "description": "The end of the period, which must be greater than or equal to the start. This value is inclusive.",
                        "format": "unix-time",
                        "type": "integer"
                      },
                      "start": {
                        "description": "The start of the period. This value is inclusive.",
                        "format": "unix-time",
                        "type": "integer"
                      }
                    },
                    "required": [
                      "end",
                      "start"
                    ],
                    "title": "period",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "end",
                      "start"
                    ]
                  },
                  "price": {
                    "description": "The ID of the price object. One of `price` or `price_data` is required.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "price_data": {
                    "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
                    "properties": {
                      "currency": {
                        "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                        "type": "string"
                      },
                      "product": {
                        "description": "The ID of the product that this price will belong to.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "tax_behavior": {
                        "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                        "enum": [
                          "exclusive",
                          "inclusive",
                          "unspecified"
                        ],
                        "type": "string"
                      },
                      "unit_amount": {
                        "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.",
                        "type": "integer"
                      },
                      "unit_amount_decimal": {
                        "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                        "format": "decimal",
                        "type": "string"
                      }
                    },
                    "required": [
                      "currency",
                      "product"
                    ],
                    "title": "one_time_price_data",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "currency",
                      "product",
                      "unit_amount"
                    ]
                  },
                  "quantity": {
                    "description": "Non-negative integer. The quantity of units for the invoice item.",
                    "type": "integer"
                  },
                  "tax_behavior": {
                    "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                    "enum": [
                      "exclusive",
                      "inclusive",
                      "unspecified"
                    ],
                    "type": "string"
                  },
                  "tax_code": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A [tax code](https://stripe.com/docs/tax/tax-categories) ID."
                  },
                  "tax_rates": {
                    "anyOf": [
                      {
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The tax rates that apply to the item. When set, any `default_tax_rates` do not apply to this item."
                  },
                  "unit_amount": {
                    "description": "The integer unit amount in cents (or local equivalent) of the charge to be applied to the upcoming invoice. This unit_amount will be multiplied by the quantity to get the full amount. If you want to apply a credit to the customer's account, pass a negative unit_amount.",
                    "type": "integer"
                  },
                  "unit_amount_decimal": {
                    "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                    "format": "decimal",
                    "type": "string"
                  }
                },
                "title": "invoice_item_preview_params",
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "currency",
                  "description",
                  "discountable",
                  "discounts",
                  "invoiceitem",
                  "metadata",
                  "period",
                  "price",
                  "quantity",
                  "tax_behavior",
                  "tax_code",
                  "tax_rates",
                  "unit_amount",
                  "unit_amount_decimal"
                ]
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.",
            "explode": true,
            "in": "query",
            "name": "issuer",
            "required": false,
            "schema": {
              "properties": {
                "account": {
                  "description": "The connected account being referenced when `type` is `account`.",
                  "type": "string"
                },
                "type": {
                  "description": "Type of the account referenced in the request.",
                  "enum": [
                    "account",
                    "self"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "title": "param",
              "type": "object",
              "x-stripeMostCommon": [
                "account",
                "type"
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "explode": true,
            "in": "query",
            "name": "on_behalf_of",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "enum": [
                    ""
                  ],
                  "type": "string"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "Customizes the types of values to include when calculating the invoice. Defaults to `next` if unspecified.",
            "in": "query",
            "name": "preview_mode",
            "required": false,
            "schema": {
              "enum": [
                "next",
                "recurring"
              ],
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "The identifier of the schedule whose upcoming invoice you'd like to retrieve. Cannot be used with subscription or subscription fields.",
            "in": "query",
            "name": "schedule",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "The schedule creation or modification params to apply as a preview. Cannot be used with `subscription` or `subscription_` prefixed fields.",
            "explode": true,
            "in": "query",
            "name": "schedule_details",
            "required": false,
            "schema": {
              "properties": {
                "end_behavior": {
                  "description": "Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running. `cancel` will end the subscription schedule and cancel the underlying subscription.",
                  "enum": [
                    "cancel",
                    "release"
                  ],
                  "type": "string"
                },
                "phases": {
                  "description": "List representing phases of the subscription schedule. Each phase can be customized to have different durations, plans, and coupons. If there are multiple phases, the `end_date` of one phase will always equal the `start_date` of the next phase.",
                  "items": {
                    "properties": {
                      "add_invoice_items": {
                        "description": "A list of prices and quantities that will generate invoice items appended to the next invoice for this phase. You may pass up to 20 items.",
                        "items": {
                          "properties": {
                            "discounts": {
                              "description": "The coupons to redeem into discounts for the item.",
                              "items": {
                                "properties": {
                                  "coupon": {
                                    "description": "ID of the coupon to create a new discount for.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "discount": {
                                    "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "promotion_code": {
                                    "description": "ID of the promotion code to create a new discount for.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "title": "discounts_data_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "coupon"
                                ]
                              },
                              "type": "array"
                            },
                            "price": {
                              "description": "The ID of the price object. One of `price` or `price_data` is required.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "price_data": {
                              "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
                              "properties": {
                                "currency": {
                                  "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                                  "type": "string"
                                },
                                "product": {
                                  "description": "The ID of the product that this price will belong to.",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "tax_behavior": {
                                  "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                                  "enum": [
                                    "exclusive",
                                    "inclusive",
                                    "unspecified"
                                  ],
                                  "type": "string"
                                },
                                "unit_amount": {
                                  "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge or a negative integer representing the amount to credit to the customer.",
                                  "type": "integer"
                                },
                                "unit_amount_decimal": {
                                  "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                                  "format": "decimal",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "currency",
                                "product"
                              ],
                              "title": "one_time_price_data_with_negative_amounts",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "currency",
                                "product",
                                "unit_amount"
                              ]
                            },
                            "quantity": {
                              "description": "Quantity for this item. Defaults to 1.",
                              "type": "integer"
                            },
                            "tax_rates": {
                              "anyOf": [
                                {
                                  "items": {
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "type": "array"
                                },
                                {
                                  "enum": [
                                    ""
                                  ],
                                  "type": "string"
                                }
                              ],
                              "description": "The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item."
                            }
                          },
                          "title": "add_invoice_item_entry",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "price",
                            "quantity"
                          ],
                          "x-stripeParam": {
                            "class_name": "AddInvoiceItem"
                          }
                        },
                        "type": "array"
                      },
                      "application_fee_percent": {
                        "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions).",
                        "type": "number"
                      },
                      "automatic_tax": {
                        "description": "Automatic tax settings for this phase.",
                        "properties": {
                          "enabled": {
                            "description": "Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription.",
                            "type": "boolean"
                          },
                          "liability": {
                            "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.",
                            "properties": {
                              "account": {
                                "description": "The connected account being referenced when `type` is `account`.",
                                "type": "string"
                              },
                              "type": {
                                "description": "Type of the account referenced in the request.",
                                "enum": [
                                  "account",
                                  "self"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "title": "param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "account",
                              "type"
                            ]
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "automatic_tax_config",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "enabled",
                          "liability"
                        ]
                      },
                      "billing_cycle_anchor": {
                        "description": "Can be set to `phase_start` to set the anchor to the start of the phase or `automatic` to automatically change it if needed. Cannot be set to `phase_start` if this phase specifies a trial. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle).",
                        "enum": [
                          "automatic",
                          "phase_start"
                        ],
                        "type": "string"
                      },
                      "billing_thresholds": {
                        "anyOf": [
                          {
                            "properties": {
                              "amount_gte": {
                                "description": "Monetary threshold that triggers the subscription to advance to a new billing period",
                                "type": "integer"
                              },
                              "reset_billing_cycle_anchor": {
                                "description": "Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged.",
                                "type": "boolean"
                              }
                            },
                            "title": "billing_thresholds_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "amount_gte",
                              "reset_billing_cycle_anchor"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds."
                      },
                      "collection_method": {
                        "description": "Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay the underlying subscription at the end of each billing cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`. Defaults to `charge_automatically` on creation.",
                        "enum": [
                          "charge_automatically",
                          "send_invoice"
                        ],
                        "type": "string"
                      },
                      "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.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "currency": {
                        "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                        "type": "string"
                      },
                      "default_payment_method": {
                        "description": "ID of the default payment method for the subscription schedule. It must belong to the customer associated with the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "default_tax_rates": {
                        "anyOf": [
                          {
                            "items": {
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "type": "array"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will set the Subscription's [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates), which means they will be the Invoice's [`default_tax_rates`](https://stripe.com/docs/api/invoices/create#create_invoice-default_tax_rates) for any Invoices issued by the Subscription during this Phase."
                      },
                      "description": {
                        "anyOf": [
                          {
                            "maxLength": 500,
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs."
                      },
                      "discounts": {
                        "anyOf": [
                          {
                            "items": {
                              "properties": {
                                "coupon": {
                                  "description": "ID of the coupon to create a new discount for.",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "discount": {
                                  "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "promotion_code": {
                                  "description": "ID of the promotion code to create a new discount for.",
                                  "maxLength": 5000,
                                  "type": "string"
                                }
                              },
                              "title": "discounts_data_param",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "coupon"
                              ]
                            },
                            "type": "array"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The coupons to redeem into discounts for the schedule phase. If not specified, inherits the discount from the subscription's customer. Pass an empty string to avoid inheriting any discounts."
                      },
                      "end_date": {
                        "anyOf": [
                          {
                            "format": "unix-time",
                            "type": "integer"
                          },
                          {
                            "enum": [
                              "now"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          }
                        ],
                        "description": "The date at which this phase of the subscription schedule ends. If set, `iterations` must not be set."
                      },
                      "invoice_settings": {
                        "description": "All invoices will be billed using the specified settings.",
                        "properties": {
                          "account_tax_ids": {
                            "anyOf": [
                              {
                                "items": {
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "The account tax IDs associated with this phase of the subscription schedule. Will be set on invoices generated by this phase of the subscription schedule."
                          },
                          "days_until_due": {
                            "description": "Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`.",
                            "type": "integer"
                          },
                          "issuer": {
                            "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.",
                            "properties": {
                              "account": {
                                "description": "The connected account being referenced when `type` is `account`.",
                                "type": "string"
                              },
                              "type": {
                                "description": "Type of the account referenced in the request.",
                                "enum": [
                                  "account",
                                  "self"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "title": "param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "account",
                              "type"
                            ]
                          }
                        },
                        "title": "invoice_settings",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_tax_ids",
                          "custom_fields",
                          "days_until_due",
                          "description",
                          "footer",
                          "issuer",
                          "send_hosted_payment_email",
                          "supported_payment_methods"
                        ]
                      },
                      "items": {
                        "description": "List of configuration items, each with an attached price, to apply during this phase of the subscription schedule.",
                        "items": {
                          "properties": {
                            "billing_thresholds": {
                              "anyOf": [
                                {
                                  "properties": {
                                    "usage_gte": {
                                      "description": "Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte))",
                                      "type": "integer"
                                    }
                                  },
                                  "required": [
                                    "usage_gte"
                                  ],
                                  "title": "item_billing_thresholds_param",
                                  "type": "object",
                                  "x-stripeMostCommon": [
                                    "usage_gte"
                                  ]
                                },
                                {
                                  "enum": [
                                    ""
                                  ],
                                  "type": "string"
                                }
                              ],
                              "description": "Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds."
                            },
                            "discounts": {
                              "anyOf": [
                                {
                                  "items": {
                                    "properties": {
                                      "coupon": {
                                        "description": "ID of the coupon to create a new discount for.",
                                        "maxLength": 5000,
                                        "type": "string"
                                      },
                                      "discount": {
                                        "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                                        "maxLength": 5000,
                                        "type": "string"
                                      },
                                      "promotion_code": {
                                        "description": "ID of the promotion code to create a new discount for.",
                                        "maxLength": 5000,
                                        "type": "string"
                                      }
                                    },
                                    "title": "discounts_data_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "coupon"
                                    ]
                                  },
                                  "type": "array"
                                },
                                {
                                  "enum": [
                                    ""
                                  ],
                                  "type": "string"
                                }
                              ],
                              "description": "The coupons to redeem into discounts for the subscription item."
                            },
                            "metadata": {
                              "additionalProperties": {
                                "type": "string"
                              },
                              "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to a configuration item. Metadata on a configuration item will update the underlying subscription item's `metadata` when the phase is entered, adding new keys and replacing existing keys. Individual keys in the subscription item's `metadata` can be unset by posting an empty value to them in the configuration item's `metadata`. To unset all keys in the subscription item's `metadata`, update the subscription item directly or unset every key individually from the configuration item's `metadata`.",
                              "type": "object"
                            },
                            "plan": {
                              "description": "The plan ID to subscribe to. You may specify the same ID in `plan` and `price`.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "price": {
                              "description": "The ID of the price object.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "price_data": {
                              "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline.",
                              "properties": {
                                "currency": {
                                  "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                                  "type": "string"
                                },
                                "product": {
                                  "description": "The ID of the product that this price will belong to.",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "recurring": {
                                  "description": "The recurring components of a price such as `interval` and `interval_count`.",
                                  "properties": {
                                    "interval": {
                                      "description": "Specifies billing frequency. Either `day`, `week`, `month` or `year`.",
                                      "enum": [
                                        "day",
                                        "month",
                                        "week",
                                        "year"
                                      ],
                                      "type": "string"
                                    },
                                    "interval_count": {
                                      "description": "The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).",
                                      "type": "integer"
                                    }
                                  },
                                  "required": [
                                    "interval"
                                  ],
                                  "title": "recurring_adhoc",
                                  "type": "object",
                                  "x-stripeMostCommon": [
                                    "interval"
                                  ]
                                },
                                "tax_behavior": {
                                  "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                                  "enum": [
                                    "exclusive",
                                    "inclusive",
                                    "unspecified"
                                  ],
                                  "type": "string"
                                },
                                "unit_amount": {
                                  "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.",
                                  "type": "integer"
                                },
                                "unit_amount_decimal": {
                                  "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                                  "format": "decimal",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "currency",
                                "product",
                                "recurring"
                              ],
                              "title": "recurring_price_data",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "currency",
                                "product",
                                "recurring",
                                "unit_amount"
                              ]
                            },
                            "quantity": {
                              "description": "Quantity for the given price. Can be set only if the price's `usage_type` is `licensed` and not `metered`.",
                              "type": "integer"
                            },
                            "tax_rates": {
                              "anyOf": [
                                {
                                  "items": {
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "type": "array"
                                },
                                {
                                  "enum": [
                                    ""
                                  ],
                                  "type": "string"
                                }
                              ],
                              "description": "A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates."
                            }
                          },
                          "title": "configuration_item_params",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "billing_thresholds",
                            "discounts",
                            "metadata",
                            "plan",
                            "price",
                            "quantity",
                            "tax_rates",
                            "trial"
                          ]
                        },
                        "type": "array"
                      },
                      "iterations": {
                        "description": "Integer representing the multiplier applied to the price interval. For example, `iterations=2` applied to a price with `interval=month` and `interval_count=3` results in a phase of duration `2 * 3 months = 6 months`. If set, `end_date` must not be set.",
                        "type": "integer"
                      },
                      "metadata": {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to a phase. Metadata on a schedule's phase will update the underlying subscription's `metadata` when the phase is entered, adding new keys and replacing existing keys in the subscription's `metadata`. Individual keys in the subscription's `metadata` can be unset by posting an empty value to them in the phase's `metadata`. To unset all keys in the subscription's `metadata`, update the subscription directly or unset every key individually from the phase's `metadata`.",
                        "type": "object"
                      },
                      "on_behalf_of": {
                        "description": "The account on behalf of which to charge, for each of the associated subscription's invoices.",
                        "type": "string"
                      },
                      "proration_behavior": {
                        "description": "Whether the subscription schedule will create [prorations](https://stripe.com/docs/billing/subscriptions/prorations) when transitioning to this phase. The default value is `create_prorations`. This setting controls prorations when a phase is started asynchronously and it is persisted as a field on the phase. It's different from the request-level [proration_behavior](https://stripe.com/docs/api/subscription_schedules/update#update_subscription_schedule-proration_behavior) parameter which controls what happens if the update request affects the billing configuration of the current phase.",
                        "enum": [
                          "always_invoice",
                          "create_prorations",
                          "none"
                        ],
                        "type": "string"
                      },
                      "start_date": {
                        "anyOf": [
                          {
                            "format": "unix-time",
                            "type": "integer"
                          },
                          {
                            "enum": [
                              "now"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          }
                        ],
                        "description": "The date at which this phase of the subscription schedule starts or `now`. Must be set on the first phase."
                      },
                      "transfer_data": {
                        "description": "The data with which to automatically create a Transfer for each of the associated subscription's invoices.",
                        "properties": {
                          "amount_percent": {
                            "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.",
                            "type": "number"
                          },
                          "destination": {
                            "description": "ID of an existing, connected Stripe account.",
                            "type": "string"
                          }
                        },
                        "required": [
                          "destination"
                        ],
                        "title": "transfer_data_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "amount_percent",
                          "destination"
                        ]
                      },
                      "trial": {
                        "description": "If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.",
                        "type": "boolean"
                      },
                      "trial_end": {
                        "anyOf": [
                          {
                            "format": "unix-time",
                            "type": "integer"
                          },
                          {
                            "enum": [
                              "now"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          }
                        ],
                        "description": "Sets the phase to trialing from the start date to this date. Must be before the phase end date, can not be combined with `trial`"
                      }
                    },
                    "required": [
                      "items"
                    ],
                    "title": "phase_configuration_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "add_invoice_items",
                      "application_fee_percent",
                      "automatic_tax",
                      "billing_cycle_anchor",
                      "billing_thresholds",
                      "collection_method",
                      "coupon",
                      "currency",
                      "default_payment_method",
                      "default_tax_rates",
                      "description",
                      "discounts",
                      "end_date",
                      "invoice_settings",
                      "items",
                      "iterations",
                      "metadata",
                      "on_behalf_of",
                      "pause_collection",
                      "proration_behavior",
                      "start_date",
                      "tax_filing_currency",
                      "transfer_data",
                      "trial",
                      "trial_continuation",
                      "trial_end",
                      "trial_settings"
                    ]
                  },
                  "type": "array"
                },
                "proration_behavior": {
                  "description": "In cases where the `schedule_details` params update the currently active phase, specifies if and how to prorate at the time of the request.",
                  "enum": [
                    "always_invoice",
                    "create_prorations",
                    "none"
                  ],
                  "type": "string"
                }
              },
              "title": "schedule_details_params",
              "type": "object",
              "x-stripeMostCommon": [
                "amendments",
                "billing_behavior",
                "end_behavior",
                "phases",
                "prebilling",
                "proration_behavior"
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "The identifier of the subscription for which you'd like to retrieve the upcoming invoice. If not provided, but a `subscription_details.items` is provided, you will preview creating a subscription with those items. If neither `subscription` nor `subscription_details.items` is provided, you will retrieve the next upcoming invoice from among the customer's subscriptions.",
            "in": "query",
            "name": "subscription",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "explode": true,
            "in": "query",
            "name": "subscription_billing_cycle_anchor",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "now",
                    "unchanged"
                  ],
                  "maxLength": 5000,
                  "type": "string"
                },
                {
                  "format": "unix-time",
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "explode": true,
            "in": "query",
            "name": "subscription_cancel_at",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "unix-time",
                  "type": "integer"
                },
                {
                  "enum": [
                    ""
                  ],
                  "type": "string"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`. This field has been deprecated and will be removed in a future API version. Use `subscription_details.cancel_at_period_end` instead.",
            "in": "query",
            "name": "subscription_cancel_at_period_end",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "subscription_cancel_now",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          },
          {
            "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.",
            "explode": true,
            "in": "query",
            "name": "subscription_default_tax_rates",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "items": {
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "type": "array"
                },
                {
                  "enum": [
                    ""
                  ],
                  "type": "string"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "The subscription creation or modification params to apply as a preview. Cannot be used with `schedule` or `schedule_details` fields.",
            "explode": true,
            "in": "query",
            "name": "subscription_details",
            "required": false,
            "schema": {
              "properties": {
                "billing_cycle_anchor": {
                  "anyOf": [
                    {
                      "enum": [
                        "now",
                        "unchanged"
                      ],
                      "maxLength": 5000,
                      "type": "string"
                    },
                    {
                      "format": "unix-time",
                      "type": "integer"
                    }
                  ],
                  "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`."
                },
                "cancel_at": {
                  "anyOf": [
                    {
                      "format": "unix-time",
                      "type": "integer"
                    },
                    {
                      "enum": [
                        ""
                      ],
                      "type": "string"
                    }
                  ],
                  "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."
                },
                "cancel_at_period_end": {
                  "description": "Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`.",
                  "type": "boolean"
                },
                "cancel_now": {
                  "description": "This simulates the subscription being canceled or expired immediately.",
                  "type": "boolean"
                },
                "default_tax_rates": {
                  "anyOf": [
                    {
                      "items": {
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "type": "array"
                    },
                    {
                      "enum": [
                        ""
                      ],
                      "type": "string"
                    }
                  ],
                  "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."
                },
                "items": {
                  "description": "A list of up to 20 subscription items, each with an attached price.",
                  "items": {
                    "properties": {
                      "billing_thresholds": {
                        "anyOf": [
                          {
                            "properties": {
                              "usage_gte": {
                                "description": "Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte))",
                                "type": "integer"
                              }
                            },
                            "required": [
                              "usage_gte"
                            ],
                            "title": "item_billing_thresholds_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "usage_gte"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds."
                      },
                      "clear_usage": {
                        "description": "Delete all usage for a given subscription item. Allowed only when `deleted` is set to `true` and the current plan's `usage_type` is `metered`.",
                        "type": "boolean"
                      },
                      "deleted": {
                        "description": "A flag that, if set to `true`, will delete the specified item.",
                        "type": "boolean"
                      },
                      "discounts": {
                        "anyOf": [
                          {
                            "items": {
                              "properties": {
                                "coupon": {
                                  "description": "ID of the coupon to create a new discount for.",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "discount": {
                                  "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "promotion_code": {
                                  "description": "ID of the promotion code to create a new discount for.",
                                  "maxLength": 5000,
                                  "type": "string"
                                }
                              },
                              "title": "discounts_data_param",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "coupon"
                              ]
                            },
                            "type": "array"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The coupons to redeem into discounts for the subscription item."
                      },
                      "id": {
                        "description": "Subscription item to update.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "metadata": {
                        "anyOf": [
                          {
                            "additionalProperties": {
                              "type": "string"
                            },
                            "type": "object"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                      },
                      "plan": {
                        "description": "Plan ID for this item, as a string.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "price": {
                        "description": "The ID of the price object. One of `price` or `price_data` is required. When changing a subscription item's price, `quantity` is set to 1 unless a `quantity` parameter is provided.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "price_data": {
                        "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
                        "properties": {
                          "currency": {
                            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                            "type": "string"
                          },
                          "product": {
                            "description": "The ID of the product that this price will belong to.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "recurring": {
                            "description": "The recurring components of a price such as `interval` and `interval_count`.",
                            "properties": {
                              "interval": {
                                "description": "Specifies billing frequency. Either `day`, `week`, `month` or `year`.",
                                "enum": [
                                  "day",
                                  "month",
                                  "week",
                                  "year"
                                ],
                                "type": "string"
                              },
                              "interval_count": {
                                "description": "The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).",
                                "type": "integer"
                              }
                            },
                            "required": [
                              "interval"
                            ],
                            "title": "recurring_adhoc",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "interval"
                            ]
                          },
                          "tax_behavior": {
                            "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                            "enum": [
                              "exclusive",
                              "inclusive",
                              "unspecified"
                            ],
                            "type": "string"
                          },
                          "unit_amount": {
                            "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.",
                            "type": "integer"
                          },
                          "unit_amount_decimal": {
                            "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                            "format": "decimal",
                            "type": "string"
                          }
                        },
                        "required": [
                          "currency",
                          "product",
                          "recurring"
                        ],
                        "title": "recurring_price_data",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "currency",
                          "product",
                          "recurring",
                          "unit_amount"
                        ]
                      },
                      "quantity": {
                        "description": "Quantity for this item.",
                        "type": "integer"
                      },
                      "tax_rates": {
                        "anyOf": [
                          {
                            "items": {
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "type": "array"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates."
                      }
                    },
                    "title": "subscription_item_update_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "billing_thresholds",
                      "clear_usage",
                      "deleted",
                      "discounts",
                      "id",
                      "metadata",
                      "plan",
                      "price",
                      "quantity",
                      "tax_rates"
                    ]
                  },
                  "type": "array"
                },
                "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`.",
                  "enum": [
                    "always_invoice",
                    "create_prorations",
                    "none"
                  ],
                  "type": "string"
                },
                "proration_date": {
                  "description": "If previewing an update to a subscription, and doing proration, `subscription_details.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_details.items`, or `subscription_details.trial_end` are required. Also, `subscription_details.proration_behavior` cannot be set to 'none'.",
                  "format": "unix-time",
                  "type": "integer"
                },
                "resume_at": {
                  "description": "For paused subscriptions, setting `subscription_details.resume_at` to `now` will preview the invoice that will be generated if the subscription is resumed.",
                  "enum": [
                    "now"
                  ],
                  "maxLength": 5000,
                  "type": "string"
                },
                "start_date": {
                  "description": "Date a subscription is intended to start (can be future or past).",
                  "format": "unix-time",
                  "type": "integer"
                },
                "trial_end": {
                  "anyOf": [
                    {
                      "enum": [
                        "now"
                      ],
                      "maxLength": 5000,
                      "type": "string"
                    },
                    {
                      "format": "unix-time",
                      "type": "integer"
                    }
                  ],
                  "description": "If provided, the invoice returned will preview updating or creating a subscription with that trial end. If set, one of `subscription_details.items` or `subscription` is required."
                }
              },
              "title": "subscription_details_params",
              "type": "object",
              "x-stripeMostCommon": [
                "billing_cycle_anchor",
                "cancel_at",
                "cancel_at_period_end",
                "cancel_now",
                "default_tax_rates",
                "items",
                "prebilling",
                "proration_behavior",
                "proration_date",
                "resume_at",
                "start_date",
                "trial_end"
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "explode": true,
            "in": "query",
            "name": "subscription_items",
            "required": false,
            "schema": {
              "items": {
                "properties": {
                  "billing_thresholds": {
                    "anyOf": [
                      {
                        "properties": {
                          "usage_gte": {
                            "description": "Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte))",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "usage_gte"
                        ],
                        "title": "item_billing_thresholds_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "usage_gte"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds."
                  },
                  "clear_usage": {
                    "description": "Delete all usage for a given subscription item. Allowed only when `deleted` is set to `true` and the current plan's `usage_type` is `metered`.",
                    "type": "boolean"
                  },
                  "deleted": {
                    "description": "A flag that, if set to `true`, will delete the specified item.",
                    "type": "boolean"
                  },
                  "discounts": {
                    "anyOf": [
                      {
                        "items": {
                          "properties": {
                            "coupon": {
                              "description": "ID of the coupon to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "discount": {
                              "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "promotion_code": {
                              "description": "ID of the promotion code to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            }
                          },
                          "title": "discounts_data_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "coupon"
                          ]
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The coupons to redeem into discounts for the subscription item."
                  },
                  "id": {
                    "description": "Subscription item to update.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "plan": {
                    "description": "Plan ID for this item, as a string.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "price": {
                    "description": "The ID of the price object. One of `price` or `price_data` is required. When changing a subscription item's price, `quantity` is set to 1 unless a `quantity` parameter is provided.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "price_data": {
                    "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
                    "properties": {
                      "currency": {
                        "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                        "type": "string"
                      },
                      "product": {
                        "description": "The ID of the product that this price will belong to.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "recurring": {
                        "description": "The recurring components of a price such as `interval` and `interval_count`.",
                        "properties": {
                          "interval": {
                            "description": "Specifies billing frequency. Either `day`, `week`, `month` or `year`.",
                            "enum": [
                              "day",
                              "month",
                              "week",
                              "year"
                            ],
                            "type": "string"
                          },
                          "interval_count": {
                            "description": "The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "interval"
                        ],
                        "title": "recurring_adhoc",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "interval"
                        ]
                      },
                      "tax_behavior": {
                        "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                        "enum": [
                          "exclusive",
                          "inclusive",
                          "unspecified"
                        ],
                        "type": "string"
                      },
                      "unit_amount": {
                        "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.",
                        "type": "integer"
                      },
                      "unit_amount_decimal": {
                        "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                        "format": "decimal",
                        "type": "string"
                      }
                    },
                    "required": [
                      "currency",
                      "product",
                      "recurring"
                    ],
                    "title": "recurring_price_data",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "currency",
                      "product",
                      "recurring",
                      "unit_amount"
                    ]
                  },
                  "quantity": {
                    "description": "Quantity for this item.",
                    "type": "integer"
                  },
                  "tax_rates": {
                    "anyOf": [
                      {
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates."
                  }
                },
                "title": "subscription_item_update_params",
                "type": "object",
                "x-stripeMostCommon": [
                  "billing_thresholds",
                  "clear_usage",
                  "deleted",
                  "discounts",
                  "id",
                  "metadata",
                  "plan",
                  "price",
                  "quantity",
                  "tax_rates"
                ]
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "subscription_proration_behavior",
            "required": false,
            "schema": {
              "enum": [
                "always_invoice",
                "create_prorations",
                "none"
              ],
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "subscription_proration_date",
            "required": false,
            "schema": {
              "format": "unix-time",
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "subscription_resume_at",
            "required": false,
            "schema": {
              "enum": [
                "now"
              ],
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "subscription_start_date",
            "required": false,
            "schema": {
              "format": "unix-time",
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "explode": true,
            "in": "query",
            "name": "subscription_trial_end",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "now"
                  ],
                  "maxLength": 5000,
                  "type": "string"
                },
                {
                  "format": "unix-time",
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "subscription_trial_from_plan",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/invoice"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve an upcoming invoice"
      }
    },
    "/v1/invoices/upcoming/lines": {
      "get": {
        "description": "<p>When retrieving an upcoming invoice, you’ll get a <strong>lines</strong> property containing the total count of line items and the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.</p>",
        "operationId": "GetInvoicesUpcomingLines",
        "parameters": [
          {
            "description": "Settings for automatic tax lookup for this invoice preview.",
            "explode": true,
            "in": "query",
            "name": "automatic_tax",
            "required": false,
            "schema": {
              "properties": {
                "enabled": {
                  "description": "Whether Stripe automatically computes tax on this invoice. Note that incompatible invoice items (invoice items with manually specified [tax rates](https://stripe.com/docs/api/tax_rates), negative amounts, or `tax_behavior=unspecified`) cannot be added to automatic tax invoices.",
                  "type": "boolean"
                },
                "liability": {
                  "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.",
                  "properties": {
                    "account": {
                      "description": "The connected account being referenced when `type` is `account`.",
                      "type": "string"
                    },
                    "type": {
                      "description": "Type of the account referenced in the request.",
                      "enum": [
                        "account",
                        "self"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "title": "param",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "account",
                    "type"
                  ]
                }
              },
              "required": [
                "enabled"
              ],
              "title": "automatic_tax_param",
              "type": "object",
              "x-stripeMostCommon": [
                "enabled",
                "liability"
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "coupon",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "The currency to preview this invoice in. Defaults to that of `customer` if not specified.",
            "in": "query",
            "name": "currency",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "customer",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "explode": true,
            "in": "query",
            "name": "customer_details",
            "required": false,
            "schema": {
              "properties": {
                "address": {
                  "anyOf": [
                    {
                      "properties": {
                        "city": {
                          "description": "City, district, suburb, town, or village.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "country": {
                          "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "line1": {
                          "description": "Address line 1 (e.g., street, PO Box, or company name).",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "line2": {
                          "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "postal_code": {
                          "description": "ZIP or postal code.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "state": {
                          "description": "State, county, province, or region.",
                          "maxLength": 5000,
                          "type": "string"
                        }
                      },
                      "title": "optional_fields_address",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "city",
                        "country",
                        "line1",
                        "line2",
                        "postal_code",
                        "state"
                      ]
                    },
                    {
                      "enum": [
                        ""
                      ],
                      "type": "string"
                    }
                  ],
                  "description": "The customer's address."
                },
                "shipping": {
                  "anyOf": [
                    {
                      "properties": {
                        "address": {
                          "description": "Customer shipping address.",
                          "properties": {
                            "city": {
                              "description": "City, district, suburb, town, or village.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "country": {
                              "description": "A freeform text field for the country. However, in order to activate some tax features, the format should be a two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "line1": {
                              "description": "Address line 1 (e.g., street, PO Box, or company name).",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "line2": {
                              "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "postal_code": {
                              "description": "ZIP or postal code.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "state": {
                              "description": "State, county, province, or region.",
                              "maxLength": 5000,
                              "type": "string"
                            }
                          },
                          "title": "optional_fields_customer_address",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "city",
                            "country",
                            "line1",
                            "line2",
                            "postal_code",
                            "state"
                          ]
                        },
                        "name": {
                          "description": "Customer name.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "phone": {
                          "description": "Customer phone (including extension).",
                          "maxLength": 5000,
                          "type": "string"
                        }
                      },
                      "required": [
                        "address",
                        "name"
                      ],
                      "title": "customer_shipping",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "address",
                        "name",
                        "phone"
                      ]
                    },
                    {
                      "enum": [
                        ""
                      ],
                      "type": "string"
                    }
                  ],
                  "description": "The customer's shipping information. Appears on invoices emailed to this customer."
                },
                "tax": {
                  "description": "Tax details about the customer.",
                  "properties": {
                    "ip_address": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "enum": [
                            ""
                          ],
                          "type": "string"
                        }
                      ],
                      "description": "A recent IP address of the customer used for tax reporting and tax location inference. Stripe recommends updating the IP address when a new PaymentMethod is attached or the address field on the customer is updated. We recommend against updating this field more frequently since it could result in unexpected tax location/reporting outcomes."
                    }
                  },
                  "title": "tax_param",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "ip_address"
                  ]
                },
                "tax_exempt": {
                  "description": "The customer's tax exemption. One of `none`, `exempt`, or `reverse`.",
                  "enum": [
                    "",
                    "exempt",
                    "none",
                    "reverse"
                  ],
                  "type": "string"
                },
                "tax_ids": {
                  "description": "The customer's tax IDs.",
                  "items": {
                    "properties": {
                      "type": {
                        "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `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`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat`",
                        "enum": [
                          "ad_nrt",
                          "ae_trn",
                          "ar_cuit",
                          "au_abn",
                          "au_arn",
                          "bg_uic",
                          "bh_vat",
                          "bo_tin",
                          "br_cnpj",
                          "br_cpf",
                          "by_tin",
                          "ca_bn",
                          "ca_gst_hst",
                          "ca_pst_bc",
                          "ca_pst_mb",
                          "ca_pst_sk",
                          "ca_qst",
                          "ch_uid",
                          "ch_vat",
                          "cl_tin",
                          "cn_tin",
                          "co_nit",
                          "cr_tin",
                          "de_stn",
                          "do_rcn",
                          "ec_ruc",
                          "eg_tin",
                          "es_cif",
                          "eu_oss_vat",
                          "eu_vat",
                          "gb_vat",
                          "ge_vat",
                          "hk_br",
                          "hr_oib",
                          "hu_tin",
                          "id_npwp",
                          "il_vat",
                          "in_gst",
                          "is_vat",
                          "jp_cn",
                          "jp_rn",
                          "jp_trn",
                          "ke_pin",
                          "kr_brn",
                          "kz_bin",
                          "li_uid",
                          "li_vat",
                          "ma_vat",
                          "md_vat",
                          "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",
                          "tz_vat",
                          "ua_vat",
                          "us_ein",
                          "uy_ruc",
                          "uz_tin",
                          "uz_vat",
                          "ve_rif",
                          "vn_tin",
                          "za_vat"
                        ],
                        "maxLength": 5000,
                        "type": "string",
                        "x-stripeBypassValidation": true
                      },
                      "value": {
                        "description": "Value of the tax ID.",
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "value"
                    ],
                    "title": "data_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "type",
                      "value"
                    ]
                  },
                  "type": "array"
                }
              },
              "title": "customer_details_param",
              "type": "object",
              "x-stripeMostCommon": [
                "address",
                "shipping",
                "tax",
                "tax_exempt",
                "tax_ids"
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "explode": true,
            "in": "query",
            "name": "discounts",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "items": {
                    "properties": {
                      "coupon": {
                        "description": "ID of the coupon to create a new discount for.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "discount": {
                        "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "promotion_code": {
                        "description": "ID of the promotion code to create a new discount for.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "discounts_data_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "coupon"
                    ]
                  },
                  "type": "array"
                },
                {
                  "enum": [
                    ""
                  ],
                  "type": "string"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "List of invoice items to add or update in the upcoming invoice preview (up to 250).",
            "explode": true,
            "in": "query",
            "name": "invoice_items",
            "required": false,
            "schema": {
              "items": {
                "properties": {
                  "amount": {
                    "description": "The integer amount in cents (or local equivalent) of previewed invoice item.",
                    "type": "integer"
                  },
                  "currency": {
                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). Only applicable to new invoice items.",
                    "type": "string"
                  },
                  "description": {
                    "description": "An arbitrary string which you can attach to the invoice item. The description is displayed in the invoice for easy tracking.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "discountable": {
                    "description": "Explicitly controls whether discounts apply to this invoice item. Defaults to true, except for negative invoice items.",
                    "type": "boolean"
                  },
                  "discounts": {
                    "anyOf": [
                      {
                        "items": {
                          "properties": {
                            "coupon": {
                              "description": "ID of the coupon to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "discount": {
                              "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "promotion_code": {
                              "description": "ID of the promotion code to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            }
                          },
                          "title": "discounts_data_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "coupon"
                          ]
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The coupons to redeem into discounts for the invoice item in the preview."
                  },
                  "invoiceitem": {
                    "description": "The ID of the invoice item to update in preview. If not specified, a new invoice item will be added to the preview of the upcoming invoice.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "period": {
                    "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.",
                    "properties": {
                      "end": {
                        "description": "The end of the period, which must be greater than or equal to the start. This value is inclusive.",
                        "format": "unix-time",
                        "type": "integer"
                      },
                      "start": {
                        "description": "The start of the period. This value is inclusive.",
                        "format": "unix-time",
                        "type": "integer"
                      }
                    },
                    "required": [
                      "end",
                      "start"
                    ],
                    "title": "period",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "end",
                      "start"
                    ]
                  },
                  "price": {
                    "description": "The ID of the price object. One of `price` or `price_data` is required.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "price_data": {
                    "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
                    "properties": {
                      "currency": {
                        "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                        "type": "string"
                      },
                      "product": {
                        "description": "The ID of the product that this price will belong to.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "tax_behavior": {
                        "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                        "enum": [
                          "exclusive",
                          "inclusive",
                          "unspecified"
                        ],
                        "type": "string"
                      },
                      "unit_amount": {
                        "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.",
                        "type": "integer"
                      },
                      "unit_amount_decimal": {
                        "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                        "format": "decimal",
                        "type": "string"
                      }
                    },
                    "required": [
                      "currency",
                      "product"
                    ],
                    "title": "one_time_price_data",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "currency",
                      "product",
                      "unit_amount"
                    ]
                  },
                  "quantity": {
                    "description": "Non-negative integer. The quantity of units for the invoice item.",
                    "type": "integer"
                  },
                  "tax_behavior": {
                    "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                    "enum": [
                      "exclusive",
                      "inclusive",
                      "unspecified"
                    ],
                    "type": "string"
                  },
                  "tax_code": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A [tax code](https://stripe.com/docs/tax/tax-categories) ID."
                  },
                  "tax_rates": {
                    "anyOf": [
                      {
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The tax rates that apply to the item. When set, any `default_tax_rates` do not apply to this item."
                  },
                  "unit_amount": {
                    "description": "The integer unit amount in cents (or local equivalent) of the charge to be applied to the upcoming invoice. This unit_amount will be multiplied by the quantity to get the full amount. If you want to apply a credit to the customer's account, pass a negative unit_amount.",
                    "type": "integer"
                  },
                  "unit_amount_decimal": {
                    "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                    "format": "decimal",
                    "type": "string"
                  }
                },
                "title": "invoice_item_preview_params",
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "currency",
                  "description",
                  "discountable",
                  "discounts",
                  "invoiceitem",
                  "metadata",
                  "period",
                  "price",
                  "quantity",
                  "tax_behavior",
                  "tax_code",
                  "tax_rates",
                  "unit_amount",
                  "unit_amount_decimal"
                ]
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.",
            "explode": true,
            "in": "query",
            "name": "issuer",
            "required": false,
            "schema": {
              "properties": {
                "account": {
                  "description": "The connected account being referenced when `type` is `account`.",
                  "type": "string"
                },
                "type": {
                  "description": "Type of the account referenced in the request.",
                  "enum": [
                    "account",
                    "self"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "title": "param",
              "type": "object",
              "x-stripeMostCommon": [
                "account",
                "type"
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "explode": true,
            "in": "query",
            "name": "on_behalf_of",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "enum": [
                    ""
                  ],
                  "type": "string"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "Customizes the types of values to include when calculating the invoice. Defaults to `next` if unspecified.",
            "in": "query",
            "name": "preview_mode",
            "required": false,
            "schema": {
              "enum": [
                "next",
                "recurring"
              ],
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "The identifier of the schedule whose upcoming invoice you'd like to retrieve. Cannot be used with subscription or subscription fields.",
            "in": "query",
            "name": "schedule",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "The schedule creation or modification params to apply as a preview. Cannot be used with `subscription` or `subscription_` prefixed fields.",
            "explode": true,
            "in": "query",
            "name": "schedule_details",
            "required": false,
            "schema": {
              "properties": {
                "end_behavior": {
                  "description": "Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running. `cancel` will end the subscription schedule and cancel the underlying subscription.",
                  "enum": [
                    "cancel",
                    "release"
                  ],
                  "type": "string"
                },
                "phases": {
                  "description": "List representing phases of the subscription schedule. Each phase can be customized to have different durations, plans, and coupons. If there are multiple phases, the `end_date` of one phase will always equal the `start_date` of the next phase.",
                  "items": {
                    "properties": {
                      "add_invoice_items": {
                        "description": "A list of prices and quantities that will generate invoice items appended to the next invoice for this phase. You may pass up to 20 items.",
                        "items": {
                          "properties": {
                            "discounts": {
                              "description": "The coupons to redeem into discounts for the item.",
                              "items": {
                                "properties": {
                                  "coupon": {
                                    "description": "ID of the coupon to create a new discount for.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "discount": {
                                    "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "promotion_code": {
                                    "description": "ID of the promotion code to create a new discount for.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "title": "discounts_data_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "coupon"
                                ]
                              },
                              "type": "array"
                            },
                            "price": {
                              "description": "The ID of the price object. One of `price` or `price_data` is required.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "price_data": {
                              "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
                              "properties": {
                                "currency": {
                                  "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                                  "type": "string"
                                },
                                "product": {
                                  "description": "The ID of the product that this price will belong to.",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "tax_behavior": {
                                  "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                                  "enum": [
                                    "exclusive",
                                    "inclusive",
                                    "unspecified"
                                  ],
                                  "type": "string"
                                },
                                "unit_amount": {
                                  "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge or a negative integer representing the amount to credit to the customer.",
                                  "type": "integer"
                                },
                                "unit_amount_decimal": {
                                  "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                                  "format": "decimal",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "currency",
                                "product"
                              ],
                              "title": "one_time_price_data_with_negative_amounts",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "currency",
                                "product",
                                "unit_amount"
                              ]
                            },
                            "quantity": {
                              "description": "Quantity for this item. Defaults to 1.",
                              "type": "integer"
                            },
                            "tax_rates": {
                              "anyOf": [
                                {
                                  "items": {
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "type": "array"
                                },
                                {
                                  "enum": [
                                    ""
                                  ],
                                  "type": "string"
                                }
                              ],
                              "description": "The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item."
                            }
                          },
                          "title": "add_invoice_item_entry",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "price",
                            "quantity"
                          ],
                          "x-stripeParam": {
                            "class_name": "AddInvoiceItem"
                          }
                        },
                        "type": "array"
                      },
                      "application_fee_percent": {
                        "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions).",
                        "type": "number"
                      },
                      "automatic_tax": {
                        "description": "Automatic tax settings for this phase.",
                        "properties": {
                          "enabled": {
                            "description": "Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription.",
                            "type": "boolean"
                          },
                          "liability": {
                            "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.",
                            "properties": {
                              "account": {
                                "description": "The connected account being referenced when `type` is `account`.",
                                "type": "string"
                              },
                              "type": {
                                "description": "Type of the account referenced in the request.",
                                "enum": [
                                  "account",
                                  "self"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "title": "param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "account",
                              "type"
                            ]
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "automatic_tax_config",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "enabled",
                          "liability"
                        ]
                      },
                      "billing_cycle_anchor": {
                        "description": "Can be set to `phase_start` to set the anchor to the start of the phase or `automatic` to automatically change it if needed. Cannot be set to `phase_start` if this phase specifies a trial. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle).",
                        "enum": [
                          "automatic",
                          "phase_start"
                        ],
                        "type": "string"
                      },
                      "billing_thresholds": {
                        "anyOf": [
                          {
                            "properties": {
                              "amount_gte": {
                                "description": "Monetary threshold that triggers the subscription to advance to a new billing period",
                                "type": "integer"
                              },
                              "reset_billing_cycle_anchor": {
                                "description": "Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged.",
                                "type": "boolean"
                              }
                            },
                            "title": "billing_thresholds_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "amount_gte",
                              "reset_billing_cycle_anchor"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds."
                      },
                      "collection_method": {
                        "description": "Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay the underlying subscription at the end of each billing cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`. Defaults to `charge_automatically` on creation.",
                        "enum": [
                          "charge_automatically",
                          "send_invoice"
                        ],
                        "type": "string"
                      },
                      "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.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "currency": {
                        "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                        "type": "string"
                      },
                      "default_payment_method": {
                        "description": "ID of the default payment method for the subscription schedule. It must belong to the customer associated with the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "default_tax_rates": {
                        "anyOf": [
                          {
                            "items": {
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "type": "array"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will set the Subscription's [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates), which means they will be the Invoice's [`default_tax_rates`](https://stripe.com/docs/api/invoices/create#create_invoice-default_tax_rates) for any Invoices issued by the Subscription during this Phase."
                      },
                      "description": {
                        "anyOf": [
                          {
                            "maxLength": 500,
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs."
                      },
                      "discounts": {
                        "anyOf": [
                          {
                            "items": {
                              "properties": {
                                "coupon": {
                                  "description": "ID of the coupon to create a new discount for.",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "discount": {
                                  "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "promotion_code": {
                                  "description": "ID of the promotion code to create a new discount for.",
                                  "maxLength": 5000,
                                  "type": "string"
                                }
                              },
                              "title": "discounts_data_param",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "coupon"
                              ]
                            },
                            "type": "array"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The coupons to redeem into discounts for the schedule phase. If not specified, inherits the discount from the subscription's customer. Pass an empty string to avoid inheriting any discounts."
                      },
                      "end_date": {
                        "anyOf": [
                          {
                            "format": "unix-time",
                            "type": "integer"
                          },
                          {
                            "enum": [
                              "now"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          }
                        ],
                        "description": "The date at which this phase of the subscription schedule ends. If set, `iterations` must not be set."
                      },
                      "invoice_settings": {
                        "description": "All invoices will be billed using the specified settings.",
                        "properties": {
                          "account_tax_ids": {
                            "anyOf": [
                              {
                                "items": {
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "The account tax IDs associated with this phase of the subscription schedule. Will be set on invoices generated by this phase of the subscription schedule."
                          },
                          "days_until_due": {
                            "description": "Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`.",
                            "type": "integer"
                          },
                          "issuer": {
                            "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.",
                            "properties": {
                              "account": {
                                "description": "The connected account being referenced when `type` is `account`.",
                                "type": "string"
                              },
                              "type": {
                                "description": "Type of the account referenced in the request.",
                                "enum": [
                                  "account",
                                  "self"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "title": "param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "account",
                              "type"
                            ]
                          }
                        },
                        "title": "invoice_settings",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_tax_ids",
                          "custom_fields",
                          "days_until_due",
                          "description",
                          "footer",
                          "issuer",
                          "send_hosted_payment_email",
                          "supported_payment_methods"
                        ]
                      },
                      "items": {
                        "description": "List of configuration items, each with an attached price, to apply during this phase of the subscription schedule.",
                        "items": {
                          "properties": {
                            "billing_thresholds": {
                              "anyOf": [
                                {
                                  "properties": {
                                    "usage_gte": {
                                      "description": "Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte))",
                                      "type": "integer"
                                    }
                                  },
                                  "required": [
                                    "usage_gte"
                                  ],
                                  "title": "item_billing_thresholds_param",
                                  "type": "object",
                                  "x-stripeMostCommon": [
                                    "usage_gte"
                                  ]
                                },
                                {
                                  "enum": [
                                    ""
                                  ],
                                  "type": "string"
                                }
                              ],
                              "description": "Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds."
                            },
                            "discounts": {
                              "anyOf": [
                                {
                                  "items": {
                                    "properties": {
                                      "coupon": {
                                        "description": "ID of the coupon to create a new discount for.",
                                        "maxLength": 5000,
                                        "type": "string"
                                      },
                                      "discount": {
                                        "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                                        "maxLength": 5000,
                                        "type": "string"
                                      },
                                      "promotion_code": {
                                        "description": "ID of the promotion code to create a new discount for.",
                                        "maxLength": 5000,
                                        "type": "string"
                                      }
                                    },
                                    "title": "discounts_data_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "coupon"
                                    ]
                                  },
                                  "type": "array"
                                },
                                {
                                  "enum": [
                                    ""
                                  ],
                                  "type": "string"
                                }
                              ],
                              "description": "The coupons to redeem into discounts for the subscription item."
                            },
                            "metadata": {
                              "additionalProperties": {
                                "type": "string"
                              },
                              "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to a configuration item. Metadata on a configuration item will update the underlying subscription item's `metadata` when the phase is entered, adding new keys and replacing existing keys. Individual keys in the subscription item's `metadata` can be unset by posting an empty value to them in the configuration item's `metadata`. To unset all keys in the subscription item's `metadata`, update the subscription item directly or unset every key individually from the configuration item's `metadata`.",
                              "type": "object"
                            },
                            "plan": {
                              "description": "The plan ID to subscribe to. You may specify the same ID in `plan` and `price`.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "price": {
                              "description": "The ID of the price object.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "price_data": {
                              "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline.",
                              "properties": {
                                "currency": {
                                  "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                                  "type": "string"
                                },
                                "product": {
                                  "description": "The ID of the product that this price will belong to.",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "recurring": {
                                  "description": "The recurring components of a price such as `interval` and `interval_count`.",
                                  "properties": {
                                    "interval": {
                                      "description": "Specifies billing frequency. Either `day`, `week`, `month` or `year`.",
                                      "enum": [
                                        "day",
                                        "month",
                                        "week",
                                        "year"
                                      ],
                                      "type": "string"
                                    },
                                    "interval_count": {
                                      "description": "The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).",
                                      "type": "integer"
                                    }
                                  },
                                  "required": [
                                    "interval"
                                  ],
                                  "title": "recurring_adhoc",
                                  "type": "object",
                                  "x-stripeMostCommon": [
                                    "interval"
                                  ]
                                },
                                "tax_behavior": {
                                  "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                                  "enum": [
                                    "exclusive",
                                    "inclusive",
                                    "unspecified"
                                  ],
                                  "type": "string"
                                },
                                "unit_amount": {
                                  "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.",
                                  "type": "integer"
                                },
                                "unit_amount_decimal": {
                                  "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                                  "format": "decimal",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "currency",
                                "product",
                                "recurring"
                              ],
                              "title": "recurring_price_data",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "currency",
                                "product",
                                "recurring",
                                "unit_amount"
                              ]
                            },
                            "quantity": {
                              "description": "Quantity for the given price. Can be set only if the price's `usage_type` is `licensed` and not `metered`.",
                              "type": "integer"
                            },
                            "tax_rates": {
                              "anyOf": [
                                {
                                  "items": {
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "type": "array"
                                },
                                {
                                  "enum": [
                                    ""
                                  ],
                                  "type": "string"
                                }
                              ],
                              "description": "A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates."
                            }
                          },
                          "title": "configuration_item_params",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "billing_thresholds",
                            "discounts",
                            "metadata",
                            "plan",
                            "price",
                            "quantity",
                            "tax_rates",
                            "trial"
                          ]
                        },
                        "type": "array"
                      },
                      "iterations": {
                        "description": "Integer representing the multiplier applied to the price interval. For example, `iterations=2` applied to a price with `interval=month` and `interval_count=3` results in a phase of duration `2 * 3 months = 6 months`. If set, `end_date` must not be set.",
                        "type": "integer"
                      },
                      "metadata": {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to a phase. Metadata on a schedule's phase will update the underlying subscription's `metadata` when the phase is entered, adding new keys and replacing existing keys in the subscription's `metadata`. Individual keys in the subscription's `metadata` can be unset by posting an empty value to them in the phase's `metadata`. To unset all keys in the subscription's `metadata`, update the subscription directly or unset every key individually from the phase's `metadata`.",
                        "type": "object"
                      },
                      "on_behalf_of": {
                        "description": "The account on behalf of which to charge, for each of the associated subscription's invoices.",
                        "type": "string"
                      },
                      "proration_behavior": {
                        "description": "Whether the subscription schedule will create [prorations](https://stripe.com/docs/billing/subscriptions/prorations) when transitioning to this phase. The default value is `create_prorations`. This setting controls prorations when a phase is started asynchronously and it is persisted as a field on the phase. It's different from the request-level [proration_behavior](https://stripe.com/docs/api/subscription_schedules/update#update_subscription_schedule-proration_behavior) parameter which controls what happens if the update request affects the billing configuration of the current phase.",
                        "enum": [
                          "always_invoice",
                          "create_prorations",
                          "none"
                        ],
                        "type": "string"
                      },
                      "start_date": {
                        "anyOf": [
                          {
                            "format": "unix-time",
                            "type": "integer"
                          },
                          {
                            "enum": [
                              "now"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          }
                        ],
                        "description": "The date at which this phase of the subscription schedule starts or `now`. Must be set on the first phase."
                      },
                      "transfer_data": {
                        "description": "The data with which to automatically create a Transfer for each of the associated subscription's invoices.",
                        "properties": {
                          "amount_percent": {
                            "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.",
                            "type": "number"
                          },
                          "destination": {
                            "description": "ID of an existing, connected Stripe account.",
                            "type": "string"
                          }
                        },
                        "required": [
                          "destination"
                        ],
                        "title": "transfer_data_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "amount_percent",
                          "destination"
                        ]
                      },
                      "trial": {
                        "description": "If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.",
                        "type": "boolean"
                      },
                      "trial_end": {
                        "anyOf": [
                          {
                            "format": "unix-time",
                            "type": "integer"
                          },
                          {
                            "enum": [
                              "now"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          }
                        ],
                        "description": "Sets the phase to trialing from the start date to this date. Must be before the phase end date, can not be combined with `trial`"
                      }
                    },
                    "required": [
                      "items"
                    ],
                    "title": "phase_configuration_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "add_invoice_items",
                      "application_fee_percent",
                      "automatic_tax",
                      "billing_cycle_anchor",
                      "billing_thresholds",
                      "collection_method",
                      "coupon",
                      "currency",
                      "default_payment_method",
                      "default_tax_rates",
                      "description",
                      "discounts",
                      "end_date",
                      "invoice_settings",
                      "items",
                      "iterations",
                      "metadata",
                      "on_behalf_of",
                      "pause_collection",
                      "proration_behavior",
                      "start_date",
                      "tax_filing_currency",
                      "transfer_data",
                      "trial",
                      "trial_continuation",
                      "trial_end",
                      "trial_settings"
                    ]
                  },
                  "type": "array"
                },
                "proration_behavior": {
                  "description": "In cases where the `schedule_details` params update the currently active phase, specifies if and how to prorate at the time of the request.",
                  "enum": [
                    "always_invoice",
                    "create_prorations",
                    "none"
                  ],
                  "type": "string"
                }
              },
              "title": "schedule_details_params",
              "type": "object",
              "x-stripeMostCommon": [
                "amendments",
                "billing_behavior",
                "end_behavior",
                "phases",
                "prebilling",
                "proration_behavior"
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "The identifier of the subscription for which you'd like to retrieve the upcoming invoice. If not provided, but a `subscription_details.items` is provided, you will preview creating a subscription with those items. If neither `subscription` nor `subscription_details.items` is provided, you will retrieve the next upcoming invoice from among the customer's subscriptions.",
            "in": "query",
            "name": "subscription",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "explode": true,
            "in": "query",
            "name": "subscription_billing_cycle_anchor",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "now",
                    "unchanged"
                  ],
                  "maxLength": 5000,
                  "type": "string"
                },
                {
                  "format": "unix-time",
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "explode": true,
            "in": "query",
            "name": "subscription_cancel_at",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "unix-time",
                  "type": "integer"
                },
                {
                  "enum": [
                    ""
                  ],
                  "type": "string"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`. This field has been deprecated and will be removed in a future API version. Use `subscription_details.cancel_at_period_end` instead.",
            "in": "query",
            "name": "subscription_cancel_at_period_end",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "subscription_cancel_now",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          },
          {
            "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.",
            "explode": true,
            "in": "query",
            "name": "subscription_default_tax_rates",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "items": {
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "type": "array"
                },
                {
                  "enum": [
                    ""
                  ],
                  "type": "string"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "The subscription creation or modification params to apply as a preview. Cannot be used with `schedule` or `schedule_details` fields.",
            "explode": true,
            "in": "query",
            "name": "subscription_details",
            "required": false,
            "schema": {
              "properties": {
                "billing_cycle_anchor": {
                  "anyOf": [
                    {
                      "enum": [
                        "now",
                        "unchanged"
                      ],
                      "maxLength": 5000,
                      "type": "string"
                    },
                    {
                      "format": "unix-time",
                      "type": "integer"
                    }
                  ],
                  "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`."
                },
                "cancel_at": {
                  "anyOf": [
                    {
                      "format": "unix-time",
                      "type": "integer"
                    },
                    {
                      "enum": [
                        ""
                      ],
                      "type": "string"
                    }
                  ],
                  "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."
                },
                "cancel_at_period_end": {
                  "description": "Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`.",
                  "type": "boolean"
                },
                "cancel_now": {
                  "description": "This simulates the subscription being canceled or expired immediately.",
                  "type": "boolean"
                },
                "default_tax_rates": {
                  "anyOf": [
                    {
                      "items": {
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "type": "array"
                    },
                    {
                      "enum": [
                        ""
                      ],
                      "type": "string"
                    }
                  ],
                  "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."
                },
                "items": {
                  "description": "A list of up to 20 subscription items, each with an attached price.",
                  "items": {
                    "properties": {
                      "billing_thresholds": {
                        "anyOf": [
                          {
                            "properties": {
                              "usage_gte": {
                                "description": "Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte))",
                                "type": "integer"
                              }
                            },
                            "required": [
                              "usage_gte"
                            ],
                            "title": "item_billing_thresholds_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "usage_gte"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds."
                      },
                      "clear_usage": {
                        "description": "Delete all usage for a given subscription item. Allowed only when `deleted` is set to `true` and the current plan's `usage_type` is `metered`.",
                        "type": "boolean"
                      },
                      "deleted": {
                        "description": "A flag that, if set to `true`, will delete the specified item.",
                        "type": "boolean"
                      },
                      "discounts": {
                        "anyOf": [
                          {
                            "items": {
                              "properties": {
                                "coupon": {
                                  "description": "ID of the coupon to create a new discount for.",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "discount": {
                                  "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "promotion_code": {
                                  "description": "ID of the promotion code to create a new discount for.",
                                  "maxLength": 5000,
                                  "type": "string"
                                }
                              },
                              "title": "discounts_data_param",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "coupon"
                              ]
                            },
                            "type": "array"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The coupons to redeem into discounts for the subscription item."
                      },
                      "id": {
                        "description": "Subscription item to update.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "metadata": {
                        "anyOf": [
                          {
                            "additionalProperties": {
                              "type": "string"
                            },
                            "type": "object"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                      },
                      "plan": {
                        "description": "Plan ID for this item, as a string.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "price": {
                        "description": "The ID of the price object. One of `price` or `price_data` is required. When changing a subscription item's price, `quantity` is set to 1 unless a `quantity` parameter is provided.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "price_data": {
                        "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
                        "properties": {
                          "currency": {
                            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                            "type": "string"
                          },
                          "product": {
                            "description": "The ID of the product that this price will belong to.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "recurring": {
                            "description": "The recurring components of a price such as `interval` and `interval_count`.",
                            "properties": {
                              "interval": {
                                "description": "Specifies billing frequency. Either `day`, `week`, `month` or `year`.",
                                "enum": [
                                  "day",
                                  "month",
                                  "week",
                                  "year"
                                ],
                                "type": "string"
                              },
                              "interval_count": {
                                "description": "The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).",
                                "type": "integer"
                              }
                            },
                            "required": [
                              "interval"
                            ],
                            "title": "recurring_adhoc",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "interval"
                            ]
                          },
                          "tax_behavior": {
                            "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                            "enum": [
                              "exclusive",
                              "inclusive",
                              "unspecified"
                            ],
                            "type": "string"
                          },
                          "unit_amount": {
                            "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.",
                            "type": "integer"
                          },
                          "unit_amount_decimal": {
                            "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                            "format": "decimal",
                            "type": "string"
                          }
                        },
                        "required": [
                          "currency",
                          "product",
                          "recurring"
                        ],
                        "title": "recurring_price_data",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "currency",
                          "product",
                          "recurring",
                          "unit_amount"
                        ]
                      },
                      "quantity": {
                        "description": "Quantity for this item.",
                        "type": "integer"
                      },
                      "tax_rates": {
                        "anyOf": [
                          {
                            "items": {
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "type": "array"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates."
                      }
                    },
                    "title": "subscription_item_update_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "billing_thresholds",
                      "clear_usage",
                      "deleted",
                      "discounts",
                      "id",
                      "metadata",
                      "plan",
                      "price",
                      "quantity",
                      "tax_rates"
                    ]
                  },
                  "type": "array"
                },
                "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`.",
                  "enum": [
                    "always_invoice",
                    "create_prorations",
                    "none"
                  ],
                  "type": "string"
                },
                "proration_date": {
                  "description": "If previewing an update to a subscription, and doing proration, `subscription_details.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_details.items`, or `subscription_details.trial_end` are required. Also, `subscription_details.proration_behavior` cannot be set to 'none'.",
                  "format": "unix-time",
                  "type": "integer"
                },
                "resume_at": {
                  "description": "For paused subscriptions, setting `subscription_details.resume_at` to `now` will preview the invoice that will be generated if the subscription is resumed.",
                  "enum": [
                    "now"
                  ],
                  "maxLength": 5000,
                  "type": "string"
                },
                "start_date": {
                  "description": "Date a subscription is intended to start (can be future or past).",
                  "format": "unix-time",
                  "type": "integer"
                },
                "trial_end": {
                  "anyOf": [
                    {
                      "enum": [
                        "now"
                      ],
                      "maxLength": 5000,
                      "type": "string"
                    },
                    {
                      "format": "unix-time",
                      "type": "integer"
                    }
                  ],
                  "description": "If provided, the invoice returned will preview updating or creating a subscription with that trial end. If set, one of `subscription_details.items` or `subscription` is required."
                }
              },
              "title": "subscription_details_params",
              "type": "object",
              "x-stripeMostCommon": [
                "billing_cycle_anchor",
                "cancel_at",
                "cancel_at_period_end",
                "cancel_now",
                "default_tax_rates",
                "items",
                "prebilling",
                "proration_behavior",
                "proration_date",
                "resume_at",
                "start_date",
                "trial_end"
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "explode": true,
            "in": "query",
            "name": "subscription_items",
            "required": false,
            "schema": {
              "items": {
                "properties": {
                  "billing_thresholds": {
                    "anyOf": [
                      {
                        "properties": {
                          "usage_gte": {
                            "description": "Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte))",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "usage_gte"
                        ],
                        "title": "item_billing_thresholds_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "usage_gte"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds."
                  },
                  "clear_usage": {
                    "description": "Delete all usage for a given subscription item. Allowed only when `deleted` is set to `true` and the current plan's `usage_type` is `metered`.",
                    "type": "boolean"
                  },
                  "deleted": {
                    "description": "A flag that, if set to `true`, will delete the specified item.",
                    "type": "boolean"
                  },
                  "discounts": {
                    "anyOf": [
                      {
                        "items": {
                          "properties": {
                            "coupon": {
                              "description": "ID of the coupon to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "discount": {
                              "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "promotion_code": {
                              "description": "ID of the promotion code to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            }
                          },
                          "title": "discounts_data_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "coupon"
                          ]
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The coupons to redeem into discounts for the subscription item."
                  },
                  "id": {
                    "description": "Subscription item to update.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "plan": {
                    "description": "Plan ID for this item, as a string.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "price": {
                    "description": "The ID of the price object. One of `price` or `price_data` is required. When changing a subscription item's price, `quantity` is set to 1 unless a `quantity` parameter is provided.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "price_data": {
                    "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
                    "properties": {
                      "currency": {
                        "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                        "type": "string"
                      },
                      "product": {
                        "description": "The ID of the product that this price will belong to.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "recurring": {
                        "description": "The recurring components of a price such as `interval` and `interval_count`.",
                        "properties": {
                          "interval": {
                            "description": "Specifies billing frequency. Either `day`, `week`, `month` or `year`.",
                            "enum": [
                              "day",
                              "month",
                              "week",
                              "year"
                            ],
                            "type": "string"
                          },
                          "interval_count": {
                            "description": "The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "interval"
                        ],
                        "title": "recurring_adhoc",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "interval"
                        ]
                      },
                      "tax_behavior": {
                        "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                        "enum": [
                          "exclusive",
                          "inclusive",
                          "unspecified"
                        ],
                        "type": "string"
                      },
                      "unit_amount": {
                        "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.",
                        "type": "integer"
                      },
                      "unit_amount_decimal": {
                        "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                        "format": "decimal",
                        "type": "string"
                      }
                    },
                    "required": [
                      "currency",
                      "product",
                      "recurring"
                    ],
                    "title": "recurring_price_data",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "currency",
                      "product",
                      "recurring",
                      "unit_amount"
                    ]
                  },
                  "quantity": {
                    "description": "Quantity for this item.",
                    "type": "integer"
                  },
                  "tax_rates": {
                    "anyOf": [
                      {
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates."
                  }
                },
                "title": "subscription_item_update_params",
                "type": "object",
                "x-stripeMostCommon": [
                  "billing_thresholds",
                  "clear_usage",
                  "deleted",
                  "discounts",
                  "id",
                  "metadata",
                  "plan",
                  "price",
                  "quantity",
                  "tax_rates"
                ]
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "subscription_proration_behavior",
            "required": false,
            "schema": {
              "enum": [
                "always_invoice",
                "create_prorations",
                "none"
              ],
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "subscription_proration_date",
            "required": false,
            "schema": {
              "format": "unix-time",
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "subscription_resume_at",
            "required": false,
            "schema": {
              "enum": [
                "now"
              ],
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "subscription_start_date",
            "required": false,
            "schema": {
              "format": "unix-time",
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "explode": true,
            "in": "query",
            "name": "subscription_trial_end",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "now"
                  ],
                  "maxLength": 5000,
                  "type": "string"
                },
                {
                  "format": "unix-time",
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "subscription_trial_from_plan",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/line_item"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "InvoiceLinesList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve an upcoming invoice's line items"
      }
    },
    "/v1/invoices/{invoice}": {
      "delete": {
        "description": "<p>Permanently deletes a one-off invoice draft. This cannot be undone. Attempts to delete invoices that are no longer in a draft state will fail; once an invoice has been finalized or if an invoice is for a subscription, it must be <a href=\"#void_invoice\">voided</a>.</p>",
        "operationId": "DeleteInvoicesInvoice",
        "parameters": [
          {
            "in": "path",
            "name": "invoice",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/deleted_invoice"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Delete a draft invoice"
      },
      "get": {
        "description": "<p>Retrieves the invoice with the given ID.</p>",
        "operationId": "GetInvoicesInvoice",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "invoice",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/invoice"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve an invoice"
      },
      "post": {
        "description": "<p>Draft invoices are fully editable. Once an invoice is <a href=\"/docs/billing/invoices/workflow#finalized\">finalized</a>,\nmonetary values, as well as <code>collection_method</code>, become uneditable.</p>\n\n<p>If you would like to stop the Stripe Billing engine from automatically finalizing, reattempting payments on,\nsending reminders for, or <a href=\"/docs/billing/invoices/reconciliation\">automatically reconciling</a> invoices, pass\n<code>auto_advance=false</code>.</p>",
        "operationId": "PostInvoicesInvoice",
        "parameters": [
          {
            "in": "path",
            "name": "invoice",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "account_tax_ids": {
                  "explode": true,
                  "style": "deepObject"
                },
                "automatic_tax": {
                  "explode": true,
                  "style": "deepObject"
                },
                "custom_fields": {
                  "explode": true,
                  "style": "deepObject"
                },
                "default_source": {
                  "explode": true,
                  "style": "deepObject"
                },
                "default_tax_rates": {
                  "explode": true,
                  "style": "deepObject"
                },
                "discounts": {
                  "explode": true,
                  "style": "deepObject"
                },
                "effective_at": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "issuer": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "number": {
                  "explode": true,
                  "style": "deepObject"
                },
                "on_behalf_of": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_settings": {
                  "explode": true,
                  "style": "deepObject"
                },
                "rendering": {
                  "explode": true,
                  "style": "deepObject"
                },
                "shipping_cost": {
                  "explode": true,
                  "style": "deepObject"
                },
                "shipping_details": {
                  "explode": true,
                  "style": "deepObject"
                },
                "transfer_data": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "account_tax_ids": {
                    "anyOf": [
                      {
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The account tax IDs associated with the invoice. Only editable when the invoice is a draft."
                  },
                  "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": "integer"
                  },
                  "auto_advance": {
                    "description": "Controls whether Stripe performs [automatic collection](https://stripe.com/docs/invoicing/integration/automatic-advancement-collection) of the invoice.",
                    "type": "boolean"
                  },
                  "automatic_tax": {
                    "description": "Settings for automatic tax lookup for this invoice.",
                    "properties": {
                      "enabled": {
                        "description": "Whether Stripe automatically computes tax on this invoice. Note that incompatible invoice items (invoice items with manually specified [tax rates](https://stripe.com/docs/api/tax_rates), negative amounts, or `tax_behavior=unspecified`) cannot be added to automatic tax invoices.",
                        "type": "boolean"
                      },
                      "liability": {
                        "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.",
                        "properties": {
                          "account": {
                            "description": "The connected account being referenced when `type` is `account`.",
                            "type": "string"
                          },
                          "type": {
                            "description": "Type of the account referenced in the request.",
                            "enum": [
                              "account",
                              "self"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account",
                          "type"
                        ]
                      }
                    },
                    "required": [
                      "enabled"
                    ],
                    "title": "automatic_tax_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "enabled",
                      "liability"
                    ]
                  },
                  "automatically_finalizes_at": {
                    "description": "The time when this invoice should be scheduled to finalize. The invoice will be finalized at this time if it is still in draft state. To turn off automatic finalization, set `auto_advance` to false.",
                    "format": "unix-time",
                    "type": "integer"
                  },
                  "collection_method": {
                    "description": "Either `charge_automatically` or `send_invoice`. This field can be updated only on `draft` invoices.",
                    "enum": [
                      "charge_automatically",
                      "send_invoice"
                    ],
                    "type": "string"
                  },
                  "custom_fields": {
                    "anyOf": [
                      {
                        "items": {
                          "properties": {
                            "name": {
                              "description": "The name of the custom field. This may be up to 40 characters.",
                              "maxLength": 40,
                              "type": "string"
                            },
                            "value": {
                              "description": "The value of the custom field. This may be up to 140 characters.",
                              "maxLength": 140,
                              "type": "string"
                            }
                          },
                          "required": [
                            "name",
                            "value"
                          ],
                          "title": "custom_field_params",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "name",
                            "value"
                          ]
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A list of up to 4 custom fields to be displayed on the invoice. If a value for `custom_fields` is specified, the list specified will replace the existing custom field list on this invoice. Pass an empty string to remove previously-defined fields."
                  },
                  "days_until_due": {
                    "description": "The number of days from which the invoice is created until it is due. Only valid for invoices where `collection_method=send_invoice`. This field can only be updated on `draft` invoices.",
                    "type": "integer"
                  },
                  "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.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "default_source": {
                    "anyOf": [
                      {
                        "maxLength": 5000,
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "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."
                  },
                  "default_tax_rates": {
                    "anyOf": [
                      {
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The tax rates that will apply to any line item that does not have `tax_rates` set. Pass an empty string to remove previously-defined tax rates."
                  },
                  "description": {
                    "description": "An arbitrary string attached to the object. Often useful for displaying to users. Referenced as 'memo' in the Dashboard.",
                    "maxLength": 1500,
                    "type": "string"
                  },
                  "discounts": {
                    "anyOf": [
                      {
                        "items": {
                          "properties": {
                            "coupon": {
                              "description": "ID of the coupon to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "discount": {
                              "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "promotion_code": {
                              "description": "ID of the promotion code to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            }
                          },
                          "title": "discounts_data_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "coupon"
                          ]
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The discounts that will apply to the invoice. Pass an empty string to remove previously-defined discounts."
                  },
                  "due_date": {
                    "description": "The date on which payment for this invoice is due. Only valid for invoices where `collection_method=send_invoice`. This field can only be updated on `draft` invoices.",
                    "format": "unix-time",
                    "type": "integer"
                  },
                  "effective_at": {
                    "anyOf": [
                      {
                        "format": "unix-time",
                        "type": "integer"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "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."
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "footer": {
                    "description": "Footer to be displayed on the invoice.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "issuer": {
                    "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.",
                    "properties": {
                      "account": {
                        "description": "The connected account being referenced when `type` is `account`.",
                        "type": "string"
                      },
                      "type": {
                        "description": "Type of the account referenced in the request.",
                        "enum": [
                          "account",
                          "self"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "title": "param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "account",
                      "type"
                    ]
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "number": {
                    "anyOf": [
                      {
                        "maxLength": 26,
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "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."
                  },
                  "on_behalf_of": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "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."
                  },
                  "payment_settings": {
                    "description": "Configuration settings for the PaymentIntent that is generated when the invoice is finalized.",
                    "properties": {
                      "default_mandate": {
                        "anyOf": [
                          {
                            "maxLength": 5000,
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "ID of the mandate to be used for this invoice. It must correspond to the payment method used to pay the invoice, including the invoice's default_payment_method or default_source, if set."
                      },
                      "payment_method_options": {
                        "description": "Payment-method-specific configuration to provide to the invoice’s PaymentIntent.",
                        "properties": {
                          "acss_debit": {
                            "anyOf": [
                              {
                                "properties": {
                                  "mandate_options": {
                                    "description": "Additional fields for Mandate creation",
                                    "properties": {
                                      "transaction_type": {
                                        "description": "Transaction type of the mandate.",
                                        "enum": [
                                          "business",
                                          "personal"
                                        ],
                                        "type": "string"
                                      }
                                    },
                                    "title": "mandate_options_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "transaction_type"
                                    ]
                                  },
                                  "verification_method": {
                                    "description": "Verification method for the intent",
                                    "enum": [
                                      "automatic",
                                      "instant",
                                      "microdeposits"
                                    ],
                                    "type": "string",
                                    "x-stripeBypassValidation": true
                                  }
                                },
                                "title": "invoice_payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "mandate_options",
                                  "verification_method"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "If paying by `acss_debit`, this sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to the invoice’s PaymentIntent."
                          },
                          "bancontact": {
                            "anyOf": [
                              {
                                "properties": {
                                  "preferred_language": {
                                    "description": "Preferred language of the Bancontact authorization page that the customer is redirected to.",
                                    "enum": [
                                      "de",
                                      "en",
                                      "fr",
                                      "nl"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "title": "invoice_payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "preferred_language"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "If paying by `bancontact`, this sub-hash contains details about the Bancontact payment method options to pass to the invoice’s PaymentIntent."
                          },
                          "card": {
                            "anyOf": [
                              {
                                "properties": {
                                  "installments": {
                                    "description": "Installment configuration for payments attempted on this invoice (Mexico Only).\n\nFor more information, see the [installments integration guide](https://stripe.com/docs/payments/installments).",
                                    "properties": {
                                      "enabled": {
                                        "description": "Setting to true enables installments for this invoice.\nSetting to false will prevent any selected plan from applying to a payment.",
                                        "type": "boolean"
                                      },
                                      "plan": {
                                        "anyOf": [
                                          {
                                            "properties": {
                                              "count": {
                                                "description": "For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card.",
                                                "type": "integer"
                                              },
                                              "interval": {
                                                "description": "For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card.\nOne of `month`.",
                                                "enum": [
                                                  "month"
                                                ],
                                                "type": "string"
                                              },
                                              "type": {
                                                "description": "Type of installment plan, one of `fixed_count`.",
                                                "enum": [
                                                  "fixed_count"
                                                ],
                                                "type": "string",
                                                "x-stripeBypassValidation": true
                                              }
                                            },
                                            "required": [
                                              "type"
                                            ],
                                            "title": "installment_plan",
                                            "type": "object",
                                            "x-stripeMostCommon": [
                                              "count",
                                              "interval",
                                              "type"
                                            ]
                                          },
                                          {
                                            "enum": [
                                              ""
                                            ],
                                            "type": "string"
                                          }
                                        ],
                                        "description": "The selected installment plan to use for this invoice."
                                      }
                                    },
                                    "title": "installments_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "enabled",
                                      "plan"
                                    ]
                                  },
                                  "request_three_d_secure": {
                                    "description": "We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.",
                                    "enum": [
                                      "any",
                                      "automatic",
                                      "challenge"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "title": "invoice_payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "installments",
                                  "request_three_d_secure"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "If paying by `card`, this sub-hash contains details about the Card payment method options to pass to the invoice’s PaymentIntent."
                          },
                          "customer_balance": {
                            "anyOf": [
                              {
                                "properties": {
                                  "bank_transfer": {
                                    "description": "Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.",
                                    "properties": {
                                      "eu_bank_transfer": {
                                        "description": "Configuration for eu_bank_transfer funding type.",
                                        "properties": {
                                          "country": {
                                            "description": "The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.",
                                            "maxLength": 5000,
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "country"
                                        ],
                                        "title": "eu_bank_transfer_param",
                                        "type": "object",
                                        "x-stripeMostCommon": [
                                          "country"
                                        ]
                                      },
                                      "type": {
                                        "description": "The bank transfer type that can be used for funding. Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.",
                                        "type": "string"
                                      }
                                    },
                                    "title": "bank_transfer_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "eu_bank_transfer",
                                      "id_bank_transfer",
                                      "type"
                                    ]
                                  },
                                  "funding_type": {
                                    "description": "The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.",
                                    "type": "string"
                                  }
                                },
                                "title": "invoice_payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "bank_transfer",
                                  "funding_type"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "If paying by `customer_balance`, this sub-hash contains details about the Bank transfer payment method options to pass to the invoice’s PaymentIntent."
                          },
                          "konbini": {
                            "anyOf": [
                              {
                                "properties": {},
                                "title": "invoice_payment_method_options_param",
                                "type": "object"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "If paying by `konbini`, this sub-hash contains details about the Konbini payment method options to pass to the invoice’s PaymentIntent."
                          },
                          "sepa_debit": {
                            "anyOf": [
                              {
                                "properties": {},
                                "title": "invoice_payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "verification_method"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "If paying by `sepa_debit`, this sub-hash contains details about the SEPA Direct Debit payment method options to pass to the invoice’s PaymentIntent."
                          },
                          "us_bank_account": {
                            "anyOf": [
                              {
                                "properties": {
                                  "financial_connections": {
                                    "description": "Additional fields for Financial Connections Session creation",
                                    "properties": {
                                      "filters": {
                                        "description": "Provide filters for the linked accounts that the customer can select for the payment method.",
                                        "properties": {
                                          "account_subcategories": {
                                            "description": "The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.",
                                            "items": {
                                              "enum": [
                                                "checking",
                                                "savings"
                                              ],
                                              "type": "string"
                                            },
                                            "type": "array"
                                          }
                                        },
                                        "title": "invoice_linked_account_options_filters_param",
                                        "type": "object",
                                        "x-stripeMostCommon": [
                                          "account_subcategories",
                                          "institution"
                                        ]
                                      },
                                      "permissions": {
                                        "description": "The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.",
                                        "items": {
                                          "enum": [
                                            "balances",
                                            "ownership",
                                            "payment_method",
                                            "transactions"
                                          ],
                                          "maxLength": 5000,
                                          "type": "string",
                                          "x-stripeBypassValidation": true
                                        },
                                        "type": "array"
                                      },
                                      "prefetch": {
                                        "description": "List of data features that you would like to retrieve upon account creation.",
                                        "items": {
                                          "enum": [
                                            "balances",
                                            "ownership",
                                            "transactions"
                                          ],
                                          "type": "string",
                                          "x-stripeBypassValidation": true
                                        },
                                        "type": "array"
                                      }
                                    },
                                    "title": "invoice_linked_account_options_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "filters",
                                      "permissions",
                                      "prefetch"
                                    ]
                                  },
                                  "verification_method": {
                                    "description": "Verification method for the intent",
                                    "enum": [
                                      "automatic",
                                      "instant",
                                      "microdeposits"
                                    ],
                                    "type": "string",
                                    "x-stripeBypassValidation": true
                                  }
                                },
                                "title": "invoice_payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "financial_connections",
                                  "verification_method"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "If paying by `us_bank_account`, this sub-hash contains details about the ACH direct debit payment method options to pass to the invoice’s PaymentIntent."
                          }
                        },
                        "title": "payment_method_options",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "acss_debit",
                          "bancontact",
                          "card",
                          "customer_balance",
                          "id_bank_transfer",
                          "konbini",
                          "sepa_debit",
                          "us_bank_account"
                        ]
                      },
                      "payment_method_types": {
                        "anyOf": [
                          {
                            "items": {
                              "enum": [
                                "ach_credit_transfer",
                                "ach_debit",
                                "acss_debit",
                                "amazon_pay",
                                "au_becs_debit",
                                "bacs_debit",
                                "bancontact",
                                "boleto",
                                "card",
                                "cashapp",
                                "customer_balance",
                                "eps",
                                "fpx",
                                "giropay",
                                "grabpay",
                                "ideal",
                                "jp_credit_transfer",
                                "kakao_pay",
                                "konbini",
                                "kr_card",
                                "link",
                                "multibanco",
                                "naver_pay",
                                "p24",
                                "payco",
                                "paynow",
                                "paypal",
                                "promptpay",
                                "revolut_pay",
                                "sepa_credit_transfer",
                                "sepa_debit",
                                "sofort",
                                "swish",
                                "us_bank_account",
                                "wechat_pay"
                              ],
                              "type": "string",
                              "x-stripeBypassValidation": true
                            },
                            "type": "array"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The list of payment method types (e.g. card) to provide to the invoice’s PaymentIntent. If not set, Stripe attempts to automatically determine the types to use by looking at the invoice’s default payment method, the subscription’s default payment method, the customer’s default payment method, and your [invoice template settings](https://dashboard.stripe.com/settings/billing/invoice)."
                      }
                    },
                    "title": "payment_settings",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "default_mandate",
                      "payment_method_options",
                      "payment_method_types"
                    ]
                  },
                  "rendering": {
                    "description": "The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.",
                    "properties": {
                      "amount_tax_display": {
                        "description": "How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.",
                        "enum": [
                          "",
                          "exclude_tax",
                          "include_inclusive_tax"
                        ],
                        "type": "string"
                      },
                      "pdf": {
                        "description": "Invoice pdf rendering options",
                        "properties": {
                          "page_size": {
                            "description": "Page size for invoice PDF. Can be set to `a4`, `letter`, or `auto`.\n If set to `auto`, invoice PDF page size defaults to `a4` for customers with\n Japanese locale and `letter` for customers with other locales.",
                            "enum": [
                              "a4",
                              "auto",
                              "letter"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "rendering_pdf_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "page_size"
                        ]
                      },
                      "template": {
                        "description": "ID of the invoice rendering template to use for this invoice.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "template_version": {
                        "anyOf": [
                          {
                            "type": "integer"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The specific version of invoice rendering template to use for this invoice."
                      }
                    },
                    "title": "rendering_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "amount_tax_display",
                      "custom_text",
                      "invoice_title",
                      "pdf",
                      "summary_items_data",
                      "template",
                      "template_version"
                    ]
                  },
                  "shipping_cost": {
                    "anyOf": [
                      {
                        "properties": {
                          "shipping_rate": {
                            "description": "The ID of the shipping rate to use for this order.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "shipping_rate_data": {
                            "description": "Parameters to create a new ad-hoc shipping rate for this order.",
                            "properties": {
                              "delivery_estimate": {
                                "description": "The estimated range for how long shipping will take, meant to be displayable to the customer. This will appear on CheckoutSessions.",
                                "properties": {
                                  "maximum": {
                                    "description": "The upper bound of the estimated range. If empty, represents no upper bound i.e., infinite.",
                                    "properties": {
                                      "unit": {
                                        "description": "A unit of time.",
                                        "enum": [
                                          "business_day",
                                          "day",
                                          "hour",
                                          "month",
                                          "week"
                                        ],
                                        "type": "string"
                                      },
                                      "value": {
                                        "description": "Must be greater than 0.",
                                        "type": "integer"
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "title": "delivery_estimate_bound",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "unit",
                                      "value"
                                    ]
                                  },
                                  "minimum": {
                                    "description": "The lower bound of the estimated range. If empty, represents no lower bound.",
                                    "properties": {
                                      "unit": {
                                        "description": "A unit of time.",
                                        "enum": [
                                          "business_day",
                                          "day",
                                          "hour",
                                          "month",
                                          "week"
                                        ],
                                        "type": "string"
                                      },
                                      "value": {
                                        "description": "Must be greater than 0.",
                                        "type": "integer"
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "title": "delivery_estimate_bound",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "unit",
                                      "value"
                                    ]
                                  }
                                },
                                "title": "delivery_estimate",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "maximum",
                                  "minimum"
                                ]
                              },
                              "display_name": {
                                "description": "The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions.",
                                "maxLength": 100,
                                "type": "string"
                              },
                              "fixed_amount": {
                                "description": "Describes a fixed amount to charge for shipping. Must be present if type is `fixed_amount`.",
                                "properties": {
                                  "amount": {
                                    "description": "A non-negative integer in cents representing how much to charge.",
                                    "type": "integer"
                                  },
                                  "currency": {
                                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                                    "type": "string"
                                  },
                                  "currency_options": {
                                    "additionalProperties": {
                                      "properties": {
                                        "amount": {
                                          "description": "A non-negative integer in cents representing how much to charge.",
                                          "type": "integer"
                                        },
                                        "tax_behavior": {
                                          "description": "Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.",
                                          "enum": [
                                            "exclusive",
                                            "inclusive",
                                            "unspecified"
                                          ],
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "amount"
                                      ],
                                      "title": "currency_option",
                                      "type": "object",
                                      "x-stripeMostCommon": [
                                        "amount",
                                        "tax_behavior"
                                      ]
                                    },
                                    "description": "Shipping rates defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).",
                                    "type": "object"
                                  }
                                },
                                "required": [
                                  "amount",
                                  "currency"
                                ],
                                "title": "fixed_amount",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "amount",
                                  "currency",
                                  "currency_options"
                                ]
                              },
                              "metadata": {
                                "additionalProperties": {
                                  "type": "string"
                                },
                                "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                                "type": "object"
                              },
                              "tax_behavior": {
                                "description": "Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.",
                                "enum": [
                                  "exclusive",
                                  "inclusive",
                                  "unspecified"
                                ],
                                "type": "string"
                              },
                              "tax_code": {
                                "description": "A [tax code](https://stripe.com/docs/tax/tax-categories) ID. The Shipping tax code is `txcd_92010001`.",
                                "type": "string"
                              },
                              "type": {
                                "description": "The type of calculation to use on the shipping rate.",
                                "enum": [
                                  "fixed_amount"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "display_name"
                            ],
                            "title": "method_params",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "display_name",
                              "fixed_amount",
                              "metadata",
                              "tax_behavior",
                              "tax_code",
                              "type"
                            ]
                          }
                        },
                        "title": "shipping_cost",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "shipping_rate",
                          "shipping_rate_data"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Settings for the cost of shipping for this invoice."
                  },
                  "shipping_details": {
                    "anyOf": [
                      {
                        "properties": {
                          "address": {
                            "description": "Shipping address",
                            "properties": {
                              "city": {
                                "description": "City, district, suburb, town, or village.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "country": {
                                "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line1": {
                                "description": "Address line 1 (e.g., street, PO Box, or company name).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line2": {
                                "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "postal_code": {
                                "description": "ZIP or postal code.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "state": {
                                "description": "State, county, province, or region.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "optional_fields_address",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "city",
                              "country",
                              "line1",
                              "line2",
                              "postal_code",
                              "state"
                            ]
                          },
                          "name": {
                            "description": "Recipient name.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "phone": {
                            "anyOf": [
                              {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Recipient phone (including extension)"
                          }
                        },
                        "required": [
                          "address",
                          "name"
                        ],
                        "title": "recipient_shipping_with_optional_fields_address",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "address",
                          "name",
                          "phone"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "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."
                  },
                  "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`.",
                    "maxLength": 22,
                    "type": "string"
                  },
                  "transfer_data": {
                    "anyOf": [
                      {
                        "properties": {
                          "amount": {
                            "description": "The amount that will be transferred automatically when the invoice is paid. If no amount is set, the full amount is transferred.",
                            "type": "integer"
                          },
                          "destination": {
                            "description": "ID of an existing, connected Stripe account.",
                            "type": "string"
                          }
                        },
                        "required": [
                          "destination"
                        ],
                        "title": "transfer_data_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "amount",
                          "destination"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "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. This will be unset if you POST an empty value."
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "auto_advance",
                  "collection_method",
                  "description",
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/invoice"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update an invoice"
      }
    },
    "/v1/invoices/{invoice}/add_lines": {
      "post": {
        "description": "<p>Adds multiple line items to an invoice. This is only possible when an invoice is still a draft.</p>",
        "operationId": "PostInvoicesInvoiceAddLines",
        "parameters": [
          {
            "in": "path",
            "name": "invoice",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "invoice_metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "lines": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "invoice_metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "lines": {
                    "description": "The line items to add.",
                    "items": {
                      "properties": {
                        "amount": {
                          "description": "The integer amount in cents (or local equivalent) of the charge to be applied to the upcoming invoice. If you want to apply a credit to the customer's account, pass a negative amount.",
                          "type": "integer"
                        },
                        "description": {
                          "description": "An arbitrary string which you can attach to the invoice item. The description is displayed in the invoice for easy tracking.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "discountable": {
                          "description": "Controls whether discounts apply to this line item. Defaults to false for prorations or negative line items, and true for all other line items. Cannot be set to true for prorations.",
                          "type": "boolean"
                        },
                        "discounts": {
                          "anyOf": [
                            {
                              "items": {
                                "properties": {
                                  "coupon": {
                                    "description": "ID of the coupon to create a new discount for.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "discount": {
                                    "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "promotion_code": {
                                    "description": "ID of the promotion code to create a new discount for.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "title": "discounts_data_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "coupon"
                                ]
                              },
                              "type": "array"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "The coupons, promotion codes & existing discounts which apply to the line item. Item discounts are applied before invoice discounts. Pass an empty string to remove previously-defined discounts."
                        },
                        "invoice_item": {
                          "description": "ID of an unassigned invoice item to assign to this invoice. If not provided, a new item will be created.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "metadata": {
                          "anyOf": [
                            {
                              "additionalProperties": {
                                "type": "string"
                              },
                              "type": "object"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                        },
                        "period": {
                          "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.",
                          "properties": {
                            "end": {
                              "description": "The end of the period, which must be greater than or equal to the start. This value is inclusive.",
                              "format": "unix-time",
                              "type": "integer"
                            },
                            "start": {
                              "description": "The start of the period. This value is inclusive.",
                              "format": "unix-time",
                              "type": "integer"
                            }
                          },
                          "required": [
                            "end",
                            "start"
                          ],
                          "title": "period",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "end",
                            "start"
                          ]
                        },
                        "price": {
                          "description": "The ID of the price object. One of `price` or `price_data` is required.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "price_data": {
                          "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
                          "properties": {
                            "currency": {
                              "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                              "type": "string"
                            },
                            "product": {
                              "description": "The ID of the product that this price will belong to. One of `product` or `product_data` is required.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "product_data": {
                              "description": "Data used to generate a new product object inline. One of `product` or `product_data` is required.",
                              "properties": {
                                "description": {
                                  "description": "The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.",
                                  "maxLength": 40000,
                                  "type": "string"
                                },
                                "images": {
                                  "description": "A list of up to 8 URLs of images for this product, meant to be displayable to the customer.",
                                  "items": {
                                    "type": "string"
                                  },
                                  "type": "array"
                                },
                                "metadata": {
                                  "additionalProperties": {
                                    "type": "string"
                                  },
                                  "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                                  "type": "object"
                                },
                                "name": {
                                  "description": "The product's name, meant to be displayable to the customer.",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "tax_code": {
                                  "description": "A [tax code](https://stripe.com/docs/tax/tax-categories) ID.",
                                  "maxLength": 5000,
                                  "type": "string"
                                }
                              },
                              "required": [
                                "name"
                              ],
                              "title": "product_data",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "description",
                                "images",
                                "metadata",
                                "name",
                                "tax_code"
                              ]
                            },
                            "tax_behavior": {
                              "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                              "enum": [
                                "exclusive",
                                "inclusive",
                                "unspecified"
                              ],
                              "type": "string"
                            },
                            "unit_amount": {
                              "description": "A non-negative integer in cents (or local equivalent) representing how much to charge. One of `unit_amount` or `unit_amount_decimal` is required.",
                              "type": "integer"
                            },
                            "unit_amount_decimal": {
                              "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                              "format": "decimal",
                              "type": "string"
                            }
                          },
                          "required": [
                            "currency"
                          ],
                          "title": "one_time_price_data_with_product_data",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "currency",
                            "product",
                            "unit_amount"
                          ]
                        },
                        "quantity": {
                          "description": "Non-negative integer. The quantity of units for the line item.",
                          "type": "integer"
                        },
                        "tax_amounts": {
                          "anyOf": [
                            {
                              "items": {
                                "properties": {
                                  "amount": {
                                    "description": "The amount, in cents (or local equivalent), of the tax.",
                                    "type": "integer"
                                  },
                                  "tax_rate_data": {
                                    "description": "Data to find or create a TaxRate object.\n\nStripe automatically creates or reuses a TaxRate object for each tax amount. If the `tax_rate_data` exactly matches a previous value, Stripe will reuse the TaxRate object. TaxRate objects created automatically by Stripe are immediately archived, do not appear in the line item’s `tax_rates`, and cannot be directly added to invoices, payments, or line items.",
                                    "properties": {
                                      "country": {
                                        "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                        "maxLength": 5000,
                                        "type": "string"
                                      },
                                      "description": {
                                        "description": "An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers.",
                                        "maxLength": 5000,
                                        "type": "string"
                                      },
                                      "display_name": {
                                        "description": "The display name of the tax rate, which will be shown to users.",
                                        "maxLength": 100,
                                        "type": "string"
                                      },
                                      "inclusive": {
                                        "description": "This specifies if the tax rate is inclusive or exclusive.",
                                        "type": "boolean"
                                      },
                                      "jurisdiction": {
                                        "description": "The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer’s invoice.",
                                        "maxLength": 200,
                                        "type": "string"
                                      },
                                      "percentage": {
                                        "description": "The statutory tax rate percent. This field accepts decimal values between 0 and 100 inclusive with at most 4 decimal places. To accommodate fixed-amount taxes, set the percentage to zero. Stripe will not display zero percentages on the invoice unless the `amount` of the tax is also zero.",
                                        "type": "number"
                                      },
                                      "state": {
                                        "description": "[ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2:US), without country prefix. For example, \"NY\" for New York, United States.",
                                        "maxLength": 2,
                                        "type": "string"
                                      },
                                      "tax_type": {
                                        "description": "The high-level tax type, such as `vat` or `sales_tax`.",
                                        "enum": [
                                          "amusement_tax",
                                          "communications_tax",
                                          "gst",
                                          "hst",
                                          "igst",
                                          "jct",
                                          "lease_tax",
                                          "pst",
                                          "qst",
                                          "retail_delivery_fee",
                                          "rst",
                                          "sales_tax",
                                          "service_tax",
                                          "vat"
                                        ],
                                        "type": "string",
                                        "x-stripeBypassValidation": true
                                      }
                                    },
                                    "required": [
                                      "display_name",
                                      "inclusive",
                                      "percentage"
                                    ],
                                    "title": "tax_rate_data_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "country",
                                      "description",
                                      "display_name",
                                      "inclusive",
                                      "jurisdiction",
                                      "jurisdiction_level",
                                      "percentage",
                                      "state",
                                      "tax_type"
                                    ]
                                  },
                                  "taxable_amount": {
                                    "description": "The amount on which tax is calculated, in cents (or local equivalent).",
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "amount",
                                  "tax_rate_data",
                                  "taxable_amount"
                                ],
                                "title": "tax_amount_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "amount",
                                  "tax_rate_data",
                                  "taxability_reason",
                                  "taxable_amount"
                                ]
                              },
                              "type": "array"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "A list of up to 10 tax amounts for this line item. This can be useful if you calculate taxes on your own or use a third-party to calculate them. You cannot set tax amounts if any line item has [tax_rates](https://stripe.com/docs/api/invoices/line_item#invoice_line_item_object-tax_rates) or if the invoice has [default_tax_rates](https://stripe.com/docs/api/invoices/object#invoice_object-default_tax_rates) or uses [automatic tax](https://stripe.com/docs/tax/invoicing). Pass an empty string to remove previously defined tax amounts."
                        },
                        "tax_rates": {
                          "anyOf": [
                            {
                              "items": {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "type": "array"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "The tax rates which apply to the line item. When set, the `default_tax_rates` on the invoice do not apply to this line item. Pass an empty string to remove previously-defined tax rates."
                        }
                      },
                      "title": "lines_data_param",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "amount",
                        "description",
                        "invoice_item",
                        "metadata",
                        "period",
                        "price",
                        "quantity"
                      ]
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "lines"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "invoice_metadata",
                  "lines"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/invoice"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Bulk add invoice line items"
      }
    },
    "/v1/invoices/{invoice}/finalize": {
      "post": {
        "description": "<p>Stripe automatically finalizes drafts before sending and attempting payment on invoices. However, if you’d like to finalize a draft invoice manually, you can do so using this method.</p>",
        "operationId": "PostInvoicesInvoiceFinalize",
        "parameters": [
          {
            "in": "path",
            "name": "invoice",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "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": "boolean"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "auto_advance"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/invoice"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Finalize an invoice"
      }
    },
    "/v1/invoices/{invoice}/lines": {
      "get": {
        "description": "<p>When retrieving an invoice, you’ll get a <strong>lines</strong> property containing the total count of line items and the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.</p>",
        "operationId": "GetInvoicesInvoiceLines",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "invoice",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/line_item"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "InvoiceLinesList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve an invoice's line items"
      }
    },
    "/v1/invoices/{invoice}/lines/{line_item_id}": {
      "post": {
        "description": "<p>Updates an invoice’s line item. Some fields, such as <code>tax_amounts</code>, only live on the invoice line item,\nso they can only be updated through this endpoint. Other fields, such as <code>amount</code>, live on both the invoice\nitem and the invoice line item, so updates on this endpoint will propagate to the invoice item as well.\nUpdating an invoice’s line item is only possible before the invoice is finalized.</p>",
        "operationId": "PostInvoicesInvoiceLinesLineItemId",
        "parameters": [
          {
            "description": "Invoice ID of line item",
            "in": "path",
            "name": "invoice",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Invoice line item ID",
            "in": "path",
            "name": "line_item_id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "discounts": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "period": {
                  "explode": true,
                  "style": "deepObject"
                },
                "price_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "tax_amounts": {
                  "explode": true,
                  "style": "deepObject"
                },
                "tax_rates": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "The integer amount in cents (or local equivalent) of the charge to be applied to the upcoming invoice. If you want to apply a credit to the customer's account, pass a negative amount.",
                    "type": "integer"
                  },
                  "description": {
                    "description": "An arbitrary string which you can attach to the invoice item. The description is displayed in the invoice for easy tracking.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "discountable": {
                    "description": "Controls whether discounts apply to this line item. Defaults to false for prorations or negative line items, and true for all other line items. Cannot be set to true for prorations.",
                    "type": "boolean"
                  },
                  "discounts": {
                    "anyOf": [
                      {
                        "items": {
                          "properties": {
                            "coupon": {
                              "description": "ID of the coupon to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "discount": {
                              "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "promotion_code": {
                              "description": "ID of the promotion code to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            }
                          },
                          "title": "discounts_data_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "coupon"
                          ]
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The coupons, promotion codes & existing discounts which apply to the line item. Item discounts are applied before invoice discounts. Pass an empty string to remove previously-defined discounts."
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. For [type=subscription](https://stripe.com/docs/api/invoices/line_item#invoice_line_item_object-type) line items, the incoming metadata specified on the request is directly used to set this value, in contrast to [type=invoiceitem](api/invoices/line_item#invoice_line_item_object-type) line items, where any existing metadata on the invoice line is merged with the incoming data."
                  },
                  "period": {
                    "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.",
                    "properties": {
                      "end": {
                        "description": "The end of the period, which must be greater than or equal to the start. This value is inclusive.",
                        "format": "unix-time",
                        "type": "integer"
                      },
                      "start": {
                        "description": "The start of the period. This value is inclusive.",
                        "format": "unix-time",
                        "type": "integer"
                      }
                    },
                    "required": [
                      "end",
                      "start"
                    ],
                    "title": "period",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "end",
                      "start"
                    ]
                  },
                  "price": {
                    "description": "The ID of the price object. One of `price` or `price_data` is required.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "price_data": {
                    "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
                    "properties": {
                      "currency": {
                        "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                        "type": "string"
                      },
                      "product": {
                        "description": "The ID of the product that this price will belong to. One of `product` or `product_data` is required.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "product_data": {
                        "description": "Data used to generate a new product object inline. One of `product` or `product_data` is required.",
                        "properties": {
                          "description": {
                            "description": "The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.",
                            "maxLength": 40000,
                            "type": "string"
                          },
                          "images": {
                            "description": "A list of up to 8 URLs of images for this product, meant to be displayable to the customer.",
                            "items": {
                              "type": "string"
                            },
                            "type": "array"
                          },
                          "metadata": {
                            "additionalProperties": {
                              "type": "string"
                            },
                            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                            "type": "object"
                          },
                          "name": {
                            "description": "The product's name, meant to be displayable to the customer.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "tax_code": {
                            "description": "A [tax code](https://stripe.com/docs/tax/tax-categories) ID.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "name"
                        ],
                        "title": "product_data",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "description",
                          "images",
                          "metadata",
                          "name",
                          "tax_code"
                        ]
                      },
                      "tax_behavior": {
                        "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                        "enum": [
                          "exclusive",
                          "inclusive",
                          "unspecified"
                        ],
                        "type": "string"
                      },
                      "unit_amount": {
                        "description": "A non-negative integer in cents (or local equivalent) representing how much to charge. One of `unit_amount` or `unit_amount_decimal` is required.",
                        "type": "integer"
                      },
                      "unit_amount_decimal": {
                        "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                        "format": "decimal",
                        "type": "string"
                      }
                    },
                    "required": [
                      "currency"
                    ],
                    "title": "one_time_price_data_with_product_data",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "currency",
                      "product",
                      "unit_amount"
                    ]
                  },
                  "quantity": {
                    "description": "Non-negative integer. The quantity of units for the line item.",
                    "type": "integer"
                  },
                  "tax_amounts": {
                    "anyOf": [
                      {
                        "items": {
                          "properties": {
                            "amount": {
                              "description": "The amount, in cents (or local equivalent), of the tax.",
                              "type": "integer"
                            },
                            "tax_rate_data": {
                              "description": "Data to find or create a TaxRate object.\n\nStripe automatically creates or reuses a TaxRate object for each tax amount. If the `tax_rate_data` exactly matches a previous value, Stripe will reuse the TaxRate object. TaxRate objects created automatically by Stripe are immediately archived, do not appear in the line item’s `tax_rates`, and cannot be directly added to invoices, payments, or line items.",
                              "properties": {
                                "country": {
                                  "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "description": {
                                  "description": "An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers.",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "display_name": {
                                  "description": "The display name of the tax rate, which will be shown to users.",
                                  "maxLength": 100,
                                  "type": "string"
                                },
                                "inclusive": {
                                  "description": "This specifies if the tax rate is inclusive or exclusive.",
                                  "type": "boolean"
                                },
                                "jurisdiction": {
                                  "description": "The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer’s invoice.",
                                  "maxLength": 200,
                                  "type": "string"
                                },
                                "percentage": {
                                  "description": "The statutory tax rate percent. This field accepts decimal values between 0 and 100 inclusive with at most 4 decimal places. To accommodate fixed-amount taxes, set the percentage to zero. Stripe will not display zero percentages on the invoice unless the `amount` of the tax is also zero.",
                                  "type": "number"
                                },
                                "state": {
                                  "description": "[ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2:US), without country prefix. For example, \"NY\" for New York, United States.",
                                  "maxLength": 2,
                                  "type": "string"
                                },
                                "tax_type": {
                                  "description": "The high-level tax type, such as `vat` or `sales_tax`.",
                                  "enum": [
                                    "amusement_tax",
                                    "communications_tax",
                                    "gst",
                                    "hst",
                                    "igst",
                                    "jct",
                                    "lease_tax",
                                    "pst",
                                    "qst",
                                    "retail_delivery_fee",
                                    "rst",
                                    "sales_tax",
                                    "service_tax",
                                    "vat"
                                  ],
                                  "type": "string",
                                  "x-stripeBypassValidation": true
                                }
                              },
                              "required": [
                                "display_name",
                                "inclusive",
                                "percentage"
                              ],
                              "title": "tax_rate_data_param",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "country",
                                "description",
                                "display_name",
                                "inclusive",
                                "jurisdiction",
                                "jurisdiction_level",
                                "percentage",
                                "state",
                                "tax_type"
                              ]
                            },
                            "taxable_amount": {
                              "description": "The amount on which tax is calculated, in cents (or local equivalent).",
                              "type": "integer"
                            }
                          },
                          "required": [
                            "amount",
                            "tax_rate_data",
                            "taxable_amount"
                          ],
                          "title": "tax_amount_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "amount",
                            "tax_rate_data",
                            "taxability_reason",
                            "taxable_amount"
                          ]
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A list of up to 10 tax amounts for this line item. This can be useful if you calculate taxes on your own or use a third-party to calculate them. You cannot set tax amounts if any line item has [tax_rates](https://stripe.com/docs/api/invoices/line_item#invoice_line_item_object-tax_rates) or if the invoice has [default_tax_rates](https://stripe.com/docs/api/invoices/object#invoice_object-default_tax_rates) or uses [automatic tax](https://stripe.com/docs/tax/invoicing). Pass an empty string to remove previously defined tax amounts."
                  },
                  "tax_rates": {
                    "anyOf": [
                      {
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The tax rates which apply to the line item. When set, the `default_tax_rates` on the invoice do not apply to this line item. Pass an empty string to remove previously-defined tax rates."
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "description",
                  "metadata",
                  "period",
                  "price",
                  "quantity"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/line_item"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update an invoice's line item"
      }
    },
    "/v1/invoices/{invoice}/mark_uncollectible": {
      "post": {
        "description": "<p>Marking an invoice as uncollectible is useful for keeping track of bad debts that can be written off for accounting purposes.</p>",
        "operationId": "PostInvoicesInvoiceMarkUncollectible",
        "parameters": [
          {
            "in": "path",
            "name": "invoice",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/invoice"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Mark an invoice as uncollectible"
      }
    },
    "/v1/invoices/{invoice}/pay": {
      "post": {
        "description": "<p>Stripe automatically creates and then attempts to collect payment on invoices for customers on subscriptions according to your <a href=\"https://dashboard.stripe.com/account/billing/automatic\">subscriptions settings</a>. However, if you’d like to attempt payment on an invoice out of the normal collection schedule or for some other reason, you can do so.</p>",
        "operationId": "PostInvoicesInvoicePay",
        "parameters": [
          {
            "in": "path",
            "name": "invoice",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "mandate": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "forgive": {
                    "description": "In cases where the source used to pay the invoice has insufficient funds, passing `forgive=true` controls whether a charge should be attempted for the full amount available on the source, up to the amount to fully pay the invoice. This effectively forgives the difference between the amount available on the source and the amount due. \n\nPassing `forgive=false` will fail the charge if the source hasn't been pre-funded with the right amount. An example for this case is with ACH Credit Transfers and wires: if the amount wired is less than the amount due by a small amount, you might want to forgive the difference. Defaults to `false`.",
                    "type": "boolean"
                  },
                  "mandate": {
                    "anyOf": [
                      {
                        "maxLength": 5000,
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "ID of the mandate to be used for this invoice. It must correspond to the payment method used to pay the invoice, including the payment_method param or the invoice's default_payment_method or default_source, if set."
                  },
                  "off_session": {
                    "description": "Indicates if a customer is on or off-session while an invoice payment is attempted. Defaults to `true` (off-session).",
                    "type": "boolean"
                  },
                  "paid_out_of_band": {
                    "description": "Boolean representing whether an invoice is paid outside of Stripe. This will result in no charge being made. Defaults to `false`.",
                    "type": "boolean"
                  },
                  "payment_method": {
                    "description": "A PaymentMethod to be charged. The PaymentMethod must be the ID of a PaymentMethod belonging to the customer associated with the invoice being paid.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "source": {
                    "description": "A payment source to be charged. The source must be the ID of a source belonging to the customer associated with the invoice being paid.",
                    "maxLength": 5000,
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/invoice"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Pay an invoice"
      }
    },
    "/v1/invoices/{invoice}/remove_lines": {
      "post": {
        "description": "<p>Removes multiple line items from an invoice. This is only possible when an invoice is still a draft.</p>",
        "operationId": "PostInvoicesInvoiceRemoveLines",
        "parameters": [
          {
            "in": "path",
            "name": "invoice",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "invoice_metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "lines": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "invoice_metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "lines": {
                    "description": "The line items to remove.",
                    "items": {
                      "properties": {
                        "behavior": {
                          "description": "Either `delete` or `unassign`. Deleted line items are permanently deleted. Unassigned line items can be reassigned to an invoice.",
                          "enum": [
                            "delete",
                            "unassign"
                          ],
                          "type": "string"
                        },
                        "id": {
                          "description": "ID of an existing line item to remove from this invoice.",
                          "maxLength": 5000,
                          "type": "string"
                        }
                      },
                      "required": [
                        "behavior",
                        "id"
                      ],
                      "title": "lines_data_param",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "behavior",
                        "id"
                      ]
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "lines"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "invoice_metadata",
                  "lines"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/invoice"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Bulk remove invoice line items"
      }
    },
    "/v1/invoices/{invoice}/send": {
      "post": {
        "description": "<p>Stripe will automatically send invoices to customers according to your <a href=\"https://dashboard.stripe.com/account/billing/automatic\">subscriptions settings</a>. However, if you’d like to manually send an invoice to your customer out of the normal schedule, you can do so. When sending invoices that have already been paid, there will be no reference to the payment in the email.</p>\n\n<p>Requests made in test-mode result in no emails being sent, despite sending an <code>invoice.sent</code> event.</p>",
        "operationId": "PostInvoicesInvoiceSend",
        "parameters": [
          {
            "in": "path",
            "name": "invoice",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/invoice"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Send an invoice for manual payment"
      }
    },
    "/v1/invoices/{invoice}/update_lines": {
      "post": {
        "description": "<p>Updates multiple line items on an invoice. This is only possible when an invoice is still a draft.</p>",
        "operationId": "PostInvoicesInvoiceUpdateLines",
        "parameters": [
          {
            "in": "path",
            "name": "invoice",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "invoice_metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "lines": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "invoice_metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. For [type=subscription](https://stripe.com/docs/api/invoices/line_item#invoice_line_item_object-type) line items, the incoming metadata specified on the request is directly used to set this value, in contrast to [type=invoiceitem](api/invoices/line_item#invoice_line_item_object-type) line items, where any existing metadata on the invoice line is merged with the incoming data."
                  },
                  "lines": {
                    "description": "The line items to update.",
                    "items": {
                      "properties": {
                        "amount": {
                          "description": "The integer amount in cents (or local equivalent) of the charge to be applied to the upcoming invoice. If you want to apply a credit to the customer's account, pass a negative amount.",
                          "type": "integer"
                        },
                        "description": {
                          "description": "An arbitrary string which you can attach to the invoice item. The description is displayed in the invoice for easy tracking.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "discountable": {
                          "description": "Controls whether discounts apply to this line item. Defaults to false for prorations or negative line items, and true for all other line items. Cannot be set to true for prorations.",
                          "type": "boolean"
                        },
                        "discounts": {
                          "anyOf": [
                            {
                              "items": {
                                "properties": {
                                  "coupon": {
                                    "description": "ID of the coupon to create a new discount for.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "discount": {
                                    "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "promotion_code": {
                                    "description": "ID of the promotion code to create a new discount for.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "title": "discounts_data_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "coupon"
                                ]
                              },
                              "type": "array"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "The coupons, promotion codes & existing discounts which apply to the line item. Item discounts are applied before invoice discounts. Pass an empty string to remove previously-defined discounts."
                        },
                        "id": {
                          "description": "ID of an existing line item on the invoice.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "metadata": {
                          "anyOf": [
                            {
                              "additionalProperties": {
                                "type": "string"
                              },
                              "type": "object"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. For [type=subscription](https://stripe.com/docs/api/invoices/line_item#invoice_line_item_object-type) line items, the incoming metadata specified on the request is directly used to set this value, in contrast to [type=invoiceitem](api/invoices/line_item#invoice_line_item_object-type) line items, where any existing metadata on the invoice line is merged with the incoming data."
                        },
                        "period": {
                          "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.",
                          "properties": {
                            "end": {
                              "description": "The end of the period, which must be greater than or equal to the start. This value is inclusive.",
                              "format": "unix-time",
                              "type": "integer"
                            },
                            "start": {
                              "description": "The start of the period. This value is inclusive.",
                              "format": "unix-time",
                              "type": "integer"
                            }
                          },
                          "required": [
                            "end",
                            "start"
                          ],
                          "title": "period",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "end",
                            "start"
                          ]
                        },
                        "price": {
                          "description": "The ID of the price object. One of `price` or `price_data` is required.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "price_data": {
                          "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
                          "properties": {
                            "currency": {
                              "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                              "type": "string"
                            },
                            "product": {
                              "description": "The ID of the product that this price will belong to. One of `product` or `product_data` is required.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "product_data": {
                              "description": "Data used to generate a new product object inline. One of `product` or `product_data` is required.",
                              "properties": {
                                "description": {
                                  "description": "The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.",
                                  "maxLength": 40000,
                                  "type": "string"
                                },
                                "images": {
                                  "description": "A list of up to 8 URLs of images for this product, meant to be displayable to the customer.",
                                  "items": {
                                    "type": "string"
                                  },
                                  "type": "array"
                                },
                                "metadata": {
                                  "additionalProperties": {
                                    "type": "string"
                                  },
                                  "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                                  "type": "object"
                                },
                                "name": {
                                  "description": "The product's name, meant to be displayable to the customer.",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "tax_code": {
                                  "description": "A [tax code](https://stripe.com/docs/tax/tax-categories) ID.",
                                  "maxLength": 5000,
                                  "type": "string"
                                }
                              },
                              "required": [
                                "name"
                              ],
                              "title": "product_data",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "description",
                                "images",
                                "metadata",
                                "name",
                                "tax_code"
                              ]
                            },
                            "tax_behavior": {
                              "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                              "enum": [
                                "exclusive",
                                "inclusive",
                                "unspecified"
                              ],
                              "type": "string"
                            },
                            "unit_amount": {
                              "description": "A non-negative integer in cents (or local equivalent) representing how much to charge. One of `unit_amount` or `unit_amount_decimal` is required.",
                              "type": "integer"
                            },
                            "unit_amount_decimal": {
                              "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                              "format": "decimal",
                              "type": "string"
                            }
                          },
                          "required": [
                            "currency"
                          ],
                          "title": "one_time_price_data_with_product_data",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "currency",
                            "product",
                            "unit_amount"
                          ]
                        },
                        "quantity": {
                          "description": "Non-negative integer. The quantity of units for the line item.",
                          "type": "integer"
                        },
                        "tax_amounts": {
                          "anyOf": [
                            {
                              "items": {
                                "properties": {
                                  "amount": {
                                    "description": "The amount, in cents (or local equivalent), of the tax.",
                                    "type": "integer"
                                  },
                                  "tax_rate_data": {
                                    "description": "Data to find or create a TaxRate object.\n\nStripe automatically creates or reuses a TaxRate object for each tax amount. If the `tax_rate_data` exactly matches a previous value, Stripe will reuse the TaxRate object. TaxRate objects created automatically by Stripe are immediately archived, do not appear in the line item’s `tax_rates`, and cannot be directly added to invoices, payments, or line items.",
                                    "properties": {
                                      "country": {
                                        "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                        "maxLength": 5000,
                                        "type": "string"
                                      },
                                      "description": {
                                        "description": "An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers.",
                                        "maxLength": 5000,
                                        "type": "string"
                                      },
                                      "display_name": {
                                        "description": "The display name of the tax rate, which will be shown to users.",
                                        "maxLength": 100,
                                        "type": "string"
                                      },
                                      "inclusive": {
                                        "description": "This specifies if the tax rate is inclusive or exclusive.",
                                        "type": "boolean"
                                      },
                                      "jurisdiction": {
                                        "description": "The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer’s invoice.",
                                        "maxLength": 200,
                                        "type": "string"
                                      },
                                      "percentage": {
                                        "description": "The statutory tax rate percent. This field accepts decimal values between 0 and 100 inclusive with at most 4 decimal places. To accommodate fixed-amount taxes, set the percentage to zero. Stripe will not display zero percentages on the invoice unless the `amount` of the tax is also zero.",
                                        "type": "number"
                                      },
                                      "state": {
                                        "description": "[ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2:US), without country prefix. For example, \"NY\" for New York, United States.",
                                        "maxLength": 2,
                                        "type": "string"
                                      },
                                      "tax_type": {
                                        "description": "The high-level tax type, such as `vat` or `sales_tax`.",
                                        "enum": [
                                          "amusement_tax",
                                          "communications_tax",
                                          "gst",
                                          "hst",
                                          "igst",
                                          "jct",
                                          "lease_tax",
                                          "pst",
                                          "qst",
                                          "retail_delivery_fee",
                                          "rst",
                                          "sales_tax",
                                          "service_tax",
                                          "vat"
                                        ],
                                        "type": "string",
                                        "x-stripeBypassValidation": true
                                      }
                                    },
                                    "required": [
                                      "display_name",
                                      "inclusive",
                                      "percentage"
                                    ],
                                    "title": "tax_rate_data_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "country",
                                      "description",
                                      "display_name",
                                      "inclusive",
                                      "jurisdiction",
                                      "jurisdiction_level",
                                      "percentage",
                                      "state",
                                      "tax_type"
                                    ]
                                  },
                                  "taxable_amount": {
                                    "description": "The amount on which tax is calculated, in cents (or local equivalent).",
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "amount",
                                  "tax_rate_data",
                                  "taxable_amount"
                                ],
                                "title": "tax_amount_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "amount",
                                  "tax_rate_data",
                                  "taxability_reason",
                                  "taxable_amount"
                                ]
                              },
                              "type": "array"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "A list of up to 10 tax amounts for this line item. This can be useful if you calculate taxes on your own or use a third-party to calculate them. You cannot set tax amounts if any line item has [tax_rates](https://stripe.com/docs/api/invoices/line_item#invoice_line_item_object-tax_rates) or if the invoice has [default_tax_rates](https://stripe.com/docs/api/invoices/object#invoice_object-default_tax_rates) or uses [automatic tax](https://stripe.com/docs/tax/invoicing). Pass an empty string to remove previously defined tax amounts."
                        },
                        "tax_rates": {
                          "anyOf": [
                            {
                              "items": {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "type": "array"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "The tax rates which apply to the line item. When set, the `default_tax_rates` on the invoice do not apply to this line item. Pass an empty string to remove previously-defined tax rates."
                        }
                      },
                      "required": [
                        "id"
                      ],
                      "title": "lines_data_param",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "amount",
                        "description",
                        "id",
                        "metadata",
                        "period",
                        "price",
                        "quantity"
                      ]
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "lines"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "invoice_metadata",
                  "lines"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/invoice"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Bulk update invoice line items"
      }
    },
    "/v1/invoices/{invoice}/void": {
      "post": {
        "description": "<p>Mark a finalized invoice as void. This cannot be undone. Voiding an invoice is similar to <a href=\"#delete_invoice\">deletion</a>, however it only applies to finalized invoices and maintains a papertrail where the invoice can still be found.</p>\n\n<p>Consult with local regulations to determine whether and how an invoice might be amended, canceled, or voided in the jurisdiction you’re doing business in. You might need to <a href=\"#create_invoice\">issue another invoice</a> or <a href=\"#create_credit_note\">credit note</a> instead. Stripe recommends that you consult with your legal counsel for advice specific to your business.</p>",
        "operationId": "PostInvoicesInvoiceVoid",
        "parameters": [
          {
            "in": "path",
            "name": "invoice",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/invoice"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Void an invoice"
      }
    },
    "/v1/issuing/authorizations": {
      "get": {
        "description": "<p>Returns a list of Issuing <code>Authorization</code> objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.</p>",
        "operationId": "GetIssuingAuthorizations",
        "parameters": [
          {
            "description": "Only return authorizations that belong to the given card.",
            "in": "query",
            "name": "card",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return authorizations that belong to the given cardholder.",
            "in": "query",
            "name": "cardholder",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return authorizations that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return authorizations with the given status. One of `pending`, `closed`, or `reversed`.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "closed",
                "pending",
                "reversed"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/issuing.authorization"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/issuing/authorizations",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "IssuingAuthorizationList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all authorizations"
      }
    },
    "/v1/issuing/authorizations/{authorization}": {
      "get": {
        "description": "<p>Retrieves an Issuing <code>Authorization</code> object.</p>",
        "operationId": "GetIssuingAuthorizationsAuthorization",
        "parameters": [
          {
            "in": "path",
            "name": "authorization",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.authorization"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve an authorization"
      },
      "post": {
        "description": "<p>Updates the specified Issuing <code>Authorization</code> object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.</p>",
        "operationId": "PostIssuingAuthorizationsAuthorization",
        "parameters": [
          {
            "in": "path",
            "name": "authorization",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.authorization"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update an authorization"
      }
    },
    "/v1/issuing/authorizations/{authorization}/approve": {
      "post": {
        "deprecated": true,
        "description": "<p>[Deprecated] Approves a pending Issuing <code>Authorization</code> object. This request should be made within the timeout window of the <a href=\"/docs/issuing/controls/real-time-authorizations\">real-time authorization</a> flow. \nThis method is deprecated. Instead, <a href=\"/docs/issuing/controls/real-time-authorizations#authorization-handling\">respond directly to the webhook request to approve an authorization</a>.</p>",
        "operationId": "PostIssuingAuthorizationsAuthorizationApprove",
        "parameters": [
          {
            "in": "path",
            "name": "authorization",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "If the authorization's `pending_request.is_amount_controllable` property is `true`, you may provide this value to control how much to hold for the authorization. Must be positive (use [`decline`](https://stripe.com/docs/api/issuing/authorizations/decline) to decline an authorization request).",
                    "type": "integer"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.authorization"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Approve an authorization"
      }
    },
    "/v1/issuing/authorizations/{authorization}/decline": {
      "post": {
        "deprecated": true,
        "description": "<p>[Deprecated] Declines a pending Issuing <code>Authorization</code> object. This request should be made within the timeout window of the <a href=\"/docs/issuing/controls/real-time-authorizations\">real time authorization</a> flow.\nThis method is deprecated. Instead, <a href=\"/docs/issuing/controls/real-time-authorizations#authorization-handling\">respond directly to the webhook request to decline an authorization</a>.</p>",
        "operationId": "PostIssuingAuthorizationsAuthorizationDecline",
        "parameters": [
          {
            "in": "path",
            "name": "authorization",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.authorization"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Decline an authorization"
      }
    },
    "/v1/issuing/cardholders": {
      "get": {
        "description": "<p>Returns a list of Issuing <code>Cardholder</code> objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.</p>",
        "operationId": "GetIssuingCardholders",
        "parameters": [
          {
            "description": "Only return cardholders that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "Only return cardholders that have the given email address.",
            "in": "query",
            "name": "email",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "Only return cardholders that have the given phone number.",
            "in": "query",
            "name": "phone_number",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return cardholders that have the given status. One of `active`, `inactive`, or `blocked`.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "active",
                "blocked",
                "inactive"
              ],
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return cardholders that have the given type. One of `individual` or `company`.",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "enum": [
                "company",
                "individual"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/issuing.cardholder"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/issuing/cardholders",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "IssuingCardholderList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all cardholders"
      },
      "post": {
        "description": "<p>Creates a new Issuing <code>Cardholder</code> object that can be issued cards.</p>",
        "operationId": "PostIssuingCardholders",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "billing": {
                  "explode": true,
                  "style": "deepObject"
                },
                "company": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "individual": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "preferred_locales": {
                  "explode": true,
                  "style": "deepObject"
                },
                "spending_controls": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "billing": {
                    "description": "The cardholder's billing address.",
                    "properties": {
                      "address": {
                        "description": "The cardholder’s billing address.",
                        "properties": {
                          "city": {
                            "description": "City, district, suburb, town, or village.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Address line 1 (e.g., street, PO Box, or company name).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "ZIP or postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "State, county, province, or region.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "city",
                          "country",
                          "line1",
                          "postal_code"
                        ],
                        "title": "required_address",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "line1",
                          "line2",
                          "postal_code",
                          "state"
                        ]
                      }
                    },
                    "required": [
                      "address"
                    ],
                    "title": "billing_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "address"
                    ]
                  },
                  "company": {
                    "description": "Additional information about a `company` cardholder.",
                    "properties": {
                      "tax_id": {
                        "description": "The entity's business ID number.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "company_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "tax_id"
                    ]
                  },
                  "email": {
                    "description": "The cardholder's email address.",
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "individual": {
                    "description": "Additional information about an `individual` cardholder.",
                    "properties": {
                      "card_issuing": {
                        "description": "Information related to the card_issuing program for this cardholder.",
                        "properties": {
                          "user_terms_acceptance": {
                            "description": "Information about cardholder acceptance of Celtic [Authorized User Terms](https://stripe.com/docs/issuing/cards#accept-authorized-user-terms). Required for cards backed by a Celtic program.",
                            "properties": {
                              "date": {
                                "description": "The Unix timestamp marking when the cardholder accepted the Authorized User Terms. Required for Celtic Spend Card users.",
                                "format": "unix-time",
                                "type": "integer"
                              },
                              "ip": {
                                "description": "The IP address from which the cardholder accepted the Authorized User Terms. Required for Celtic Spend Card users.",
                                "type": "string"
                              },
                              "user_agent": {
                                "anyOf": [
                                  {
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "The user agent of the browser from which the cardholder accepted the Authorized User Terms."
                              }
                            },
                            "title": "terms_acceptance_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "date",
                              "ip",
                              "user_agent"
                            ]
                          }
                        },
                        "title": "card_issuing_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "user_terms_acceptance"
                        ]
                      },
                      "dob": {
                        "description": "The date of birth of this cardholder. Cardholders must be older than 13 years old.",
                        "properties": {
                          "day": {
                            "description": "The day of birth, between 1 and 31.",
                            "type": "integer"
                          },
                          "month": {
                            "description": "The month of birth, between 1 and 12.",
                            "type": "integer"
                          },
                          "year": {
                            "description": "The four-digit year of birth.",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "day",
                          "month",
                          "year"
                        ],
                        "title": "date_of_birth_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "day",
                          "month",
                          "year"
                        ]
                      },
                      "first_name": {
                        "description": "The first name of this cardholder. Required before activating Cards. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters.",
                        "type": "string"
                      },
                      "last_name": {
                        "description": "The last name of this cardholder. Required before activating Cards. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters.",
                        "type": "string"
                      },
                      "verification": {
                        "description": "Government-issued ID document for this cardholder.",
                        "properties": {
                          "document": {
                            "description": "An identifying document, either a passport or local ID card.",
                            "properties": {
                              "back": {
                                "description": "The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "front": {
                                "description": "The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "person_verification_document_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "back",
                              "front"
                            ]
                          }
                        },
                        "title": "person_verification_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "document"
                        ]
                      }
                    },
                    "title": "individual_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "card_issuing",
                      "dob",
                      "first_name",
                      "last_name",
                      "user_terms_acceptance",
                      "verification"
                    ]
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "name": {
                    "description": "The cardholder's name. This will be printed on cards issued to them. The maximum length of this field is 24 characters. This field cannot contain any special characters or numbers.",
                    "type": "string"
                  },
                  "phone_number": {
                    "description": "The cardholder's phone number. This will be transformed to [E.164](https://en.wikipedia.org/wiki/E.164) if it is not provided in that format already. This is required for all cardholders who will be creating EU cards. See the [3D Secure documentation](https://stripe.com/docs/issuing/3d-secure#when-is-3d-secure-applied) for more details.",
                    "type": "string"
                  },
                  "preferred_locales": {
                    "description": "The cardholder’s preferred locales (languages), ordered by preference. Locales can be `de`, `en`, `es`, `fr`, or `it`.\n This changes the language of the [3D Secure flow](https://stripe.com/docs/issuing/3d-secure) and one-time password messages sent to the cardholder.",
                    "items": {
                      "enum": [
                        "de",
                        "en",
                        "es",
                        "fr",
                        "it"
                      ],
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "spending_controls": {
                    "description": "Rules that control spending across this cardholder's cards. Refer to our [documentation](https://stripe.com/docs/issuing/controls/spending-controls) for more details.",
                    "properties": {
                      "allowed_categories": {
                        "description": "Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`.",
                        "items": {
                          "enum": [
                            "ac_refrigeration_repair",
                            "accounting_bookkeeping_services",
                            "advertising_services",
                            "agricultural_cooperative",
                            "airlines_air_carriers",
                            "airports_flying_fields",
                            "ambulance_services",
                            "amusement_parks_carnivals",
                            "antique_reproductions",
                            "antique_shops",
                            "aquariums",
                            "architectural_surveying_services",
                            "art_dealers_and_galleries",
                            "artists_supply_and_craft_shops",
                            "auto_and_home_supply_stores",
                            "auto_body_repair_shops",
                            "auto_paint_shops",
                            "auto_service_shops",
                            "automated_cash_disburse",
                            "automated_fuel_dispensers",
                            "automobile_associations",
                            "automotive_parts_and_accessories_stores",
                            "automotive_tire_stores",
                            "bail_and_bond_payments",
                            "bakeries",
                            "bands_orchestras",
                            "barber_and_beauty_shops",
                            "betting_casino_gambling",
                            "bicycle_shops",
                            "billiard_pool_establishments",
                            "boat_dealers",
                            "boat_rentals_and_leases",
                            "book_stores",
                            "books_periodicals_and_newspapers",
                            "bowling_alleys",
                            "bus_lines",
                            "business_secretarial_schools",
                            "buying_shopping_services",
                            "cable_satellite_and_other_pay_television_and_radio",
                            "camera_and_photographic_supply_stores",
                            "candy_nut_and_confectionery_stores",
                            "car_and_truck_dealers_new_used",
                            "car_and_truck_dealers_used_only",
                            "car_rental_agencies",
                            "car_washes",
                            "carpentry_services",
                            "carpet_upholstery_cleaning",
                            "caterers",
                            "charitable_and_social_service_organizations_fundraising",
                            "chemicals_and_allied_products",
                            "child_care_services",
                            "childrens_and_infants_wear_stores",
                            "chiropodists_podiatrists",
                            "chiropractors",
                            "cigar_stores_and_stands",
                            "civic_social_fraternal_associations",
                            "cleaning_and_maintenance",
                            "clothing_rental",
                            "colleges_universities",
                            "commercial_equipment",
                            "commercial_footwear",
                            "commercial_photography_art_and_graphics",
                            "commuter_transport_and_ferries",
                            "computer_network_services",
                            "computer_programming",
                            "computer_repair",
                            "computer_software_stores",
                            "computers_peripherals_and_software",
                            "concrete_work_services",
                            "construction_materials",
                            "consulting_public_relations",
                            "correspondence_schools",
                            "cosmetic_stores",
                            "counseling_services",
                            "country_clubs",
                            "courier_services",
                            "court_costs",
                            "credit_reporting_agencies",
                            "cruise_lines",
                            "dairy_products_stores",
                            "dance_hall_studios_schools",
                            "dating_escort_services",
                            "dentists_orthodontists",
                            "department_stores",
                            "detective_agencies",
                            "digital_goods_applications",
                            "digital_goods_games",
                            "digital_goods_large_volume",
                            "digital_goods_media",
                            "direct_marketing_catalog_merchant",
                            "direct_marketing_combination_catalog_and_retail_merchant",
                            "direct_marketing_inbound_telemarketing",
                            "direct_marketing_insurance_services",
                            "direct_marketing_other",
                            "direct_marketing_outbound_telemarketing",
                            "direct_marketing_subscription",
                            "direct_marketing_travel",
                            "discount_stores",
                            "doctors",
                            "door_to_door_sales",
                            "drapery_window_covering_and_upholstery_stores",
                            "drinking_places",
                            "drug_stores_and_pharmacies",
                            "drugs_drug_proprietaries_and_druggist_sundries",
                            "dry_cleaners",
                            "durable_goods",
                            "duty_free_stores",
                            "eating_places_restaurants",
                            "educational_services",
                            "electric_razor_stores",
                            "electric_vehicle_charging",
                            "electrical_parts_and_equipment",
                            "electrical_services",
                            "electronics_repair_shops",
                            "electronics_stores",
                            "elementary_secondary_schools",
                            "emergency_services_gcas_visa_use_only",
                            "employment_temp_agencies",
                            "equipment_rental",
                            "exterminating_services",
                            "family_clothing_stores",
                            "fast_food_restaurants",
                            "financial_institutions",
                            "fines_government_administrative_entities",
                            "fireplace_fireplace_screens_and_accessories_stores",
                            "floor_covering_stores",
                            "florists",
                            "florists_supplies_nursery_stock_and_flowers",
                            "freezer_and_locker_meat_provisioners",
                            "fuel_dealers_non_automotive",
                            "funeral_services_crematories",
                            "furniture_home_furnishings_and_equipment_stores_except_appliances",
                            "furniture_repair_refinishing",
                            "furriers_and_fur_shops",
                            "general_services",
                            "gift_card_novelty_and_souvenir_shops",
                            "glass_paint_and_wallpaper_stores",
                            "glassware_crystal_stores",
                            "golf_courses_public",
                            "government_licensed_horse_dog_racing_us_region_only",
                            "government_licensed_online_casions_online_gambling_us_region_only",
                            "government_owned_lotteries_non_us_region",
                            "government_owned_lotteries_us_region_only",
                            "government_services",
                            "grocery_stores_supermarkets",
                            "hardware_equipment_and_supplies",
                            "hardware_stores",
                            "health_and_beauty_spas",
                            "hearing_aids_sales_and_supplies",
                            "heating_plumbing_a_c",
                            "hobby_toy_and_game_shops",
                            "home_supply_warehouse_stores",
                            "hospitals",
                            "hotels_motels_and_resorts",
                            "household_appliance_stores",
                            "industrial_supplies",
                            "information_retrieval_services",
                            "insurance_default",
                            "insurance_underwriting_premiums",
                            "intra_company_purchases",
                            "jewelry_stores_watches_clocks_and_silverware_stores",
                            "landscaping_services",
                            "laundries",
                            "laundry_cleaning_services",
                            "legal_services_attorneys",
                            "luggage_and_leather_goods_stores",
                            "lumber_building_materials_stores",
                            "manual_cash_disburse",
                            "marinas_service_and_supplies",
                            "marketplaces",
                            "masonry_stonework_and_plaster",
                            "massage_parlors",
                            "medical_and_dental_labs",
                            "medical_dental_ophthalmic_and_hospital_equipment_and_supplies",
                            "medical_services",
                            "membership_organizations",
                            "mens_and_boys_clothing_and_accessories_stores",
                            "mens_womens_clothing_stores",
                            "metal_service_centers",
                            "miscellaneous",
                            "miscellaneous_apparel_and_accessory_shops",
                            "miscellaneous_auto_dealers",
                            "miscellaneous_business_services",
                            "miscellaneous_food_stores",
                            "miscellaneous_general_merchandise",
                            "miscellaneous_general_services",
                            "miscellaneous_home_furnishing_specialty_stores",
                            "miscellaneous_publishing_and_printing",
                            "miscellaneous_recreation_services",
                            "miscellaneous_repair_shops",
                            "miscellaneous_specialty_retail",
                            "mobile_home_dealers",
                            "motion_picture_theaters",
                            "motor_freight_carriers_and_trucking",
                            "motor_homes_dealers",
                            "motor_vehicle_supplies_and_new_parts",
                            "motorcycle_shops_and_dealers",
                            "motorcycle_shops_dealers",
                            "music_stores_musical_instruments_pianos_and_sheet_music",
                            "news_dealers_and_newsstands",
                            "non_fi_money_orders",
                            "non_fi_stored_value_card_purchase_load",
                            "nondurable_goods",
                            "nurseries_lawn_and_garden_supply_stores",
                            "nursing_personal_care",
                            "office_and_commercial_furniture",
                            "opticians_eyeglasses",
                            "optometrists_ophthalmologist",
                            "orthopedic_goods_prosthetic_devices",
                            "osteopaths",
                            "package_stores_beer_wine_and_liquor",
                            "paints_varnishes_and_supplies",
                            "parking_lots_garages",
                            "passenger_railways",
                            "pawn_shops",
                            "pet_shops_pet_food_and_supplies",
                            "petroleum_and_petroleum_products",
                            "photo_developing",
                            "photographic_photocopy_microfilm_equipment_and_supplies",
                            "photographic_studios",
                            "picture_video_production",
                            "piece_goods_notions_and_other_dry_goods",
                            "plumbing_heating_equipment_and_supplies",
                            "political_organizations",
                            "postal_services_government_only",
                            "precious_stones_and_metals_watches_and_jewelry",
                            "professional_services",
                            "public_warehousing_and_storage",
                            "quick_copy_repro_and_blueprint",
                            "railroads",
                            "real_estate_agents_and_managers_rentals",
                            "record_stores",
                            "recreational_vehicle_rentals",
                            "religious_goods_stores",
                            "religious_organizations",
                            "roofing_siding_sheet_metal",
                            "secretarial_support_services",
                            "security_brokers_dealers",
                            "service_stations",
                            "sewing_needlework_fabric_and_piece_goods_stores",
                            "shoe_repair_hat_cleaning",
                            "shoe_stores",
                            "small_appliance_repair",
                            "snowmobile_dealers",
                            "special_trade_services",
                            "specialty_cleaning",
                            "sporting_goods_stores",
                            "sporting_recreation_camps",
                            "sports_and_riding_apparel_stores",
                            "sports_clubs_fields",
                            "stamp_and_coin_stores",
                            "stationary_office_supplies_printing_and_writing_paper",
                            "stationery_stores_office_and_school_supply_stores",
                            "swimming_pools_sales",
                            "t_ui_travel_germany",
                            "tailors_alterations",
                            "tax_payments_government_agencies",
                            "tax_preparation_services",
                            "taxicabs_limousines",
                            "telecommunication_equipment_and_telephone_sales",
                            "telecommunication_services",
                            "telegraph_services",
                            "tent_and_awning_shops",
                            "testing_laboratories",
                            "theatrical_ticket_agencies",
                            "timeshares",
                            "tire_retreading_and_repair",
                            "tolls_bridge_fees",
                            "tourist_attractions_and_exhibits",
                            "towing_services",
                            "trailer_parks_campgrounds",
                            "transportation_services",
                            "travel_agencies_tour_operators",
                            "truck_stop_iteration",
                            "truck_utility_trailer_rentals",
                            "typesetting_plate_making_and_related_services",
                            "typewriter_stores",
                            "u_s_federal_government_agencies_or_departments",
                            "uniforms_commercial_clothing",
                            "used_merchandise_and_secondhand_stores",
                            "utilities",
                            "variety_stores",
                            "veterinary_services",
                            "video_amusement_game_supplies",
                            "video_game_arcades",
                            "video_tape_rental_stores",
                            "vocational_trade_schools",
                            "watch_jewelry_repair",
                            "welding_repair",
                            "wholesale_clubs",
                            "wig_and_toupee_stores",
                            "wires_money_orders",
                            "womens_accessory_and_specialty_shops",
                            "womens_ready_to_wear_stores",
                            "wrecking_and_salvage_yards"
                          ],
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "allowed_merchant_countries": {
                        "description": "Array of strings containing representing countries from which authorizations will be allowed. Authorizations from merchants in all other countries will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `blocked_merchant_countries`. Provide an empty value to unset this control.",
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "blocked_categories": {
                        "description": "Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`.",
                        "items": {
                          "enum": [
                            "ac_refrigeration_repair",
                            "accounting_bookkeeping_services",
                            "advertising_services",
                            "agricultural_cooperative",
                            "airlines_air_carriers",
                            "airports_flying_fields",
                            "ambulance_services",
                            "amusement_parks_carnivals",
                            "antique_reproductions",
                            "antique_shops",
                            "aquariums",
                            "architectural_surveying_services",
                            "art_dealers_and_galleries",
                            "artists_supply_and_craft_shops",
                            "auto_and_home_supply_stores",
                            "auto_body_repair_shops",
                            "auto_paint_shops",
                            "auto_service_shops",
                            "automated_cash_disburse",
                            "automated_fuel_dispensers",
                            "automobile_associations",
                            "automotive_parts_and_accessories_stores",
                            "automotive_tire_stores",
                            "bail_and_bond_payments",
                            "bakeries",
                            "bands_orchestras",
                            "barber_and_beauty_shops",
                            "betting_casino_gambling",
                            "bicycle_shops",
                            "billiard_pool_establishments",
                            "boat_dealers",
                            "boat_rentals_and_leases",
                            "book_stores",
                            "books_periodicals_and_newspapers",
                            "bowling_alleys",
                            "bus_lines",
                            "business_secretarial_schools",
                            "buying_shopping_services",
                            "cable_satellite_and_other_pay_television_and_radio",
                            "camera_and_photographic_supply_stores",
                            "candy_nut_and_confectionery_stores",
                            "car_and_truck_dealers_new_used",
                            "car_and_truck_dealers_used_only",
                            "car_rental_agencies",
                            "car_washes",
                            "carpentry_services",
                            "carpet_upholstery_cleaning",
                            "caterers",
                            "charitable_and_social_service_organizations_fundraising",
                            "chemicals_and_allied_products",
                            "child_care_services",
                            "childrens_and_infants_wear_stores",
                            "chiropodists_podiatrists",
                            "chiropractors",
                            "cigar_stores_and_stands",
                            "civic_social_fraternal_associations",
                            "cleaning_and_maintenance",
                            "clothing_rental",
                            "colleges_universities",
                            "commercial_equipment",
                            "commercial_footwear",
                            "commercial_photography_art_and_graphics",
                            "commuter_transport_and_ferries",
                            "computer_network_services",
                            "computer_programming",
                            "computer_repair",
                            "computer_software_stores",
                            "computers_peripherals_and_software",
                            "concrete_work_services",
                            "construction_materials",
                            "consulting_public_relations",
                            "correspondence_schools",
                            "cosmetic_stores",
                            "counseling_services",
                            "country_clubs",
                            "courier_services",
                            "court_costs",
                            "credit_reporting_agencies",
                            "cruise_lines",
                            "dairy_products_stores",
                            "dance_hall_studios_schools",
                            "dating_escort_services",
                            "dentists_orthodontists",
                            "department_stores",
                            "detective_agencies",
                            "digital_goods_applications",
                            "digital_goods_games",
                            "digital_goods_large_volume",
                            "digital_goods_media",
                            "direct_marketing_catalog_merchant",
                            "direct_marketing_combination_catalog_and_retail_merchant",
                            "direct_marketing_inbound_telemarketing",
                            "direct_marketing_insurance_services",
                            "direct_marketing_other",
                            "direct_marketing_outbound_telemarketing",
                            "direct_marketing_subscription",
                            "direct_marketing_travel",
                            "discount_stores",
                            "doctors",
                            "door_to_door_sales",
                            "drapery_window_covering_and_upholstery_stores",
                            "drinking_places",
                            "drug_stores_and_pharmacies",
                            "drugs_drug_proprietaries_and_druggist_sundries",
                            "dry_cleaners",
                            "durable_goods",
                            "duty_free_stores",
                            "eating_places_restaurants",
                            "educational_services",
                            "electric_razor_stores",
                            "electric_vehicle_charging",
                            "electrical_parts_and_equipment",
                            "electrical_services",
                            "electronics_repair_shops",
                            "electronics_stores",
                            "elementary_secondary_schools",
                            "emergency_services_gcas_visa_use_only",
                            "employment_temp_agencies",
                            "equipment_rental",
                            "exterminating_services",
                            "family_clothing_stores",
                            "fast_food_restaurants",
                            "financial_institutions",
                            "fines_government_administrative_entities",
                            "fireplace_fireplace_screens_and_accessories_stores",
                            "floor_covering_stores",
                            "florists",
                            "florists_supplies_nursery_stock_and_flowers",
                            "freezer_and_locker_meat_provisioners",
                            "fuel_dealers_non_automotive",
                            "funeral_services_crematories",
                            "furniture_home_furnishings_and_equipment_stores_except_appliances",
                            "furniture_repair_refinishing",
                            "furriers_and_fur_shops",
                            "general_services",
                            "gift_card_novelty_and_souvenir_shops",
                            "glass_paint_and_wallpaper_stores",
                            "glassware_crystal_stores",
                            "golf_courses_public",
                            "government_licensed_horse_dog_racing_us_region_only",
                            "government_licensed_online_casions_online_gambling_us_region_only",
                            "government_owned_lotteries_non_us_region",
                            "government_owned_lotteries_us_region_only",
                            "government_services",
                            "grocery_stores_supermarkets",
                            "hardware_equipment_and_supplies",
                            "hardware_stores",
                            "health_and_beauty_spas",
                            "hearing_aids_sales_and_supplies",
                            "heating_plumbing_a_c",
                            "hobby_toy_and_game_shops",
                            "home_supply_warehouse_stores",
                            "hospitals",
                            "hotels_motels_and_resorts",
                            "household_appliance_stores",
                            "industrial_supplies",
                            "information_retrieval_services",
                            "insurance_default",
                            "insurance_underwriting_premiums",
                            "intra_company_purchases",
                            "jewelry_stores_watches_clocks_and_silverware_stores",
                            "landscaping_services",
                            "laundries",
                            "laundry_cleaning_services",
                            "legal_services_attorneys",
                            "luggage_and_leather_goods_stores",
                            "lumber_building_materials_stores",
                            "manual_cash_disburse",
                            "marinas_service_and_supplies",
                            "marketplaces",
                            "masonry_stonework_and_plaster",
                            "massage_parlors",
                            "medical_and_dental_labs",
                            "medical_dental_ophthalmic_and_hospital_equipment_and_supplies",
                            "medical_services",
                            "membership_organizations",
                            "mens_and_boys_clothing_and_accessories_stores",
                            "mens_womens_clothing_stores",
                            "metal_service_centers",
                            "miscellaneous",
                            "miscellaneous_apparel_and_accessory_shops",
                            "miscellaneous_auto_dealers",
                            "miscellaneous_business_services",
                            "miscellaneous_food_stores",
                            "miscellaneous_general_merchandise",
                            "miscellaneous_general_services",
                            "miscellaneous_home_furnishing_specialty_stores",
                            "miscellaneous_publishing_and_printing",
                            "miscellaneous_recreation_services",
                            "miscellaneous_repair_shops",
                            "miscellaneous_specialty_retail",
                            "mobile_home_dealers",
                            "motion_picture_theaters",
                            "motor_freight_carriers_and_trucking",
                            "motor_homes_dealers",
                            "motor_vehicle_supplies_and_new_parts",
                            "motorcycle_shops_and_dealers",
                            "motorcycle_shops_dealers",
                            "music_stores_musical_instruments_pianos_and_sheet_music",
                            "news_dealers_and_newsstands",
                            "non_fi_money_orders",
                            "non_fi_stored_value_card_purchase_load",
                            "nondurable_goods",
                            "nurseries_lawn_and_garden_supply_stores",
                            "nursing_personal_care",
                            "office_and_commercial_furniture",
                            "opticians_eyeglasses",
                            "optometrists_ophthalmologist",
                            "orthopedic_goods_prosthetic_devices",
                            "osteopaths",
                            "package_stores_beer_wine_and_liquor",
                            "paints_varnishes_and_supplies",
                            "parking_lots_garages",
                            "passenger_railways",
                            "pawn_shops",
                            "pet_shops_pet_food_and_supplies",
                            "petroleum_and_petroleum_products",
                            "photo_developing",
                            "photographic_photocopy_microfilm_equipment_and_supplies",
                            "photographic_studios",
                            "picture_video_production",
                            "piece_goods_notions_and_other_dry_goods",
                            "plumbing_heating_equipment_and_supplies",
                            "political_organizations",
                            "postal_services_government_only",
                            "precious_stones_and_metals_watches_and_jewelry",
                            "professional_services",
                            "public_warehousing_and_storage",
                            "quick_copy_repro_and_blueprint",
                            "railroads",
                            "real_estate_agents_and_managers_rentals",
                            "record_stores",
                            "recreational_vehicle_rentals",
                            "religious_goods_stores",
                            "religious_organizations",
                            "roofing_siding_sheet_metal",
                            "secretarial_support_services",
                            "security_brokers_dealers",
                            "service_stations",
                            "sewing_needlework_fabric_and_piece_goods_stores",
                            "shoe_repair_hat_cleaning",
                            "shoe_stores",
                            "small_appliance_repair",
                            "snowmobile_dealers",
                            "special_trade_services",
                            "specialty_cleaning",
                            "sporting_goods_stores",
                            "sporting_recreation_camps",
                            "sports_and_riding_apparel_stores",
                            "sports_clubs_fields",
                            "stamp_and_coin_stores",
                            "stationary_office_supplies_printing_and_writing_paper",
                            "stationery_stores_office_and_school_supply_stores",
                            "swimming_pools_sales",
                            "t_ui_travel_germany",
                            "tailors_alterations",
                            "tax_payments_government_agencies",
                            "tax_preparation_services",
                            "taxicabs_limousines",
                            "telecommunication_equipment_and_telephone_sales",
                            "telecommunication_services",
                            "telegraph_services",
                            "tent_and_awning_shops",
                            "testing_laboratories",
                            "theatrical_ticket_agencies",
                            "timeshares",
                            "tire_retreading_and_repair",
                            "tolls_bridge_fees",
                            "tourist_attractions_and_exhibits",
                            "towing_services",
                            "trailer_parks_campgrounds",
                            "transportation_services",
                            "travel_agencies_tour_operators",
                            "truck_stop_iteration",
                            "truck_utility_trailer_rentals",
                            "typesetting_plate_making_and_related_services",
                            "typewriter_stores",
                            "u_s_federal_government_agencies_or_departments",
                            "uniforms_commercial_clothing",
                            "used_merchandise_and_secondhand_stores",
                            "utilities",
                            "variety_stores",
                            "veterinary_services",
                            "video_amusement_game_supplies",
                            "video_game_arcades",
                            "video_tape_rental_stores",
                            "vocational_trade_schools",
                            "watch_jewelry_repair",
                            "welding_repair",
                            "wholesale_clubs",
                            "wig_and_toupee_stores",
                            "wires_money_orders",
                            "womens_accessory_and_specialty_shops",
                            "womens_ready_to_wear_stores",
                            "wrecking_and_salvage_yards"
                          ],
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "blocked_merchant_countries": {
                        "description": "Array of strings containing representing countries from which authorizations will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `allowed_merchant_countries`. Provide an empty value to unset this control.",
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "spending_limits": {
                        "description": "Limit spending with amount-based rules that apply across this cardholder's cards.",
                        "items": {
                          "properties": {
                            "amount": {
                              "description": "Maximum amount allowed to spend per interval.",
                              "type": "integer"
                            },
                            "categories": {
                              "description": "Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories.",
                              "items": {
                                "enum": [
                                  "ac_refrigeration_repair",
                                  "accounting_bookkeeping_services",
                                  "advertising_services",
                                  "agricultural_cooperative",
                                  "airlines_air_carriers",
                                  "airports_flying_fields",
                                  "ambulance_services",
                                  "amusement_parks_carnivals",
                                  "antique_reproductions",
                                  "antique_shops",
                                  "aquariums",
                                  "architectural_surveying_services",
                                  "art_dealers_and_galleries",
                                  "artists_supply_and_craft_shops",
                                  "auto_and_home_supply_stores",
                                  "auto_body_repair_shops",
                                  "auto_paint_shops",
                                  "auto_service_shops",
                                  "automated_cash_disburse",
                                  "automated_fuel_dispensers",
                                  "automobile_associations",
                                  "automotive_parts_and_accessories_stores",
                                  "automotive_tire_stores",
                                  "bail_and_bond_payments",
                                  "bakeries",
                                  "bands_orchestras",
                                  "barber_and_beauty_shops",
                                  "betting_casino_gambling",
                                  "bicycle_shops",
                                  "billiard_pool_establishments",
                                  "boat_dealers",
                                  "boat_rentals_and_leases",
                                  "book_stores",
                                  "books_periodicals_and_newspapers",
                                  "bowling_alleys",
                                  "bus_lines",
                                  "business_secretarial_schools",
                                  "buying_shopping_services",
                                  "cable_satellite_and_other_pay_television_and_radio",
                                  "camera_and_photographic_supply_stores",
                                  "candy_nut_and_confectionery_stores",
                                  "car_and_truck_dealers_new_used",
                                  "car_and_truck_dealers_used_only",
                                  "car_rental_agencies",
                                  "car_washes",
                                  "carpentry_services",
                                  "carpet_upholstery_cleaning",
                                  "caterers",
                                  "charitable_and_social_service_organizations_fundraising",
                                  "chemicals_and_allied_products",
                                  "child_care_services",
                                  "childrens_and_infants_wear_stores",
                                  "chiropodists_podiatrists",
                                  "chiropractors",
                                  "cigar_stores_and_stands",
                                  "civic_social_fraternal_associations",
                                  "cleaning_and_maintenance",
                                  "clothing_rental",
                                  "colleges_universities",
                                  "commercial_equipment",
                                  "commercial_footwear",
                                  "commercial_photography_art_and_graphics",
                                  "commuter_transport_and_ferries",
                                  "computer_network_services",
                                  "computer_programming",
                                  "computer_repair",
                                  "computer_software_stores",
                                  "computers_peripherals_and_software",
                                  "concrete_work_services",
                                  "construction_materials",
                                  "consulting_public_relations",
                                  "correspondence_schools",
                                  "cosmetic_stores",
                                  "counseling_services",
                                  "country_clubs",
                                  "courier_services",
                                  "court_costs",
                                  "credit_reporting_agencies",
                                  "cruise_lines",
                                  "dairy_products_stores",
                                  "dance_hall_studios_schools",
                                  "dating_escort_services",
                                  "dentists_orthodontists",
                                  "department_stores",
                                  "detective_agencies",
                                  "digital_goods_applications",
                                  "digital_goods_games",
                                  "digital_goods_large_volume",
                                  "digital_goods_media",
                                  "direct_marketing_catalog_merchant",
                                  "direct_marketing_combination_catalog_and_retail_merchant",
                                  "direct_marketing_inbound_telemarketing",
                                  "direct_marketing_insurance_services",
                                  "direct_marketing_other",
                                  "direct_marketing_outbound_telemarketing",
                                  "direct_marketing_subscription",
                                  "direct_marketing_travel",
                                  "discount_stores",
                                  "doctors",
                                  "door_to_door_sales",
                                  "drapery_window_covering_and_upholstery_stores",
                                  "drinking_places",
                                  "drug_stores_and_pharmacies",
                                  "drugs_drug_proprietaries_and_druggist_sundries",
                                  "dry_cleaners",
                                  "durable_goods",
                                  "duty_free_stores",
                                  "eating_places_restaurants",
                                  "educational_services",
                                  "electric_razor_stores",
                                  "electric_vehicle_charging",
                                  "electrical_parts_and_equipment",
                                  "electrical_services",
                                  "electronics_repair_shops",
                                  "electronics_stores",
                                  "elementary_secondary_schools",
                                  "emergency_services_gcas_visa_use_only",
                                  "employment_temp_agencies",
                                  "equipment_rental",
                                  "exterminating_services",
                                  "family_clothing_stores",
                                  "fast_food_restaurants",
                                  "financial_institutions",
                                  "fines_government_administrative_entities",
                                  "fireplace_fireplace_screens_and_accessories_stores",
                                  "floor_covering_stores",
                                  "florists",
                                  "florists_supplies_nursery_stock_and_flowers",
                                  "freezer_and_locker_meat_provisioners",
                                  "fuel_dealers_non_automotive",
                                  "funeral_services_crematories",
                                  "furniture_home_furnishings_and_equipment_stores_except_appliances",
                                  "furniture_repair_refinishing",
                                  "furriers_and_fur_shops",
                                  "general_services",
                                  "gift_card_novelty_and_souvenir_shops",
                                  "glass_paint_and_wallpaper_stores",
                                  "glassware_crystal_stores",
                                  "golf_courses_public",
                                  "government_licensed_horse_dog_racing_us_region_only",
                                  "government_licensed_online_casions_online_gambling_us_region_only",
                                  "government_owned_lotteries_non_us_region",
                                  "government_owned_lotteries_us_region_only",
                                  "government_services",
                                  "grocery_stores_supermarkets",
                                  "hardware_equipment_and_supplies",
                                  "hardware_stores",
                                  "health_and_beauty_spas",
                                  "hearing_aids_sales_and_supplies",
                                  "heating_plumbing_a_c",
                                  "hobby_toy_and_game_shops",
                                  "home_supply_warehouse_stores",
                                  "hospitals",
                                  "hotels_motels_and_resorts",
                                  "household_appliance_stores",
                                  "industrial_supplies",
                                  "information_retrieval_services",
                                  "insurance_default",
                                  "insurance_underwriting_premiums",
                                  "intra_company_purchases",
                                  "jewelry_stores_watches_clocks_and_silverware_stores",
                                  "landscaping_services",
                                  "laundries",
                                  "laundry_cleaning_services",
                                  "legal_services_attorneys",
                                  "luggage_and_leather_goods_stores",
                                  "lumber_building_materials_stores",
                                  "manual_cash_disburse",
                                  "marinas_service_and_supplies",
                                  "marketplaces",
                                  "masonry_stonework_and_plaster",
                                  "massage_parlors",
                                  "medical_and_dental_labs",
                                  "medical_dental_ophthalmic_and_hospital_equipment_and_supplies",
                                  "medical_services",
                                  "membership_organizations",
                                  "mens_and_boys_clothing_and_accessories_stores",
                                  "mens_womens_clothing_stores",
                                  "metal_service_centers",
                                  "miscellaneous",
                                  "miscellaneous_apparel_and_accessory_shops",
                                  "miscellaneous_auto_dealers",
                                  "miscellaneous_business_services",
                                  "miscellaneous_food_stores",
                                  "miscellaneous_general_merchandise",
                                  "miscellaneous_general_services",
                                  "miscellaneous_home_furnishing_specialty_stores",
                                  "miscellaneous_publishing_and_printing",
                                  "miscellaneous_recreation_services",
                                  "miscellaneous_repair_shops",
                                  "miscellaneous_specialty_retail",
                                  "mobile_home_dealers",
                                  "motion_picture_theaters",
                                  "motor_freight_carriers_and_trucking",
                                  "motor_homes_dealers",
                                  "motor_vehicle_supplies_and_new_parts",
                                  "motorcycle_shops_and_dealers",
                                  "motorcycle_shops_dealers",
                                  "music_stores_musical_instruments_pianos_and_sheet_music",
                                  "news_dealers_and_newsstands",
                                  "non_fi_money_orders",
                                  "non_fi_stored_value_card_purchase_load",
                                  "nondurable_goods",
                                  "nurseries_lawn_and_garden_supply_stores",
                                  "nursing_personal_care",
                                  "office_and_commercial_furniture",
                                  "opticians_eyeglasses",
                                  "optometrists_ophthalmologist",
                                  "orthopedic_goods_prosthetic_devices",
                                  "osteopaths",
                                  "package_stores_beer_wine_and_liquor",
                                  "paints_varnishes_and_supplies",
                                  "parking_lots_garages",
                                  "passenger_railways",
                                  "pawn_shops",
                                  "pet_shops_pet_food_and_supplies",
                                  "petroleum_and_petroleum_products",
                                  "photo_developing",
                                  "photographic_photocopy_microfilm_equipment_and_supplies",
                                  "photographic_studios",
                                  "picture_video_production",
                                  "piece_goods_notions_and_other_dry_goods",
                                  "plumbing_heating_equipment_and_supplies",
                                  "political_organizations",
                                  "postal_services_government_only",
                                  "precious_stones_and_metals_watches_and_jewelry",
                                  "professional_services",
                                  "public_warehousing_and_storage",
                                  "quick_copy_repro_and_blueprint",
                                  "railroads",
                                  "real_estate_agents_and_managers_rentals",
                                  "record_stores",
                                  "recreational_vehicle_rentals",
                                  "religious_goods_stores",
                                  "religious_organizations",
                                  "roofing_siding_sheet_metal",
                                  "secretarial_support_services",
                                  "security_brokers_dealers",
                                  "service_stations",
                                  "sewing_needlework_fabric_and_piece_goods_stores",
                                  "shoe_repair_hat_cleaning",
                                  "shoe_stores",
                                  "small_appliance_repair",
                                  "snowmobile_dealers",
                                  "special_trade_services",
                                  "specialty_cleaning",
                                  "sporting_goods_stores",
                                  "sporting_recreation_camps",
                                  "sports_and_riding_apparel_stores",
                                  "sports_clubs_fields",
                                  "stamp_and_coin_stores",
                                  "stationary_office_supplies_printing_and_writing_paper",
                                  "stationery_stores_office_and_school_supply_stores",
                                  "swimming_pools_sales",
                                  "t_ui_travel_germany",
                                  "tailors_alterations",
                                  "tax_payments_government_agencies",
                                  "tax_preparation_services",
                                  "taxicabs_limousines",
                                  "telecommunication_equipment_and_telephone_sales",
                                  "telecommunication_services",
                                  "telegraph_services",
                                  "tent_and_awning_shops",
                                  "testing_laboratories",
                                  "theatrical_ticket_agencies",
                                  "timeshares",
                                  "tire_retreading_and_repair",
                                  "tolls_bridge_fees",
                                  "tourist_attractions_and_exhibits",
                                  "towing_services",
                                  "trailer_parks_campgrounds",
                                  "transportation_services",
                                  "travel_agencies_tour_operators",
                                  "truck_stop_iteration",
                                  "truck_utility_trailer_rentals",
                                  "typesetting_plate_making_and_related_services",
                                  "typewriter_stores",
                                  "u_s_federal_government_agencies_or_departments",
                                  "uniforms_commercial_clothing",
                                  "used_merchandise_and_secondhand_stores",
                                  "utilities",
                                  "variety_stores",
                                  "veterinary_services",
                                  "video_amusement_game_supplies",
                                  "video_game_arcades",
                                  "video_tape_rental_stores",
                                  "vocational_trade_schools",
                                  "watch_jewelry_repair",
                                  "welding_repair",
                                  "wholesale_clubs",
                                  "wig_and_toupee_stores",
                                  "wires_money_orders",
                                  "womens_accessory_and_specialty_shops",
                                  "womens_ready_to_wear_stores",
                                  "wrecking_and_salvage_yards"
                                ],
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "interval": {
                              "description": "Interval (or event) to which the amount applies.",
                              "enum": [
                                "all_time",
                                "daily",
                                "monthly",
                                "per_authorization",
                                "weekly",
                                "yearly"
                              ],
                              "type": "string"
                            }
                          },
                          "required": [
                            "amount",
                            "interval"
                          ],
                          "title": "spending_limits_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "amount",
                            "categories",
                            "interval"
                          ]
                        },
                        "type": "array"
                      },
                      "spending_limits_currency": {
                        "description": "Currency of amounts within `spending_limits`. Defaults to your merchant country's currency.",
                        "type": "string"
                      }
                    },
                    "title": "authorization_controls_param_v2",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "allowed_categories",
                      "allowed_merchant_countries",
                      "allowed_merchant_network_ids",
                      "blocked_categories",
                      "blocked_merchant_countries",
                      "blocked_merchant_network_ids",
                      "spending_limits",
                      "spending_limits_currency"
                    ]
                  },
                  "status": {
                    "description": "Specifies whether to permit authorizations on this cardholder's cards. Defaults to `active`.",
                    "enum": [
                      "active",
                      "inactive"
                    ],
                    "type": "string"
                  },
                  "type": {
                    "description": "One of `individual` or `company`. See [Choose a cardholder type](https://stripe.com/docs/issuing/other/choose-cardholder) for more details.",
                    "enum": [
                      "company",
                      "individual"
                    ],
                    "type": "string",
                    "x-stripeBypassValidation": true
                  }
                },
                "required": [
                  "billing",
                  "name"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "billing",
                  "email",
                  "metadata",
                  "name",
                  "phone_number"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.cardholder"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a cardholder"
      }
    },
    "/v1/issuing/cardholders/{cardholder}": {
      "get": {
        "description": "<p>Retrieves an Issuing <code>Cardholder</code> object.</p>",
        "operationId": "GetIssuingCardholdersCardholder",
        "parameters": [
          {
            "in": "path",
            "name": "cardholder",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.cardholder"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a cardholder"
      },
      "post": {
        "description": "<p>Updates the specified Issuing <code>Cardholder</code> object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.</p>",
        "operationId": "PostIssuingCardholdersCardholder",
        "parameters": [
          {
            "in": "path",
            "name": "cardholder",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "billing": {
                  "explode": true,
                  "style": "deepObject"
                },
                "company": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "individual": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "preferred_locales": {
                  "explode": true,
                  "style": "deepObject"
                },
                "spending_controls": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "billing": {
                    "description": "The cardholder's billing address.",
                    "properties": {
                      "address": {
                        "description": "The cardholder’s billing address.",
                        "properties": {
                          "city": {
                            "description": "City, district, suburb, town, or village.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Address line 1 (e.g., street, PO Box, or company name).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "ZIP or postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "State, county, province, or region.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "city",
                          "country",
                          "line1",
                          "postal_code"
                        ],
                        "title": "required_address",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "line1",
                          "line2",
                          "postal_code",
                          "state"
                        ]
                      }
                    },
                    "required": [
                      "address"
                    ],
                    "title": "billing_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "address"
                    ]
                  },
                  "company": {
                    "description": "Additional information about a `company` cardholder.",
                    "properties": {
                      "tax_id": {
                        "description": "The entity's business ID number.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "company_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "tax_id"
                    ]
                  },
                  "email": {
                    "description": "The cardholder's email address.",
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "individual": {
                    "description": "Additional information about an `individual` cardholder.",
                    "properties": {
                      "card_issuing": {
                        "description": "Information related to the card_issuing program for this cardholder.",
                        "properties": {
                          "user_terms_acceptance": {
                            "description": "Information about cardholder acceptance of Celtic [Authorized User Terms](https://stripe.com/docs/issuing/cards#accept-authorized-user-terms). Required for cards backed by a Celtic program.",
                            "properties": {
                              "date": {
                                "description": "The Unix timestamp marking when the cardholder accepted the Authorized User Terms. Required for Celtic Spend Card users.",
                                "format": "unix-time",
                                "type": "integer"
                              },
                              "ip": {
                                "description": "The IP address from which the cardholder accepted the Authorized User Terms. Required for Celtic Spend Card users.",
                                "type": "string"
                              },
                              "user_agent": {
                                "anyOf": [
                                  {
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "The user agent of the browser from which the cardholder accepted the Authorized User Terms."
                              }
                            },
                            "title": "terms_acceptance_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "date",
                              "ip",
                              "user_agent"
                            ]
                          }
                        },
                        "title": "card_issuing_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "user_terms_acceptance"
                        ]
                      },
                      "dob": {
                        "description": "The date of birth of this cardholder. Cardholders must be older than 13 years old.",
                        "properties": {
                          "day": {
                            "description": "The day of birth, between 1 and 31.",
                            "type": "integer"
                          },
                          "month": {
                            "description": "The month of birth, between 1 and 12.",
                            "type": "integer"
                          },
                          "year": {
                            "description": "The four-digit year of birth.",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "day",
                          "month",
                          "year"
                        ],
                        "title": "date_of_birth_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "day",
                          "month",
                          "year"
                        ]
                      },
                      "first_name": {
                        "description": "The first name of this cardholder. Required before activating Cards. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters.",
                        "type": "string"
                      },
                      "last_name": {
                        "description": "The last name of this cardholder. Required before activating Cards. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters.",
                        "type": "string"
                      },
                      "verification": {
                        "description": "Government-issued ID document for this cardholder.",
                        "properties": {
                          "document": {
                            "description": "An identifying document, either a passport or local ID card.",
                            "properties": {
                              "back": {
                                "description": "The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "front": {
                                "description": "The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "person_verification_document_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "back",
                              "front"
                            ]
                          }
                        },
                        "title": "person_verification_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "document"
                        ]
                      }
                    },
                    "title": "individual_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "card_issuing",
                      "dob",
                      "first_name",
                      "last_name",
                      "user_terms_acceptance",
                      "verification"
                    ]
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "phone_number": {
                    "description": "The cardholder's phone number. This is required for all cardholders who will be creating EU cards. See the [3D Secure documentation](https://stripe.com/docs/issuing/3d-secure) for more details.",
                    "type": "string"
                  },
                  "preferred_locales": {
                    "description": "The cardholder’s preferred locales (languages), ordered by preference. Locales can be `de`, `en`, `es`, `fr`, or `it`.\n This changes the language of the [3D Secure flow](https://stripe.com/docs/issuing/3d-secure) and one-time password messages sent to the cardholder.",
                    "items": {
                      "enum": [
                        "de",
                        "en",
                        "es",
                        "fr",
                        "it"
                      ],
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "spending_controls": {
                    "description": "Rules that control spending across this cardholder's cards. Refer to our [documentation](https://stripe.com/docs/issuing/controls/spending-controls) for more details.",
                    "properties": {
                      "allowed_categories": {
                        "description": "Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`.",
                        "items": {
                          "enum": [
                            "ac_refrigeration_repair",
                            "accounting_bookkeeping_services",
                            "advertising_services",
                            "agricultural_cooperative",
                            "airlines_air_carriers",
                            "airports_flying_fields",
                            "ambulance_services",
                            "amusement_parks_carnivals",
                            "antique_reproductions",
                            "antique_shops",
                            "aquariums",
                            "architectural_surveying_services",
                            "art_dealers_and_galleries",
                            "artists_supply_and_craft_shops",
                            "auto_and_home_supply_stores",
                            "auto_body_repair_shops",
                            "auto_paint_shops",
                            "auto_service_shops",
                            "automated_cash_disburse",
                            "automated_fuel_dispensers",
                            "automobile_associations",
                            "automotive_parts_and_accessories_stores",
                            "automotive_tire_stores",
                            "bail_and_bond_payments",
                            "bakeries",
                            "bands_orchestras",
                            "barber_and_beauty_shops",
                            "betting_casino_gambling",
                            "bicycle_shops",
                            "billiard_pool_establishments",
                            "boat_dealers",
                            "boat_rentals_and_leases",
                            "book_stores",
                            "books_periodicals_and_newspapers",
                            "bowling_alleys",
                            "bus_lines",
                            "business_secretarial_schools",
                            "buying_shopping_services",
                            "cable_satellite_and_other_pay_television_and_radio",
                            "camera_and_photographic_supply_stores",
                            "candy_nut_and_confectionery_stores",
                            "car_and_truck_dealers_new_used",
                            "car_and_truck_dealers_used_only",
                            "car_rental_agencies",
                            "car_washes",
                            "carpentry_services",
                            "carpet_upholstery_cleaning",
                            "caterers",
                            "charitable_and_social_service_organizations_fundraising",
                            "chemicals_and_allied_products",
                            "child_care_services",
                            "childrens_and_infants_wear_stores",
                            "chiropodists_podiatrists",
                            "chiropractors",
                            "cigar_stores_and_stands",
                            "civic_social_fraternal_associations",
                            "cleaning_and_maintenance",
                            "clothing_rental",
                            "colleges_universities",
                            "commercial_equipment",
                            "commercial_footwear",
                            "commercial_photography_art_and_graphics",
                            "commuter_transport_and_ferries",
                            "computer_network_services",
                            "computer_programming",
                            "computer_repair",
                            "computer_software_stores",
                            "computers_peripherals_and_software",
                            "concrete_work_services",
                            "construction_materials",
                            "consulting_public_relations",
                            "correspondence_schools",
                            "cosmetic_stores",
                            "counseling_services",
                            "country_clubs",
                            "courier_services",
                            "court_costs",
                            "credit_reporting_agencies",
                            "cruise_lines",
                            "dairy_products_stores",
                            "dance_hall_studios_schools",
                            "dating_escort_services",
                            "dentists_orthodontists",
                            "department_stores",
                            "detective_agencies",
                            "digital_goods_applications",
                            "digital_goods_games",
                            "digital_goods_large_volume",
                            "digital_goods_media",
                            "direct_marketing_catalog_merchant",
                            "direct_marketing_combination_catalog_and_retail_merchant",
                            "direct_marketing_inbound_telemarketing",
                            "direct_marketing_insurance_services",
                            "direct_marketing_other",
                            "direct_marketing_outbound_telemarketing",
                            "direct_marketing_subscription",
                            "direct_marketing_travel",
                            "discount_stores",
                            "doctors",
                            "door_to_door_sales",
                            "drapery_window_covering_and_upholstery_stores",
                            "drinking_places",
                            "drug_stores_and_pharmacies",
                            "drugs_drug_proprietaries_and_druggist_sundries",
                            "dry_cleaners",
                            "durable_goods",
                            "duty_free_stores",
                            "eating_places_restaurants",
                            "educational_services",
                            "electric_razor_stores",
                            "electric_vehicle_charging",
                            "electrical_parts_and_equipment",
                            "electrical_services",
                            "electronics_repair_shops",
                            "electronics_stores",
                            "elementary_secondary_schools",
                            "emergency_services_gcas_visa_use_only",
                            "employment_temp_agencies",
                            "equipment_rental",
                            "exterminating_services",
                            "family_clothing_stores",
                            "fast_food_restaurants",
                            "financial_institutions",
                            "fines_government_administrative_entities",
                            "fireplace_fireplace_screens_and_accessories_stores",
                            "floor_covering_stores",
                            "florists",
                            "florists_supplies_nursery_stock_and_flowers",
                            "freezer_and_locker_meat_provisioners",
                            "fuel_dealers_non_automotive",
                            "funeral_services_crematories",
                            "furniture_home_furnishings_and_equipment_stores_except_appliances",
                            "furniture_repair_refinishing",
                            "furriers_and_fur_shops",
                            "general_services",
                            "gift_card_novelty_and_souvenir_shops",
                            "glass_paint_and_wallpaper_stores",
                            "glassware_crystal_stores",
                            "golf_courses_public",
                            "government_licensed_horse_dog_racing_us_region_only",
                            "government_licensed_online_casions_online_gambling_us_region_only",
                            "government_owned_lotteries_non_us_region",
                            "government_owned_lotteries_us_region_only",
                            "government_services",
                            "grocery_stores_supermarkets",
                            "hardware_equipment_and_supplies",
                            "hardware_stores",
                            "health_and_beauty_spas",
                            "hearing_aids_sales_and_supplies",
                            "heating_plumbing_a_c",
                            "hobby_toy_and_game_shops",
                            "home_supply_warehouse_stores",
                            "hospitals",
                            "hotels_motels_and_resorts",
                            "household_appliance_stores",
                            "industrial_supplies",
                            "information_retrieval_services",
                            "insurance_default",
                            "insurance_underwriting_premiums",
                            "intra_company_purchases",
                            "jewelry_stores_watches_clocks_and_silverware_stores",
                            "landscaping_services",
                            "laundries",
                            "laundry_cleaning_services",
                            "legal_services_attorneys",
                            "luggage_and_leather_goods_stores",
                            "lumber_building_materials_stores",
                            "manual_cash_disburse",
                            "marinas_service_and_supplies",
                            "marketplaces",
                            "masonry_stonework_and_plaster",
                            "massage_parlors",
                            "medical_and_dental_labs",
                            "medical_dental_ophthalmic_and_hospital_equipment_and_supplies",
                            "medical_services",
                            "membership_organizations",
                            "mens_and_boys_clothing_and_accessories_stores",
                            "mens_womens_clothing_stores",
                            "metal_service_centers",
                            "miscellaneous",
                            "miscellaneous_apparel_and_accessory_shops",
                            "miscellaneous_auto_dealers",
                            "miscellaneous_business_services",
                            "miscellaneous_food_stores",
                            "miscellaneous_general_merchandise",
                            "miscellaneous_general_services",
                            "miscellaneous_home_furnishing_specialty_stores",
                            "miscellaneous_publishing_and_printing",
                            "miscellaneous_recreation_services",
                            "miscellaneous_repair_shops",
                            "miscellaneous_specialty_retail",
                            "mobile_home_dealers",
                            "motion_picture_theaters",
                            "motor_freight_carriers_and_trucking",
                            "motor_homes_dealers",
                            "motor_vehicle_supplies_and_new_parts",
                            "motorcycle_shops_and_dealers",
                            "motorcycle_shops_dealers",
                            "music_stores_musical_instruments_pianos_and_sheet_music",
                            "news_dealers_and_newsstands",
                            "non_fi_money_orders",
                            "non_fi_stored_value_card_purchase_load",
                            "nondurable_goods",
                            "nurseries_lawn_and_garden_supply_stores",
                            "nursing_personal_care",
                            "office_and_commercial_furniture",
                            "opticians_eyeglasses",
                            "optometrists_ophthalmologist",
                            "orthopedic_goods_prosthetic_devices",
                            "osteopaths",
                            "package_stores_beer_wine_and_liquor",
                            "paints_varnishes_and_supplies",
                            "parking_lots_garages",
                            "passenger_railways",
                            "pawn_shops",
                            "pet_shops_pet_food_and_supplies",
                            "petroleum_and_petroleum_products",
                            "photo_developing",
                            "photographic_photocopy_microfilm_equipment_and_supplies",
                            "photographic_studios",
                            "picture_video_production",
                            "piece_goods_notions_and_other_dry_goods",
                            "plumbing_heating_equipment_and_supplies",
                            "political_organizations",
                            "postal_services_government_only",
                            "precious_stones_and_metals_watches_and_jewelry",
                            "professional_services",
                            "public_warehousing_and_storage",
                            "quick_copy_repro_and_blueprint",
                            "railroads",
                            "real_estate_agents_and_managers_rentals",
                            "record_stores",
                            "recreational_vehicle_rentals",
                            "religious_goods_stores",
                            "religious_organizations",
                            "roofing_siding_sheet_metal",
                            "secretarial_support_services",
                            "security_brokers_dealers",
                            "service_stations",
                            "sewing_needlework_fabric_and_piece_goods_stores",
                            "shoe_repair_hat_cleaning",
                            "shoe_stores",
                            "small_appliance_repair",
                            "snowmobile_dealers",
                            "special_trade_services",
                            "specialty_cleaning",
                            "sporting_goods_stores",
                            "sporting_recreation_camps",
                            "sports_and_riding_apparel_stores",
                            "sports_clubs_fields",
                            "stamp_and_coin_stores",
                            "stationary_office_supplies_printing_and_writing_paper",
                            "stationery_stores_office_and_school_supply_stores",
                            "swimming_pools_sales",
                            "t_ui_travel_germany",
                            "tailors_alterations",
                            "tax_payments_government_agencies",
                            "tax_preparation_services",
                            "taxicabs_limousines",
                            "telecommunication_equipment_and_telephone_sales",
                            "telecommunication_services",
                            "telegraph_services",
                            "tent_and_awning_shops",
                            "testing_laboratories",
                            "theatrical_ticket_agencies",
                            "timeshares",
                            "tire_retreading_and_repair",
                            "tolls_bridge_fees",
                            "tourist_attractions_and_exhibits",
                            "towing_services",
                            "trailer_parks_campgrounds",
                            "transportation_services",
                            "travel_agencies_tour_operators",
                            "truck_stop_iteration",
                            "truck_utility_trailer_rentals",
                            "typesetting_plate_making_and_related_services",
                            "typewriter_stores",
                            "u_s_federal_government_agencies_or_departments",
                            "uniforms_commercial_clothing",
                            "used_merchandise_and_secondhand_stores",
                            "utilities",
                            "variety_stores",
                            "veterinary_services",
                            "video_amusement_game_supplies",
                            "video_game_arcades",
                            "video_tape_rental_stores",
                            "vocational_trade_schools",
                            "watch_jewelry_repair",
                            "welding_repair",
                            "wholesale_clubs",
                            "wig_and_toupee_stores",
                            "wires_money_orders",
                            "womens_accessory_and_specialty_shops",
                            "womens_ready_to_wear_stores",
                            "wrecking_and_salvage_yards"
                          ],
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "allowed_merchant_countries": {
                        "description": "Array of strings containing representing countries from which authorizations will be allowed. Authorizations from merchants in all other countries will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `blocked_merchant_countries`. Provide an empty value to unset this control.",
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "blocked_categories": {
                        "description": "Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`.",
                        "items": {
                          "enum": [
                            "ac_refrigeration_repair",
                            "accounting_bookkeeping_services",
                            "advertising_services",
                            "agricultural_cooperative",
                            "airlines_air_carriers",
                            "airports_flying_fields",
                            "ambulance_services",
                            "amusement_parks_carnivals",
                            "antique_reproductions",
                            "antique_shops",
                            "aquariums",
                            "architectural_surveying_services",
                            "art_dealers_and_galleries",
                            "artists_supply_and_craft_shops",
                            "auto_and_home_supply_stores",
                            "auto_body_repair_shops",
                            "auto_paint_shops",
                            "auto_service_shops",
                            "automated_cash_disburse",
                            "automated_fuel_dispensers",
                            "automobile_associations",
                            "automotive_parts_and_accessories_stores",
                            "automotive_tire_stores",
                            "bail_and_bond_payments",
                            "bakeries",
                            "bands_orchestras",
                            "barber_and_beauty_shops",
                            "betting_casino_gambling",
                            "bicycle_shops",
                            "billiard_pool_establishments",
                            "boat_dealers",
                            "boat_rentals_and_leases",
                            "book_stores",
                            "books_periodicals_and_newspapers",
                            "bowling_alleys",
                            "bus_lines",
                            "business_secretarial_schools",
                            "buying_shopping_services",
                            "cable_satellite_and_other_pay_television_and_radio",
                            "camera_and_photographic_supply_stores",
                            "candy_nut_and_confectionery_stores",
                            "car_and_truck_dealers_new_used",
                            "car_and_truck_dealers_used_only",
                            "car_rental_agencies",
                            "car_washes",
                            "carpentry_services",
                            "carpet_upholstery_cleaning",
                            "caterers",
                            "charitable_and_social_service_organizations_fundraising",
                            "chemicals_and_allied_products",
                            "child_care_services",
                            "childrens_and_infants_wear_stores",
                            "chiropodists_podiatrists",
                            "chiropractors",
                            "cigar_stores_and_stands",
                            "civic_social_fraternal_associations",
                            "cleaning_and_maintenance",
                            "clothing_rental",
                            "colleges_universities",
                            "commercial_equipment",
                            "commercial_footwear",
                            "commercial_photography_art_and_graphics",
                            "commuter_transport_and_ferries",
                            "computer_network_services",
                            "computer_programming",
                            "computer_repair",
                            "computer_software_stores",
                            "computers_peripherals_and_software",
                            "concrete_work_services",
                            "construction_materials",
                            "consulting_public_relations",
                            "correspondence_schools",
                            "cosmetic_stores",
                            "counseling_services",
                            "country_clubs",
                            "courier_services",
                            "court_costs",
                            "credit_reporting_agencies",
                            "cruise_lines",
                            "dairy_products_stores",
                            "dance_hall_studios_schools",
                            "dating_escort_services",
                            "dentists_orthodontists",
                            "department_stores",
                            "detective_agencies",
                            "digital_goods_applications",
                            "digital_goods_games",
                            "digital_goods_large_volume",
                            "digital_goods_media",
                            "direct_marketing_catalog_merchant",
                            "direct_marketing_combination_catalog_and_retail_merchant",
                            "direct_marketing_inbound_telemarketing",
                            "direct_marketing_insurance_services",
                            "direct_marketing_other",
                            "direct_marketing_outbound_telemarketing",
                            "direct_marketing_subscription",
                            "direct_marketing_travel",
                            "discount_stores",
                            "doctors",
                            "door_to_door_sales",
                            "drapery_window_covering_and_upholstery_stores",
                            "drinking_places",
                            "drug_stores_and_pharmacies",
                            "drugs_drug_proprietaries_and_druggist_sundries",
                            "dry_cleaners",
                            "durable_goods",
                            "duty_free_stores",
                            "eating_places_restaurants",
                            "educational_services",
                            "electric_razor_stores",
                            "electric_vehicle_charging",
                            "electrical_parts_and_equipment",
                            "electrical_services",
                            "electronics_repair_shops",
                            "electronics_stores",
                            "elementary_secondary_schools",
                            "emergency_services_gcas_visa_use_only",
                            "employment_temp_agencies",
                            "equipment_rental",
                            "exterminating_services",
                            "family_clothing_stores",
                            "fast_food_restaurants",
                            "financial_institutions",
                            "fines_government_administrative_entities",
                            "fireplace_fireplace_screens_and_accessories_stores",
                            "floor_covering_stores",
                            "florists",
                            "florists_supplies_nursery_stock_and_flowers",
                            "freezer_and_locker_meat_provisioners",
                            "fuel_dealers_non_automotive",
                            "funeral_services_crematories",
                            "furniture_home_furnishings_and_equipment_stores_except_appliances",
                            "furniture_repair_refinishing",
                            "furriers_and_fur_shops",
                            "general_services",
                            "gift_card_novelty_and_souvenir_shops",
                            "glass_paint_and_wallpaper_stores",
                            "glassware_crystal_stores",
                            "golf_courses_public",
                            "government_licensed_horse_dog_racing_us_region_only",
                            "government_licensed_online_casions_online_gambling_us_region_only",
                            "government_owned_lotteries_non_us_region",
                            "government_owned_lotteries_us_region_only",
                            "government_services",
                            "grocery_stores_supermarkets",
                            "hardware_equipment_and_supplies",
                            "hardware_stores",
                            "health_and_beauty_spas",
                            "hearing_aids_sales_and_supplies",
                            "heating_plumbing_a_c",
                            "hobby_toy_and_game_shops",
                            "home_supply_warehouse_stores",
                            "hospitals",
                            "hotels_motels_and_resorts",
                            "household_appliance_stores",
                            "industrial_supplies",
                            "information_retrieval_services",
                            "insurance_default",
                            "insurance_underwriting_premiums",
                            "intra_company_purchases",
                            "jewelry_stores_watches_clocks_and_silverware_stores",
                            "landscaping_services",
                            "laundries",
                            "laundry_cleaning_services",
                            "legal_services_attorneys",
                            "luggage_and_leather_goods_stores",
                            "lumber_building_materials_stores",
                            "manual_cash_disburse",
                            "marinas_service_and_supplies",
                            "marketplaces",
                            "masonry_stonework_and_plaster",
                            "massage_parlors",
                            "medical_and_dental_labs",
                            "medical_dental_ophthalmic_and_hospital_equipment_and_supplies",
                            "medical_services",
                            "membership_organizations",
                            "mens_and_boys_clothing_and_accessories_stores",
                            "mens_womens_clothing_stores",
                            "metal_service_centers",
                            "miscellaneous",
                            "miscellaneous_apparel_and_accessory_shops",
                            "miscellaneous_auto_dealers",
                            "miscellaneous_business_services",
                            "miscellaneous_food_stores",
                            "miscellaneous_general_merchandise",
                            "miscellaneous_general_services",
                            "miscellaneous_home_furnishing_specialty_stores",
                            "miscellaneous_publishing_and_printing",
                            "miscellaneous_recreation_services",
                            "miscellaneous_repair_shops",
                            "miscellaneous_specialty_retail",
                            "mobile_home_dealers",
                            "motion_picture_theaters",
                            "motor_freight_carriers_and_trucking",
                            "motor_homes_dealers",
                            "motor_vehicle_supplies_and_new_parts",
                            "motorcycle_shops_and_dealers",
                            "motorcycle_shops_dealers",
                            "music_stores_musical_instruments_pianos_and_sheet_music",
                            "news_dealers_and_newsstands",
                            "non_fi_money_orders",
                            "non_fi_stored_value_card_purchase_load",
                            "nondurable_goods",
                            "nurseries_lawn_and_garden_supply_stores",
                            "nursing_personal_care",
                            "office_and_commercial_furniture",
                            "opticians_eyeglasses",
                            "optometrists_ophthalmologist",
                            "orthopedic_goods_prosthetic_devices",
                            "osteopaths",
                            "package_stores_beer_wine_and_liquor",
                            "paints_varnishes_and_supplies",
                            "parking_lots_garages",
                            "passenger_railways",
                            "pawn_shops",
                            "pet_shops_pet_food_and_supplies",
                            "petroleum_and_petroleum_products",
                            "photo_developing",
                            "photographic_photocopy_microfilm_equipment_and_supplies",
                            "photographic_studios",
                            "picture_video_production",
                            "piece_goods_notions_and_other_dry_goods",
                            "plumbing_heating_equipment_and_supplies",
                            "political_organizations",
                            "postal_services_government_only",
                            "precious_stones_and_metals_watches_and_jewelry",
                            "professional_services",
                            "public_warehousing_and_storage",
                            "quick_copy_repro_and_blueprint",
                            "railroads",
                            "real_estate_agents_and_managers_rentals",
                            "record_stores",
                            "recreational_vehicle_rentals",
                            "religious_goods_stores",
                            "religious_organizations",
                            "roofing_siding_sheet_metal",
                            "secretarial_support_services",
                            "security_brokers_dealers",
                            "service_stations",
                            "sewing_needlework_fabric_and_piece_goods_stores",
                            "shoe_repair_hat_cleaning",
                            "shoe_stores",
                            "small_appliance_repair",
                            "snowmobile_dealers",
                            "special_trade_services",
                            "specialty_cleaning",
                            "sporting_goods_stores",
                            "sporting_recreation_camps",
                            "sports_and_riding_apparel_stores",
                            "sports_clubs_fields",
                            "stamp_and_coin_stores",
                            "stationary_office_supplies_printing_and_writing_paper",
                            "stationery_stores_office_and_school_supply_stores",
                            "swimming_pools_sales",
                            "t_ui_travel_germany",
                            "tailors_alterations",
                            "tax_payments_government_agencies",
                            "tax_preparation_services",
                            "taxicabs_limousines",
                            "telecommunication_equipment_and_telephone_sales",
                            "telecommunication_services",
                            "telegraph_services",
                            "tent_and_awning_shops",
                            "testing_laboratories",
                            "theatrical_ticket_agencies",
                            "timeshares",
                            "tire_retreading_and_repair",
                            "tolls_bridge_fees",
                            "tourist_attractions_and_exhibits",
                            "towing_services",
                            "trailer_parks_campgrounds",
                            "transportation_services",
                            "travel_agencies_tour_operators",
                            "truck_stop_iteration",
                            "truck_utility_trailer_rentals",
                            "typesetting_plate_making_and_related_services",
                            "typewriter_stores",
                            "u_s_federal_government_agencies_or_departments",
                            "uniforms_commercial_clothing",
                            "used_merchandise_and_secondhand_stores",
                            "utilities",
                            "variety_stores",
                            "veterinary_services",
                            "video_amusement_game_supplies",
                            "video_game_arcades",
                            "video_tape_rental_stores",
                            "vocational_trade_schools",
                            "watch_jewelry_repair",
                            "welding_repair",
                            "wholesale_clubs",
                            "wig_and_toupee_stores",
                            "wires_money_orders",
                            "womens_accessory_and_specialty_shops",
                            "womens_ready_to_wear_stores",
                            "wrecking_and_salvage_yards"
                          ],
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "blocked_merchant_countries": {
                        "description": "Array of strings containing representing countries from which authorizations will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `allowed_merchant_countries`. Provide an empty value to unset this control.",
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "spending_limits": {
                        "description": "Limit spending with amount-based rules that apply across this cardholder's cards.",
                        "items": {
                          "properties": {
                            "amount": {
                              "description": "Maximum amount allowed to spend per interval.",
                              "type": "integer"
                            },
                            "categories": {
                              "description": "Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories.",
                              "items": {
                                "enum": [
                                  "ac_refrigeration_repair",
                                  "accounting_bookkeeping_services",
                                  "advertising_services",
                                  "agricultural_cooperative",
                                  "airlines_air_carriers",
                                  "airports_flying_fields",
                                  "ambulance_services",
                                  "amusement_parks_carnivals",
                                  "antique_reproductions",
                                  "antique_shops",
                                  "aquariums",
                                  "architectural_surveying_services",
                                  "art_dealers_and_galleries",
                                  "artists_supply_and_craft_shops",
                                  "auto_and_home_supply_stores",
                                  "auto_body_repair_shops",
                                  "auto_paint_shops",
                                  "auto_service_shops",
                                  "automated_cash_disburse",
                                  "automated_fuel_dispensers",
                                  "automobile_associations",
                                  "automotive_parts_and_accessories_stores",
                                  "automotive_tire_stores",
                                  "bail_and_bond_payments",
                                  "bakeries",
                                  "bands_orchestras",
                                  "barber_and_beauty_shops",
                                  "betting_casino_gambling",
                                  "bicycle_shops",
                                  "billiard_pool_establishments",
                                  "boat_dealers",
                                  "boat_rentals_and_leases",
                                  "book_stores",
                                  "books_periodicals_and_newspapers",
                                  "bowling_alleys",
                                  "bus_lines",
                                  "business_secretarial_schools",
                                  "buying_shopping_services",
                                  "cable_satellite_and_other_pay_television_and_radio",
                                  "camera_and_photographic_supply_stores",
                                  "candy_nut_and_confectionery_stores",
                                  "car_and_truck_dealers_new_used",
                                  "car_and_truck_dealers_used_only",
                                  "car_rental_agencies",
                                  "car_washes",
                                  "carpentry_services",
                                  "carpet_upholstery_cleaning",
                                  "caterers",
                                  "charitable_and_social_service_organizations_fundraising",
                                  "chemicals_and_allied_products",
                                  "child_care_services",
                                  "childrens_and_infants_wear_stores",
                                  "chiropodists_podiatrists",
                                  "chiropractors",
                                  "cigar_stores_and_stands",
                                  "civic_social_fraternal_associations",
                                  "cleaning_and_maintenance",
                                  "clothing_rental",
                                  "colleges_universities",
                                  "commercial_equipment",
                                  "commercial_footwear",
                                  "commercial_photography_art_and_graphics",
                                  "commuter_transport_and_ferries",
                                  "computer_network_services",
                                  "computer_programming",
                                  "computer_repair",
                                  "computer_software_stores",
                                  "computers_peripherals_and_software",
                                  "concrete_work_services",
                                  "construction_materials",
                                  "consulting_public_relations",
                                  "correspondence_schools",
                                  "cosmetic_stores",
                                  "counseling_services",
                                  "country_clubs",
                                  "courier_services",
                                  "court_costs",
                                  "credit_reporting_agencies",
                                  "cruise_lines",
                                  "dairy_products_stores",
                                  "dance_hall_studios_schools",
                                  "dating_escort_services",
                                  "dentists_orthodontists",
                                  "department_stores",
                                  "detective_agencies",
                                  "digital_goods_applications",
                                  "digital_goods_games",
                                  "digital_goods_large_volume",
                                  "digital_goods_media",
                                  "direct_marketing_catalog_merchant",
                                  "direct_marketing_combination_catalog_and_retail_merchant",
                                  "direct_marketing_inbound_telemarketing",
                                  "direct_marketing_insurance_services",
                                  "direct_marketing_other",
                                  "direct_marketing_outbound_telemarketing",
                                  "direct_marketing_subscription",
                                  "direct_marketing_travel",
                                  "discount_stores",
                                  "doctors",
                                  "door_to_door_sales",
                                  "drapery_window_covering_and_upholstery_stores",
                                  "drinking_places",
                                  "drug_stores_and_pharmacies",
                                  "drugs_drug_proprietaries_and_druggist_sundries",
                                  "dry_cleaners",
                                  "durable_goods",
                                  "duty_free_stores",
                                  "eating_places_restaurants",
                                  "educational_services",
                                  "electric_razor_stores",
                                  "electric_vehicle_charging",
                                  "electrical_parts_and_equipment",
                                  "electrical_services",
                                  "electronics_repair_shops",
                                  "electronics_stores",
                                  "elementary_secondary_schools",
                                  "emergency_services_gcas_visa_use_only",
                                  "employment_temp_agencies",
                                  "equipment_rental",
                                  "exterminating_services",
                                  "family_clothing_stores",
                                  "fast_food_restaurants",
                                  "financial_institutions",
                                  "fines_government_administrative_entities",
                                  "fireplace_fireplace_screens_and_accessories_stores",
                                  "floor_covering_stores",
                                  "florists",
                                  "florists_supplies_nursery_stock_and_flowers",
                                  "freezer_and_locker_meat_provisioners",
                                  "fuel_dealers_non_automotive",
                                  "funeral_services_crematories",
                                  "furniture_home_furnishings_and_equipment_stores_except_appliances",
                                  "furniture_repair_refinishing",
                                  "furriers_and_fur_shops",
                                  "general_services",
                                  "gift_card_novelty_and_souvenir_shops",
                                  "glass_paint_and_wallpaper_stores",
                                  "glassware_crystal_stores",
                                  "golf_courses_public",
                                  "government_licensed_horse_dog_racing_us_region_only",
                                  "government_licensed_online_casions_online_gambling_us_region_only",
                                  "government_owned_lotteries_non_us_region",
                                  "government_owned_lotteries_us_region_only",
                                  "government_services",
                                  "grocery_stores_supermarkets",
                                  "hardware_equipment_and_supplies",
                                  "hardware_stores",
                                  "health_and_beauty_spas",
                                  "hearing_aids_sales_and_supplies",
                                  "heating_plumbing_a_c",
                                  "hobby_toy_and_game_shops",
                                  "home_supply_warehouse_stores",
                                  "hospitals",
                                  "hotels_motels_and_resorts",
                                  "household_appliance_stores",
                                  "industrial_supplies",
                                  "information_retrieval_services",
                                  "insurance_default",
                                  "insurance_underwriting_premiums",
                                  "intra_company_purchases",
                                  "jewelry_stores_watches_clocks_and_silverware_stores",
                                  "landscaping_services",
                                  "laundries",
                                  "laundry_cleaning_services",
                                  "legal_services_attorneys",
                                  "luggage_and_leather_goods_stores",
                                  "lumber_building_materials_stores",
                                  "manual_cash_disburse",
                                  "marinas_service_and_supplies",
                                  "marketplaces",
                                  "masonry_stonework_and_plaster",
                                  "massage_parlors",
                                  "medical_and_dental_labs",
                                  "medical_dental_ophthalmic_and_hospital_equipment_and_supplies",
                                  "medical_services",
                                  "membership_organizations",
                                  "mens_and_boys_clothing_and_accessories_stores",
                                  "mens_womens_clothing_stores",
                                  "metal_service_centers",
                                  "miscellaneous",
                                  "miscellaneous_apparel_and_accessory_shops",
                                  "miscellaneous_auto_dealers",
                                  "miscellaneous_business_services",
                                  "miscellaneous_food_stores",
                                  "miscellaneous_general_merchandise",
                                  "miscellaneous_general_services",
                                  "miscellaneous_home_furnishing_specialty_stores",
                                  "miscellaneous_publishing_and_printing",
                                  "miscellaneous_recreation_services",
                                  "miscellaneous_repair_shops",
                                  "miscellaneous_specialty_retail",
                                  "mobile_home_dealers",
                                  "motion_picture_theaters",
                                  "motor_freight_carriers_and_trucking",
                                  "motor_homes_dealers",
                                  "motor_vehicle_supplies_and_new_parts",
                                  "motorcycle_shops_and_dealers",
                                  "motorcycle_shops_dealers",
                                  "music_stores_musical_instruments_pianos_and_sheet_music",
                                  "news_dealers_and_newsstands",
                                  "non_fi_money_orders",
                                  "non_fi_stored_value_card_purchase_load",
                                  "nondurable_goods",
                                  "nurseries_lawn_and_garden_supply_stores",
                                  "nursing_personal_care",
                                  "office_and_commercial_furniture",
                                  "opticians_eyeglasses",
                                  "optometrists_ophthalmologist",
                                  "orthopedic_goods_prosthetic_devices",
                                  "osteopaths",
                                  "package_stores_beer_wine_and_liquor",
                                  "paints_varnishes_and_supplies",
                                  "parking_lots_garages",
                                  "passenger_railways",
                                  "pawn_shops",
                                  "pet_shops_pet_food_and_supplies",
                                  "petroleum_and_petroleum_products",
                                  "photo_developing",
                                  "photographic_photocopy_microfilm_equipment_and_supplies",
                                  "photographic_studios",
                                  "picture_video_production",
                                  "piece_goods_notions_and_other_dry_goods",
                                  "plumbing_heating_equipment_and_supplies",
                                  "political_organizations",
                                  "postal_services_government_only",
                                  "precious_stones_and_metals_watches_and_jewelry",
                                  "professional_services",
                                  "public_warehousing_and_storage",
                                  "quick_copy_repro_and_blueprint",
                                  "railroads",
                                  "real_estate_agents_and_managers_rentals",
                                  "record_stores",
                                  "recreational_vehicle_rentals",
                                  "religious_goods_stores",
                                  "religious_organizations",
                                  "roofing_siding_sheet_metal",
                                  "secretarial_support_services",
                                  "security_brokers_dealers",
                                  "service_stations",
                                  "sewing_needlework_fabric_and_piece_goods_stores",
                                  "shoe_repair_hat_cleaning",
                                  "shoe_stores",
                                  "small_appliance_repair",
                                  "snowmobile_dealers",
                                  "special_trade_services",
                                  "specialty_cleaning",
                                  "sporting_goods_stores",
                                  "sporting_recreation_camps",
                                  "sports_and_riding_apparel_stores",
                                  "sports_clubs_fields",
                                  "stamp_and_coin_stores",
                                  "stationary_office_supplies_printing_and_writing_paper",
                                  "stationery_stores_office_and_school_supply_stores",
                                  "swimming_pools_sales",
                                  "t_ui_travel_germany",
                                  "tailors_alterations",
                                  "tax_payments_government_agencies",
                                  "tax_preparation_services",
                                  "taxicabs_limousines",
                                  "telecommunication_equipment_and_telephone_sales",
                                  "telecommunication_services",
                                  "telegraph_services",
                                  "tent_and_awning_shops",
                                  "testing_laboratories",
                                  "theatrical_ticket_agencies",
                                  "timeshares",
                                  "tire_retreading_and_repair",
                                  "tolls_bridge_fees",
                                  "tourist_attractions_and_exhibits",
                                  "towing_services",
                                  "trailer_parks_campgrounds",
                                  "transportation_services",
                                  "travel_agencies_tour_operators",
                                  "truck_stop_iteration",
                                  "truck_utility_trailer_rentals",
                                  "typesetting_plate_making_and_related_services",
                                  "typewriter_stores",
                                  "u_s_federal_government_agencies_or_departments",
                                  "uniforms_commercial_clothing",
                                  "used_merchandise_and_secondhand_stores",
                                  "utilities",
                                  "variety_stores",
                                  "veterinary_services",
                                  "video_amusement_game_supplies",
                                  "video_game_arcades",
                                  "video_tape_rental_stores",
                                  "vocational_trade_schools",
                                  "watch_jewelry_repair",
                                  "welding_repair",
                                  "wholesale_clubs",
                                  "wig_and_toupee_stores",
                                  "wires_money_orders",
                                  "womens_accessory_and_specialty_shops",
                                  "womens_ready_to_wear_stores",
                                  "wrecking_and_salvage_yards"
                                ],
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "interval": {
                              "description": "Interval (or event) to which the amount applies.",
                              "enum": [
                                "all_time",
                                "daily",
                                "monthly",
                                "per_authorization",
                                "weekly",
                                "yearly"
                              ],
                              "type": "string"
                            }
                          },
                          "required": [
                            "amount",
                            "interval"
                          ],
                          "title": "spending_limits_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "amount",
                            "categories",
                            "interval"
                          ]
                        },
                        "type": "array"
                      },
                      "spending_limits_currency": {
                        "description": "Currency of amounts within `spending_limits`. Defaults to your merchant country's currency.",
                        "type": "string"
                      }
                    },
                    "title": "authorization_controls_param_v2",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "allowed_categories",
                      "allowed_merchant_countries",
                      "allowed_merchant_network_ids",
                      "blocked_categories",
                      "blocked_merchant_countries",
                      "blocked_merchant_network_ids",
                      "spending_limits",
                      "spending_limits_currency"
                    ]
                  },
                  "status": {
                    "description": "Specifies whether to permit authorizations on this cardholder's cards.",
                    "enum": [
                      "active",
                      "inactive"
                    ],
                    "type": "string"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "billing",
                  "email",
                  "metadata",
                  "phone_number"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.cardholder"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a cardholder"
      }
    },
    "/v1/issuing/cards": {
      "get": {
        "description": "<p>Returns a list of Issuing <code>Card</code> objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.</p>",
        "operationId": "GetIssuingCards",
        "parameters": [
          {
            "description": "Only return cards belonging to the Cardholder with the provided ID.",
            "in": "query",
            "name": "cardholder",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return cards that were issued during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return cards that have the given expiration month.",
            "in": "query",
            "name": "exp_month",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "Only return cards that have the given expiration year.",
            "in": "query",
            "name": "exp_year",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "Only return cards that have the given last four digits.",
            "in": "query",
            "name": "last4",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "personalization_design",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return cards that have the given status. One of `active`, `inactive`, or `canceled`.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "active",
                "canceled",
                "inactive"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "style": "form"
          },
          {
            "description": "Only return cards that have the given type. One of `virtual` or `physical`.",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "enum": [
                "physical",
                "virtual"
              ],
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/issuing.card"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/issuing/cards",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "IssuingCardList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all cards"
      },
      "post": {
        "description": "<p>Creates an Issuing <code>Card</code> object.</p>",
        "operationId": "PostIssuingCards",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "pin": {
                  "explode": true,
                  "style": "deepObject"
                },
                "second_line": {
                  "explode": true,
                  "style": "deepObject"
                },
                "shipping": {
                  "explode": true,
                  "style": "deepObject"
                },
                "spending_controls": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "cardholder": {
                    "description": "The [Cardholder](https://stripe.com/docs/api#issuing_cardholder_object) object with which the card will be associated.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "currency": {
                    "description": "The currency for the card.",
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "financial_account": {
                    "type": "string"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "personalization_design": {
                    "description": "The personalization design object belonging to this card.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "pin": {
                    "description": "The desired PIN for this card.",
                    "properties": {
                      "encrypted_number": {
                        "description": "The card's desired new PIN, encrypted under Stripe's public key.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "encrypted_pin_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "encrypted_number"
                    ]
                  },
                  "replacement_for": {
                    "description": "The card this is meant to be a replacement for (if any).",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "replacement_reason": {
                    "description": "If `replacement_for` is specified, this should indicate why that card is being replaced.",
                    "enum": [
                      "damaged",
                      "expired",
                      "lost",
                      "stolen"
                    ],
                    "type": "string",
                    "x-stripeBypassValidation": true
                  },
                  "second_line": {
                    "anyOf": [
                      {
                        "maxLength": 5000,
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The second line to print on the card. Max length: 24 characters."
                  },
                  "shipping": {
                    "description": "The address where the card will be shipped.",
                    "properties": {
                      "address": {
                        "description": "The address that the card is shipped to.",
                        "properties": {
                          "city": {
                            "description": "City, district, suburb, town, or village.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Address line 1 (e.g., street, PO Box, or company name).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "ZIP or postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "State, county, province, or region.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "city",
                          "country",
                          "line1",
                          "postal_code"
                        ],
                        "title": "required_address",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "line1",
                          "line2",
                          "postal_code",
                          "state"
                        ]
                      },
                      "address_validation": {
                        "description": "Address validation settings.",
                        "properties": {
                          "mode": {
                            "description": "The address validation capabilities to use.",
                            "enum": [
                              "disabled",
                              "normalization_only",
                              "validation_and_normalization"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "mode"
                        ],
                        "title": "address_validation_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "mode"
                        ]
                      },
                      "customs": {
                        "description": "Customs information for the shipment.",
                        "properties": {
                          "eori_number": {
                            "description": "The Economic Operators Registration and Identification (EORI) number to use for Customs. Required for bulk shipments to Europe.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "customs_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "eori_number"
                        ]
                      },
                      "name": {
                        "description": "The name printed on the shipping label when shipping the card.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "phone_number": {
                        "description": "Phone number of the recipient of the shipment.",
                        "type": "string"
                      },
                      "require_signature": {
                        "description": "Whether a signature is required for card delivery.",
                        "type": "boolean"
                      },
                      "service": {
                        "description": "Shipment service.",
                        "enum": [
                          "express",
                          "priority",
                          "standard"
                        ],
                        "type": "string",
                        "x-stripeBypassValidation": true
                      },
                      "type": {
                        "description": "Packaging options.",
                        "enum": [
                          "bulk",
                          "individual"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "address",
                      "name"
                    ],
                    "title": "shipping_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "address",
                      "address_validation",
                      "customs",
                      "name",
                      "phone_number",
                      "require_signature",
                      "service",
                      "speed",
                      "type"
                    ]
                  },
                  "spending_controls": {
                    "description": "Rules that control spending for this card. Refer to our [documentation](https://stripe.com/docs/issuing/controls/spending-controls) for more details.",
                    "properties": {
                      "allowed_categories": {
                        "description": "Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`.",
                        "items": {
                          "enum": [
                            "ac_refrigeration_repair",
                            "accounting_bookkeeping_services",
                            "advertising_services",
                            "agricultural_cooperative",
                            "airlines_air_carriers",
                            "airports_flying_fields",
                            "ambulance_services",
                            "amusement_parks_carnivals",
                            "antique_reproductions",
                            "antique_shops",
                            "aquariums",
                            "architectural_surveying_services",
                            "art_dealers_and_galleries",
                            "artists_supply_and_craft_shops",
                            "auto_and_home_supply_stores",
                            "auto_body_repair_shops",
                            "auto_paint_shops",
                            "auto_service_shops",
                            "automated_cash_disburse",
                            "automated_fuel_dispensers",
                            "automobile_associations",
                            "automotive_parts_and_accessories_stores",
                            "automotive_tire_stores",
                            "bail_and_bond_payments",
                            "bakeries",
                            "bands_orchestras",
                            "barber_and_beauty_shops",
                            "betting_casino_gambling",
                            "bicycle_shops",
                            "billiard_pool_establishments",
                            "boat_dealers",
                            "boat_rentals_and_leases",
                            "book_stores",
                            "books_periodicals_and_newspapers",
                            "bowling_alleys",
                            "bus_lines",
                            "business_secretarial_schools",
                            "buying_shopping_services",
                            "cable_satellite_and_other_pay_television_and_radio",
                            "camera_and_photographic_supply_stores",
                            "candy_nut_and_confectionery_stores",
                            "car_and_truck_dealers_new_used",
                            "car_and_truck_dealers_used_only",
                            "car_rental_agencies",
                            "car_washes",
                            "carpentry_services",
                            "carpet_upholstery_cleaning",
                            "caterers",
                            "charitable_and_social_service_organizations_fundraising",
                            "chemicals_and_allied_products",
                            "child_care_services",
                            "childrens_and_infants_wear_stores",
                            "chiropodists_podiatrists",
                            "chiropractors",
                            "cigar_stores_and_stands",
                            "civic_social_fraternal_associations",
                            "cleaning_and_maintenance",
                            "clothing_rental",
                            "colleges_universities",
                            "commercial_equipment",
                            "commercial_footwear",
                            "commercial_photography_art_and_graphics",
                            "commuter_transport_and_ferries",
                            "computer_network_services",
                            "computer_programming",
                            "computer_repair",
                            "computer_software_stores",
                            "computers_peripherals_and_software",
                            "concrete_work_services",
                            "construction_materials",
                            "consulting_public_relations",
                            "correspondence_schools",
                            "cosmetic_stores",
                            "counseling_services",
                            "country_clubs",
                            "courier_services",
                            "court_costs",
                            "credit_reporting_agencies",
                            "cruise_lines",
                            "dairy_products_stores",
                            "dance_hall_studios_schools",
                            "dating_escort_services",
                            "dentists_orthodontists",
                            "department_stores",
                            "detective_agencies",
                            "digital_goods_applications",
                            "digital_goods_games",
                            "digital_goods_large_volume",
                            "digital_goods_media",
                            "direct_marketing_catalog_merchant",
                            "direct_marketing_combination_catalog_and_retail_merchant",
                            "direct_marketing_inbound_telemarketing",
                            "direct_marketing_insurance_services",
                            "direct_marketing_other",
                            "direct_marketing_outbound_telemarketing",
                            "direct_marketing_subscription",
                            "direct_marketing_travel",
                            "discount_stores",
                            "doctors",
                            "door_to_door_sales",
                            "drapery_window_covering_and_upholstery_stores",
                            "drinking_places",
                            "drug_stores_and_pharmacies",
                            "drugs_drug_proprietaries_and_druggist_sundries",
                            "dry_cleaners",
                            "durable_goods",
                            "duty_free_stores",
                            "eating_places_restaurants",
                            "educational_services",
                            "electric_razor_stores",
                            "electric_vehicle_charging",
                            "electrical_parts_and_equipment",
                            "electrical_services",
                            "electronics_repair_shops",
                            "electronics_stores",
                            "elementary_secondary_schools",
                            "emergency_services_gcas_visa_use_only",
                            "employment_temp_agencies",
                            "equipment_rental",
                            "exterminating_services",
                            "family_clothing_stores",
                            "fast_food_restaurants",
                            "financial_institutions",
                            "fines_government_administrative_entities",
                            "fireplace_fireplace_screens_and_accessories_stores",
                            "floor_covering_stores",
                            "florists",
                            "florists_supplies_nursery_stock_and_flowers",
                            "freezer_and_locker_meat_provisioners",
                            "fuel_dealers_non_automotive",
                            "funeral_services_crematories",
                            "furniture_home_furnishings_and_equipment_stores_except_appliances",
                            "furniture_repair_refinishing",
                            "furriers_and_fur_shops",
                            "general_services",
                            "gift_card_novelty_and_souvenir_shops",
                            "glass_paint_and_wallpaper_stores",
                            "glassware_crystal_stores",
                            "golf_courses_public",
                            "government_licensed_horse_dog_racing_us_region_only",
                            "government_licensed_online_casions_online_gambling_us_region_only",
                            "government_owned_lotteries_non_us_region",
                            "government_owned_lotteries_us_region_only",
                            "government_services",
                            "grocery_stores_supermarkets",
                            "hardware_equipment_and_supplies",
                            "hardware_stores",
                            "health_and_beauty_spas",
                            "hearing_aids_sales_and_supplies",
                            "heating_plumbing_a_c",
                            "hobby_toy_and_game_shops",
                            "home_supply_warehouse_stores",
                            "hospitals",
                            "hotels_motels_and_resorts",
                            "household_appliance_stores",
                            "industrial_supplies",
                            "information_retrieval_services",
                            "insurance_default",
                            "insurance_underwriting_premiums",
                            "intra_company_purchases",
                            "jewelry_stores_watches_clocks_and_silverware_stores",
                            "landscaping_services",
                            "laundries",
                            "laundry_cleaning_services",
                            "legal_services_attorneys",
                            "luggage_and_leather_goods_stores",
                            "lumber_building_materials_stores",
                            "manual_cash_disburse",
                            "marinas_service_and_supplies",
                            "marketplaces",
                            "masonry_stonework_and_plaster",
                            "massage_parlors",
                            "medical_and_dental_labs",
                            "medical_dental_ophthalmic_and_hospital_equipment_and_supplies",
                            "medical_services",
                            "membership_organizations",
                            "mens_and_boys_clothing_and_accessories_stores",
                            "mens_womens_clothing_stores",
                            "metal_service_centers",
                            "miscellaneous",
                            "miscellaneous_apparel_and_accessory_shops",
                            "miscellaneous_auto_dealers",
                            "miscellaneous_business_services",
                            "miscellaneous_food_stores",
                            "miscellaneous_general_merchandise",
                            "miscellaneous_general_services",
                            "miscellaneous_home_furnishing_specialty_stores",
                            "miscellaneous_publishing_and_printing",
                            "miscellaneous_recreation_services",
                            "miscellaneous_repair_shops",
                            "miscellaneous_specialty_retail",
                            "mobile_home_dealers",
                            "motion_picture_theaters",
                            "motor_freight_carriers_and_trucking",
                            "motor_homes_dealers",
                            "motor_vehicle_supplies_and_new_parts",
                            "motorcycle_shops_and_dealers",
                            "motorcycle_shops_dealers",
                            "music_stores_musical_instruments_pianos_and_sheet_music",
                            "news_dealers_and_newsstands",
                            "non_fi_money_orders",
                            "non_fi_stored_value_card_purchase_load",
                            "nondurable_goods",
                            "nurseries_lawn_and_garden_supply_stores",
                            "nursing_personal_care",
                            "office_and_commercial_furniture",
                            "opticians_eyeglasses",
                            "optometrists_ophthalmologist",
                            "orthopedic_goods_prosthetic_devices",
                            "osteopaths",
                            "package_stores_beer_wine_and_liquor",
                            "paints_varnishes_and_supplies",
                            "parking_lots_garages",
                            "passenger_railways",
                            "pawn_shops",
                            "pet_shops_pet_food_and_supplies",
                            "petroleum_and_petroleum_products",
                            "photo_developing",
                            "photographic_photocopy_microfilm_equipment_and_supplies",
                            "photographic_studios",
                            "picture_video_production",
                            "piece_goods_notions_and_other_dry_goods",
                            "plumbing_heating_equipment_and_supplies",
                            "political_organizations",
                            "postal_services_government_only",
                            "precious_stones_and_metals_watches_and_jewelry",
                            "professional_services",
                            "public_warehousing_and_storage",
                            "quick_copy_repro_and_blueprint",
                            "railroads",
                            "real_estate_agents_and_managers_rentals",
                            "record_stores",
                            "recreational_vehicle_rentals",
                            "religious_goods_stores",
                            "religious_organizations",
                            "roofing_siding_sheet_metal",
                            "secretarial_support_services",
                            "security_brokers_dealers",
                            "service_stations",
                            "sewing_needlework_fabric_and_piece_goods_stores",
                            "shoe_repair_hat_cleaning",
                            "shoe_stores",
                            "small_appliance_repair",
                            "snowmobile_dealers",
                            "special_trade_services",
                            "specialty_cleaning",
                            "sporting_goods_stores",
                            "sporting_recreation_camps",
                            "sports_and_riding_apparel_stores",
                            "sports_clubs_fields",
                            "stamp_and_coin_stores",
                            "stationary_office_supplies_printing_and_writing_paper",
                            "stationery_stores_office_and_school_supply_stores",
                            "swimming_pools_sales",
                            "t_ui_travel_germany",
                            "tailors_alterations",
                            "tax_payments_government_agencies",
                            "tax_preparation_services",
                            "taxicabs_limousines",
                            "telecommunication_equipment_and_telephone_sales",
                            "telecommunication_services",
                            "telegraph_services",
                            "tent_and_awning_shops",
                            "testing_laboratories",
                            "theatrical_ticket_agencies",
                            "timeshares",
                            "tire_retreading_and_repair",
                            "tolls_bridge_fees",
                            "tourist_attractions_and_exhibits",
                            "towing_services",
                            "trailer_parks_campgrounds",
                            "transportation_services",
                            "travel_agencies_tour_operators",
                            "truck_stop_iteration",
                            "truck_utility_trailer_rentals",
                            "typesetting_plate_making_and_related_services",
                            "typewriter_stores",
                            "u_s_federal_government_agencies_or_departments",
                            "uniforms_commercial_clothing",
                            "used_merchandise_and_secondhand_stores",
                            "utilities",
                            "variety_stores",
                            "veterinary_services",
                            "video_amusement_game_supplies",
                            "video_game_arcades",
                            "video_tape_rental_stores",
                            "vocational_trade_schools",
                            "watch_jewelry_repair",
                            "welding_repair",
                            "wholesale_clubs",
                            "wig_and_toupee_stores",
                            "wires_money_orders",
                            "womens_accessory_and_specialty_shops",
                            "womens_ready_to_wear_stores",
                            "wrecking_and_salvage_yards"
                          ],
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "allowed_merchant_countries": {
                        "description": "Array of strings containing representing countries from which authorizations will be allowed. Authorizations from merchants in all other countries will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `blocked_merchant_countries`. Provide an empty value to unset this control.",
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "blocked_categories": {
                        "description": "Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`.",
                        "items": {
                          "enum": [
                            "ac_refrigeration_repair",
                            "accounting_bookkeeping_services",
                            "advertising_services",
                            "agricultural_cooperative",
                            "airlines_air_carriers",
                            "airports_flying_fields",
                            "ambulance_services",
                            "amusement_parks_carnivals",
                            "antique_reproductions",
                            "antique_shops",
                            "aquariums",
                            "architectural_surveying_services",
                            "art_dealers_and_galleries",
                            "artists_supply_and_craft_shops",
                            "auto_and_home_supply_stores",
                            "auto_body_repair_shops",
                            "auto_paint_shops",
                            "auto_service_shops",
                            "automated_cash_disburse",
                            "automated_fuel_dispensers",
                            "automobile_associations",
                            "automotive_parts_and_accessories_stores",
                            "automotive_tire_stores",
                            "bail_and_bond_payments",
                            "bakeries",
                            "bands_orchestras",
                            "barber_and_beauty_shops",
                            "betting_casino_gambling",
                            "bicycle_shops",
                            "billiard_pool_establishments",
                            "boat_dealers",
                            "boat_rentals_and_leases",
                            "book_stores",
                            "books_periodicals_and_newspapers",
                            "bowling_alleys",
                            "bus_lines",
                            "business_secretarial_schools",
                            "buying_shopping_services",
                            "cable_satellite_and_other_pay_television_and_radio",
                            "camera_and_photographic_supply_stores",
                            "candy_nut_and_confectionery_stores",
                            "car_and_truck_dealers_new_used",
                            "car_and_truck_dealers_used_only",
                            "car_rental_agencies",
                            "car_washes",
                            "carpentry_services",
                            "carpet_upholstery_cleaning",
                            "caterers",
                            "charitable_and_social_service_organizations_fundraising",
                            "chemicals_and_allied_products",
                            "child_care_services",
                            "childrens_and_infants_wear_stores",
                            "chiropodists_podiatrists",
                            "chiropractors",
                            "cigar_stores_and_stands",
                            "civic_social_fraternal_associations",
                            "cleaning_and_maintenance",
                            "clothing_rental",
                            "colleges_universities",
                            "commercial_equipment",
                            "commercial_footwear",
                            "commercial_photography_art_and_graphics",
                            "commuter_transport_and_ferries",
                            "computer_network_services",
                            "computer_programming",
                            "computer_repair",
                            "computer_software_stores",
                            "computers_peripherals_and_software",
                            "concrete_work_services",
                            "construction_materials",
                            "consulting_public_relations",
                            "correspondence_schools",
                            "cosmetic_stores",
                            "counseling_services",
                            "country_clubs",
                            "courier_services",
                            "court_costs",
                            "credit_reporting_agencies",
                            "cruise_lines",
                            "dairy_products_stores",
                            "dance_hall_studios_schools",
                            "dating_escort_services",
                            "dentists_orthodontists",
                            "department_stores",
                            "detective_agencies",
                            "digital_goods_applications",
                            "digital_goods_games",
                            "digital_goods_large_volume",
                            "digital_goods_media",
                            "direct_marketing_catalog_merchant",
                            "direct_marketing_combination_catalog_and_retail_merchant",
                            "direct_marketing_inbound_telemarketing",
                            "direct_marketing_insurance_services",
                            "direct_marketing_other",
                            "direct_marketing_outbound_telemarketing",
                            "direct_marketing_subscription",
                            "direct_marketing_travel",
                            "discount_stores",
                            "doctors",
                            "door_to_door_sales",
                            "drapery_window_covering_and_upholstery_stores",
                            "drinking_places",
                            "drug_stores_and_pharmacies",
                            "drugs_drug_proprietaries_and_druggist_sundries",
                            "dry_cleaners",
                            "durable_goods",
                            "duty_free_stores",
                            "eating_places_restaurants",
                            "educational_services",
                            "electric_razor_stores",
                            "electric_vehicle_charging",
                            "electrical_parts_and_equipment",
                            "electrical_services",
                            "electronics_repair_shops",
                            "electronics_stores",
                            "elementary_secondary_schools",
                            "emergency_services_gcas_visa_use_only",
                            "employment_temp_agencies",
                            "equipment_rental",
                            "exterminating_services",
                            "family_clothing_stores",
                            "fast_food_restaurants",
                            "financial_institutions",
                            "fines_government_administrative_entities",
                            "fireplace_fireplace_screens_and_accessories_stores",
                            "floor_covering_stores",
                            "florists",
                            "florists_supplies_nursery_stock_and_flowers",
                            "freezer_and_locker_meat_provisioners",
                            "fuel_dealers_non_automotive",
                            "funeral_services_crematories",
                            "furniture_home_furnishings_and_equipment_stores_except_appliances",
                            "furniture_repair_refinishing",
                            "furriers_and_fur_shops",
                            "general_services",
                            "gift_card_novelty_and_souvenir_shops",
                            "glass_paint_and_wallpaper_stores",
                            "glassware_crystal_stores",
                            "golf_courses_public",
                            "government_licensed_horse_dog_racing_us_region_only",
                            "government_licensed_online_casions_online_gambling_us_region_only",
                            "government_owned_lotteries_non_us_region",
                            "government_owned_lotteries_us_region_only",
                            "government_services",
                            "grocery_stores_supermarkets",
                            "hardware_equipment_and_supplies",
                            "hardware_stores",
                            "health_and_beauty_spas",
                            "hearing_aids_sales_and_supplies",
                            "heating_plumbing_a_c",
                            "hobby_toy_and_game_shops",
                            "home_supply_warehouse_stores",
                            "hospitals",
                            "hotels_motels_and_resorts",
                            "household_appliance_stores",
                            "industrial_supplies",
                            "information_retrieval_services",
                            "insurance_default",
                            "insurance_underwriting_premiums",
                            "intra_company_purchases",
                            "jewelry_stores_watches_clocks_and_silverware_stores",
                            "landscaping_services",
                            "laundries",
                            "laundry_cleaning_services",
                            "legal_services_attorneys",
                            "luggage_and_leather_goods_stores",
                            "lumber_building_materials_stores",
                            "manual_cash_disburse",
                            "marinas_service_and_supplies",
                            "marketplaces",
                            "masonry_stonework_and_plaster",
                            "massage_parlors",
                            "medical_and_dental_labs",
                            "medical_dental_ophthalmic_and_hospital_equipment_and_supplies",
                            "medical_services",
                            "membership_organizations",
                            "mens_and_boys_clothing_and_accessories_stores",
                            "mens_womens_clothing_stores",
                            "metal_service_centers",
                            "miscellaneous",
                            "miscellaneous_apparel_and_accessory_shops",
                            "miscellaneous_auto_dealers",
                            "miscellaneous_business_services",
                            "miscellaneous_food_stores",
                            "miscellaneous_general_merchandise",
                            "miscellaneous_general_services",
                            "miscellaneous_home_furnishing_specialty_stores",
                            "miscellaneous_publishing_and_printing",
                            "miscellaneous_recreation_services",
                            "miscellaneous_repair_shops",
                            "miscellaneous_specialty_retail",
                            "mobile_home_dealers",
                            "motion_picture_theaters",
                            "motor_freight_carriers_and_trucking",
                            "motor_homes_dealers",
                            "motor_vehicle_supplies_and_new_parts",
                            "motorcycle_shops_and_dealers",
                            "motorcycle_shops_dealers",
                            "music_stores_musical_instruments_pianos_and_sheet_music",
                            "news_dealers_and_newsstands",
                            "non_fi_money_orders",
                            "non_fi_stored_value_card_purchase_load",
                            "nondurable_goods",
                            "nurseries_lawn_and_garden_supply_stores",
                            "nursing_personal_care",
                            "office_and_commercial_furniture",
                            "opticians_eyeglasses",
                            "optometrists_ophthalmologist",
                            "orthopedic_goods_prosthetic_devices",
                            "osteopaths",
                            "package_stores_beer_wine_and_liquor",
                            "paints_varnishes_and_supplies",
                            "parking_lots_garages",
                            "passenger_railways",
                            "pawn_shops",
                            "pet_shops_pet_food_and_supplies",
                            "petroleum_and_petroleum_products",
                            "photo_developing",
                            "photographic_photocopy_microfilm_equipment_and_supplies",
                            "photographic_studios",
                            "picture_video_production",
                            "piece_goods_notions_and_other_dry_goods",
                            "plumbing_heating_equipment_and_supplies",
                            "political_organizations",
                            "postal_services_government_only",
                            "precious_stones_and_metals_watches_and_jewelry",
                            "professional_services",
                            "public_warehousing_and_storage",
                            "quick_copy_repro_and_blueprint",
                            "railroads",
                            "real_estate_agents_and_managers_rentals",
                            "record_stores",
                            "recreational_vehicle_rentals",
                            "religious_goods_stores",
                            "religious_organizations",
                            "roofing_siding_sheet_metal",
                            "secretarial_support_services",
                            "security_brokers_dealers",
                            "service_stations",
                            "sewing_needlework_fabric_and_piece_goods_stores",
                            "shoe_repair_hat_cleaning",
                            "shoe_stores",
                            "small_appliance_repair",
                            "snowmobile_dealers",
                            "special_trade_services",
                            "specialty_cleaning",
                            "sporting_goods_stores",
                            "sporting_recreation_camps",
                            "sports_and_riding_apparel_stores",
                            "sports_clubs_fields",
                            "stamp_and_coin_stores",
                            "stationary_office_supplies_printing_and_writing_paper",
                            "stationery_stores_office_and_school_supply_stores",
                            "swimming_pools_sales",
                            "t_ui_travel_germany",
                            "tailors_alterations",
                            "tax_payments_government_agencies",
                            "tax_preparation_services",
                            "taxicabs_limousines",
                            "telecommunication_equipment_and_telephone_sales",
                            "telecommunication_services",
                            "telegraph_services",
                            "tent_and_awning_shops",
                            "testing_laboratories",
                            "theatrical_ticket_agencies",
                            "timeshares",
                            "tire_retreading_and_repair",
                            "tolls_bridge_fees",
                            "tourist_attractions_and_exhibits",
                            "towing_services",
                            "trailer_parks_campgrounds",
                            "transportation_services",
                            "travel_agencies_tour_operators",
                            "truck_stop_iteration",
                            "truck_utility_trailer_rentals",
                            "typesetting_plate_making_and_related_services",
                            "typewriter_stores",
                            "u_s_federal_government_agencies_or_departments",
                            "uniforms_commercial_clothing",
                            "used_merchandise_and_secondhand_stores",
                            "utilities",
                            "variety_stores",
                            "veterinary_services",
                            "video_amusement_game_supplies",
                            "video_game_arcades",
                            "video_tape_rental_stores",
                            "vocational_trade_schools",
                            "watch_jewelry_repair",
                            "welding_repair",
                            "wholesale_clubs",
                            "wig_and_toupee_stores",
                            "wires_money_orders",
                            "womens_accessory_and_specialty_shops",
                            "womens_ready_to_wear_stores",
                            "wrecking_and_salvage_yards"
                          ],
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "blocked_merchant_countries": {
                        "description": "Array of strings containing representing countries from which authorizations will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `allowed_merchant_countries`. Provide an empty value to unset this control.",
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "spending_limits": {
                        "description": "Limit spending with amount-based rules that apply across any cards this card replaced (i.e., its `replacement_for` card and _that_ card's `replacement_for` card, up the chain).",
                        "items": {
                          "properties": {
                            "amount": {
                              "description": "Maximum amount allowed to spend per interval.",
                              "type": "integer"
                            },
                            "categories": {
                              "description": "Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories.",
                              "items": {
                                "enum": [
                                  "ac_refrigeration_repair",
                                  "accounting_bookkeeping_services",
                                  "advertising_services",
                                  "agricultural_cooperative",
                                  "airlines_air_carriers",
                                  "airports_flying_fields",
                                  "ambulance_services",
                                  "amusement_parks_carnivals",
                                  "antique_reproductions",
                                  "antique_shops",
                                  "aquariums",
                                  "architectural_surveying_services",
                                  "art_dealers_and_galleries",
                                  "artists_supply_and_craft_shops",
                                  "auto_and_home_supply_stores",
                                  "auto_body_repair_shops",
                                  "auto_paint_shops",
                                  "auto_service_shops",
                                  "automated_cash_disburse",
                                  "automated_fuel_dispensers",
                                  "automobile_associations",
                                  "automotive_parts_and_accessories_stores",
                                  "automotive_tire_stores",
                                  "bail_and_bond_payments",
                                  "bakeries",
                                  "bands_orchestras",
                                  "barber_and_beauty_shops",
                                  "betting_casino_gambling",
                                  "bicycle_shops",
                                  "billiard_pool_establishments",
                                  "boat_dealers",
                                  "boat_rentals_and_leases",
                                  "book_stores",
                                  "books_periodicals_and_newspapers",
                                  "bowling_alleys",
                                  "bus_lines",
                                  "business_secretarial_schools",
                                  "buying_shopping_services",
                                  "cable_satellite_and_other_pay_television_and_radio",
                                  "camera_and_photographic_supply_stores",
                                  "candy_nut_and_confectionery_stores",
                                  "car_and_truck_dealers_new_used",
                                  "car_and_truck_dealers_used_only",
                                  "car_rental_agencies",
                                  "car_washes",
                                  "carpentry_services",
                                  "carpet_upholstery_cleaning",
                                  "caterers",
                                  "charitable_and_social_service_organizations_fundraising",
                                  "chemicals_and_allied_products",
                                  "child_care_services",
                                  "childrens_and_infants_wear_stores",
                                  "chiropodists_podiatrists",
                                  "chiropractors",
                                  "cigar_stores_and_stands",
                                  "civic_social_fraternal_associations",
                                  "cleaning_and_maintenance",
                                  "clothing_rental",
                                  "colleges_universities",
                                  "commercial_equipment",
                                  "commercial_footwear",
                                  "commercial_photography_art_and_graphics",
                                  "commuter_transport_and_ferries",
                                  "computer_network_services",
                                  "computer_programming",
                                  "computer_repair",
                                  "computer_software_stores",
                                  "computers_peripherals_and_software",
                                  "concrete_work_services",
                                  "construction_materials",
                                  "consulting_public_relations",
                                  "correspondence_schools",
                                  "cosmetic_stores",
                                  "counseling_services",
                                  "country_clubs",
                                  "courier_services",
                                  "court_costs",
                                  "credit_reporting_agencies",
                                  "cruise_lines",
                                  "dairy_products_stores",
                                  "dance_hall_studios_schools",
                                  "dating_escort_services",
                                  "dentists_orthodontists",
                                  "department_stores",
                                  "detective_agencies",
                                  "digital_goods_applications",
                                  "digital_goods_games",
                                  "digital_goods_large_volume",
                                  "digital_goods_media",
                                  "direct_marketing_catalog_merchant",
                                  "direct_marketing_combination_catalog_and_retail_merchant",
                                  "direct_marketing_inbound_telemarketing",
                                  "direct_marketing_insurance_services",
                                  "direct_marketing_other",
                                  "direct_marketing_outbound_telemarketing",
                                  "direct_marketing_subscription",
                                  "direct_marketing_travel",
                                  "discount_stores",
                                  "doctors",
                                  "door_to_door_sales",
                                  "drapery_window_covering_and_upholstery_stores",
                                  "drinking_places",
                                  "drug_stores_and_pharmacies",
                                  "drugs_drug_proprietaries_and_druggist_sundries",
                                  "dry_cleaners",
                                  "durable_goods",
                                  "duty_free_stores",
                                  "eating_places_restaurants",
                                  "educational_services",
                                  "electric_razor_stores",
                                  "electric_vehicle_charging",
                                  "electrical_parts_and_equipment",
                                  "electrical_services",
                                  "electronics_repair_shops",
                                  "electronics_stores",
                                  "elementary_secondary_schools",
                                  "emergency_services_gcas_visa_use_only",
                                  "employment_temp_agencies",
                                  "equipment_rental",
                                  "exterminating_services",
                                  "family_clothing_stores",
                                  "fast_food_restaurants",
                                  "financial_institutions",
                                  "fines_government_administrative_entities",
                                  "fireplace_fireplace_screens_and_accessories_stores",
                                  "floor_covering_stores",
                                  "florists",
                                  "florists_supplies_nursery_stock_and_flowers",
                                  "freezer_and_locker_meat_provisioners",
                                  "fuel_dealers_non_automotive",
                                  "funeral_services_crematories",
                                  "furniture_home_furnishings_and_equipment_stores_except_appliances",
                                  "furniture_repair_refinishing",
                                  "furriers_and_fur_shops",
                                  "general_services",
                                  "gift_card_novelty_and_souvenir_shops",
                                  "glass_paint_and_wallpaper_stores",
                                  "glassware_crystal_stores",
                                  "golf_courses_public",
                                  "government_licensed_horse_dog_racing_us_region_only",
                                  "government_licensed_online_casions_online_gambling_us_region_only",
                                  "government_owned_lotteries_non_us_region",
                                  "government_owned_lotteries_us_region_only",
                                  "government_services",
                                  "grocery_stores_supermarkets",
                                  "hardware_equipment_and_supplies",
                                  "hardware_stores",
                                  "health_and_beauty_spas",
                                  "hearing_aids_sales_and_supplies",
                                  "heating_plumbing_a_c",
                                  "hobby_toy_and_game_shops",
                                  "home_supply_warehouse_stores",
                                  "hospitals",
                                  "hotels_motels_and_resorts",
                                  "household_appliance_stores",
                                  "industrial_supplies",
                                  "information_retrieval_services",
                                  "insurance_default",
                                  "insurance_underwriting_premiums",
                                  "intra_company_purchases",
                                  "jewelry_stores_watches_clocks_and_silverware_stores",
                                  "landscaping_services",
                                  "laundries",
                                  "laundry_cleaning_services",
                                  "legal_services_attorneys",
                                  "luggage_and_leather_goods_stores",
                                  "lumber_building_materials_stores",
                                  "manual_cash_disburse",
                                  "marinas_service_and_supplies",
                                  "marketplaces",
                                  "masonry_stonework_and_plaster",
                                  "massage_parlors",
                                  "medical_and_dental_labs",
                                  "medical_dental_ophthalmic_and_hospital_equipment_and_supplies",
                                  "medical_services",
                                  "membership_organizations",
                                  "mens_and_boys_clothing_and_accessories_stores",
                                  "mens_womens_clothing_stores",
                                  "metal_service_centers",
                                  "miscellaneous",
                                  "miscellaneous_apparel_and_accessory_shops",
                                  "miscellaneous_auto_dealers",
                                  "miscellaneous_business_services",
                                  "miscellaneous_food_stores",
                                  "miscellaneous_general_merchandise",
                                  "miscellaneous_general_services",
                                  "miscellaneous_home_furnishing_specialty_stores",
                                  "miscellaneous_publishing_and_printing",
                                  "miscellaneous_recreation_services",
                                  "miscellaneous_repair_shops",
                                  "miscellaneous_specialty_retail",
                                  "mobile_home_dealers",
                                  "motion_picture_theaters",
                                  "motor_freight_carriers_and_trucking",
                                  "motor_homes_dealers",
                                  "motor_vehicle_supplies_and_new_parts",
                                  "motorcycle_shops_and_dealers",
                                  "motorcycle_shops_dealers",
                                  "music_stores_musical_instruments_pianos_and_sheet_music",
                                  "news_dealers_and_newsstands",
                                  "non_fi_money_orders",
                                  "non_fi_stored_value_card_purchase_load",
                                  "nondurable_goods",
                                  "nurseries_lawn_and_garden_supply_stores",
                                  "nursing_personal_care",
                                  "office_and_commercial_furniture",
                                  "opticians_eyeglasses",
                                  "optometrists_ophthalmologist",
                                  "orthopedic_goods_prosthetic_devices",
                                  "osteopaths",
                                  "package_stores_beer_wine_and_liquor",
                                  "paints_varnishes_and_supplies",
                                  "parking_lots_garages",
                                  "passenger_railways",
                                  "pawn_shops",
                                  "pet_shops_pet_food_and_supplies",
                                  "petroleum_and_petroleum_products",
                                  "photo_developing",
                                  "photographic_photocopy_microfilm_equipment_and_supplies",
                                  "photographic_studios",
                                  "picture_video_production",
                                  "piece_goods_notions_and_other_dry_goods",
                                  "plumbing_heating_equipment_and_supplies",
                                  "political_organizations",
                                  "postal_services_government_only",
                                  "precious_stones_and_metals_watches_and_jewelry",
                                  "professional_services",
                                  "public_warehousing_and_storage",
                                  "quick_copy_repro_and_blueprint",
                                  "railroads",
                                  "real_estate_agents_and_managers_rentals",
                                  "record_stores",
                                  "recreational_vehicle_rentals",
                                  "religious_goods_stores",
                                  "religious_organizations",
                                  "roofing_siding_sheet_metal",
                                  "secretarial_support_services",
                                  "security_brokers_dealers",
                                  "service_stations",
                                  "sewing_needlework_fabric_and_piece_goods_stores",
                                  "shoe_repair_hat_cleaning",
                                  "shoe_stores",
                                  "small_appliance_repair",
                                  "snowmobile_dealers",
                                  "special_trade_services",
                                  "specialty_cleaning",
                                  "sporting_goods_stores",
                                  "sporting_recreation_camps",
                                  "sports_and_riding_apparel_stores",
                                  "sports_clubs_fields",
                                  "stamp_and_coin_stores",
                                  "stationary_office_supplies_printing_and_writing_paper",
                                  "stationery_stores_office_and_school_supply_stores",
                                  "swimming_pools_sales",
                                  "t_ui_travel_germany",
                                  "tailors_alterations",
                                  "tax_payments_government_agencies",
                                  "tax_preparation_services",
                                  "taxicabs_limousines",
                                  "telecommunication_equipment_and_telephone_sales",
                                  "telecommunication_services",
                                  "telegraph_services",
                                  "tent_and_awning_shops",
                                  "testing_laboratories",
                                  "theatrical_ticket_agencies",
                                  "timeshares",
                                  "tire_retreading_and_repair",
                                  "tolls_bridge_fees",
                                  "tourist_attractions_and_exhibits",
                                  "towing_services",
                                  "trailer_parks_campgrounds",
                                  "transportation_services",
                                  "travel_agencies_tour_operators",
                                  "truck_stop_iteration",
                                  "truck_utility_trailer_rentals",
                                  "typesetting_plate_making_and_related_services",
                                  "typewriter_stores",
                                  "u_s_federal_government_agencies_or_departments",
                                  "uniforms_commercial_clothing",
                                  "used_merchandise_and_secondhand_stores",
                                  "utilities",
                                  "variety_stores",
                                  "veterinary_services",
                                  "video_amusement_game_supplies",
                                  "video_game_arcades",
                                  "video_tape_rental_stores",
                                  "vocational_trade_schools",
                                  "watch_jewelry_repair",
                                  "welding_repair",
                                  "wholesale_clubs",
                                  "wig_and_toupee_stores",
                                  "wires_money_orders",
                                  "womens_accessory_and_specialty_shops",
                                  "womens_ready_to_wear_stores",
                                  "wrecking_and_salvage_yards"
                                ],
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "interval": {
                              "description": "Interval (or event) to which the amount applies.",
                              "enum": [
                                "all_time",
                                "daily",
                                "monthly",
                                "per_authorization",
                                "weekly",
                                "yearly"
                              ],
                              "type": "string"
                            }
                          },
                          "required": [
                            "amount",
                            "interval"
                          ],
                          "title": "spending_limits_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "amount",
                            "categories",
                            "interval"
                          ]
                        },
                        "type": "array"
                      }
                    },
                    "title": "authorization_controls_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "allowed_categories",
                      "allowed_merchant_countries",
                      "allowed_merchant_currencies",
                      "allowed_merchant_network_ids",
                      "blocked_categories",
                      "blocked_merchant_countries",
                      "blocked_merchant_currencies",
                      "blocked_merchant_network_ids",
                      "max_approvals",
                      "spending_limits"
                    ]
                  },
                  "status": {
                    "description": "Whether authorizations can be approved on this card. May be blocked from activating cards depending on past-due Cardholder requirements. Defaults to `inactive`.",
                    "enum": [
                      "active",
                      "inactive"
                    ],
                    "type": "string"
                  },
                  "type": {
                    "description": "The type of card to issue. Possible values are `physical` or `virtual`.",
                    "enum": [
                      "physical",
                      "virtual"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "currency",
                  "type"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "cardholder",
                  "currency",
                  "metadata",
                  "status",
                  "type"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.card"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a card"
      }
    },
    "/v1/issuing/cards/{card}": {
      "get": {
        "description": "<p>Retrieves an Issuing <code>Card</code> object.</p>",
        "operationId": "GetIssuingCardsCard",
        "parameters": [
          {
            "in": "path",
            "name": "card",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.card"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a card"
      },
      "post": {
        "description": "<p>Updates the specified Issuing <code>Card</code> object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.</p>",
        "operationId": "PostIssuingCardsCard",
        "parameters": [
          {
            "in": "path",
            "name": "card",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "pin": {
                  "explode": true,
                  "style": "deepObject"
                },
                "shipping": {
                  "explode": true,
                  "style": "deepObject"
                },
                "spending_controls": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "cancellation_reason": {
                    "description": "Reason why the `status` of this card is `canceled`.",
                    "enum": [
                      "lost",
                      "stolen"
                    ],
                    "type": "string",
                    "x-stripeBypassValidation": true
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "personalization_design": {
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "pin": {
                    "description": "The desired new PIN for this card.",
                    "properties": {
                      "encrypted_number": {
                        "description": "The card's desired new PIN, encrypted under Stripe's public key.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "encrypted_pin_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "encrypted_number"
                    ]
                  },
                  "shipping": {
                    "description": "Updated shipping information for the card.",
                    "properties": {
                      "address": {
                        "description": "The address that the card is shipped to.",
                        "properties": {
                          "city": {
                            "description": "City, district, suburb, town, or village.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Address line 1 (e.g., street, PO Box, or company name).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "ZIP or postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "State, county, province, or region.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "city",
                          "country",
                          "line1",
                          "postal_code"
                        ],
                        "title": "required_address",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "line1",
                          "line2",
                          "postal_code",
                          "state"
                        ]
                      },
                      "address_validation": {
                        "description": "Address validation settings.",
                        "properties": {
                          "mode": {
                            "description": "The address validation capabilities to use.",
                            "enum": [
                              "disabled",
                              "normalization_only",
                              "validation_and_normalization"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "mode"
                        ],
                        "title": "address_validation_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "mode"
                        ]
                      },
                      "customs": {
                        "description": "Customs information for the shipment.",
                        "properties": {
                          "eori_number": {
                            "description": "The Economic Operators Registration and Identification (EORI) number to use for Customs. Required for bulk shipments to Europe.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "customs_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "eori_number"
                        ]
                      },
                      "name": {
                        "description": "The name printed on the shipping label when shipping the card.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "phone_number": {
                        "description": "Phone number of the recipient of the shipment.",
                        "type": "string"
                      },
                      "require_signature": {
                        "description": "Whether a signature is required for card delivery.",
                        "type": "boolean"
                      },
                      "service": {
                        "description": "Shipment service.",
                        "enum": [
                          "express",
                          "priority",
                          "standard"
                        ],
                        "type": "string",
                        "x-stripeBypassValidation": true
                      },
                      "type": {
                        "description": "Packaging options.",
                        "enum": [
                          "bulk",
                          "individual"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "address",
                      "name"
                    ],
                    "title": "shipping_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "address",
                      "address_validation",
                      "customs",
                      "name",
                      "phone_number",
                      "require_signature",
                      "service",
                      "speed",
                      "type"
                    ]
                  },
                  "spending_controls": {
                    "description": "Rules that control spending for this card. Refer to our [documentation](https://stripe.com/docs/issuing/controls/spending-controls) for more details.",
                    "properties": {
                      "allowed_categories": {
                        "description": "Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`.",
                        "items": {
                          "enum": [
                            "ac_refrigeration_repair",
                            "accounting_bookkeeping_services",
                            "advertising_services",
                            "agricultural_cooperative",
                            "airlines_air_carriers",
                            "airports_flying_fields",
                            "ambulance_services",
                            "amusement_parks_carnivals",
                            "antique_reproductions",
                            "antique_shops",
                            "aquariums",
                            "architectural_surveying_services",
                            "art_dealers_and_galleries",
                            "artists_supply_and_craft_shops",
                            "auto_and_home_supply_stores",
                            "auto_body_repair_shops",
                            "auto_paint_shops",
                            "auto_service_shops",
                            "automated_cash_disburse",
                            "automated_fuel_dispensers",
                            "automobile_associations",
                            "automotive_parts_and_accessories_stores",
                            "automotive_tire_stores",
                            "bail_and_bond_payments",
                            "bakeries",
                            "bands_orchestras",
                            "barber_and_beauty_shops",
                            "betting_casino_gambling",
                            "bicycle_shops",
                            "billiard_pool_establishments",
                            "boat_dealers",
                            "boat_rentals_and_leases",
                            "book_stores",
                            "books_periodicals_and_newspapers",
                            "bowling_alleys",
                            "bus_lines",
                            "business_secretarial_schools",
                            "buying_shopping_services",
                            "cable_satellite_and_other_pay_television_and_radio",
                            "camera_and_photographic_supply_stores",
                            "candy_nut_and_confectionery_stores",
                            "car_and_truck_dealers_new_used",
                            "car_and_truck_dealers_used_only",
                            "car_rental_agencies",
                            "car_washes",
                            "carpentry_services",
                            "carpet_upholstery_cleaning",
                            "caterers",
                            "charitable_and_social_service_organizations_fundraising",
                            "chemicals_and_allied_products",
                            "child_care_services",
                            "childrens_and_infants_wear_stores",
                            "chiropodists_podiatrists",
                            "chiropractors",
                            "cigar_stores_and_stands",
                            "civic_social_fraternal_associations",
                            "cleaning_and_maintenance",
                            "clothing_rental",
                            "colleges_universities",
                            "commercial_equipment",
                            "commercial_footwear",
                            "commercial_photography_art_and_graphics",
                            "commuter_transport_and_ferries",
                            "computer_network_services",
                            "computer_programming",
                            "computer_repair",
                            "computer_software_stores",
                            "computers_peripherals_and_software",
                            "concrete_work_services",
                            "construction_materials",
                            "consulting_public_relations",
                            "correspondence_schools",
                            "cosmetic_stores",
                            "counseling_services",
                            "country_clubs",
                            "courier_services",
                            "court_costs",
                            "credit_reporting_agencies",
                            "cruise_lines",
                            "dairy_products_stores",
                            "dance_hall_studios_schools",
                            "dating_escort_services",
                            "dentists_orthodontists",
                            "department_stores",
                            "detective_agencies",
                            "digital_goods_applications",
                            "digital_goods_games",
                            "digital_goods_large_volume",
                            "digital_goods_media",
                            "direct_marketing_catalog_merchant",
                            "direct_marketing_combination_catalog_and_retail_merchant",
                            "direct_marketing_inbound_telemarketing",
                            "direct_marketing_insurance_services",
                            "direct_marketing_other",
                            "direct_marketing_outbound_telemarketing",
                            "direct_marketing_subscription",
                            "direct_marketing_travel",
                            "discount_stores",
                            "doctors",
                            "door_to_door_sales",
                            "drapery_window_covering_and_upholstery_stores",
                            "drinking_places",
                            "drug_stores_and_pharmacies",
                            "drugs_drug_proprietaries_and_druggist_sundries",
                            "dry_cleaners",
                            "durable_goods",
                            "duty_free_stores",
                            "eating_places_restaurants",
                            "educational_services",
                            "electric_razor_stores",
                            "electric_vehicle_charging",
                            "electrical_parts_and_equipment",
                            "electrical_services",
                            "electronics_repair_shops",
                            "electronics_stores",
                            "elementary_secondary_schools",
                            "emergency_services_gcas_visa_use_only",
                            "employment_temp_agencies",
                            "equipment_rental",
                            "exterminating_services",
                            "family_clothing_stores",
                            "fast_food_restaurants",
                            "financial_institutions",
                            "fines_government_administrative_entities",
                            "fireplace_fireplace_screens_and_accessories_stores",
                            "floor_covering_stores",
                            "florists",
                            "florists_supplies_nursery_stock_and_flowers",
                            "freezer_and_locker_meat_provisioners",
                            "fuel_dealers_non_automotive",
                            "funeral_services_crematories",
                            "furniture_home_furnishings_and_equipment_stores_except_appliances",
                            "furniture_repair_refinishing",
                            "furriers_and_fur_shops",
                            "general_services",
                            "gift_card_novelty_and_souvenir_shops",
                            "glass_paint_and_wallpaper_stores",
                            "glassware_crystal_stores",
                            "golf_courses_public",
                            "government_licensed_horse_dog_racing_us_region_only",
                            "government_licensed_online_casions_online_gambling_us_region_only",
                            "government_owned_lotteries_non_us_region",
                            "government_owned_lotteries_us_region_only",
                            "government_services",
                            "grocery_stores_supermarkets",
                            "hardware_equipment_and_supplies",
                            "hardware_stores",
                            "health_and_beauty_spas",
                            "hearing_aids_sales_and_supplies",
                            "heating_plumbing_a_c",
                            "hobby_toy_and_game_shops",
                            "home_supply_warehouse_stores",
                            "hospitals",
                            "hotels_motels_and_resorts",
                            "household_appliance_stores",
                            "industrial_supplies",
                            "information_retrieval_services",
                            "insurance_default",
                            "insurance_underwriting_premiums",
                            "intra_company_purchases",
                            "jewelry_stores_watches_clocks_and_silverware_stores",
                            "landscaping_services",
                            "laundries",
                            "laundry_cleaning_services",
                            "legal_services_attorneys",
                            "luggage_and_leather_goods_stores",
                            "lumber_building_materials_stores",
                            "manual_cash_disburse",
                            "marinas_service_and_supplies",
                            "marketplaces",
                            "masonry_stonework_and_plaster",
                            "massage_parlors",
                            "medical_and_dental_labs",
                            "medical_dental_ophthalmic_and_hospital_equipment_and_supplies",
                            "medical_services",
                            "membership_organizations",
                            "mens_and_boys_clothing_and_accessories_stores",
                            "mens_womens_clothing_stores",
                            "metal_service_centers",
                            "miscellaneous",
                            "miscellaneous_apparel_and_accessory_shops",
                            "miscellaneous_auto_dealers",
                            "miscellaneous_business_services",
                            "miscellaneous_food_stores",
                            "miscellaneous_general_merchandise",
                            "miscellaneous_general_services",
                            "miscellaneous_home_furnishing_specialty_stores",
                            "miscellaneous_publishing_and_printing",
                            "miscellaneous_recreation_services",
                            "miscellaneous_repair_shops",
                            "miscellaneous_specialty_retail",
                            "mobile_home_dealers",
                            "motion_picture_theaters",
                            "motor_freight_carriers_and_trucking",
                            "motor_homes_dealers",
                            "motor_vehicle_supplies_and_new_parts",
                            "motorcycle_shops_and_dealers",
                            "motorcycle_shops_dealers",
                            "music_stores_musical_instruments_pianos_and_sheet_music",
                            "news_dealers_and_newsstands",
                            "non_fi_money_orders",
                            "non_fi_stored_value_card_purchase_load",
                            "nondurable_goods",
                            "nurseries_lawn_and_garden_supply_stores",
                            "nursing_personal_care",
                            "office_and_commercial_furniture",
                            "opticians_eyeglasses",
                            "optometrists_ophthalmologist",
                            "orthopedic_goods_prosthetic_devices",
                            "osteopaths",
                            "package_stores_beer_wine_and_liquor",
                            "paints_varnishes_and_supplies",
                            "parking_lots_garages",
                            "passenger_railways",
                            "pawn_shops",
                            "pet_shops_pet_food_and_supplies",
                            "petroleum_and_petroleum_products",
                            "photo_developing",
                            "photographic_photocopy_microfilm_equipment_and_supplies",
                            "photographic_studios",
                            "picture_video_production",
                            "piece_goods_notions_and_other_dry_goods",
                            "plumbing_heating_equipment_and_supplies",
                            "political_organizations",
                            "postal_services_government_only",
                            "precious_stones_and_metals_watches_and_jewelry",
                            "professional_services",
                            "public_warehousing_and_storage",
                            "quick_copy_repro_and_blueprint",
                            "railroads",
                            "real_estate_agents_and_managers_rentals",
                            "record_stores",
                            "recreational_vehicle_rentals",
                            "religious_goods_stores",
                            "religious_organizations",
                            "roofing_siding_sheet_metal",
                            "secretarial_support_services",
                            "security_brokers_dealers",
                            "service_stations",
                            "sewing_needlework_fabric_and_piece_goods_stores",
                            "shoe_repair_hat_cleaning",
                            "shoe_stores",
                            "small_appliance_repair",
                            "snowmobile_dealers",
                            "special_trade_services",
                            "specialty_cleaning",
                            "sporting_goods_stores",
                            "sporting_recreation_camps",
                            "sports_and_riding_apparel_stores",
                            "sports_clubs_fields",
                            "stamp_and_coin_stores",
                            "stationary_office_supplies_printing_and_writing_paper",
                            "stationery_stores_office_and_school_supply_stores",
                            "swimming_pools_sales",
                            "t_ui_travel_germany",
                            "tailors_alterations",
                            "tax_payments_government_agencies",
                            "tax_preparation_services",
                            "taxicabs_limousines",
                            "telecommunication_equipment_and_telephone_sales",
                            "telecommunication_services",
                            "telegraph_services",
                            "tent_and_awning_shops",
                            "testing_laboratories",
                            "theatrical_ticket_agencies",
                            "timeshares",
                            "tire_retreading_and_repair",
                            "tolls_bridge_fees",
                            "tourist_attractions_and_exhibits",
                            "towing_services",
                            "trailer_parks_campgrounds",
                            "transportation_services",
                            "travel_agencies_tour_operators",
                            "truck_stop_iteration",
                            "truck_utility_trailer_rentals",
                            "typesetting_plate_making_and_related_services",
                            "typewriter_stores",
                            "u_s_federal_government_agencies_or_departments",
                            "uniforms_commercial_clothing",
                            "used_merchandise_and_secondhand_stores",
                            "utilities",
                            "variety_stores",
                            "veterinary_services",
                            "video_amusement_game_supplies",
                            "video_game_arcades",
                            "video_tape_rental_stores",
                            "vocational_trade_schools",
                            "watch_jewelry_repair",
                            "welding_repair",
                            "wholesale_clubs",
                            "wig_and_toupee_stores",
                            "wires_money_orders",
                            "womens_accessory_and_specialty_shops",
                            "womens_ready_to_wear_stores",
                            "wrecking_and_salvage_yards"
                          ],
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "allowed_merchant_countries": {
                        "description": "Array of strings containing representing countries from which authorizations will be allowed. Authorizations from merchants in all other countries will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `blocked_merchant_countries`. Provide an empty value to unset this control.",
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "blocked_categories": {
                        "description": "Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`.",
                        "items": {
                          "enum": [
                            "ac_refrigeration_repair",
                            "accounting_bookkeeping_services",
                            "advertising_services",
                            "agricultural_cooperative",
                            "airlines_air_carriers",
                            "airports_flying_fields",
                            "ambulance_services",
                            "amusement_parks_carnivals",
                            "antique_reproductions",
                            "antique_shops",
                            "aquariums",
                            "architectural_surveying_services",
                            "art_dealers_and_galleries",
                            "artists_supply_and_craft_shops",
                            "auto_and_home_supply_stores",
                            "auto_body_repair_shops",
                            "auto_paint_shops",
                            "auto_service_shops",
                            "automated_cash_disburse",
                            "automated_fuel_dispensers",
                            "automobile_associations",
                            "automotive_parts_and_accessories_stores",
                            "automotive_tire_stores",
                            "bail_and_bond_payments",
                            "bakeries",
                            "bands_orchestras",
                            "barber_and_beauty_shops",
                            "betting_casino_gambling",
                            "bicycle_shops",
                            "billiard_pool_establishments",
                            "boat_dealers",
                            "boat_rentals_and_leases",
                            "book_stores",
                            "books_periodicals_and_newspapers",
                            "bowling_alleys",
                            "bus_lines",
                            "business_secretarial_schools",
                            "buying_shopping_services",
                            "cable_satellite_and_other_pay_television_and_radio",
                            "camera_and_photographic_supply_stores",
                            "candy_nut_and_confectionery_stores",
                            "car_and_truck_dealers_new_used",
                            "car_and_truck_dealers_used_only",
                            "car_rental_agencies",
                            "car_washes",
                            "carpentry_services",
                            "carpet_upholstery_cleaning",
                            "caterers",
                            "charitable_and_social_service_organizations_fundraising",
                            "chemicals_and_allied_products",
                            "child_care_services",
                            "childrens_and_infants_wear_stores",
                            "chiropodists_podiatrists",
                            "chiropractors",
                            "cigar_stores_and_stands",
                            "civic_social_fraternal_associations",
                            "cleaning_and_maintenance",
                            "clothing_rental",
                            "colleges_universities",
                            "commercial_equipment",
                            "commercial_footwear",
                            "commercial_photography_art_and_graphics",
                            "commuter_transport_and_ferries",
                            "computer_network_services",
                            "computer_programming",
                            "computer_repair",
                            "computer_software_stores",
                            "computers_peripherals_and_software",
                            "concrete_work_services",
                            "construction_materials",
                            "consulting_public_relations",
                            "correspondence_schools",
                            "cosmetic_stores",
                            "counseling_services",
                            "country_clubs",
                            "courier_services",
                            "court_costs",
                            "credit_reporting_agencies",
                            "cruise_lines",
                            "dairy_products_stores",
                            "dance_hall_studios_schools",
                            "dating_escort_services",
                            "dentists_orthodontists",
                            "department_stores",
                            "detective_agencies",
                            "digital_goods_applications",
                            "digital_goods_games",
                            "digital_goods_large_volume",
                            "digital_goods_media",
                            "direct_marketing_catalog_merchant",
                            "direct_marketing_combination_catalog_and_retail_merchant",
                            "direct_marketing_inbound_telemarketing",
                            "direct_marketing_insurance_services",
                            "direct_marketing_other",
                            "direct_marketing_outbound_telemarketing",
                            "direct_marketing_subscription",
                            "direct_marketing_travel",
                            "discount_stores",
                            "doctors",
                            "door_to_door_sales",
                            "drapery_window_covering_and_upholstery_stores",
                            "drinking_places",
                            "drug_stores_and_pharmacies",
                            "drugs_drug_proprietaries_and_druggist_sundries",
                            "dry_cleaners",
                            "durable_goods",
                            "duty_free_stores",
                            "eating_places_restaurants",
                            "educational_services",
                            "electric_razor_stores",
                            "electric_vehicle_charging",
                            "electrical_parts_and_equipment",
                            "electrical_services",
                            "electronics_repair_shops",
                            "electronics_stores",
                            "elementary_secondary_schools",
                            "emergency_services_gcas_visa_use_only",
                            "employment_temp_agencies",
                            "equipment_rental",
                            "exterminating_services",
                            "family_clothing_stores",
                            "fast_food_restaurants",
                            "financial_institutions",
                            "fines_government_administrative_entities",
                            "fireplace_fireplace_screens_and_accessories_stores",
                            "floor_covering_stores",
                            "florists",
                            "florists_supplies_nursery_stock_and_flowers",
                            "freezer_and_locker_meat_provisioners",
                            "fuel_dealers_non_automotive",
                            "funeral_services_crematories",
                            "furniture_home_furnishings_and_equipment_stores_except_appliances",
                            "furniture_repair_refinishing",
                            "furriers_and_fur_shops",
                            "general_services",
                            "gift_card_novelty_and_souvenir_shops",
                            "glass_paint_and_wallpaper_stores",
                            "glassware_crystal_stores",
                            "golf_courses_public",
                            "government_licensed_horse_dog_racing_us_region_only",
                            "government_licensed_online_casions_online_gambling_us_region_only",
                            "government_owned_lotteries_non_us_region",
                            "government_owned_lotteries_us_region_only",
                            "government_services",
                            "grocery_stores_supermarkets",
                            "hardware_equipment_and_supplies",
                            "hardware_stores",
                            "health_and_beauty_spas",
                            "hearing_aids_sales_and_supplies",
                            "heating_plumbing_a_c",
                            "hobby_toy_and_game_shops",
                            "home_supply_warehouse_stores",
                            "hospitals",
                            "hotels_motels_and_resorts",
                            "household_appliance_stores",
                            "industrial_supplies",
                            "information_retrieval_services",
                            "insurance_default",
                            "insurance_underwriting_premiums",
                            "intra_company_purchases",
                            "jewelry_stores_watches_clocks_and_silverware_stores",
                            "landscaping_services",
                            "laundries",
                            "laundry_cleaning_services",
                            "legal_services_attorneys",
                            "luggage_and_leather_goods_stores",
                            "lumber_building_materials_stores",
                            "manual_cash_disburse",
                            "marinas_service_and_supplies",
                            "marketplaces",
                            "masonry_stonework_and_plaster",
                            "massage_parlors",
                            "medical_and_dental_labs",
                            "medical_dental_ophthalmic_and_hospital_equipment_and_supplies",
                            "medical_services",
                            "membership_organizations",
                            "mens_and_boys_clothing_and_accessories_stores",
                            "mens_womens_clothing_stores",
                            "metal_service_centers",
                            "miscellaneous",
                            "miscellaneous_apparel_and_accessory_shops",
                            "miscellaneous_auto_dealers",
                            "miscellaneous_business_services",
                            "miscellaneous_food_stores",
                            "miscellaneous_general_merchandise",
                            "miscellaneous_general_services",
                            "miscellaneous_home_furnishing_specialty_stores",
                            "miscellaneous_publishing_and_printing",
                            "miscellaneous_recreation_services",
                            "miscellaneous_repair_shops",
                            "miscellaneous_specialty_retail",
                            "mobile_home_dealers",
                            "motion_picture_theaters",
                            "motor_freight_carriers_and_trucking",
                            "motor_homes_dealers",
                            "motor_vehicle_supplies_and_new_parts",
                            "motorcycle_shops_and_dealers",
                            "motorcycle_shops_dealers",
                            "music_stores_musical_instruments_pianos_and_sheet_music",
                            "news_dealers_and_newsstands",
                            "non_fi_money_orders",
                            "non_fi_stored_value_card_purchase_load",
                            "nondurable_goods",
                            "nurseries_lawn_and_garden_supply_stores",
                            "nursing_personal_care",
                            "office_and_commercial_furniture",
                            "opticians_eyeglasses",
                            "optometrists_ophthalmologist",
                            "orthopedic_goods_prosthetic_devices",
                            "osteopaths",
                            "package_stores_beer_wine_and_liquor",
                            "paints_varnishes_and_supplies",
                            "parking_lots_garages",
                            "passenger_railways",
                            "pawn_shops",
                            "pet_shops_pet_food_and_supplies",
                            "petroleum_and_petroleum_products",
                            "photo_developing",
                            "photographic_photocopy_microfilm_equipment_and_supplies",
                            "photographic_studios",
                            "picture_video_production",
                            "piece_goods_notions_and_other_dry_goods",
                            "plumbing_heating_equipment_and_supplies",
                            "political_organizations",
                            "postal_services_government_only",
                            "precious_stones_and_metals_watches_and_jewelry",
                            "professional_services",
                            "public_warehousing_and_storage",
                            "quick_copy_repro_and_blueprint",
                            "railroads",
                            "real_estate_agents_and_managers_rentals",
                            "record_stores",
                            "recreational_vehicle_rentals",
                            "religious_goods_stores",
                            "religious_organizations",
                            "roofing_siding_sheet_metal",
                            "secretarial_support_services",
                            "security_brokers_dealers",
                            "service_stations",
                            "sewing_needlework_fabric_and_piece_goods_stores",
                            "shoe_repair_hat_cleaning",
                            "shoe_stores",
                            "small_appliance_repair",
                            "snowmobile_dealers",
                            "special_trade_services",
                            "specialty_cleaning",
                            "sporting_goods_stores",
                            "sporting_recreation_camps",
                            "sports_and_riding_apparel_stores",
                            "sports_clubs_fields",
                            "stamp_and_coin_stores",
                            "stationary_office_supplies_printing_and_writing_paper",
                            "stationery_stores_office_and_school_supply_stores",
                            "swimming_pools_sales",
                            "t_ui_travel_germany",
                            "tailors_alterations",
                            "tax_payments_government_agencies",
                            "tax_preparation_services",
                            "taxicabs_limousines",
                            "telecommunication_equipment_and_telephone_sales",
                            "telecommunication_services",
                            "telegraph_services",
                            "tent_and_awning_shops",
                            "testing_laboratories",
                            "theatrical_ticket_agencies",
                            "timeshares",
                            "tire_retreading_and_repair",
                            "tolls_bridge_fees",
                            "tourist_attractions_and_exhibits",
                            "towing_services",
                            "trailer_parks_campgrounds",
                            "transportation_services",
                            "travel_agencies_tour_operators",
                            "truck_stop_iteration",
                            "truck_utility_trailer_rentals",
                            "typesetting_plate_making_and_related_services",
                            "typewriter_stores",
                            "u_s_federal_government_agencies_or_departments",
                            "uniforms_commercial_clothing",
                            "used_merchandise_and_secondhand_stores",
                            "utilities",
                            "variety_stores",
                            "veterinary_services",
                            "video_amusement_game_supplies",
                            "video_game_arcades",
                            "video_tape_rental_stores",
                            "vocational_trade_schools",
                            "watch_jewelry_repair",
                            "welding_repair",
                            "wholesale_clubs",
                            "wig_and_toupee_stores",
                            "wires_money_orders",
                            "womens_accessory_and_specialty_shops",
                            "womens_ready_to_wear_stores",
                            "wrecking_and_salvage_yards"
                          ],
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "blocked_merchant_countries": {
                        "description": "Array of strings containing representing countries from which authorizations will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `allowed_merchant_countries`. Provide an empty value to unset this control.",
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "spending_limits": {
                        "description": "Limit spending with amount-based rules that apply across any cards this card replaced (i.e., its `replacement_for` card and _that_ card's `replacement_for` card, up the chain).",
                        "items": {
                          "properties": {
                            "amount": {
                              "description": "Maximum amount allowed to spend per interval.",
                              "type": "integer"
                            },
                            "categories": {
                              "description": "Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories.",
                              "items": {
                                "enum": [
                                  "ac_refrigeration_repair",
                                  "accounting_bookkeeping_services",
                                  "advertising_services",
                                  "agricultural_cooperative",
                                  "airlines_air_carriers",
                                  "airports_flying_fields",
                                  "ambulance_services",
                                  "amusement_parks_carnivals",
                                  "antique_reproductions",
                                  "antique_shops",
                                  "aquariums",
                                  "architectural_surveying_services",
                                  "art_dealers_and_galleries",
                                  "artists_supply_and_craft_shops",
                                  "auto_and_home_supply_stores",
                                  "auto_body_repair_shops",
                                  "auto_paint_shops",
                                  "auto_service_shops",
                                  "automated_cash_disburse",
                                  "automated_fuel_dispensers",
                                  "automobile_associations",
                                  "automotive_parts_and_accessories_stores",
                                  "automotive_tire_stores",
                                  "bail_and_bond_payments",
                                  "bakeries",
                                  "bands_orchestras",
                                  "barber_and_beauty_shops",
                                  "betting_casino_gambling",
                                  "bicycle_shops",
                                  "billiard_pool_establishments",
                                  "boat_dealers",
                                  "boat_rentals_and_leases",
                                  "book_stores",
                                  "books_periodicals_and_newspapers",
                                  "bowling_alleys",
                                  "bus_lines",
                                  "business_secretarial_schools",
                                  "buying_shopping_services",
                                  "cable_satellite_and_other_pay_television_and_radio",
                                  "camera_and_photographic_supply_stores",
                                  "candy_nut_and_confectionery_stores",
                                  "car_and_truck_dealers_new_used",
                                  "car_and_truck_dealers_used_only",
                                  "car_rental_agencies",
                                  "car_washes",
                                  "carpentry_services",
                                  "carpet_upholstery_cleaning",
                                  "caterers",
                                  "charitable_and_social_service_organizations_fundraising",
                                  "chemicals_and_allied_products",
                                  "child_care_services",
                                  "childrens_and_infants_wear_stores",
                                  "chiropodists_podiatrists",
                                  "chiropractors",
                                  "cigar_stores_and_stands",
                                  "civic_social_fraternal_associations",
                                  "cleaning_and_maintenance",
                                  "clothing_rental",
                                  "colleges_universities",
                                  "commercial_equipment",
                                  "commercial_footwear",
                                  "commercial_photography_art_and_graphics",
                                  "commuter_transport_and_ferries",
                                  "computer_network_services",
                                  "computer_programming",
                                  "computer_repair",
                                  "computer_software_stores",
                                  "computers_peripherals_and_software",
                                  "concrete_work_services",
                                  "construction_materials",
                                  "consulting_public_relations",
                                  "correspondence_schools",
                                  "cosmetic_stores",
                                  "counseling_services",
                                  "country_clubs",
                                  "courier_services",
                                  "court_costs",
                                  "credit_reporting_agencies",
                                  "cruise_lines",
                                  "dairy_products_stores",
                                  "dance_hall_studios_schools",
                                  "dating_escort_services",
                                  "dentists_orthodontists",
                                  "department_stores",
                                  "detective_agencies",
                                  "digital_goods_applications",
                                  "digital_goods_games",
                                  "digital_goods_large_volume",
                                  "digital_goods_media",
                                  "direct_marketing_catalog_merchant",
                                  "direct_marketing_combination_catalog_and_retail_merchant",
                                  "direct_marketing_inbound_telemarketing",
                                  "direct_marketing_insurance_services",
                                  "direct_marketing_other",
                                  "direct_marketing_outbound_telemarketing",
                                  "direct_marketing_subscription",
                                  "direct_marketing_travel",
                                  "discount_stores",
                                  "doctors",
                                  "door_to_door_sales",
                                  "drapery_window_covering_and_upholstery_stores",
                                  "drinking_places",
                                  "drug_stores_and_pharmacies",
                                  "drugs_drug_proprietaries_and_druggist_sundries",
                                  "dry_cleaners",
                                  "durable_goods",
                                  "duty_free_stores",
                                  "eating_places_restaurants",
                                  "educational_services",
                                  "electric_razor_stores",
                                  "electric_vehicle_charging",
                                  "electrical_parts_and_equipment",
                                  "electrical_services",
                                  "electronics_repair_shops",
                                  "electronics_stores",
                                  "elementary_secondary_schools",
                                  "emergency_services_gcas_visa_use_only",
                                  "employment_temp_agencies",
                                  "equipment_rental",
                                  "exterminating_services",
                                  "family_clothing_stores",
                                  "fast_food_restaurants",
                                  "financial_institutions",
                                  "fines_government_administrative_entities",
                                  "fireplace_fireplace_screens_and_accessories_stores",
                                  "floor_covering_stores",
                                  "florists",
                                  "florists_supplies_nursery_stock_and_flowers",
                                  "freezer_and_locker_meat_provisioners",
                                  "fuel_dealers_non_automotive",
                                  "funeral_services_crematories",
                                  "furniture_home_furnishings_and_equipment_stores_except_appliances",
                                  "furniture_repair_refinishing",
                                  "furriers_and_fur_shops",
                                  "general_services",
                                  "gift_card_novelty_and_souvenir_shops",
                                  "glass_paint_and_wallpaper_stores",
                                  "glassware_crystal_stores",
                                  "golf_courses_public",
                                  "government_licensed_horse_dog_racing_us_region_only",
                                  "government_licensed_online_casions_online_gambling_us_region_only",
                                  "government_owned_lotteries_non_us_region",
                                  "government_owned_lotteries_us_region_only",
                                  "government_services",
                                  "grocery_stores_supermarkets",
                                  "hardware_equipment_and_supplies",
                                  "hardware_stores",
                                  "health_and_beauty_spas",
                                  "hearing_aids_sales_and_supplies",
                                  "heating_plumbing_a_c",
                                  "hobby_toy_and_game_shops",
                                  "home_supply_warehouse_stores",
                                  "hospitals",
                                  "hotels_motels_and_resorts",
                                  "household_appliance_stores",
                                  "industrial_supplies",
                                  "information_retrieval_services",
                                  "insurance_default",
                                  "insurance_underwriting_premiums",
                                  "intra_company_purchases",
                                  "jewelry_stores_watches_clocks_and_silverware_stores",
                                  "landscaping_services",
                                  "laundries",
                                  "laundry_cleaning_services",
                                  "legal_services_attorneys",
                                  "luggage_and_leather_goods_stores",
                                  "lumber_building_materials_stores",
                                  "manual_cash_disburse",
                                  "marinas_service_and_supplies",
                                  "marketplaces",
                                  "masonry_stonework_and_plaster",
                                  "massage_parlors",
                                  "medical_and_dental_labs",
                                  "medical_dental_ophthalmic_and_hospital_equipment_and_supplies",
                                  "medical_services",
                                  "membership_organizations",
                                  "mens_and_boys_clothing_and_accessories_stores",
                                  "mens_womens_clothing_stores",
                                  "metal_service_centers",
                                  "miscellaneous",
                                  "miscellaneous_apparel_and_accessory_shops",
                                  "miscellaneous_auto_dealers",
                                  "miscellaneous_business_services",
                                  "miscellaneous_food_stores",
                                  "miscellaneous_general_merchandise",
                                  "miscellaneous_general_services",
                                  "miscellaneous_home_furnishing_specialty_stores",
                                  "miscellaneous_publishing_and_printing",
                                  "miscellaneous_recreation_services",
                                  "miscellaneous_repair_shops",
                                  "miscellaneous_specialty_retail",
                                  "mobile_home_dealers",
                                  "motion_picture_theaters",
                                  "motor_freight_carriers_and_trucking",
                                  "motor_homes_dealers",
                                  "motor_vehicle_supplies_and_new_parts",
                                  "motorcycle_shops_and_dealers",
                                  "motorcycle_shops_dealers",
                                  "music_stores_musical_instruments_pianos_and_sheet_music",
                                  "news_dealers_and_newsstands",
                                  "non_fi_money_orders",
                                  "non_fi_stored_value_card_purchase_load",
                                  "nondurable_goods",
                                  "nurseries_lawn_and_garden_supply_stores",
                                  "nursing_personal_care",
                                  "office_and_commercial_furniture",
                                  "opticians_eyeglasses",
                                  "optometrists_ophthalmologist",
                                  "orthopedic_goods_prosthetic_devices",
                                  "osteopaths",
                                  "package_stores_beer_wine_and_liquor",
                                  "paints_varnishes_and_supplies",
                                  "parking_lots_garages",
                                  "passenger_railways",
                                  "pawn_shops",
                                  "pet_shops_pet_food_and_supplies",
                                  "petroleum_and_petroleum_products",
                                  "photo_developing",
                                  "photographic_photocopy_microfilm_equipment_and_supplies",
                                  "photographic_studios",
                                  "picture_video_production",
                                  "piece_goods_notions_and_other_dry_goods",
                                  "plumbing_heating_equipment_and_supplies",
                                  "political_organizations",
                                  "postal_services_government_only",
                                  "precious_stones_and_metals_watches_and_jewelry",
                                  "professional_services",
                                  "public_warehousing_and_storage",
                                  "quick_copy_repro_and_blueprint",
                                  "railroads",
                                  "real_estate_agents_and_managers_rentals",
                                  "record_stores",
                                  "recreational_vehicle_rentals",
                                  "religious_goods_stores",
                                  "religious_organizations",
                                  "roofing_siding_sheet_metal",
                                  "secretarial_support_services",
                                  "security_brokers_dealers",
                                  "service_stations",
                                  "sewing_needlework_fabric_and_piece_goods_stores",
                                  "shoe_repair_hat_cleaning",
                                  "shoe_stores",
                                  "small_appliance_repair",
                                  "snowmobile_dealers",
                                  "special_trade_services",
                                  "specialty_cleaning",
                                  "sporting_goods_stores",
                                  "sporting_recreation_camps",
                                  "sports_and_riding_apparel_stores",
                                  "sports_clubs_fields",
                                  "stamp_and_coin_stores",
                                  "stationary_office_supplies_printing_and_writing_paper",
                                  "stationery_stores_office_and_school_supply_stores",
                                  "swimming_pools_sales",
                                  "t_ui_travel_germany",
                                  "tailors_alterations",
                                  "tax_payments_government_agencies",
                                  "tax_preparation_services",
                                  "taxicabs_limousines",
                                  "telecommunication_equipment_and_telephone_sales",
                                  "telecommunication_services",
                                  "telegraph_services",
                                  "tent_and_awning_shops",
                                  "testing_laboratories",
                                  "theatrical_ticket_agencies",
                                  "timeshares",
                                  "tire_retreading_and_repair",
                                  "tolls_bridge_fees",
                                  "tourist_attractions_and_exhibits",
                                  "towing_services",
                                  "trailer_parks_campgrounds",
                                  "transportation_services",
                                  "travel_agencies_tour_operators",
                                  "truck_stop_iteration",
                                  "truck_utility_trailer_rentals",
                                  "typesetting_plate_making_and_related_services",
                                  "typewriter_stores",
                                  "u_s_federal_government_agencies_or_departments",
                                  "uniforms_commercial_clothing",
                                  "used_merchandise_and_secondhand_stores",
                                  "utilities",
                                  "variety_stores",
                                  "veterinary_services",
                                  "video_amusement_game_supplies",
                                  "video_game_arcades",
                                  "video_tape_rental_stores",
                                  "vocational_trade_schools",
                                  "watch_jewelry_repair",
                                  "welding_repair",
                                  "wholesale_clubs",
                                  "wig_and_toupee_stores",
                                  "wires_money_orders",
                                  "womens_accessory_and_specialty_shops",
                                  "womens_ready_to_wear_stores",
                                  "wrecking_and_salvage_yards"
                                ],
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "interval": {
                              "description": "Interval (or event) to which the amount applies.",
                              "enum": [
                                "all_time",
                                "daily",
                                "monthly",
                                "per_authorization",
                                "weekly",
                                "yearly"
                              ],
                              "type": "string"
                            }
                          },
                          "required": [
                            "amount",
                            "interval"
                          ],
                          "title": "spending_limits_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "amount",
                            "categories",
                            "interval"
                          ]
                        },
                        "type": "array"
                      }
                    },
                    "title": "authorization_controls_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "allowed_categories",
                      "allowed_merchant_countries",
                      "allowed_merchant_currencies",
                      "allowed_merchant_network_ids",
                      "blocked_categories",
                      "blocked_merchant_countries",
                      "blocked_merchant_currencies",
                      "blocked_merchant_network_ids",
                      "max_approvals",
                      "spending_limits"
                    ]
                  },
                  "status": {
                    "description": "Dictates whether authorizations can be approved on this card. May be blocked from activating cards depending on past-due Cardholder requirements. Defaults to `inactive`. If this card is being canceled because it was lost or stolen, this information should be provided as `cancellation_reason`.",
                    "enum": [
                      "active",
                      "canceled",
                      "inactive"
                    ],
                    "type": "string",
                    "x-stripeBypassValidation": true
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "cancellation_reason",
                  "metadata",
                  "status"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.card"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a card"
      }
    },
    "/v1/issuing/disputes": {
      "get": {
        "description": "<p>Returns a list of Issuing <code>Dispute</code> objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.</p>",
        "operationId": "GetIssuingDisputes",
        "parameters": [
          {
            "description": "Only return Issuing disputes that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Select Issuing disputes with the given status.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "expired",
                "lost",
                "submitted",
                "unsubmitted",
                "won"
              ],
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Select the Issuing dispute for the given transaction.",
            "in": "query",
            "name": "transaction",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/issuing.dispute"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/issuing/disputes",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "IssuingDisputeList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all disputes"
      },
      "post": {
        "description": "<p>Creates an Issuing <code>Dispute</code> object. Individual pieces of evidence within the <code>evidence</code> object are optional at this point. Stripe only validates that required evidence is present during submission. Refer to <a href=\"/docs/issuing/purchases/disputes#dispute-reasons-and-evidence\">Dispute reasons and evidence</a> for more details about evidence requirements.</p>",
        "operationId": "PostIssuingDisputes",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "evidence": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "treasury": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "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": "integer"
                  },
                  "evidence": {
                    "description": "Evidence provided for the dispute.",
                    "properties": {
                      "canceled": {
                        "anyOf": [
                          {
                            "properties": {
                              "additional_documentation": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute."
                              },
                              "canceled_at": {
                                "anyOf": [
                                  {
                                    "format": "unix-time",
                                    "type": "integer"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Date when order was canceled."
                              },
                              "cancellation_policy_provided": {
                                "anyOf": [
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Whether the cardholder was provided with a cancellation policy."
                              },
                              "cancellation_reason": {
                                "anyOf": [
                                  {
                                    "maxLength": 2500,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Reason for canceling the order."
                              },
                              "expected_at": {
                                "anyOf": [
                                  {
                                    "format": "unix-time",
                                    "type": "integer"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Date when the cardholder expected to receive the product."
                              },
                              "explanation": {
                                "anyOf": [
                                  {
                                    "maxLength": 2500,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Explanation of why the cardholder is disputing this transaction."
                              },
                              "product_description": {
                                "anyOf": [
                                  {
                                    "maxLength": 2500,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Description of the merchandise or service that was purchased."
                              },
                              "product_type": {
                                "description": "Whether the product was a merchandise or service.",
                                "enum": [
                                  "",
                                  "merchandise",
                                  "service"
                                ],
                                "type": "string"
                              },
                              "return_status": {
                                "description": "Result of cardholder's attempt to return the product.",
                                "enum": [
                                  "",
                                  "merchant_rejected",
                                  "successful"
                                ],
                                "type": "string"
                              },
                              "returned_at": {
                                "anyOf": [
                                  {
                                    "format": "unix-time",
                                    "type": "integer"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Date when the product was returned or attempted to be returned."
                              }
                            },
                            "title": "canceled",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "additional_documentation",
                              "canceled_at",
                              "cancellation_policy_provided",
                              "cancellation_reason",
                              "expected_at",
                              "explanation",
                              "product_description",
                              "product_type",
                              "return_status",
                              "returned_at"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Evidence provided when `reason` is 'canceled'."
                      },
                      "duplicate": {
                        "anyOf": [
                          {
                            "properties": {
                              "additional_documentation": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute."
                              },
                              "card_statement": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Copy of the card statement showing that the product had already been paid for."
                              },
                              "cash_receipt": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Copy of the receipt showing that the product had been paid for in cash."
                              },
                              "check_image": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Image of the front and back of the check that was used to pay for the product."
                              },
                              "explanation": {
                                "anyOf": [
                                  {
                                    "maxLength": 2500,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Explanation of why the cardholder is disputing this transaction."
                              },
                              "original_transaction": {
                                "description": "Transaction (e.g., ipi_...) that the disputed transaction is a duplicate of. Of the two or more transactions that are copies of each other, this is original undisputed one.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "duplicate",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "additional_documentation",
                              "card_statement",
                              "cash_receipt",
                              "check_image",
                              "explanation",
                              "original_transaction"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Evidence provided when `reason` is 'duplicate'."
                      },
                      "fraudulent": {
                        "anyOf": [
                          {
                            "properties": {
                              "additional_documentation": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute."
                              },
                              "explanation": {
                                "anyOf": [
                                  {
                                    "maxLength": 2500,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Explanation of why the cardholder is disputing this transaction."
                              }
                            },
                            "title": "fraudulent",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "additional_documentation",
                              "explanation"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Evidence provided when `reason` is 'fraudulent'."
                      },
                      "merchandise_not_as_described": {
                        "anyOf": [
                          {
                            "properties": {
                              "additional_documentation": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute."
                              },
                              "explanation": {
                                "anyOf": [
                                  {
                                    "maxLength": 2500,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Explanation of why the cardholder is disputing this transaction."
                              },
                              "received_at": {
                                "anyOf": [
                                  {
                                    "format": "unix-time",
                                    "type": "integer"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Date when the product was received."
                              },
                              "return_description": {
                                "anyOf": [
                                  {
                                    "maxLength": 2500,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Description of the cardholder's attempt to return the product."
                              },
                              "return_status": {
                                "description": "Result of cardholder's attempt to return the product.",
                                "enum": [
                                  "",
                                  "merchant_rejected",
                                  "successful"
                                ],
                                "type": "string"
                              },
                              "returned_at": {
                                "anyOf": [
                                  {
                                    "format": "unix-time",
                                    "type": "integer"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Date when the product was returned or attempted to be returned."
                              }
                            },
                            "title": "merchandise_not_as_described",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "additional_documentation",
                              "explanation",
                              "received_at",
                              "return_description",
                              "return_status",
                              "returned_at"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Evidence provided when `reason` is 'merchandise_not_as_described'."
                      },
                      "no_valid_authorization": {
                        "anyOf": [
                          {
                            "properties": {
                              "additional_documentation": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute."
                              },
                              "explanation": {
                                "anyOf": [
                                  {
                                    "maxLength": 2500,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Explanation of why the cardholder is disputing this transaction."
                              }
                            },
                            "title": "no_valid_authorization",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "additional_documentation",
                              "explanation"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Evidence provided when `reason` is 'no_valid_authorization'."
                      },
                      "not_received": {
                        "anyOf": [
                          {
                            "properties": {
                              "additional_documentation": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute."
                              },
                              "expected_at": {
                                "anyOf": [
                                  {
                                    "format": "unix-time",
                                    "type": "integer"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Date when the cardholder expected to receive the product."
                              },
                              "explanation": {
                                "anyOf": [
                                  {
                                    "maxLength": 2500,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Explanation of why the cardholder is disputing this transaction."
                              },
                              "product_description": {
                                "anyOf": [
                                  {
                                    "maxLength": 2500,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Description of the merchandise or service that was purchased."
                              },
                              "product_type": {
                                "description": "Whether the product was a merchandise or service.",
                                "enum": [
                                  "",
                                  "merchandise",
                                  "service"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "not_received",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "additional_documentation",
                              "expected_at",
                              "explanation",
                              "product_description",
                              "product_type"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Evidence provided when `reason` is 'not_received'."
                      },
                      "other": {
                        "anyOf": [
                          {
                            "properties": {
                              "additional_documentation": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute."
                              },
                              "explanation": {
                                "anyOf": [
                                  {
                                    "maxLength": 2500,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Explanation of why the cardholder is disputing this transaction."
                              },
                              "product_description": {
                                "anyOf": [
                                  {
                                    "maxLength": 2500,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Description of the merchandise or service that was purchased."
                              },
                              "product_type": {
                                "description": "Whether the product was a merchandise or service.",
                                "enum": [
                                  "",
                                  "merchandise",
                                  "service"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "other",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "additional_documentation",
                              "explanation",
                              "product_description",
                              "product_type"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Evidence provided when `reason` is 'other'."
                      },
                      "reason": {
                        "description": "The reason for filing the dispute. The evidence should be submitted in the field of the same name.",
                        "enum": [
                          "canceled",
                          "duplicate",
                          "fraudulent",
                          "merchandise_not_as_described",
                          "no_valid_authorization",
                          "not_received",
                          "other",
                          "service_not_as_described"
                        ],
                        "type": "string",
                        "x-stripeBypassValidation": true
                      },
                      "service_not_as_described": {
                        "anyOf": [
                          {
                            "properties": {
                              "additional_documentation": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute."
                              },
                              "canceled_at": {
                                "anyOf": [
                                  {
                                    "format": "unix-time",
                                    "type": "integer"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Date when order was canceled."
                              },
                              "cancellation_reason": {
                                "anyOf": [
                                  {
                                    "maxLength": 2500,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Reason for canceling the order."
                              },
                              "explanation": {
                                "anyOf": [
                                  {
                                    "maxLength": 2500,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Explanation of why the cardholder is disputing this transaction."
                              },
                              "received_at": {
                                "anyOf": [
                                  {
                                    "format": "unix-time",
                                    "type": "integer"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Date when the product was received."
                              }
                            },
                            "title": "service_not_as_described",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "additional_documentation",
                              "canceled_at",
                              "cancellation_reason",
                              "explanation",
                              "received_at"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Evidence provided when `reason` is 'service_not_as_described'."
                      }
                    },
                    "title": "evidence_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "canceled",
                      "duplicate",
                      "fraudulent",
                      "merchandise_not_as_described",
                      "no_valid_authorization",
                      "not_received",
                      "other",
                      "reason",
                      "service_not_as_described"
                    ]
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "transaction": {
                    "description": "The ID of the issuing transaction to create a dispute for. For transaction on Treasury FinancialAccounts, use `treasury.received_debit`.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "treasury": {
                    "description": "Params for disputes related to Treasury FinancialAccounts",
                    "properties": {
                      "received_debit": {
                        "description": "The ID of the ReceivedDebit to initiate an Issuings dispute for.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "required": [
                      "received_debit"
                    ],
                    "title": "treasury_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "received_debit"
                    ]
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "evidence",
                  "metadata",
                  "transaction"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.dispute"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a dispute"
      }
    },
    "/v1/issuing/disputes/{dispute}": {
      "get": {
        "description": "<p>Retrieves an Issuing <code>Dispute</code> object.</p>",
        "operationId": "GetIssuingDisputesDispute",
        "parameters": [
          {
            "in": "path",
            "name": "dispute",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.dispute"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a dispute"
      },
      "post": {
        "description": "<p>Updates the specified Issuing <code>Dispute</code> object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Properties on the <code>evidence</code> object can be unset by passing in an empty string.</p>",
        "operationId": "PostIssuingDisputesDispute",
        "parameters": [
          {
            "in": "path",
            "name": "dispute",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "evidence": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "The dispute amount in the card's currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
                    "type": "integer"
                  },
                  "evidence": {
                    "description": "Evidence provided for the dispute.",
                    "properties": {
                      "canceled": {
                        "anyOf": [
                          {
                            "properties": {
                              "additional_documentation": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute."
                              },
                              "canceled_at": {
                                "anyOf": [
                                  {
                                    "format": "unix-time",
                                    "type": "integer"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Date when order was canceled."
                              },
                              "cancellation_policy_provided": {
                                "anyOf": [
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Whether the cardholder was provided with a cancellation policy."
                              },
                              "cancellation_reason": {
                                "anyOf": [
                                  {
                                    "maxLength": 2500,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Reason for canceling the order."
                              },
                              "expected_at": {
                                "anyOf": [
                                  {
                                    "format": "unix-time",
                                    "type": "integer"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Date when the cardholder expected to receive the product."
                              },
                              "explanation": {
                                "anyOf": [
                                  {
                                    "maxLength": 2500,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Explanation of why the cardholder is disputing this transaction."
                              },
                              "product_description": {
                                "anyOf": [
                                  {
                                    "maxLength": 2500,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Description of the merchandise or service that was purchased."
                              },
                              "product_type": {
                                "description": "Whether the product was a merchandise or service.",
                                "enum": [
                                  "",
                                  "merchandise",
                                  "service"
                                ],
                                "type": "string"
                              },
                              "return_status": {
                                "description": "Result of cardholder's attempt to return the product.",
                                "enum": [
                                  "",
                                  "merchant_rejected",
                                  "successful"
                                ],
                                "type": "string"
                              },
                              "returned_at": {
                                "anyOf": [
                                  {
                                    "format": "unix-time",
                                    "type": "integer"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Date when the product was returned or attempted to be returned."
                              }
                            },
                            "title": "canceled",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "additional_documentation",
                              "canceled_at",
                              "cancellation_policy_provided",
                              "cancellation_reason",
                              "expected_at",
                              "explanation",
                              "product_description",
                              "product_type",
                              "return_status",
                              "returned_at"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Evidence provided when `reason` is 'canceled'."
                      },
                      "duplicate": {
                        "anyOf": [
                          {
                            "properties": {
                              "additional_documentation": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute."
                              },
                              "card_statement": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Copy of the card statement showing that the product had already been paid for."
                              },
                              "cash_receipt": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Copy of the receipt showing that the product had been paid for in cash."
                              },
                              "check_image": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Image of the front and back of the check that was used to pay for the product."
                              },
                              "explanation": {
                                "anyOf": [
                                  {
                                    "maxLength": 2500,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Explanation of why the cardholder is disputing this transaction."
                              },
                              "original_transaction": {
                                "description": "Transaction (e.g., ipi_...) that the disputed transaction is a duplicate of. Of the two or more transactions that are copies of each other, this is original undisputed one.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "duplicate",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "additional_documentation",
                              "card_statement",
                              "cash_receipt",
                              "check_image",
                              "explanation",
                              "original_transaction"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Evidence provided when `reason` is 'duplicate'."
                      },
                      "fraudulent": {
                        "anyOf": [
                          {
                            "properties": {
                              "additional_documentation": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute."
                              },
                              "explanation": {
                                "anyOf": [
                                  {
                                    "maxLength": 2500,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Explanation of why the cardholder is disputing this transaction."
                              }
                            },
                            "title": "fraudulent",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "additional_documentation",
                              "explanation"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Evidence provided when `reason` is 'fraudulent'."
                      },
                      "merchandise_not_as_described": {
                        "anyOf": [
                          {
                            "properties": {
                              "additional_documentation": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute."
                              },
                              "explanation": {
                                "anyOf": [
                                  {
                                    "maxLength": 2500,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Explanation of why the cardholder is disputing this transaction."
                              },
                              "received_at": {
                                "anyOf": [
                                  {
                                    "format": "unix-time",
                                    "type": "integer"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Date when the product was received."
                              },
                              "return_description": {
                                "anyOf": [
                                  {
                                    "maxLength": 2500,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Description of the cardholder's attempt to return the product."
                              },
                              "return_status": {
                                "description": "Result of cardholder's attempt to return the product.",
                                "enum": [
                                  "",
                                  "merchant_rejected",
                                  "successful"
                                ],
                                "type": "string"
                              },
                              "returned_at": {
                                "anyOf": [
                                  {
                                    "format": "unix-time",
                                    "type": "integer"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Date when the product was returned or attempted to be returned."
                              }
                            },
                            "title": "merchandise_not_as_described",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "additional_documentation",
                              "explanation",
                              "received_at",
                              "return_description",
                              "return_status",
                              "returned_at"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Evidence provided when `reason` is 'merchandise_not_as_described'."
                      },
                      "no_valid_authorization": {
                        "anyOf": [
                          {
                            "properties": {
                              "additional_documentation": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute."
                              },
                              "explanation": {
                                "anyOf": [
                                  {
                                    "maxLength": 2500,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Explanation of why the cardholder is disputing this transaction."
                              }
                            },
                            "title": "no_valid_authorization",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "additional_documentation",
                              "explanation"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Evidence provided when `reason` is 'no_valid_authorization'."
                      },
                      "not_received": {
                        "anyOf": [
                          {
                            "properties": {
                              "additional_documentation": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute."
                              },
                              "expected_at": {
                                "anyOf": [
                                  {
                                    "format": "unix-time",
                                    "type": "integer"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Date when the cardholder expected to receive the product."
                              },
                              "explanation": {
                                "anyOf": [
                                  {
                                    "maxLength": 2500,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Explanation of why the cardholder is disputing this transaction."
                              },
                              "product_description": {
                                "anyOf": [
                                  {
                                    "maxLength": 2500,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Description of the merchandise or service that was purchased."
                              },
                              "product_type": {
                                "description": "Whether the product was a merchandise or service.",
                                "enum": [
                                  "",
                                  "merchandise",
                                  "service"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "not_received",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "additional_documentation",
                              "expected_at",
                              "explanation",
                              "product_description",
                              "product_type"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Evidence provided when `reason` is 'not_received'."
                      },
                      "other": {
                        "anyOf": [
                          {
                            "properties": {
                              "additional_documentation": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute."
                              },
                              "explanation": {
                                "anyOf": [
                                  {
                                    "maxLength": 2500,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Explanation of why the cardholder is disputing this transaction."
                              },
                              "product_description": {
                                "anyOf": [
                                  {
                                    "maxLength": 2500,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Description of the merchandise or service that was purchased."
                              },
                              "product_type": {
                                "description": "Whether the product was a merchandise or service.",
                                "enum": [
                                  "",
                                  "merchandise",
                                  "service"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "other",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "additional_documentation",
                              "explanation",
                              "product_description",
                              "product_type"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Evidence provided when `reason` is 'other'."
                      },
                      "reason": {
                        "description": "The reason for filing the dispute. The evidence should be submitted in the field of the same name.",
                        "enum": [
                          "canceled",
                          "duplicate",
                          "fraudulent",
                          "merchandise_not_as_described",
                          "no_valid_authorization",
                          "not_received",
                          "other",
                          "service_not_as_described"
                        ],
                        "type": "string",
                        "x-stripeBypassValidation": true
                      },
                      "service_not_as_described": {
                        "anyOf": [
                          {
                            "properties": {
                              "additional_documentation": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute."
                              },
                              "canceled_at": {
                                "anyOf": [
                                  {
                                    "format": "unix-time",
                                    "type": "integer"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Date when order was canceled."
                              },
                              "cancellation_reason": {
                                "anyOf": [
                                  {
                                    "maxLength": 2500,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Reason for canceling the order."
                              },
                              "explanation": {
                                "anyOf": [
                                  {
                                    "maxLength": 2500,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Explanation of why the cardholder is disputing this transaction."
                              },
                              "received_at": {
                                "anyOf": [
                                  {
                                    "format": "unix-time",
                                    "type": "integer"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Date when the product was received."
                              }
                            },
                            "title": "service_not_as_described",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "additional_documentation",
                              "canceled_at",
                              "cancellation_reason",
                              "explanation",
                              "received_at"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Evidence provided when `reason` is 'service_not_as_described'."
                      }
                    },
                    "title": "evidence_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "canceled",
                      "duplicate",
                      "fraudulent",
                      "merchandise_not_as_described",
                      "no_valid_authorization",
                      "not_received",
                      "other",
                      "reason",
                      "service_not_as_described"
                    ]
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "evidence",
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.dispute"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a dispute"
      }
    },
    "/v1/issuing/disputes/{dispute}/submit": {
      "post": {
        "description": "<p>Submits an Issuing <code>Dispute</code> to the card network. Stripe validates that all evidence fields required for the dispute’s reason are present. For more details, see <a href=\"/docs/issuing/purchases/disputes#dispute-reasons-and-evidence\">Dispute reasons and evidence</a>.</p>",
        "operationId": "PostIssuingDisputesDisputeSubmit",
        "parameters": [
          {
            "in": "path",
            "name": "dispute",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.dispute"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Submit a dispute"
      }
    },
    "/v1/issuing/personalization_designs": {
      "get": {
        "description": "<p>Returns a list of personalization design objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.</p>",
        "operationId": "GetIssuingPersonalizationDesigns",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "Only return personalization designs with the given lookup keys.",
            "explode": true,
            "in": "query",
            "name": "lookup_keys",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 200,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "Only return personalization designs with the given preferences.",
            "explode": true,
            "in": "query",
            "name": "preferences",
            "required": false,
            "schema": {
              "properties": {
                "is_default": {
                  "description": "Only return the personalization design that's set as the default. A connected account uses the Connect platform's default design if no personalization design is set as the default.",
                  "type": "boolean"
                },
                "is_platform_default": {
                  "description": "Only return the personalization design that is set as the Connect platform's default. This parameter is only applicable to connected accounts.",
                  "type": "boolean"
                }
              },
              "title": "preferences_list_param",
              "type": "object",
              "x-stripeMostCommon": [
                "is_default",
                "is_platform_default"
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return personalization designs with the given status.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "active",
                "inactive",
                "rejected",
                "review"
              ],
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/issuing.personalization_design"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/issuing/personalization_designs",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "IssuingPersonalizationDesignList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all personalization designs"
      },
      "post": {
        "description": "<p>Creates a personalization design object.</p>",
        "operationId": "PostIssuingPersonalizationDesigns",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "carrier_text": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "preferences": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "card_logo": {
                    "description": "The file for the card logo, for use with physical bundles that support card logos. Must have a `purpose` value of `issuing_logo`.",
                    "type": "string"
                  },
                  "carrier_text": {
                    "description": "Hash containing carrier text, for use with physical bundles that support carrier text.",
                    "properties": {
                      "footer_body": {
                        "anyOf": [
                          {
                            "maxLength": 200,
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The footer body text of the carrier letter."
                      },
                      "footer_title": {
                        "anyOf": [
                          {
                            "maxLength": 30,
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The footer title text of the carrier letter."
                      },
                      "header_body": {
                        "anyOf": [
                          {
                            "maxLength": 200,
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The header body text of the carrier letter."
                      },
                      "header_title": {
                        "anyOf": [
                          {
                            "maxLength": 30,
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The header title text of the carrier letter."
                      }
                    },
                    "title": "carrier_text_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "footer_body",
                      "footer_title",
                      "header_body",
                      "header_title"
                    ]
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "lookup_key": {
                    "description": "A lookup key used to retrieve personalization designs dynamically from a static string. This may be up to 200 characters.",
                    "maxLength": 200,
                    "type": "string"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "name": {
                    "description": "Friendly display name.",
                    "maxLength": 200,
                    "type": "string"
                  },
                  "physical_bundle": {
                    "description": "The physical bundle object belonging to this personalization design.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "preferences": {
                    "description": "Information on whether this personalization design is used to create cards when one is not specified.",
                    "properties": {
                      "is_default": {
                        "description": "Whether we use this personalization design to create cards when one isn't specified. A connected account uses the Connect platform's default design if no personalization design is set as the default design.",
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "is_default"
                    ],
                    "title": "preferences_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "is_default"
                    ]
                  },
                  "transfer_lookup_key": {
                    "description": "If set to true, will atomically remove the lookup key from the existing personalization design, and assign it to this personalization design.",
                    "type": "boolean"
                  }
                },
                "required": [
                  "physical_bundle"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "card_logo",
                  "carrier_text",
                  "lookup_key",
                  "metadata",
                  "name",
                  "physical_bundle",
                  "preferences",
                  "transfer_lookup_key"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.personalization_design"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a personalization design"
      }
    },
    "/v1/issuing/personalization_designs/{personalization_design}": {
      "get": {
        "description": "<p>Retrieves a personalization design object.</p>",
        "operationId": "GetIssuingPersonalizationDesignsPersonalizationDesign",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "personalization_design",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.personalization_design"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a personalization design"
      },
      "post": {
        "description": "<p>Updates a card personalization object.</p>",
        "operationId": "PostIssuingPersonalizationDesignsPersonalizationDesign",
        "parameters": [
          {
            "in": "path",
            "name": "personalization_design",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "card_logo": {
                  "explode": true,
                  "style": "deepObject"
                },
                "carrier_text": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "lookup_key": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "name": {
                  "explode": true,
                  "style": "deepObject"
                },
                "preferences": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "card_logo": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The file for the card logo, for use with physical bundles that support card logos. Must have a `purpose` value of `issuing_logo`."
                  },
                  "carrier_text": {
                    "anyOf": [
                      {
                        "properties": {
                          "footer_body": {
                            "anyOf": [
                              {
                                "maxLength": 200,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "The footer body text of the carrier letter."
                          },
                          "footer_title": {
                            "anyOf": [
                              {
                                "maxLength": 30,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "The footer title text of the carrier letter."
                          },
                          "header_body": {
                            "anyOf": [
                              {
                                "maxLength": 200,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "The header body text of the carrier letter."
                          },
                          "header_title": {
                            "anyOf": [
                              {
                                "maxLength": 30,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "The header title text of the carrier letter."
                          }
                        },
                        "title": "carrier_text_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "footer_body",
                          "footer_title",
                          "header_body",
                          "header_title"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Hash containing carrier text, for use with physical bundles that support carrier text."
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "lookup_key": {
                    "anyOf": [
                      {
                        "maxLength": 200,
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A lookup key used to retrieve personalization designs dynamically from a static string. This may be up to 200 characters."
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "name": {
                    "anyOf": [
                      {
                        "maxLength": 200,
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Friendly display name. Providing an empty string will set the field to null."
                  },
                  "physical_bundle": {
                    "description": "The physical bundle object belonging to this personalization design.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "preferences": {
                    "description": "Information on whether this personalization design is used to create cards when one is not specified.",
                    "properties": {
                      "is_default": {
                        "description": "Whether we use this personalization design to create cards when one isn't specified. A connected account uses the Connect platform's default design if no personalization design is set as the default design.",
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "is_default"
                    ],
                    "title": "preferences_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "is_default"
                    ]
                  },
                  "transfer_lookup_key": {
                    "description": "If set to true, will atomically remove the lookup key from the existing personalization design, and assign it to this personalization design.",
                    "type": "boolean"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "card_logo",
                  "carrier_text",
                  "lookup_key",
                  "metadata",
                  "name",
                  "physical_bundle",
                  "preferences",
                  "transfer_lookup_key"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.personalization_design"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a personalization design"
      }
    },
    "/v1/issuing/physical_bundles": {
      "get": {
        "description": "<p>Returns a list of physical bundle objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.</p>",
        "operationId": "GetIssuingPhysicalBundles",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return physical bundles with the given status.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "active",
                "inactive",
                "review"
              ],
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return physical bundles with the given type.",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "enum": [
                "custom",
                "standard"
              ],
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/issuing.physical_bundle"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/issuing/physical_bundles",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "IssuingPhysicalBundleList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all physical bundles"
      }
    },
    "/v1/issuing/physical_bundles/{physical_bundle}": {
      "get": {
        "description": "<p>Retrieves a physical bundle object.</p>",
        "operationId": "GetIssuingPhysicalBundlesPhysicalBundle",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "physical_bundle",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.physical_bundle"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a physical bundle"
      }
    },
    "/v1/issuing/tokens": {
      "get": {
        "description": "<p>Lists all Issuing <code>Token</code> objects for a given card.</p>",
        "operationId": "GetIssuingTokens",
        "parameters": [
          {
            "description": "The Issuing card identifier to list tokens for.",
            "in": "query",
            "name": "card",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return Issuing tokens that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Select Issuing tokens with the given status.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "active",
                "deleted",
                "requested",
                "suspended"
              ],
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/issuing.token"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "IssuingNetworkTokenList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all issuing tokens for card"
      }
    },
    "/v1/issuing/tokens/{token}": {
      "get": {
        "description": "<p>Retrieves an Issuing <code>Token</code> object.</p>",
        "operationId": "GetIssuingTokensToken",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "token",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.token"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve an issuing token"
      },
      "post": {
        "description": "<p>Attempts to update the specified Issuing <code>Token</code> object to the status specified.</p>",
        "operationId": "PostIssuingTokensToken",
        "parameters": [
          {
            "in": "path",
            "name": "token",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "status": {
                    "description": "Specifies which status the token should be updated to.",
                    "enum": [
                      "active",
                      "deleted",
                      "suspended"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "status"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "status"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.token"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a token status"
      }
    },
    "/v1/issuing/transactions": {
      "get": {
        "description": "<p>Returns a list of Issuing <code>Transaction</code> objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.</p>",
        "operationId": "GetIssuingTransactions",
        "parameters": [
          {
            "description": "Only return transactions that belong to the given card.",
            "in": "query",
            "name": "card",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return transactions that belong to the given cardholder.",
            "in": "query",
            "name": "cardholder",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return transactions that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return transactions that have the given type. One of `capture` or `refund`.",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "enum": [
                "capture",
                "refund"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/issuing.transaction"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/issuing/transactions",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "IssuingTransactionList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all transactions"
      }
    },
    "/v1/issuing/transactions/{transaction}": {
      "get": {
        "description": "<p>Retrieves an Issuing <code>Transaction</code> object.</p>",
        "operationId": "GetIssuingTransactionsTransaction",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "transaction",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.transaction"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a transaction"
      },
      "post": {
        "description": "<p>Updates the specified Issuing <code>Transaction</code> object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.</p>",
        "operationId": "PostIssuingTransactionsTransaction",
        "parameters": [
          {
            "in": "path",
            "name": "transaction",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.transaction"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a transaction"
      }
    },
    "/v1/mandates/{mandate}": {
      "get": {
        "description": "<p>Retrieves a Mandate object.</p>",
        "operationId": "GetMandatesMandate",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "mandate",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/mandate"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a Mandate"
      }
    },
    "/v1/payment_intents": {
      "get": {
        "description": "<p>Returns a list of PaymentIntents.</p>",
        "operationId": "GetPaymentIntents",
        "parameters": [
          {
            "description": "A filter on the list, based on the object `created` field. The value can be a string with an integer Unix timestamp or a dictionary with a number of different query options.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "Only return PaymentIntents for the customer that this customer ID specifies.",
            "in": "query",
            "name": "customer",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/payment_intent"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/payment_intents",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "PaymentFlowsPaymentIntentList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all PaymentIntents"
      },
      "post": {
        "description": "<p>Creates a PaymentIntent object.</p>\n\n<p>After the PaymentIntent is created, attach a payment method and <a href=\"/docs/api/payment_intents/confirm\">confirm</a>\nto continue the payment. Learn more about <a href=\"/docs/payments/payment-intents\">the available payment flows\nwith the Payment Intents API</a>.</p>\n\n<p>When you use <code>confirm=true</code> during creation, it’s equivalent to creating\nand confirming the PaymentIntent in the same call. You can use any parameters\navailable in the <a href=\"/docs/api/payment_intents/confirm\">confirm API</a> when you supply\n<code>confirm=true</code>.</p>",
        "operationId": "PostPaymentIntents",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "automatic_payment_methods": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "mandate_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "off_session": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_method_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_method_options": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_method_types": {
                  "explode": true,
                  "style": "deepObject"
                },
                "radar_options": {
                  "explode": true,
                  "style": "deepObject"
                },
                "shipping": {
                  "explode": true,
                  "style": "deepObject"
                },
                "transfer_data": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).",
                    "type": "integer"
                  },
                  "application_fee_amount": {
                    "description": "The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total payment amount. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).",
                    "type": "integer"
                  },
                  "automatic_payment_methods": {
                    "description": "When you enable this parameter, this PaymentIntent accepts payment methods that you enable in the Dashboard and that are compatible with this PaymentIntent's other parameters.",
                    "properties": {
                      "allow_redirects": {
                        "description": "Controls whether this PaymentIntent will accept redirect-based payment methods.\n\nRedirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/payment_intents/confirm) this PaymentIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the payment.",
                        "enum": [
                          "always",
                          "never"
                        ],
                        "type": "string"
                      },
                      "enabled": {
                        "description": "Whether this feature is enabled.",
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "enabled"
                    ],
                    "title": "automatic_payment_methods_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "allow_redirects",
                      "enabled"
                    ]
                  },
                  "capture_method": {
                    "description": "Controls when the funds will be captured from the customer's account.",
                    "enum": [
                      "automatic",
                      "automatic_async",
                      "manual"
                    ],
                    "type": "string"
                  },
                  "confirm": {
                    "description": "Set to `true` to attempt to [confirm this PaymentIntent](https://stripe.com/docs/api/payment_intents/confirm) immediately. This parameter defaults to `false`. When creating and confirming a PaymentIntent at the same time, you can also provide the parameters available in the [Confirm API](https://stripe.com/docs/api/payment_intents/confirm).",
                    "type": "boolean"
                  },
                  "confirmation_method": {
                    "description": "Describes whether we can confirm this PaymentIntent automatically, or if it requires customer action to confirm the payment.",
                    "enum": [
                      "automatic",
                      "manual"
                    ],
                    "type": "string"
                  },
                  "confirmation_token": {
                    "description": "ID of the ConfirmationToken used to confirm this PaymentIntent.\n\nIf the provided ConfirmationToken contains properties that are also being provided in this request, such as `payment_method`, then the values in this request will take precedence.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "currency": {
                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                    "type": "string"
                  },
                  "customer": {
                    "description": "ID of the Customer this PaymentIntent belongs to, if one exists.\n\nPayment methods attached to other Customers cannot be used with this PaymentIntent.\n\nIf [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "description": {
                    "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
                    "maxLength": 1000,
                    "type": "string"
                  },
                  "error_on_requires_action": {
                    "description": "Set to `true` to fail the payment attempt if the PaymentIntent transitions into `requires_action`. Use this parameter for simpler integrations that don't handle customer actions, such as [saving cards without authentication](https://stripe.com/docs/payments/save-card-without-authentication). This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm).",
                    "type": "boolean"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "mandate": {
                    "description": "ID of the mandate that's used for this payment. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm).",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "mandate_data": {
                    "anyOf": [
                      {
                        "properties": {
                          "customer_acceptance": {
                            "description": "This hash contains details about the customer acceptance of the Mandate.",
                            "properties": {
                              "accepted_at": {
                                "description": "The time at which the customer accepted the Mandate.",
                                "format": "unix-time",
                                "type": "integer"
                              },
                              "offline": {
                                "description": "If this is a Mandate accepted offline, this hash contains details about the offline acceptance.",
                                "properties": {},
                                "title": "offline_param",
                                "type": "object"
                              },
                              "online": {
                                "description": "If this is a Mandate accepted online, this hash contains details about the online acceptance.",
                                "properties": {
                                  "ip_address": {
                                    "description": "The IP address from which the Mandate was accepted by the customer.",
                                    "type": "string"
                                  },
                                  "user_agent": {
                                    "description": "The user agent of the browser from which the Mandate was accepted by the customer.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "ip_address",
                                  "user_agent"
                                ],
                                "title": "online_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "ip_address",
                                  "user_agent"
                                ]
                              },
                              "type": {
                                "description": "The type of customer acceptance information included with the Mandate. One of `online` or `offline`.",
                                "enum": [
                                  "offline",
                                  "online"
                                ],
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "title": "customer_acceptance_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "accepted_at",
                              "offline",
                              "online",
                              "type"
                            ]
                          }
                        },
                        "required": [
                          "customer_acceptance"
                        ],
                        "title": "secret_key_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "customer_acceptance"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "This hash contains details about the Mandate to create. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm)."
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "off_session": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "enum": [
                          "one_off",
                          "recurring"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      }
                    ],
                    "description": "Set to `true` to indicate that the customer isn't in your checkout flow during this payment attempt and can't authenticate. Use this parameter in scenarios where you collect card details and [charge them later](https://stripe.com/docs/payments/cards/charging-saved-cards). This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm)."
                  },
                  "on_behalf_of": {
                    "description": "The Stripe account ID that these funds are intended for. Learn more about the [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).",
                    "type": "string"
                  },
                  "payment_method": {
                    "description": "ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://stripe.com/docs/payments/payment-methods#compatibility) object) to attach to this PaymentIntent.\n\nIf you don't provide the `payment_method` parameter or the `source` parameter with `confirm=true`, `source` automatically populates with `customer.default_source` to improve migration for users of the Charges API. We recommend that you explicitly provide the `payment_method` moving forward.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "payment_method_configuration": {
                    "description": "The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this PaymentIntent.",
                    "maxLength": 100,
                    "type": "string"
                  },
                  "payment_method_data": {
                    "description": "If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod will appear\nin the [payment_method](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-payment_method)\nproperty on the PaymentIntent.",
                    "properties": {
                      "acss_debit": {
                        "description": "If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.",
                        "properties": {
                          "account_number": {
                            "description": "Customer's bank account number.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "institution_number": {
                            "description": "Institution number of the customer's bank.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "transit_number": {
                            "description": "Transit number of the customer's bank.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "account_number",
                          "institution_number",
                          "transit_number"
                        ],
                        "title": "payment_method_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_number",
                          "institution_number",
                          "transit_number"
                        ]
                      },
                      "affirm": {
                        "description": "If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "afterpay_clearpay": {
                        "description": "If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "alipay": {
                        "description": "If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "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`.",
                        "enum": [
                          "always",
                          "limited",
                          "unspecified"
                        ],
                        "type": "string"
                      },
                      "alma": {
                        "description": "If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "amazon_pay": {
                        "description": "If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "au_becs_debit": {
                        "description": "If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.",
                        "properties": {
                          "account_number": {
                            "description": "The account number for the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "bsb_number": {
                            "description": "Bank-State-Branch number of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "account_number",
                          "bsb_number"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_number",
                          "bsb_number"
                        ]
                      },
                      "bacs_debit": {
                        "description": "If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.",
                        "properties": {
                          "account_number": {
                            "description": "Account number of the bank account that the funds will be debited from.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "sort_code": {
                            "description": "Sort code of the bank account. (e.g., `10-20-30`)",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_number",
                          "sort_code"
                        ]
                      },
                      "bancontact": {
                        "description": "If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "billing_details": {
                        "description": "Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.",
                        "properties": {
                          "address": {
                            "anyOf": [
                              {
                                "properties": {
                                  "city": {
                                    "description": "City, district, suburb, town, or village.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "country": {
                                    "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "line1": {
                                    "description": "Address line 1 (e.g., street, PO Box, or company name).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "line2": {
                                    "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "postal_code": {
                                    "description": "ZIP or postal code.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "state": {
                                    "description": "State, county, province, or region.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "title": "billing_details_address",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "city",
                                  "country",
                                  "line1",
                                  "line2",
                                  "postal_code",
                                  "state"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Billing address."
                          },
                          "email": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Email address."
                          },
                          "name": {
                            "anyOf": [
                              {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Full name."
                          },
                          "phone": {
                            "anyOf": [
                              {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Billing phone number (including extension)."
                          }
                        },
                        "title": "billing_details_inner_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "address",
                          "email",
                          "name",
                          "phone"
                        ]
                      },
                      "blik": {
                        "description": "If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "boleto": {
                        "description": "If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.",
                        "properties": {
                          "tax_id": {
                            "description": "The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "tax_id"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "tax_id"
                        ]
                      },
                      "cashapp": {
                        "description": "If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "customer_balance": {
                        "description": "If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "eps": {
                        "description": "If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.",
                        "properties": {
                          "bank": {
                            "description": "The customer's bank.",
                            "enum": [
                              "arzte_und_apotheker_bank",
                              "austrian_anadi_bank_ag",
                              "bank_austria",
                              "bankhaus_carl_spangler",
                              "bankhaus_schelhammer_und_schattera_ag",
                              "bawag_psk_ag",
                              "bks_bank_ag",
                              "brull_kallmus_bank_ag",
                              "btv_vier_lander_bank",
                              "capital_bank_grawe_gruppe_ag",
                              "deutsche_bank_ag",
                              "dolomitenbank",
                              "easybank_ag",
                              "erste_bank_und_sparkassen",
                              "hypo_alpeadriabank_international_ag",
                              "hypo_bank_burgenland_aktiengesellschaft",
                              "hypo_noe_lb_fur_niederosterreich_u_wien",
                              "hypo_oberosterreich_salzburg_steiermark",
                              "hypo_tirol_bank_ag",
                              "hypo_vorarlberg_bank_ag",
                              "marchfelder_bank",
                              "oberbank_ag",
                              "raiffeisen_bankengruppe_osterreich",
                              "schoellerbank_ag",
                              "sparda_bank_wien",
                              "volksbank_gruppe",
                              "volkskreditbank_ag",
                              "vr_bank_braunau"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "bank"
                        ]
                      },
                      "fpx": {
                        "description": "If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.",
                        "properties": {
                          "account_holder_type": {
                            "description": "Account holder type for FPX transaction",
                            "enum": [
                              "company",
                              "individual"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "bank": {
                            "description": "The customer's bank.",
                            "enum": [
                              "affin_bank",
                              "agrobank",
                              "alliance_bank",
                              "ambank",
                              "bank_islam",
                              "bank_muamalat",
                              "bank_of_china",
                              "bank_rakyat",
                              "bsn",
                              "cimb",
                              "deutsche_bank",
                              "hong_leong_bank",
                              "hsbc",
                              "kfh",
                              "maybank2e",
                              "maybank2u",
                              "ocbc",
                              "pb_enterprise",
                              "public_bank",
                              "rhb",
                              "standard_chartered",
                              "uob"
                            ],
                            "maxLength": 5000,
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "required": [
                          "bank"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_holder_type",
                          "bank"
                        ]
                      },
                      "giropay": {
                        "description": "If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "grabpay": {
                        "description": "If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "ideal": {
                        "description": "If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.",
                        "properties": {
                          "bank": {
                            "description": "The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.",
                            "enum": [
                              "abn_amro",
                              "asn_bank",
                              "bunq",
                              "handelsbanken",
                              "ing",
                              "knab",
                              "moneyou",
                              "n26",
                              "nn",
                              "rabobank",
                              "regiobank",
                              "revolut",
                              "sns_bank",
                              "triodos_bank",
                              "van_lanschot",
                              "yoursafe"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "bank"
                        ]
                      },
                      "interac_present": {
                        "description": "If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "device_identifier",
                          "device_type",
                          "emv",
                          "location"
                        ]
                      },
                      "kakao_pay": {
                        "description": "If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "klarna": {
                        "description": "If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.",
                        "properties": {
                          "dob": {
                            "description": "Customer's date of birth",
                            "properties": {
                              "day": {
                                "description": "The day of birth, between 1 and 31.",
                                "type": "integer"
                              },
                              "month": {
                                "description": "The month of birth, between 1 and 12.",
                                "type": "integer"
                              },
                              "year": {
                                "description": "The four-digit year of birth.",
                                "type": "integer"
                              }
                            },
                            "required": [
                              "day",
                              "month",
                              "year"
                            ],
                            "title": "date_of_birth",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "day",
                              "month",
                              "year"
                            ]
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "dob"
                        ]
                      },
                      "konbini": {
                        "description": "If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "kr_card": {
                        "description": "If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "link": {
                        "description": "If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "metadata": {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                        "type": "object"
                      },
                      "mobilepay": {
                        "description": "If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "multibanco": {
                        "description": "If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "naver_pay": {
                        "description": "If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.",
                        "properties": {
                          "funding": {
                            "description": "Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.",
                            "enum": [
                              "card",
                              "points"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "funding"
                        ]
                      },
                      "oxxo": {
                        "description": "If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "p24": {
                        "description": "If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.",
                        "properties": {
                          "bank": {
                            "description": "The customer's bank.",
                            "enum": [
                              "alior_bank",
                              "bank_millennium",
                              "bank_nowy_bfg_sa",
                              "bank_pekao_sa",
                              "banki_spbdzielcze",
                              "blik",
                              "bnp_paribas",
                              "boz",
                              "citi_handlowy",
                              "credit_agricole",
                              "envelobank",
                              "etransfer_pocztowy24",
                              "getin_bank",
                              "ideabank",
                              "ing",
                              "inteligo",
                              "mbank_mtransfer",
                              "nest_przelew",
                              "noble_pay",
                              "pbac_z_ipko",
                              "plus_bank",
                              "santander_przelew24",
                              "tmobile_usbugi_bankowe",
                              "toyota_bank",
                              "velobank",
                              "volkswagen_bank"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "bank"
                        ]
                      },
                      "payco": {
                        "description": "If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "paynow": {
                        "description": "If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "paypal": {
                        "description": "If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "pix": {
                        "description": "If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "tax_id"
                        ]
                      },
                      "promptpay": {
                        "description": "If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "radar_options": {
                        "description": "Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.",
                        "properties": {
                          "session": {
                            "description": "A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "radar_options_with_hidden_options",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "session",
                          "skip_rules"
                        ]
                      },
                      "revolut_pay": {
                        "description": "If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "samsung_pay": {
                        "description": "If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "sepa_debit": {
                        "description": "If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.",
                        "properties": {
                          "iban": {
                            "description": "IBAN of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "iban"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "iban"
                        ]
                      },
                      "sofort": {
                        "description": "If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.",
                        "properties": {
                          "country": {
                            "description": "Two-letter ISO code representing the country the bank account is located in.",
                            "enum": [
                              "AT",
                              "BE",
                              "DE",
                              "ES",
                              "IT",
                              "NL"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "country"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "country"
                        ]
                      },
                      "swish": {
                        "description": "If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "twint": {
                        "description": "If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "type": {
                        "description": "The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.",
                        "enum": [
                          "acss_debit",
                          "affirm",
                          "afterpay_clearpay",
                          "alipay",
                          "alma",
                          "amazon_pay",
                          "au_becs_debit",
                          "bacs_debit",
                          "bancontact",
                          "blik",
                          "boleto",
                          "cashapp",
                          "customer_balance",
                          "eps",
                          "fpx",
                          "giropay",
                          "grabpay",
                          "ideal",
                          "kakao_pay",
                          "klarna",
                          "konbini",
                          "kr_card",
                          "link",
                          "mobilepay",
                          "multibanco",
                          "naver_pay",
                          "oxxo",
                          "p24",
                          "payco",
                          "paynow",
                          "paypal",
                          "pix",
                          "promptpay",
                          "revolut_pay",
                          "samsung_pay",
                          "sepa_debit",
                          "sofort",
                          "swish",
                          "twint",
                          "us_bank_account",
                          "wechat_pay",
                          "zip"
                        ],
                        "type": "string",
                        "x-stripeBypassValidation": true
                      },
                      "us_bank_account": {
                        "description": "If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.",
                        "properties": {
                          "account_holder_type": {
                            "description": "Account holder type: individual or company.",
                            "enum": [
                              "company",
                              "individual"
                            ],
                            "type": "string"
                          },
                          "account_number": {
                            "description": "Account number of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "account_type": {
                            "description": "Account type: checkings or savings. Defaults to checking if omitted.",
                            "enum": [
                              "checking",
                              "savings"
                            ],
                            "type": "string"
                          },
                          "financial_connections_account": {
                            "description": "The ID of a Financial Connections Account to use as a payment method.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "routing_number": {
                            "description": "Routing number of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "payment_method_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_holder_type",
                          "account_number",
                          "account_type",
                          "financial_connections_account",
                          "routing_number"
                        ]
                      },
                      "wechat_pay": {
                        "description": "If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "zip": {
                        "description": "If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "title": "payment_method_data_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "billing_details",
                      "metadata",
                      "type"
                    ]
                  },
                  "payment_method_options": {
                    "description": "Payment method-specific configuration for this PaymentIntent.",
                    "properties": {
                      "acss_debit": {
                        "anyOf": [
                          {
                            "properties": {
                              "mandate_options": {
                                "description": "Additional fields for Mandate creation",
                                "properties": {
                                  "custom_mandate_url": {
                                    "anyOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "enum": [
                                          ""
                                        ],
                                        "type": "string"
                                      }
                                    ],
                                    "description": "A URL for custom mandate text to render during confirmation step.\nThe URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,\nor `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent."
                                  },
                                  "interval_description": {
                                    "description": "Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.",
                                    "maxLength": 500,
                                    "type": "string"
                                  },
                                  "payment_schedule": {
                                    "description": "Payment schedule for the mandate.",
                                    "enum": [
                                      "combined",
                                      "interval",
                                      "sporadic"
                                    ],
                                    "type": "string"
                                  },
                                  "transaction_type": {
                                    "description": "Transaction type of the mandate.",
                                    "enum": [
                                      "business",
                                      "personal"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "title": "payment_intent_payment_method_options_mandate_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "custom_mandate_url",
                                  "interval_description",
                                  "payment_schedule",
                                  "transaction_type"
                                ]
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session",
                                  "on_session"
                                ],
                                "type": "string"
                              },
                              "verification_method": {
                                "description": "Bank account verification method.",
                                "enum": [
                                  "automatic",
                                  "instant",
                                  "microdeposits"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "mandate_options",
                              "setup_future_usage",
                              "verification_method"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `acss_debit` PaymentMethod, this sub-hash contains details about the ACSS Debit payment method options."
                      },
                      "affirm": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "preferred_locale": {
                                "description": "Preferred language of the Affirm authorization page that the customer is redirected to.",
                                "maxLength": 30,
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "preferred_locale",
                              "purchase_details",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is an `affirm` PaymentMethod, this sub-hash contains details about the Affirm payment method options."
                      },
                      "afterpay_clearpay": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "reference": {
                                "description": "An internal identifier or reference that this payment corresponds to. You must limit the identifier to 128 characters, and it can only contain letters, numbers, underscores, backslashes, and dashes.\nThis field differs from the statement descriptor and item name.",
                                "maxLength": 128,
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "reference",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `afterpay_clearpay` PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options."
                      },
                      "alipay": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `alipay` PaymentMethod, this sub-hash contains details about the Alipay payment method options."
                      },
                      "alma": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `alma` PaymentMethod, this sub-hash contains details about the Alma payment method options."
                      },
                      "amazon_pay": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "charge_metadata",
                              "charge_permission_id",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `amazon_pay` PaymentMethod, this sub-hash contains details about the Amazon Pay payment method options."
                      },
                      "au_becs_debit": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session",
                                  "on_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage",
                              "target_date"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options."
                      },
                      "bacs_debit": {
                        "anyOf": [
                          {
                            "properties": {
                              "mandate_options": {
                                "description": "Additional fields for Mandate creation",
                                "properties": {},
                                "title": "payment_method_options_mandate_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "reference_prefix"
                                ]
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session",
                                  "on_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "mandate_options",
                              "setup_future_usage",
                              "target_date"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options."
                      },
                      "bancontact": {
                        "anyOf": [
                          {
                            "properties": {
                              "preferred_language": {
                                "description": "Preferred language of the Bancontact authorization page that the customer is redirected to.",
                                "enum": [
                                  "de",
                                  "en",
                                  "fr",
                                  "nl"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "preferred_language",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options."
                      },
                      "blik": {
                        "anyOf": [
                          {
                            "properties": {
                              "code": {
                                "description": "The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "code",
                              "mandate_options",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `blik` PaymentMethod, this sub-hash contains details about the BLIK payment method options."
                      },
                      "boleto": {
                        "anyOf": [
                          {
                            "properties": {
                              "expires_after_days": {
                                "description": "The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time.",
                                "type": "integer"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session",
                                  "on_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "expires_after_days",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `boleto` PaymentMethod, this sub-hash contains details about the Boleto payment method options."
                      },
                      "card": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "cvc_token": {
                                "description": "A single-use `cvc_update` Token that represents a card CVC value. When provided, the CVC value will be verified during the card payment attempt. This parameter can only be provided during confirmation.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "installments": {
                                "description": "Installment configuration for payments attempted on this PaymentIntent (Mexico Only).\n\nFor more information, see the [installments integration guide](https://stripe.com/docs/payments/installments).",
                                "properties": {
                                  "enabled": {
                                    "description": "Setting to true enables installments for this PaymentIntent.\nThis will cause the response to contain a list of available installment plans.\nSetting to false will prevent any selected plan from applying to a charge.",
                                    "type": "boolean"
                                  },
                                  "plan": {
                                    "anyOf": [
                                      {
                                        "properties": {
                                          "count": {
                                            "description": "For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card.",
                                            "type": "integer"
                                          },
                                          "interval": {
                                            "description": "For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card.\nOne of `month`.",
                                            "enum": [
                                              "month"
                                            ],
                                            "type": "string"
                                          },
                                          "type": {
                                            "description": "Type of installment plan, one of `fixed_count`.",
                                            "enum": [
                                              "fixed_count"
                                            ],
                                            "type": "string",
                                            "x-stripeBypassValidation": true
                                          }
                                        },
                                        "required": [
                                          "type"
                                        ],
                                        "title": "installment_plan",
                                        "type": "object",
                                        "x-stripeMostCommon": [
                                          "count",
                                          "interval",
                                          "type"
                                        ]
                                      },
                                      {
                                        "enum": [
                                          ""
                                        ],
                                        "type": "string"
                                      }
                                    ],
                                    "description": "The selected installment plan to use for this payment attempt.\nThis parameter can only be provided during confirmation."
                                  }
                                },
                                "title": "installments_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "enabled",
                                  "plan"
                                ]
                              },
                              "mandate_options": {
                                "description": "Configuration options for setting up an eMandate for cards issued in India.",
                                "properties": {
                                  "amount": {
                                    "description": "Amount to be charged for future payments.",
                                    "type": "integer"
                                  },
                                  "amount_type": {
                                    "description": "One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.",
                                    "enum": [
                                      "fixed",
                                      "maximum"
                                    ],
                                    "type": "string"
                                  },
                                  "description": {
                                    "description": "A description of the mandate or subscription that is meant to be displayed to the customer.",
                                    "maxLength": 200,
                                    "type": "string"
                                  },
                                  "end_date": {
                                    "description": "End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.",
                                    "format": "unix-time",
                                    "type": "integer"
                                  },
                                  "interval": {
                                    "description": "Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.",
                                    "enum": [
                                      "day",
                                      "month",
                                      "sporadic",
                                      "week",
                                      "year"
                                    ],
                                    "type": "string"
                                  },
                                  "interval_count": {
                                    "description": "The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.",
                                    "type": "integer"
                                  },
                                  "reference": {
                                    "description": "Unique identifier for the mandate or subscription.",
                                    "maxLength": 80,
                                    "type": "string"
                                  },
                                  "start_date": {
                                    "description": "Start date of the mandate or subscription. Start date should not be lesser than yesterday.",
                                    "format": "unix-time",
                                    "type": "integer"
                                  },
                                  "supported_types": {
                                    "description": "Specifies the type of mandates supported. Possible values are `india`.",
                                    "items": {
                                      "enum": [
                                        "india"
                                      ],
                                      "type": "string"
                                    },
                                    "type": "array"
                                  }
                                },
                                "required": [
                                  "amount",
                                  "amount_type",
                                  "interval",
                                  "reference",
                                  "start_date"
                                ],
                                "title": "mandate_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "amount",
                                  "amount_type",
                                  "description",
                                  "end_date",
                                  "interval",
                                  "interval_count",
                                  "reference",
                                  "start_date",
                                  "supported_types"
                                ]
                              },
                              "moto": {
                                "description": "When specified, this parameter indicates that a transaction will be marked\nas MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This\nparameter can only be provided during confirmation.",
                                "type": "boolean"
                              },
                              "network": {
                                "description": "Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time.",
                                "enum": [
                                  "amex",
                                  "cartes_bancaires",
                                  "diners",
                                  "discover",
                                  "eftpos_au",
                                  "girocard",
                                  "interac",
                                  "jcb",
                                  "link",
                                  "mastercard",
                                  "unionpay",
                                  "unknown",
                                  "visa"
                                ],
                                "maxLength": 5000,
                                "type": "string",
                                "x-stripeBypassValidation": true
                              },
                              "request_extended_authorization": {
                                "description": "Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.",
                                "enum": [
                                  "if_available",
                                  "never"
                                ],
                                "type": "string"
                              },
                              "request_incremental_authorization": {
                                "description": "Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.",
                                "enum": [
                                  "if_available",
                                  "never"
                                ],
                                "type": "string"
                              },
                              "request_multicapture": {
                                "description": "Request ability to make [multiple captures](https://stripe.com/docs/payments/multicapture) for this PaymentIntent.",
                                "enum": [
                                  "if_available",
                                  "never"
                                ],
                                "type": "string"
                              },
                              "request_overcapture": {
                                "description": "Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.",
                                "enum": [
                                  "if_available",
                                  "never"
                                ],
                                "type": "string"
                              },
                              "request_three_d_secure": {
                                "description": "We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.",
                                "enum": [
                                  "any",
                                  "automatic",
                                  "challenge"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              },
                              "require_cvc_recollection": {
                                "description": "When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).",
                                "type": "boolean"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session",
                                  "on_session"
                                ],
                                "type": "string"
                              },
                              "statement_descriptor_suffix_kana": {
                                "anyOf": [
                                  {
                                    "maxLength": 22,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters."
                              },
                              "statement_descriptor_suffix_kanji": {
                                "anyOf": [
                                  {
                                    "maxLength": 17,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters."
                              },
                              "three_d_secure": {
                                "description": "If 3D Secure authentication was performed with a third-party provider,\nthe authentication details to use for this payment.",
                                "properties": {
                                  "ares_trans_status": {
                                    "description": "The `transStatus` returned from the card Issuer’s ACS in the ARes.",
                                    "enum": [
                                      "A",
                                      "C",
                                      "I",
                                      "N",
                                      "R",
                                      "U",
                                      "Y"
                                    ],
                                    "type": "string"
                                  },
                                  "cryptogram": {
                                    "description": "The cryptogram, also known as the \"authentication value\" (AAV, CAVV or\nAEVV). This value is 20 bytes, base64-encoded into a 28-character string.\n(Most 3D Secure providers will return the base64-encoded version, which\nis what you should specify here.)",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "electronic_commerce_indicator": {
                                    "description": "The Electronic Commerce Indicator (ECI) is returned by your 3D Secure\nprovider and indicates what degree of authentication was performed.",
                                    "enum": [
                                      "01",
                                      "02",
                                      "05",
                                      "06",
                                      "07"
                                    ],
                                    "type": "string",
                                    "x-stripeBypassValidation": true
                                  },
                                  "exemption_indicator": {
                                    "description": "The exemption requested via 3DS and accepted by the issuer at authentication time.",
                                    "enum": [
                                      "low_risk",
                                      "none"
                                    ],
                                    "type": "string"
                                  },
                                  "network_options": {
                                    "description": "Network specific 3DS fields. Network specific arguments require an\nexplicit card brand choice. The parameter `payment_method_options.card.network``\nmust be populated accordingly",
                                    "properties": {
                                      "cartes_bancaires": {
                                        "description": "Cartes Bancaires-specific 3DS fields.",
                                        "properties": {
                                          "cb_avalgo": {
                                            "description": "The cryptogram calculation algorithm used by the card Issuer's ACS\nto calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.\nmessageExtension: CB-AVALGO",
                                            "enum": [
                                              "0",
                                              "1",
                                              "2",
                                              "3",
                                              "4",
                                              "A"
                                            ],
                                            "type": "string"
                                          },
                                          "cb_exemption": {
                                            "description": "The exemption indicator returned from Cartes Bancaires in the ARes.\nmessage extension: CB-EXEMPTION; string (4 characters)\nThis is a 3 byte bitmap (low significant byte first and most significant\nbit first) that has been Base64 encoded",
                                            "maxLength": 4,
                                            "type": "string"
                                          },
                                          "cb_score": {
                                            "description": "The risk score returned from Cartes Bancaires in the ARes.\nmessage extension: CB-SCORE; numeric value 0-99",
                                            "type": "integer"
                                          }
                                        },
                                        "required": [
                                          "cb_avalgo"
                                        ],
                                        "title": "cartes_bancaires_network_options_param",
                                        "type": "object",
                                        "x-stripeMostCommon": [
                                          "cb_avalgo",
                                          "cb_exemption",
                                          "cb_score"
                                        ]
                                      }
                                    },
                                    "title": "network_options_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "cartes_bancaires"
                                    ]
                                  },
                                  "requestor_challenge_indicator": {
                                    "description": "The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the\nAReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.",
                                    "maxLength": 2,
                                    "type": "string"
                                  },
                                  "transaction_id": {
                                    "description": "For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server\nTransaction ID (dsTransID).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "version": {
                                    "description": "The version of 3D Secure that was performed.",
                                    "enum": [
                                      "1.0.2",
                                      "2.1.0",
                                      "2.2.0"
                                    ],
                                    "type": "string",
                                    "x-stripeBypassValidation": true
                                  }
                                },
                                "required": [
                                  "cryptogram",
                                  "transaction_id",
                                  "version"
                                ],
                                "title": "payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "ares_trans_status",
                                  "cryptogram",
                                  "electronic_commerce_indicator",
                                  "exemption_indicator",
                                  "network_options",
                                  "requestor_challenge_indicator",
                                  "transaction_id",
                                  "version"
                                ]
                              }
                            },
                            "title": "payment_intent_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "allow_partial_amount",
                              "buy_now_pay_later_options",
                              "capture_method",
                              "cvc_token",
                              "installments",
                              "mandate_options",
                              "mcc",
                              "mit_exemption",
                              "moto",
                              "network",
                              "network_options",
                              "network_token",
                              "recipient_details",
                              "request_decremental_authorization",
                              "request_extended_authorization",
                              "request_flexible_extended_authorization",
                              "request_incremental_authorization",
                              "request_incremental_authorization_support",
                              "request_multicapture",
                              "request_overcapture",
                              "request_partial_authorization",
                              "request_three_d_secure",
                              "require_cvc_recollection",
                              "sender_details",
                              "setup_future_usage",
                              "statement_descriptor_suffix_kana",
                              "statement_descriptor_suffix_kanji",
                              "statement_details",
                              "stored_credential_transaction_type",
                              "stored_credential_usage",
                              "three_d_secure",
                              "transaction_purpose"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Configuration for any card payments attempted on this PaymentIntent."
                      },
                      "card_present": {
                        "anyOf": [
                          {
                            "properties": {
                              "request_extended_authorization": {
                                "description": "Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity)",
                                "type": "boolean"
                              },
                              "request_incremental_authorization_support": {
                                "description": "Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.",
                                "type": "boolean"
                              },
                              "routing": {
                                "description": "Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.",
                                "properties": {
                                  "requested_priority": {
                                    "description": "Routing requested priority",
                                    "enum": [
                                      "domestic",
                                      "international"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "title": "routing_payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "requested_priority"
                                ]
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "buy_now_pay_later_options",
                              "capture_method",
                              "request_extended_authorization",
                              "request_flexible_extended_authorization",
                              "request_incremental_authorization",
                              "request_incremental_authorization_support",
                              "request_partial_authorization",
                              "routing"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `card_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options."
                      },
                      "cashapp": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session",
                                  "on_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "request_incremental_authorization",
                              "restricted_transaction_categories",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `cashapp` PaymentMethod, this sub-hash contains details about the Cash App Pay payment method options."
                      },
                      "customer_balance": {
                        "anyOf": [
                          {
                            "properties": {
                              "bank_transfer": {
                                "description": "Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.",
                                "properties": {
                                  "eu_bank_transfer": {
                                    "description": "Configuration for the eu_bank_transfer funding type.",
                                    "properties": {
                                      "country": {
                                        "description": "The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.",
                                        "maxLength": 5000,
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "country"
                                    ],
                                    "title": "eu_bank_transfer_params",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "country"
                                    ]
                                  },
                                  "requested_address_types": {
                                    "description": "List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.\n\nPermitted values include: `sort_code`, `zengin`, `iban`, or `spei`.",
                                    "items": {
                                      "enum": [
                                        "aba",
                                        "iban",
                                        "sepa",
                                        "sort_code",
                                        "spei",
                                        "swift",
                                        "zengin"
                                      ],
                                      "type": "string",
                                      "x-stripeBypassValidation": true
                                    },
                                    "type": "array"
                                  },
                                  "type": {
                                    "description": "The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.",
                                    "enum": [
                                      "eu_bank_transfer",
                                      "gb_bank_transfer",
                                      "jp_bank_transfer",
                                      "mx_bank_transfer",
                                      "us_bank_transfer"
                                    ],
                                    "type": "string",
                                    "x-stripeBypassValidation": true
                                  }
                                },
                                "required": [
                                  "type"
                                ],
                                "title": "bank_transfer_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "eu_bank_transfer",
                                  "id_bank_account",
                                  "id_bank_transfer",
                                  "requested_address_types",
                                  "type"
                                ]
                              },
                              "funding_type": {
                                "description": "The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.",
                                "enum": [
                                  "bank_transfer"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "bank_transfer",
                              "funding_type",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `customer balance` PaymentMethod, this sub-hash contains details about the customer balance payment method options."
                      },
                      "eps": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options."
                      },
                      "fpx": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options."
                      },
                      "giropay": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options."
                      },
                      "grabpay": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options."
                      },
                      "ideal": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options."
                      },
                      "interac_present": {
                        "anyOf": [
                          {
                            "properties": {},
                            "title": "payment_method_options_param",
                            "type": "object"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options."
                      },
                      "kakao_pay": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `kakao_pay` PaymentMethod, this sub-hash contains details about the Kakao Pay payment method options."
                      },
                      "klarna": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "preferred_locale": {
                                "description": "Preferred language of the Klarna authorization page that the customer is redirected to",
                                "enum": [
                                  "cs-CZ",
                                  "da-DK",
                                  "de-AT",
                                  "de-CH",
                                  "de-DE",
                                  "el-GR",
                                  "en-AT",
                                  "en-AU",
                                  "en-BE",
                                  "en-CA",
                                  "en-CH",
                                  "en-CZ",
                                  "en-DE",
                                  "en-DK",
                                  "en-ES",
                                  "en-FI",
                                  "en-FR",
                                  "en-GB",
                                  "en-GR",
                                  "en-IE",
                                  "en-IT",
                                  "en-NL",
                                  "en-NO",
                                  "en-NZ",
                                  "en-PL",
                                  "en-PT",
                                  "en-RO",
                                  "en-SE",
                                  "en-US",
                                  "es-ES",
                                  "es-US",
                                  "fi-FI",
                                  "fr-BE",
                                  "fr-CA",
                                  "fr-CH",
                                  "fr-FR",
                                  "it-CH",
                                  "it-IT",
                                  "nb-NO",
                                  "nl-BE",
                                  "nl-NL",
                                  "pl-PL",
                                  "pt-PT",
                                  "ro-RO",
                                  "sv-FI",
                                  "sv-SE"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "interoperability_token",
                              "line_items",
                              "partner_confirmation_token",
                              "payment_details",
                              "payment_method_category",
                              "preferred_locale",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `klarna` PaymentMethod, this sub-hash contains details about the Klarna payment method options."
                      },
                      "konbini": {
                        "anyOf": [
                          {
                            "properties": {
                              "confirmation_number": {
                                "anyOf": [
                                  {
                                    "maxLength": 11,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores. Must not consist of only zeroes and could be rejected in case of insufficient uniqueness. We recommend to use the customer's phone number."
                              },
                              "expires_after_days": {
                                "anyOf": [
                                  {
                                    "type": "integer"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. Defaults to 3 days."
                              },
                              "expires_at": {
                                "anyOf": [
                                  {
                                    "format": "unix-time",
                                    "type": "integer"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "The timestamp at which the Konbini payment instructions will expire. Only one of `expires_after_days` or `expires_at` may be set."
                              },
                              "product_description": {
                                "anyOf": [
                                  {
                                    "maxLength": 22,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "A product descriptor of up to 22 characters, which will appear to customers at the convenience store."
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "confirmation_number",
                              "expires_after_days",
                              "expires_at",
                              "fee_amount",
                              "product_description",
                              "setup_future_usage",
                              "tax_amount"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `konbini` PaymentMethod, this sub-hash contains details about the Konbini payment method options."
                      },
                      "kr_card": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `kr_card` PaymentMethod, this sub-hash contains details about the KR Card payment method options."
                      },
                      "link": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "persistent_token": {
                                "description": "[Deprecated] This is a legacy parameter that no longer has any function.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "persistent_token",
                              "request_multicapture",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options."
                      },
                      "mobilepay": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "reference",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `MobilePay` PaymentMethod, this sub-hash contains details about the MobilePay payment method options."
                      },
                      "multibanco": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `multibanco` PaymentMethod, this sub-hash contains details about the Multibanco payment method options."
                      },
                      "naver_pay": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `naver_pay` PaymentMethod, this sub-hash contains details about the Naver Pay payment method options."
                      },
                      "oxxo": {
                        "anyOf": [
                          {
                            "properties": {
                              "expires_after_days": {
                                "description": "The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.",
                                "type": "integer"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "expires_after_days",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `oxxo` PaymentMethod, this sub-hash contains details about the OXXO payment method options."
                      },
                      "p24": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              },
                              "tos_shown_and_accepted": {
                                "description": "Confirm that the payer has accepted the P24 terms and conditions.",
                                "type": "boolean"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "installments",
                              "setup_future_usage",
                              "tos_shown_and_accepted"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options."
                      },
                      "payco": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `payco` PaymentMethod, this sub-hash contains details about the PAYCO payment method options."
                      },
                      "paynow": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `paynow` PaymentMethod, this sub-hash contains details about the PayNow payment method options."
                      },
                      "paypal": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds will be captured from the customer's account.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "preferred_locale": {
                                "description": "[Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.",
                                "enum": [
                                  "cs-CZ",
                                  "da-DK",
                                  "de-AT",
                                  "de-DE",
                                  "de-LU",
                                  "el-GR",
                                  "en-GB",
                                  "en-US",
                                  "es-ES",
                                  "fi-FI",
                                  "fr-BE",
                                  "fr-FR",
                                  "fr-LU",
                                  "hu-HU",
                                  "it-IT",
                                  "nl-BE",
                                  "nl-NL",
                                  "pl-PL",
                                  "pt-PT",
                                  "sk-SK",
                                  "sv-SE"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              },
                              "reference": {
                                "description": "A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.",
                                "maxLength": 127,
                                "type": "string"
                              },
                              "risk_correlation_id": {
                                "description": "The risk correlation ID for an on-session payment using a saved PayPal payment method.",
                                "maxLength": 32,
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "allow_delayed_notification",
                              "capture_method",
                              "line_items",
                              "preferred_locale",
                              "reference",
                              "reference_id",
                              "risk_correlation_id",
                              "setup_future_usage",
                              "subsellers"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options."
                      },
                      "pix": {
                        "anyOf": [
                          {
                            "properties": {
                              "expires_after_seconds": {
                                "description": "The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.",
                                "type": "integer"
                              },
                              "expires_at": {
                                "description": "The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.",
                                "format": "unix-time",
                                "type": "integer"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "expires_after_seconds",
                              "expires_at",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options."
                      },
                      "promptpay": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options."
                      },
                      "revolut_pay": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options."
                      },
                      "samsung_pay": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options."
                      },
                      "sepa_debit": {
                        "anyOf": [
                          {
                            "properties": {
                              "mandate_options": {
                                "description": "Additional fields for Mandate creation",
                                "properties": {},
                                "title": "payment_method_options_mandate_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "reference",
                                  "reference_prefix"
                                ]
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session",
                                  "on_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "mandate_options",
                              "setup_future_usage",
                              "target_date",
                              "verification_method"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options."
                      },
                      "sofort": {
                        "anyOf": [
                          {
                            "properties": {
                              "preferred_language": {
                                "description": "Language shown to the payer on redirect.",
                                "enum": [
                                  "",
                                  "de",
                                  "en",
                                  "es",
                                  "fr",
                                  "it",
                                  "nl",
                                  "pl"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "preferred_language",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options."
                      },
                      "swish": {
                        "anyOf": [
                          {
                            "properties": {
                              "reference": {
                                "anyOf": [
                                  {
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "The order ID displayed in the Swish app after the payment is authorized."
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "authorization_method",
                              "reference",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options."
                      },
                      "twint": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options."
                      },
                      "us_bank_account": {
                        "anyOf": [
                          {
                            "properties": {
                              "financial_connections": {
                                "description": "Additional fields for Financial Connections Session creation",
                                "properties": {
                                  "filters": {
                                    "description": "Provide filters for the linked accounts that the customer can select for the payment method",
                                    "properties": {
                                      "account_subcategories": {
                                        "description": "The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.",
                                        "items": {
                                          "enum": [
                                            "checking",
                                            "savings"
                                          ],
                                          "maxLength": 5000,
                                          "type": "string"
                                        },
                                        "type": "array"
                                      }
                                    },
                                    "title": "linked_account_options_filters_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "account_subcategories",
                                      "institution"
                                    ]
                                  },
                                  "permissions": {
                                    "description": "The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.",
                                    "items": {
                                      "enum": [
                                        "balances",
                                        "ownership",
                                        "payment_method",
                                        "transactions"
                                      ],
                                      "maxLength": 5000,
                                      "type": "string",
                                      "x-stripeBypassValidation": true
                                    },
                                    "type": "array"
                                  },
                                  "prefetch": {
                                    "description": "List of data features that you would like to retrieve upon account creation.",
                                    "items": {
                                      "enum": [
                                        "balances",
                                        "ownership",
                                        "transactions"
                                      ],
                                      "type": "string",
                                      "x-stripeBypassValidation": true
                                    },
                                    "type": "array"
                                  },
                                  "return_url": {
                                    "description": "For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "title": "linked_account_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "filters",
                                  "manual_entry",
                                  "permissions",
                                  "prefetch",
                                  "return_url"
                                ]
                              },
                              "mandate_options": {
                                "description": "Additional fields for Mandate creation",
                                "properties": {
                                  "collection_method": {
                                    "description": "The method used to collect offline mandate customer acceptance.",
                                    "enum": [
                                      "",
                                      "paper"
                                    ],
                                    "type": "string",
                                    "x-stripeBypassValidation": true
                                  }
                                },
                                "title": "mandate_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "collection_method"
                                ]
                              },
                              "networks": {
                                "description": "Additional fields for network related functions",
                                "properties": {
                                  "requested": {
                                    "description": "Triggers validations to run across the selected networks",
                                    "items": {
                                      "enum": [
                                        "ach",
                                        "us_domestic_wire"
                                      ],
                                      "type": "string"
                                    },
                                    "type": "array"
                                  }
                                },
                                "title": "networks_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "requested"
                                ]
                              },
                              "preferred_settlement_speed": {
                                "description": "Preferred transaction settlement speed",
                                "enum": [
                                  "",
                                  "fastest",
                                  "standard"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session",
                                  "on_session"
                                ],
                                "type": "string"
                              },
                              "verification_method": {
                                "description": "Bank account verification method.",
                                "enum": [
                                  "automatic",
                                  "instant",
                                  "microdeposits"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "financial_connections",
                              "mandate_options",
                              "networks",
                              "preferred_settlement_speed",
                              "setup_future_usage",
                              "verification_method"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `us_bank_account` PaymentMethod, this sub-hash contains details about the US bank account payment method options."
                      },
                      "wechat_pay": {
                        "anyOf": [
                          {
                            "properties": {
                              "app_id": {
                                "description": "The app ID registered with WeChat Pay. Only required when client is ios or android.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "client": {
                                "description": "The client type that the end customer will pay from",
                                "enum": [
                                  "android",
                                  "ios",
                                  "web"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "client"
                            ],
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "app_id",
                              "client",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `wechat_pay` PaymentMethod, this sub-hash contains details about the WeChat Pay payment method options."
                      },
                      "zip": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `zip` PaymentMethod, this sub-hash contains details about the Zip payment method options."
                      }
                    },
                    "title": "payment_method_options_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "acss_debit",
                      "affirm",
                      "afterpay_clearpay",
                      "alipay",
                      "alma",
                      "amazon_pay",
                      "au_becs_debit",
                      "bacs_debit",
                      "bancontact",
                      "blik",
                      "boleto",
                      "boleto_pilot",
                      "card",
                      "card_present",
                      "cashapp",
                      "crypto",
                      "customer_balance",
                      "demo_pay",
                      "dummy_auth_push",
                      "dummy_passthrough_card",
                      "eps",
                      "fpx",
                      "giropay",
                      "gopay",
                      "grabpay",
                      "id_bank_transfer",
                      "ideal",
                      "interac_present",
                      "kakao_pay",
                      "klarna",
                      "knet",
                      "konbini",
                      "kr_card",
                      "kr_market",
                      "link",
                      "mb_way",
                      "mobilepay",
                      "multibanco",
                      "naver_pay",
                      "ng_bank",
                      "ng_bank_transfer",
                      "ng_card",
                      "ng_market",
                      "ng_ussd",
                      "nz_bank_account",
                      "oxxo",
                      "p24",
                      "pay_by_bank",
                      "payco",
                      "paynow",
                      "paypal",
                      "payto",
                      "pix",
                      "promptpay",
                      "qris",
                      "rechnung",
                      "revolut_pay",
                      "samsung_pay",
                      "sepa_debit",
                      "shopeepay",
                      "sofort",
                      "swish",
                      "twint",
                      "upi",
                      "us_bank_account",
                      "vipps",
                      "wechat_pay",
                      "zip"
                    ]
                  },
                  "payment_method_types": {
                    "description": "The list of payment method types (for example, a card) that this PaymentIntent can use. If you don't provide this, Stripe will dynamically show relevant payment methods from your [payment method settings](https://dashboard.stripe.com/settings/payment_methods).",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "radar_options": {
                    "description": "Options to configure Radar. Learn more about [Radar Sessions](https://stripe.com/docs/radar/radar-session).",
                    "properties": {
                      "session": {
                        "description": "A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "radar_options_with_hidden_options",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "session",
                      "skip_rules"
                    ]
                  },
                  "receipt_email": {
                    "description": "Email address to send the receipt to. If you specify `receipt_email` for a payment in live mode, you send a receipt regardless of your [email settings](https://dashboard.stripe.com/account/emails).",
                    "type": "string"
                  },
                  "return_url": {
                    "description": "The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm).",
                    "type": "string"
                  },
                  "setup_future_usage": {
                    "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                    "enum": [
                      "off_session",
                      "on_session"
                    ],
                    "type": "string"
                  },
                  "shipping": {
                    "description": "Shipping information for this PaymentIntent.",
                    "properties": {
                      "address": {
                        "description": "Shipping address.",
                        "properties": {
                          "city": {
                            "description": "City, district, suburb, town, or village.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Address line 1 (e.g., street, PO Box, or company name).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "ZIP or postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "State, county, province, or region.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "optional_fields_address",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "line1",
                          "line2",
                          "postal_code",
                          "state"
                        ]
                      },
                      "carrier": {
                        "description": "The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "name": {
                        "description": "Recipient name.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "phone": {
                        "description": "Recipient phone (including extension).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "tracking_number": {
                        "description": "The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "required": [
                      "address",
                      "name"
                    ],
                    "title": "optional_fields_shipping",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "address",
                      "carrier",
                      "name",
                      "phone",
                      "tracking_number"
                    ]
                  },
                  "statement_descriptor": {
                    "description": "Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).\n\nSetting this value for a card charge returns an error. For card charges, set the [statement_descriptor_suffix](https://docs.stripe.com/get-started/account/statement-descriptors#dynamic) instead.",
                    "maxLength": 22,
                    "type": "string"
                  },
                  "statement_descriptor_suffix": {
                    "description": "Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement.",
                    "maxLength": 22,
                    "type": "string"
                  },
                  "transfer_data": {
                    "description": "The parameters that you can use to automatically create a Transfer.\nLearn more about the [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).",
                    "properties": {
                      "amount": {
                        "description": "The amount that will be transferred automatically when a charge succeeds.\nThe amount is capped at the total transaction amount and if no amount is set,\nthe full amount is transferred.\n\nIf you intend to collect a fee and you need a more robust reporting experience, using\n[application_fee_amount](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-application_fee_amount)\nmight be a better fit for your integration.",
                        "type": "integer"
                      },
                      "destination": {
                        "description": "If specified, successful charges will be attributed to the destination\naccount for tax reporting, and the funds from charges will be transferred\nto the destination account. The ID of the resulting transfer will be\nreturned on the successful charge's `transfer` field.",
                        "type": "string"
                      }
                    },
                    "required": [
                      "destination"
                    ],
                    "title": "transfer_data_creation_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "amount",
                      "destination"
                    ]
                  },
                  "transfer_group": {
                    "description": "A string that identifies the resulting payment as part of a group. Learn more about the [use case for connected accounts](https://stripe.com/docs/connect/separate-charges-and-transfers).",
                    "type": "string"
                  },
                  "use_stripe_sdk": {
                    "description": "Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.",
                    "type": "boolean"
                  }
                },
                "required": [
                  "amount",
                  "currency"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "automatic_payment_methods",
                  "confirm",
                  "currency",
                  "customer",
                  "description",
                  "metadata",
                  "off_session",
                  "payment_method",
                  "receipt_email",
                  "setup_future_usage",
                  "shipping",
                  "statement_descriptor",
                  "statement_descriptor_suffix"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payment_intent"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a PaymentIntent"
      }
    },
    "/v1/payment_intents/search": {
      "get": {
        "description": "<p>Search for PaymentIntents you’ve previously created using Stripe’s <a href=\"/docs/search#search-query-language\">Search Query Language</a>.\nDon’t use search in read-after-write flows where strict consistency is necessary. Under normal operating\nconditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up\nto an hour behind during outages. Search functionality is not available to merchants in India.</p>",
        "operationId": "GetPaymentIntentsSearch",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "The search query string. See [search query language](https://stripe.com/docs/search#search-query-language) and the list of supported [query fields for payment intents](https://stripe.com/docs/search#query-fields-for-payment-intents).",
            "in": "query",
            "name": "query",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/payment_intent"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "type": "boolean"
                    },
                    "next_page": {
                      "maxLength": 5000,
                      "nullable": true,
                      "type": "string"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value.",
                      "enum": [
                        "search_result"
                      ],
                      "type": "string"
                    },
                    "total_count": {
                      "description": "The total number of objects that match the query, only accurate up to 10,000.",
                      "type": "integer"
                    },
                    "url": {
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "next_page",
                    "object",
                    "url"
                  ],
                  "title": "SearchResult",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "next_page",
                    "object",
                    "total_count",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Search PaymentIntents"
      }
    },
    "/v1/payment_intents/{intent}": {
      "get": {
        "description": "<p>Retrieves the details of a PaymentIntent that has previously been created. </p>\n\n<p>You can retrieve a PaymentIntent client-side using a publishable key when the <code>client_secret</code> is in the query string. </p>\n\n<p>If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the <a href=\"#payment_intent_object\">payment intent</a> object reference for more details.</p>",
        "operationId": "GetPaymentIntentsIntent",
        "parameters": [
          {
            "description": "The client secret of the PaymentIntent. We require it if you use a publishable key to retrieve the source.",
            "in": "query",
            "name": "client_secret",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "intent",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payment_intent"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a PaymentIntent"
      },
      "post": {
        "description": "<p>Updates properties on a PaymentIntent object without confirming.</p>\n\n<p>Depending on which properties you update, you might need to confirm the\nPaymentIntent again. For example, updating the <code>payment_method</code>\nalways requires you to confirm the PaymentIntent again. If you prefer to\nupdate and confirm at the same time, we recommend updating properties through\nthe <a href=\"/docs/api/payment_intents/confirm\">confirm API</a> instead.</p>",
        "operationId": "PostPaymentIntentsIntent",
        "parameters": [
          {
            "in": "path",
            "name": "intent",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "application_fee_amount": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_method_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_method_options": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_method_types": {
                  "explode": true,
                  "style": "deepObject"
                },
                "receipt_email": {
                  "explode": true,
                  "style": "deepObject"
                },
                "shipping": {
                  "explode": true,
                  "style": "deepObject"
                },
                "transfer_data": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).",
                    "type": "integer"
                  },
                  "application_fee_amount": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total payment amount. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts)."
                  },
                  "capture_method": {
                    "description": "Controls when the funds will be captured from the customer's account.",
                    "enum": [
                      "automatic",
                      "automatic_async",
                      "manual"
                    ],
                    "type": "string"
                  },
                  "currency": {
                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                    "type": "string"
                  },
                  "customer": {
                    "description": "ID of the Customer this PaymentIntent belongs to, if one exists.\n\nPayment methods attached to other Customers cannot be used with this PaymentIntent.\n\nIf [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "description": {
                    "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
                    "maxLength": 1000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "payment_method": {
                    "description": "ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://stripe.com/docs/payments/payment-methods/transitioning#compatibility) object) to attach to this PaymentIntent. To unset this field to null, pass in an empty string.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "payment_method_configuration": {
                    "description": "The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this PaymentIntent.",
                    "maxLength": 100,
                    "type": "string"
                  },
                  "payment_method_data": {
                    "description": "If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod will appear\nin the [payment_method](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-payment_method)\nproperty on the PaymentIntent.",
                    "properties": {
                      "acss_debit": {
                        "description": "If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.",
                        "properties": {
                          "account_number": {
                            "description": "Customer's bank account number.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "institution_number": {
                            "description": "Institution number of the customer's bank.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "transit_number": {
                            "description": "Transit number of the customer's bank.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "account_number",
                          "institution_number",
                          "transit_number"
                        ],
                        "title": "payment_method_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_number",
                          "institution_number",
                          "transit_number"
                        ]
                      },
                      "affirm": {
                        "description": "If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "afterpay_clearpay": {
                        "description": "If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "alipay": {
                        "description": "If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "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`.",
                        "enum": [
                          "always",
                          "limited",
                          "unspecified"
                        ],
                        "type": "string"
                      },
                      "alma": {
                        "description": "If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "amazon_pay": {
                        "description": "If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "au_becs_debit": {
                        "description": "If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.",
                        "properties": {
                          "account_number": {
                            "description": "The account number for the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "bsb_number": {
                            "description": "Bank-State-Branch number of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "account_number",
                          "bsb_number"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_number",
                          "bsb_number"
                        ]
                      },
                      "bacs_debit": {
                        "description": "If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.",
                        "properties": {
                          "account_number": {
                            "description": "Account number of the bank account that the funds will be debited from.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "sort_code": {
                            "description": "Sort code of the bank account. (e.g., `10-20-30`)",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_number",
                          "sort_code"
                        ]
                      },
                      "bancontact": {
                        "description": "If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "billing_details": {
                        "description": "Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.",
                        "properties": {
                          "address": {
                            "anyOf": [
                              {
                                "properties": {
                                  "city": {
                                    "description": "City, district, suburb, town, or village.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "country": {
                                    "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "line1": {
                                    "description": "Address line 1 (e.g., street, PO Box, or company name).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "line2": {
                                    "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "postal_code": {
                                    "description": "ZIP or postal code.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "state": {
                                    "description": "State, county, province, or region.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "title": "billing_details_address",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "city",
                                  "country",
                                  "line1",
                                  "line2",
                                  "postal_code",
                                  "state"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Billing address."
                          },
                          "email": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Email address."
                          },
                          "name": {
                            "anyOf": [
                              {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Full name."
                          },
                          "phone": {
                            "anyOf": [
                              {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Billing phone number (including extension)."
                          }
                        },
                        "title": "billing_details_inner_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "address",
                          "email",
                          "name",
                          "phone"
                        ]
                      },
                      "blik": {
                        "description": "If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "boleto": {
                        "description": "If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.",
                        "properties": {
                          "tax_id": {
                            "description": "The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "tax_id"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "tax_id"
                        ]
                      },
                      "cashapp": {
                        "description": "If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "customer_balance": {
                        "description": "If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "eps": {
                        "description": "If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.",
                        "properties": {
                          "bank": {
                            "description": "The customer's bank.",
                            "enum": [
                              "arzte_und_apotheker_bank",
                              "austrian_anadi_bank_ag",
                              "bank_austria",
                              "bankhaus_carl_spangler",
                              "bankhaus_schelhammer_und_schattera_ag",
                              "bawag_psk_ag",
                              "bks_bank_ag",
                              "brull_kallmus_bank_ag",
                              "btv_vier_lander_bank",
                              "capital_bank_grawe_gruppe_ag",
                              "deutsche_bank_ag",
                              "dolomitenbank",
                              "easybank_ag",
                              "erste_bank_und_sparkassen",
                              "hypo_alpeadriabank_international_ag",
                              "hypo_bank_burgenland_aktiengesellschaft",
                              "hypo_noe_lb_fur_niederosterreich_u_wien",
                              "hypo_oberosterreich_salzburg_steiermark",
                              "hypo_tirol_bank_ag",
                              "hypo_vorarlberg_bank_ag",
                              "marchfelder_bank",
                              "oberbank_ag",
                              "raiffeisen_bankengruppe_osterreich",
                              "schoellerbank_ag",
                              "sparda_bank_wien",
                              "volksbank_gruppe",
                              "volkskreditbank_ag",
                              "vr_bank_braunau"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "bank"
                        ]
                      },
                      "fpx": {
                        "description": "If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.",
                        "properties": {
                          "account_holder_type": {
                            "description": "Account holder type for FPX transaction",
                            "enum": [
                              "company",
                              "individual"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "bank": {
                            "description": "The customer's bank.",
                            "enum": [
                              "affin_bank",
                              "agrobank",
                              "alliance_bank",
                              "ambank",
                              "bank_islam",
                              "bank_muamalat",
                              "bank_of_china",
                              "bank_rakyat",
                              "bsn",
                              "cimb",
                              "deutsche_bank",
                              "hong_leong_bank",
                              "hsbc",
                              "kfh",
                              "maybank2e",
                              "maybank2u",
                              "ocbc",
                              "pb_enterprise",
                              "public_bank",
                              "rhb",
                              "standard_chartered",
                              "uob"
                            ],
                            "maxLength": 5000,
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "required": [
                          "bank"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_holder_type",
                          "bank"
                        ]
                      },
                      "giropay": {
                        "description": "If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "grabpay": {
                        "description": "If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "ideal": {
                        "description": "If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.",
                        "properties": {
                          "bank": {
                            "description": "The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.",
                            "enum": [
                              "abn_amro",
                              "asn_bank",
                              "bunq",
                              "handelsbanken",
                              "ing",
                              "knab",
                              "moneyou",
                              "n26",
                              "nn",
                              "rabobank",
                              "regiobank",
                              "revolut",
                              "sns_bank",
                              "triodos_bank",
                              "van_lanschot",
                              "yoursafe"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "bank"
                        ]
                      },
                      "interac_present": {
                        "description": "If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "device_identifier",
                          "device_type",
                          "emv",
                          "location"
                        ]
                      },
                      "kakao_pay": {
                        "description": "If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "klarna": {
                        "description": "If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.",
                        "properties": {
                          "dob": {
                            "description": "Customer's date of birth",
                            "properties": {
                              "day": {
                                "description": "The day of birth, between 1 and 31.",
                                "type": "integer"
                              },
                              "month": {
                                "description": "The month of birth, between 1 and 12.",
                                "type": "integer"
                              },
                              "year": {
                                "description": "The four-digit year of birth.",
                                "type": "integer"
                              }
                            },
                            "required": [
                              "day",
                              "month",
                              "year"
                            ],
                            "title": "date_of_birth",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "day",
                              "month",
                              "year"
                            ]
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "dob"
                        ]
                      },
                      "konbini": {
                        "description": "If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "kr_card": {
                        "description": "If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "link": {
                        "description": "If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "metadata": {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                        "type": "object"
                      },
                      "mobilepay": {
                        "description": "If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "multibanco": {
                        "description": "If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "naver_pay": {
                        "description": "If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.",
                        "properties": {
                          "funding": {
                            "description": "Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.",
                            "enum": [
                              "card",
                              "points"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "funding"
                        ]
                      },
                      "oxxo": {
                        "description": "If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "p24": {
                        "description": "If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.",
                        "properties": {
                          "bank": {
                            "description": "The customer's bank.",
                            "enum": [
                              "alior_bank",
                              "bank_millennium",
                              "bank_nowy_bfg_sa",
                              "bank_pekao_sa",
                              "banki_spbdzielcze",
                              "blik",
                              "bnp_paribas",
                              "boz",
                              "citi_handlowy",
                              "credit_agricole",
                              "envelobank",
                              "etransfer_pocztowy24",
                              "getin_bank",
                              "ideabank",
                              "ing",
                              "inteligo",
                              "mbank_mtransfer",
                              "nest_przelew",
                              "noble_pay",
                              "pbac_z_ipko",
                              "plus_bank",
                              "santander_przelew24",
                              "tmobile_usbugi_bankowe",
                              "toyota_bank",
                              "velobank",
                              "volkswagen_bank"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "bank"
                        ]
                      },
                      "payco": {
                        "description": "If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "paynow": {
                        "description": "If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "paypal": {
                        "description": "If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "pix": {
                        "description": "If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "tax_id"
                        ]
                      },
                      "promptpay": {
                        "description": "If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "radar_options": {
                        "description": "Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.",
                        "properties": {
                          "session": {
                            "description": "A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "radar_options_with_hidden_options",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "session",
                          "skip_rules"
                        ]
                      },
                      "revolut_pay": {
                        "description": "If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "samsung_pay": {
                        "description": "If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "sepa_debit": {
                        "description": "If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.",
                        "properties": {
                          "iban": {
                            "description": "IBAN of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "iban"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "iban"
                        ]
                      },
                      "sofort": {
                        "description": "If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.",
                        "properties": {
                          "country": {
                            "description": "Two-letter ISO code representing the country the bank account is located in.",
                            "enum": [
                              "AT",
                              "BE",
                              "DE",
                              "ES",
                              "IT",
                              "NL"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "country"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "country"
                        ]
                      },
                      "swish": {
                        "description": "If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "twint": {
                        "description": "If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "type": {
                        "description": "The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.",
                        "enum": [
                          "acss_debit",
                          "affirm",
                          "afterpay_clearpay",
                          "alipay",
                          "alma",
                          "amazon_pay",
                          "au_becs_debit",
                          "bacs_debit",
                          "bancontact",
                          "blik",
                          "boleto",
                          "cashapp",
                          "customer_balance",
                          "eps",
                          "fpx",
                          "giropay",
                          "grabpay",
                          "ideal",
                          "kakao_pay",
                          "klarna",
                          "konbini",
                          "kr_card",
                          "link",
                          "mobilepay",
                          "multibanco",
                          "naver_pay",
                          "oxxo",
                          "p24",
                          "payco",
                          "paynow",
                          "paypal",
                          "pix",
                          "promptpay",
                          "revolut_pay",
                          "samsung_pay",
                          "sepa_debit",
                          "sofort",
                          "swish",
                          "twint",
                          "us_bank_account",
                          "wechat_pay",
                          "zip"
                        ],
                        "type": "string",
                        "x-stripeBypassValidation": true
                      },
                      "us_bank_account": {
                        "description": "If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.",
                        "properties": {
                          "account_holder_type": {
                            "description": "Account holder type: individual or company.",
                            "enum": [
                              "company",
                              "individual"
                            ],
                            "type": "string"
                          },
                          "account_number": {
                            "description": "Account number of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "account_type": {
                            "description": "Account type: checkings or savings. Defaults to checking if omitted.",
                            "enum": [
                              "checking",
                              "savings"
                            ],
                            "type": "string"
                          },
                          "financial_connections_account": {
                            "description": "The ID of a Financial Connections Account to use as a payment method.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "routing_number": {
                            "description": "Routing number of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "payment_method_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_holder_type",
                          "account_number",
                          "account_type",
                          "financial_connections_account",
                          "routing_number"
                        ]
                      },
                      "wechat_pay": {
                        "description": "If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "zip": {
                        "description": "If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "title": "payment_method_data_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "billing_details",
                      "metadata",
                      "type"
                    ]
                  },
                  "payment_method_options": {
                    "description": "Payment-method-specific configuration for this PaymentIntent.",
                    "properties": {
                      "acss_debit": {
                        "anyOf": [
                          {
                            "properties": {
                              "mandate_options": {
                                "description": "Additional fields for Mandate creation",
                                "properties": {
                                  "custom_mandate_url": {
                                    "anyOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "enum": [
                                          ""
                                        ],
                                        "type": "string"
                                      }
                                    ],
                                    "description": "A URL for custom mandate text to render during confirmation step.\nThe URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,\nor `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent."
                                  },
                                  "interval_description": {
                                    "description": "Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.",
                                    "maxLength": 500,
                                    "type": "string"
                                  },
                                  "payment_schedule": {
                                    "description": "Payment schedule for the mandate.",
                                    "enum": [
                                      "combined",
                                      "interval",
                                      "sporadic"
                                    ],
                                    "type": "string"
                                  },
                                  "transaction_type": {
                                    "description": "Transaction type of the mandate.",
                                    "enum": [
                                      "business",
                                      "personal"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "title": "payment_intent_payment_method_options_mandate_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "custom_mandate_url",
                                  "interval_description",
                                  "payment_schedule",
                                  "transaction_type"
                                ]
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session",
                                  "on_session"
                                ],
                                "type": "string"
                              },
                              "verification_method": {
                                "description": "Bank account verification method.",
                                "enum": [
                                  "automatic",
                                  "instant",
                                  "microdeposits"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "mandate_options",
                              "setup_future_usage",
                              "verification_method"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `acss_debit` PaymentMethod, this sub-hash contains details about the ACSS Debit payment method options."
                      },
                      "affirm": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "preferred_locale": {
                                "description": "Preferred language of the Affirm authorization page that the customer is redirected to.",
                                "maxLength": 30,
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "preferred_locale",
                              "purchase_details",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is an `affirm` PaymentMethod, this sub-hash contains details about the Affirm payment method options."
                      },
                      "afterpay_clearpay": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "reference": {
                                "description": "An internal identifier or reference that this payment corresponds to. You must limit the identifier to 128 characters, and it can only contain letters, numbers, underscores, backslashes, and dashes.\nThis field differs from the statement descriptor and item name.",
                                "maxLength": 128,
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "reference",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `afterpay_clearpay` PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options."
                      },
                      "alipay": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `alipay` PaymentMethod, this sub-hash contains details about the Alipay payment method options."
                      },
                      "alma": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `alma` PaymentMethod, this sub-hash contains details about the Alma payment method options."
                      },
                      "amazon_pay": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "charge_metadata",
                              "charge_permission_id",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `amazon_pay` PaymentMethod, this sub-hash contains details about the Amazon Pay payment method options."
                      },
                      "au_becs_debit": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session",
                                  "on_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage",
                              "target_date"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options."
                      },
                      "bacs_debit": {
                        "anyOf": [
                          {
                            "properties": {
                              "mandate_options": {
                                "description": "Additional fields for Mandate creation",
                                "properties": {},
                                "title": "payment_method_options_mandate_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "reference_prefix"
                                ]
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session",
                                  "on_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "mandate_options",
                              "setup_future_usage",
                              "target_date"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options."
                      },
                      "bancontact": {
                        "anyOf": [
                          {
                            "properties": {
                              "preferred_language": {
                                "description": "Preferred language of the Bancontact authorization page that the customer is redirected to.",
                                "enum": [
                                  "de",
                                  "en",
                                  "fr",
                                  "nl"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "preferred_language",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options."
                      },
                      "blik": {
                        "anyOf": [
                          {
                            "properties": {
                              "code": {
                                "description": "The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "code",
                              "mandate_options",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `blik` PaymentMethod, this sub-hash contains details about the BLIK payment method options."
                      },
                      "boleto": {
                        "anyOf": [
                          {
                            "properties": {
                              "expires_after_days": {
                                "description": "The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time.",
                                "type": "integer"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session",
                                  "on_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "expires_after_days",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `boleto` PaymentMethod, this sub-hash contains details about the Boleto payment method options."
                      },
                      "card": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "cvc_token": {
                                "description": "A single-use `cvc_update` Token that represents a card CVC value. When provided, the CVC value will be verified during the card payment attempt. This parameter can only be provided during confirmation.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "installments": {
                                "description": "Installment configuration for payments attempted on this PaymentIntent (Mexico Only).\n\nFor more information, see the [installments integration guide](https://stripe.com/docs/payments/installments).",
                                "properties": {
                                  "enabled": {
                                    "description": "Setting to true enables installments for this PaymentIntent.\nThis will cause the response to contain a list of available installment plans.\nSetting to false will prevent any selected plan from applying to a charge.",
                                    "type": "boolean"
                                  },
                                  "plan": {
                                    "anyOf": [
                                      {
                                        "properties": {
                                          "count": {
                                            "description": "For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card.",
                                            "type": "integer"
                                          },
                                          "interval": {
                                            "description": "For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card.\nOne of `month`.",
                                            "enum": [
                                              "month"
                                            ],
                                            "type": "string"
                                          },
                                          "type": {
                                            "description": "Type of installment plan, one of `fixed_count`.",
                                            "enum": [
                                              "fixed_count"
                                            ],
                                            "type": "string",
                                            "x-stripeBypassValidation": true
                                          }
                                        },
                                        "required": [
                                          "type"
                                        ],
                                        "title": "installment_plan",
                                        "type": "object",
                                        "x-stripeMostCommon": [
                                          "count",
                                          "interval",
                                          "type"
                                        ]
                                      },
                                      {
                                        "enum": [
                                          ""
                                        ],
                                        "type": "string"
                                      }
                                    ],
                                    "description": "The selected installment plan to use for this payment attempt.\nThis parameter can only be provided during confirmation."
                                  }
                                },
                                "title": "installments_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "enabled",
                                  "plan"
                                ]
                              },
                              "mandate_options": {
                                "description": "Configuration options for setting up an eMandate for cards issued in India.",
                                "properties": {
                                  "amount": {
                                    "description": "Amount to be charged for future payments.",
                                    "type": "integer"
                                  },
                                  "amount_type": {
                                    "description": "One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.",
                                    "enum": [
                                      "fixed",
                                      "maximum"
                                    ],
                                    "type": "string"
                                  },
                                  "description": {
                                    "description": "A description of the mandate or subscription that is meant to be displayed to the customer.",
                                    "maxLength": 200,
                                    "type": "string"
                                  },
                                  "end_date": {
                                    "description": "End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.",
                                    "format": "unix-time",
                                    "type": "integer"
                                  },
                                  "interval": {
                                    "description": "Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.",
                                    "enum": [
                                      "day",
                                      "month",
                                      "sporadic",
                                      "week",
                                      "year"
                                    ],
                                    "type": "string"
                                  },
                                  "interval_count": {
                                    "description": "The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.",
                                    "type": "integer"
                                  },
                                  "reference": {
                                    "description": "Unique identifier for the mandate or subscription.",
                                    "maxLength": 80,
                                    "type": "string"
                                  },
                                  "start_date": {
                                    "description": "Start date of the mandate or subscription. Start date should not be lesser than yesterday.",
                                    "format": "unix-time",
                                    "type": "integer"
                                  },
                                  "supported_types": {
                                    "description": "Specifies the type of mandates supported. Possible values are `india`.",
                                    "items": {
                                      "enum": [
                                        "india"
                                      ],
                                      "type": "string"
                                    },
                                    "type": "array"
                                  }
                                },
                                "required": [
                                  "amount",
                                  "amount_type",
                                  "interval",
                                  "reference",
                                  "start_date"
                                ],
                                "title": "mandate_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "amount",
                                  "amount_type",
                                  "description",
                                  "end_date",
                                  "interval",
                                  "interval_count",
                                  "reference",
                                  "start_date",
                                  "supported_types"
                                ]
                              },
                              "moto": {
                                "description": "When specified, this parameter indicates that a transaction will be marked\nas MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This\nparameter can only be provided during confirmation.",
                                "type": "boolean"
                              },
                              "network": {
                                "description": "Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time.",
                                "enum": [
                                  "amex",
                                  "cartes_bancaires",
                                  "diners",
                                  "discover",
                                  "eftpos_au",
                                  "girocard",
                                  "interac",
                                  "jcb",
                                  "link",
                                  "mastercard",
                                  "unionpay",
                                  "unknown",
                                  "visa"
                                ],
                                "maxLength": 5000,
                                "type": "string",
                                "x-stripeBypassValidation": true
                              },
                              "request_extended_authorization": {
                                "description": "Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.",
                                "enum": [
                                  "if_available",
                                  "never"
                                ],
                                "type": "string"
                              },
                              "request_incremental_authorization": {
                                "description": "Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.",
                                "enum": [
                                  "if_available",
                                  "never"
                                ],
                                "type": "string"
                              },
                              "request_multicapture": {
                                "description": "Request ability to make [multiple captures](https://stripe.com/docs/payments/multicapture) for this PaymentIntent.",
                                "enum": [
                                  "if_available",
                                  "never"
                                ],
                                "type": "string"
                              },
                              "request_overcapture": {
                                "description": "Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.",
                                "enum": [
                                  "if_available",
                                  "never"
                                ],
                                "type": "string"
                              },
                              "request_three_d_secure": {
                                "description": "We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.",
                                "enum": [
                                  "any",
                                  "automatic",
                                  "challenge"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              },
                              "require_cvc_recollection": {
                                "description": "When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).",
                                "type": "boolean"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session",
                                  "on_session"
                                ],
                                "type": "string"
                              },
                              "statement_descriptor_suffix_kana": {
                                "anyOf": [
                                  {
                                    "maxLength": 22,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters."
                              },
                              "statement_descriptor_suffix_kanji": {
                                "anyOf": [
                                  {
                                    "maxLength": 17,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters."
                              },
                              "three_d_secure": {
                                "description": "If 3D Secure authentication was performed with a third-party provider,\nthe authentication details to use for this payment.",
                                "properties": {
                                  "ares_trans_status": {
                                    "description": "The `transStatus` returned from the card Issuer’s ACS in the ARes.",
                                    "enum": [
                                      "A",
                                      "C",
                                      "I",
                                      "N",
                                      "R",
                                      "U",
                                      "Y"
                                    ],
                                    "type": "string"
                                  },
                                  "cryptogram": {
                                    "description": "The cryptogram, also known as the \"authentication value\" (AAV, CAVV or\nAEVV). This value is 20 bytes, base64-encoded into a 28-character string.\n(Most 3D Secure providers will return the base64-encoded version, which\nis what you should specify here.)",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "electronic_commerce_indicator": {
                                    "description": "The Electronic Commerce Indicator (ECI) is returned by your 3D Secure\nprovider and indicates what degree of authentication was performed.",
                                    "enum": [
                                      "01",
                                      "02",
                                      "05",
                                      "06",
                                      "07"
                                    ],
                                    "type": "string",
                                    "x-stripeBypassValidation": true
                                  },
                                  "exemption_indicator": {
                                    "description": "The exemption requested via 3DS and accepted by the issuer at authentication time.",
                                    "enum": [
                                      "low_risk",
                                      "none"
                                    ],
                                    "type": "string"
                                  },
                                  "network_options": {
                                    "description": "Network specific 3DS fields. Network specific arguments require an\nexplicit card brand choice. The parameter `payment_method_options.card.network``\nmust be populated accordingly",
                                    "properties": {
                                      "cartes_bancaires": {
                                        "description": "Cartes Bancaires-specific 3DS fields.",
                                        "properties": {
                                          "cb_avalgo": {
                                            "description": "The cryptogram calculation algorithm used by the card Issuer's ACS\nto calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.\nmessageExtension: CB-AVALGO",
                                            "enum": [
                                              "0",
                                              "1",
                                              "2",
                                              "3",
                                              "4",
                                              "A"
                                            ],
                                            "type": "string"
                                          },
                                          "cb_exemption": {
                                            "description": "The exemption indicator returned from Cartes Bancaires in the ARes.\nmessage extension: CB-EXEMPTION; string (4 characters)\nThis is a 3 byte bitmap (low significant byte first and most significant\nbit first) that has been Base64 encoded",
                                            "maxLength": 4,
                                            "type": "string"
                                          },
                                          "cb_score": {
                                            "description": "The risk score returned from Cartes Bancaires in the ARes.\nmessage extension: CB-SCORE; numeric value 0-99",
                                            "type": "integer"
                                          }
                                        },
                                        "required": [
                                          "cb_avalgo"
                                        ],
                                        "title": "cartes_bancaires_network_options_param",
                                        "type": "object",
                                        "x-stripeMostCommon": [
                                          "cb_avalgo",
                                          "cb_exemption",
                                          "cb_score"
                                        ]
                                      }
                                    },
                                    "title": "network_options_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "cartes_bancaires"
                                    ]
                                  },
                                  "requestor_challenge_indicator": {
                                    "description": "The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the\nAReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.",
                                    "maxLength": 2,
                                    "type": "string"
                                  },
                                  "transaction_id": {
                                    "description": "For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server\nTransaction ID (dsTransID).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "version": {
                                    "description": "The version of 3D Secure that was performed.",
                                    "enum": [
                                      "1.0.2",
                                      "2.1.0",
                                      "2.2.0"
                                    ],
                                    "type": "string",
                                    "x-stripeBypassValidation": true
                                  }
                                },
                                "required": [
                                  "cryptogram",
                                  "transaction_id",
                                  "version"
                                ],
                                "title": "payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "ares_trans_status",
                                  "cryptogram",
                                  "electronic_commerce_indicator",
                                  "exemption_indicator",
                                  "network_options",
                                  "requestor_challenge_indicator",
                                  "transaction_id",
                                  "version"
                                ]
                              }
                            },
                            "title": "payment_intent_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "allow_partial_amount",
                              "buy_now_pay_later_options",
                              "capture_method",
                              "cvc_token",
                              "installments",
                              "mandate_options",
                              "mcc",
                              "mit_exemption",
                              "moto",
                              "network",
                              "network_options",
                              "network_token",
                              "recipient_details",
                              "request_decremental_authorization",
                              "request_extended_authorization",
                              "request_flexible_extended_authorization",
                              "request_incremental_authorization",
                              "request_incremental_authorization_support",
                              "request_multicapture",
                              "request_overcapture",
                              "request_partial_authorization",
                              "request_three_d_secure",
                              "require_cvc_recollection",
                              "sender_details",
                              "setup_future_usage",
                              "statement_descriptor_suffix_kana",
                              "statement_descriptor_suffix_kanji",
                              "statement_details",
                              "stored_credential_transaction_type",
                              "stored_credential_usage",
                              "three_d_secure",
                              "transaction_purpose"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Configuration for any card payments attempted on this PaymentIntent."
                      },
                      "card_present": {
                        "anyOf": [
                          {
                            "properties": {
                              "request_extended_authorization": {
                                "description": "Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity)",
                                "type": "boolean"
                              },
                              "request_incremental_authorization_support": {
                                "description": "Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.",
                                "type": "boolean"
                              },
                              "routing": {
                                "description": "Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.",
                                "properties": {
                                  "requested_priority": {
                                    "description": "Routing requested priority",
                                    "enum": [
                                      "domestic",
                                      "international"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "title": "routing_payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "requested_priority"
                                ]
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "buy_now_pay_later_options",
                              "capture_method",
                              "request_extended_authorization",
                              "request_flexible_extended_authorization",
                              "request_incremental_authorization",
                              "request_incremental_authorization_support",
                              "request_partial_authorization",
                              "routing"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `card_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options."
                      },
                      "cashapp": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session",
                                  "on_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "request_incremental_authorization",
                              "restricted_transaction_categories",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `cashapp` PaymentMethod, this sub-hash contains details about the Cash App Pay payment method options."
                      },
                      "customer_balance": {
                        "anyOf": [
                          {
                            "properties": {
                              "bank_transfer": {
                                "description": "Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.",
                                "properties": {
                                  "eu_bank_transfer": {
                                    "description": "Configuration for the eu_bank_transfer funding type.",
                                    "properties": {
                                      "country": {
                                        "description": "The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.",
                                        "maxLength": 5000,
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "country"
                                    ],
                                    "title": "eu_bank_transfer_params",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "country"
                                    ]
                                  },
                                  "requested_address_types": {
                                    "description": "List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.\n\nPermitted values include: `sort_code`, `zengin`, `iban`, or `spei`.",
                                    "items": {
                                      "enum": [
                                        "aba",
                                        "iban",
                                        "sepa",
                                        "sort_code",
                                        "spei",
                                        "swift",
                                        "zengin"
                                      ],
                                      "type": "string",
                                      "x-stripeBypassValidation": true
                                    },
                                    "type": "array"
                                  },
                                  "type": {
                                    "description": "The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.",
                                    "enum": [
                                      "eu_bank_transfer",
                                      "gb_bank_transfer",
                                      "jp_bank_transfer",
                                      "mx_bank_transfer",
                                      "us_bank_transfer"
                                    ],
                                    "type": "string",
                                    "x-stripeBypassValidation": true
                                  }
                                },
                                "required": [
                                  "type"
                                ],
                                "title": "bank_transfer_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "eu_bank_transfer",
                                  "id_bank_account",
                                  "id_bank_transfer",
                                  "requested_address_types",
                                  "type"
                                ]
                              },
                              "funding_type": {
                                "description": "The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.",
                                "enum": [
                                  "bank_transfer"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "bank_transfer",
                              "funding_type",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `customer balance` PaymentMethod, this sub-hash contains details about the customer balance payment method options."
                      },
                      "eps": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options."
                      },
                      "fpx": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options."
                      },
                      "giropay": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options."
                      },
                      "grabpay": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options."
                      },
                      "ideal": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options."
                      },
                      "interac_present": {
                        "anyOf": [
                          {
                            "properties": {},
                            "title": "payment_method_options_param",
                            "type": "object"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options."
                      },
                      "kakao_pay": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `kakao_pay` PaymentMethod, this sub-hash contains details about the Kakao Pay payment method options."
                      },
                      "klarna": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "preferred_locale": {
                                "description": "Preferred language of the Klarna authorization page that the customer is redirected to",
                                "enum": [
                                  "cs-CZ",
                                  "da-DK",
                                  "de-AT",
                                  "de-CH",
                                  "de-DE",
                                  "el-GR",
                                  "en-AT",
                                  "en-AU",
                                  "en-BE",
                                  "en-CA",
                                  "en-CH",
                                  "en-CZ",
                                  "en-DE",
                                  "en-DK",
                                  "en-ES",
                                  "en-FI",
                                  "en-FR",
                                  "en-GB",
                                  "en-GR",
                                  "en-IE",
                                  "en-IT",
                                  "en-NL",
                                  "en-NO",
                                  "en-NZ",
                                  "en-PL",
                                  "en-PT",
                                  "en-RO",
                                  "en-SE",
                                  "en-US",
                                  "es-ES",
                                  "es-US",
                                  "fi-FI",
                                  "fr-BE",
                                  "fr-CA",
                                  "fr-CH",
                                  "fr-FR",
                                  "it-CH",
                                  "it-IT",
                                  "nb-NO",
                                  "nl-BE",
                                  "nl-NL",
                                  "pl-PL",
                                  "pt-PT",
                                  "ro-RO",
                                  "sv-FI",
                                  "sv-SE"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "interoperability_token",
                              "line_items",
                              "partner_confirmation_token",
                              "payment_details",
                              "payment_method_category",
                              "preferred_locale",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `klarna` PaymentMethod, this sub-hash contains details about the Klarna payment method options."
                      },
                      "konbini": {
                        "anyOf": [
                          {
                            "properties": {
                              "confirmation_number": {
                                "anyOf": [
                                  {
                                    "maxLength": 11,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores. Must not consist of only zeroes and could be rejected in case of insufficient uniqueness. We recommend to use the customer's phone number."
                              },
                              "expires_after_days": {
                                "anyOf": [
                                  {
                                    "type": "integer"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. Defaults to 3 days."
                              },
                              "expires_at": {
                                "anyOf": [
                                  {
                                    "format": "unix-time",
                                    "type": "integer"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "The timestamp at which the Konbini payment instructions will expire. Only one of `expires_after_days` or `expires_at` may be set."
                              },
                              "product_description": {
                                "anyOf": [
                                  {
                                    "maxLength": 22,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "A product descriptor of up to 22 characters, which will appear to customers at the convenience store."
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "confirmation_number",
                              "expires_after_days",
                              "expires_at",
                              "fee_amount",
                              "product_description",
                              "setup_future_usage",
                              "tax_amount"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `konbini` PaymentMethod, this sub-hash contains details about the Konbini payment method options."
                      },
                      "kr_card": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `kr_card` PaymentMethod, this sub-hash contains details about the KR Card payment method options."
                      },
                      "link": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "persistent_token": {
                                "description": "[Deprecated] This is a legacy parameter that no longer has any function.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "persistent_token",
                              "request_multicapture",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options."
                      },
                      "mobilepay": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "reference",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `MobilePay` PaymentMethod, this sub-hash contains details about the MobilePay payment method options."
                      },
                      "multibanco": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `multibanco` PaymentMethod, this sub-hash contains details about the Multibanco payment method options."
                      },
                      "naver_pay": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `naver_pay` PaymentMethod, this sub-hash contains details about the Naver Pay payment method options."
                      },
                      "oxxo": {
                        "anyOf": [
                          {
                            "properties": {
                              "expires_after_days": {
                                "description": "The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.",
                                "type": "integer"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "expires_after_days",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `oxxo` PaymentMethod, this sub-hash contains details about the OXXO payment method options."
                      },
                      "p24": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              },
                              "tos_shown_and_accepted": {
                                "description": "Confirm that the payer has accepted the P24 terms and conditions.",
                                "type": "boolean"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "installments",
                              "setup_future_usage",
                              "tos_shown_and_accepted"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options."
                      },
                      "payco": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `payco` PaymentMethod, this sub-hash contains details about the PAYCO payment method options."
                      },
                      "paynow": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `paynow` PaymentMethod, this sub-hash contains details about the PayNow payment method options."
                      },
                      "paypal": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds will be captured from the customer's account.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "preferred_locale": {
                                "description": "[Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.",
                                "enum": [
                                  "cs-CZ",
                                  "da-DK",
                                  "de-AT",
                                  "de-DE",
                                  "de-LU",
                                  "el-GR",
                                  "en-GB",
                                  "en-US",
                                  "es-ES",
                                  "fi-FI",
                                  "fr-BE",
                                  "fr-FR",
                                  "fr-LU",
                                  "hu-HU",
                                  "it-IT",
                                  "nl-BE",
                                  "nl-NL",
                                  "pl-PL",
                                  "pt-PT",
                                  "sk-SK",
                                  "sv-SE"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              },
                              "reference": {
                                "description": "A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.",
                                "maxLength": 127,
                                "type": "string"
                              },
                              "risk_correlation_id": {
                                "description": "The risk correlation ID for an on-session payment using a saved PayPal payment method.",
                                "maxLength": 32,
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "allow_delayed_notification",
                              "capture_method",
                              "line_items",
                              "preferred_locale",
                              "reference",
                              "reference_id",
                              "risk_correlation_id",
                              "setup_future_usage",
                              "subsellers"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options."
                      },
                      "pix": {
                        "anyOf": [
                          {
                            "properties": {
                              "expires_after_seconds": {
                                "description": "The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.",
                                "type": "integer"
                              },
                              "expires_at": {
                                "description": "The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.",
                                "format": "unix-time",
                                "type": "integer"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "expires_after_seconds",
                              "expires_at",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options."
                      },
                      "promptpay": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options."
                      },
                      "revolut_pay": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options."
                      },
                      "samsung_pay": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options."
                      },
                      "sepa_debit": {
                        "anyOf": [
                          {
                            "properties": {
                              "mandate_options": {
                                "description": "Additional fields for Mandate creation",
                                "properties": {},
                                "title": "payment_method_options_mandate_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "reference",
                                  "reference_prefix"
                                ]
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session",
                                  "on_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "mandate_options",
                              "setup_future_usage",
                              "target_date",
                              "verification_method"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options."
                      },
                      "sofort": {
                        "anyOf": [
                          {
                            "properties": {
                              "preferred_language": {
                                "description": "Language shown to the payer on redirect.",
                                "enum": [
                                  "",
                                  "de",
                                  "en",
                                  "es",
                                  "fr",
                                  "it",
                                  "nl",
                                  "pl"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "preferred_language",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options."
                      },
                      "swish": {
                        "anyOf": [
                          {
                            "properties": {
                              "reference": {
                                "anyOf": [
                                  {
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "The order ID displayed in the Swish app after the payment is authorized."
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "authorization_method",
                              "reference",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options."
                      },
                      "twint": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options."
                      },
                      "us_bank_account": {
                        "anyOf": [
                          {
                            "properties": {
                              "financial_connections": {
                                "description": "Additional fields for Financial Connections Session creation",
                                "properties": {
                                  "filters": {
                                    "description": "Provide filters for the linked accounts that the customer can select for the payment method",
                                    "properties": {
                                      "account_subcategories": {
                                        "description": "The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.",
                                        "items": {
                                          "enum": [
                                            "checking",
                                            "savings"
                                          ],
                                          "maxLength": 5000,
                                          "type": "string"
                                        },
                                        "type": "array"
                                      }
                                    },
                                    "title": "linked_account_options_filters_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "account_subcategories",
                                      "institution"
                                    ]
                                  },
                                  "permissions": {
                                    "description": "The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.",
                                    "items": {
                                      "enum": [
                                        "balances",
                                        "ownership",
                                        "payment_method",
                                        "transactions"
                                      ],
                                      "maxLength": 5000,
                                      "type": "string",
                                      "x-stripeBypassValidation": true
                                    },
                                    "type": "array"
                                  },
                                  "prefetch": {
                                    "description": "List of data features that you would like to retrieve upon account creation.",
                                    "items": {
                                      "enum": [
                                        "balances",
                                        "ownership",
                                        "transactions"
                                      ],
                                      "type": "string",
                                      "x-stripeBypassValidation": true
                                    },
                                    "type": "array"
                                  },
                                  "return_url": {
                                    "description": "For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "title": "linked_account_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "filters",
                                  "manual_entry",
                                  "permissions",
                                  "prefetch",
                                  "return_url"
                                ]
                              },
                              "mandate_options": {
                                "description": "Additional fields for Mandate creation",
                                "properties": {
                                  "collection_method": {
                                    "description": "The method used to collect offline mandate customer acceptance.",
                                    "enum": [
                                      "",
                                      "paper"
                                    ],
                                    "type": "string",
                                    "x-stripeBypassValidation": true
                                  }
                                },
                                "title": "mandate_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "collection_method"
                                ]
                              },
                              "networks": {
                                "description": "Additional fields for network related functions",
                                "properties": {
                                  "requested": {
                                    "description": "Triggers validations to run across the selected networks",
                                    "items": {
                                      "enum": [
                                        "ach",
                                        "us_domestic_wire"
                                      ],
                                      "type": "string"
                                    },
                                    "type": "array"
                                  }
                                },
                                "title": "networks_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "requested"
                                ]
                              },
                              "preferred_settlement_speed": {
                                "description": "Preferred transaction settlement speed",
                                "enum": [
                                  "",
                                  "fastest",
                                  "standard"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session",
                                  "on_session"
                                ],
                                "type": "string"
                              },
                              "verification_method": {
                                "description": "Bank account verification method.",
                                "enum": [
                                  "automatic",
                                  "instant",
                                  "microdeposits"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "financial_connections",
                              "mandate_options",
                              "networks",
                              "preferred_settlement_speed",
                              "setup_future_usage",
                              "verification_method"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `us_bank_account` PaymentMethod, this sub-hash contains details about the US bank account payment method options."
                      },
                      "wechat_pay": {
                        "anyOf": [
                          {
                            "properties": {
                              "app_id": {
                                "description": "The app ID registered with WeChat Pay. Only required when client is ios or android.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "client": {
                                "description": "The client type that the end customer will pay from",
                                "enum": [
                                  "android",
                                  "ios",
                                  "web"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "client"
                            ],
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "app_id",
                              "client",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `wechat_pay` PaymentMethod, this sub-hash contains details about the WeChat Pay payment method options."
                      },
                      "zip": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `zip` PaymentMethod, this sub-hash contains details about the Zip payment method options."
                      }
                    },
                    "title": "payment_method_options_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "acss_debit",
                      "affirm",
                      "afterpay_clearpay",
                      "alipay",
                      "alma",
                      "amazon_pay",
                      "au_becs_debit",
                      "bacs_debit",
                      "bancontact",
                      "blik",
                      "boleto",
                      "boleto_pilot",
                      "card",
                      "card_present",
                      "cashapp",
                      "crypto",
                      "customer_balance",
                      "demo_pay",
                      "dummy_auth_push",
                      "dummy_passthrough_card",
                      "eps",
                      "fpx",
                      "giropay",
                      "gopay",
                      "grabpay",
                      "id_bank_transfer",
                      "ideal",
                      "interac_present",
                      "kakao_pay",
                      "klarna",
                      "knet",
                      "konbini",
                      "kr_card",
                      "kr_market",
                      "link",
                      "mb_way",
                      "mobilepay",
                      "multibanco",
                      "naver_pay",
                      "ng_bank",
                      "ng_bank_transfer",
                      "ng_card",
                      "ng_market",
                      "ng_ussd",
                      "nz_bank_account",
                      "oxxo",
                      "p24",
                      "pay_by_bank",
                      "payco",
                      "paynow",
                      "paypal",
                      "payto",
                      "pix",
                      "promptpay",
                      "qris",
                      "rechnung",
                      "revolut_pay",
                      "samsung_pay",
                      "sepa_debit",
                      "shopeepay",
                      "sofort",
                      "swish",
                      "twint",
                      "upi",
                      "us_bank_account",
                      "vipps",
                      "wechat_pay",
                      "zip"
                    ]
                  },
                  "payment_method_types": {
                    "description": "The list of payment method types (for example, card) that this PaymentIntent can use. Use `automatic_payment_methods` to manage payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "receipt_email": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails)."
                  },
                  "setup_future_usage": {
                    "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                    "enum": [
                      "",
                      "off_session",
                      "on_session"
                    ],
                    "type": "string"
                  },
                  "shipping": {
                    "anyOf": [
                      {
                        "properties": {
                          "address": {
                            "description": "Shipping address.",
                            "properties": {
                              "city": {
                                "description": "City, district, suburb, town, or village.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "country": {
                                "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line1": {
                                "description": "Address line 1 (e.g., street, PO Box, or company name).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line2": {
                                "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "postal_code": {
                                "description": "ZIP or postal code.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "state": {
                                "description": "State, county, province, or region.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "optional_fields_address",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "city",
                              "country",
                              "line1",
                              "line2",
                              "postal_code",
                              "state"
                            ]
                          },
                          "carrier": {
                            "description": "The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "name": {
                            "description": "Recipient name.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "phone": {
                            "description": "Recipient phone (including extension).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "tracking_number": {
                            "description": "The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "address",
                          "name"
                        ],
                        "title": "optional_fields_shipping",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "address",
                          "carrier",
                          "name",
                          "phone",
                          "tracking_number"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Shipping information for this PaymentIntent."
                  },
                  "statement_descriptor": {
                    "description": "Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).\n\nSetting this value for a card charge returns an error. For card charges, set the [statement_descriptor_suffix](https://docs.stripe.com/get-started/account/statement-descriptors#dynamic) instead.",
                    "maxLength": 22,
                    "type": "string"
                  },
                  "statement_descriptor_suffix": {
                    "description": "Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement.",
                    "maxLength": 22,
                    "type": "string"
                  },
                  "transfer_data": {
                    "description": "Use this parameter to automatically create a Transfer when the payment succeeds. Learn more about the [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).",
                    "properties": {
                      "amount": {
                        "description": "The amount that will be transferred automatically when a charge succeeds.",
                        "type": "integer"
                      }
                    },
                    "title": "transfer_data_update_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "amount"
                    ]
                  },
                  "transfer_group": {
                    "description": "A string that identifies the resulting payment as part of a group. You can only provide `transfer_group` if it hasn't been set. Learn more about the [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).",
                    "type": "string"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "currency",
                  "customer",
                  "description",
                  "metadata",
                  "payment_method",
                  "receipt_email",
                  "setup_future_usage",
                  "shipping",
                  "statement_descriptor",
                  "statement_descriptor_suffix"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payment_intent"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a PaymentIntent"
      }
    },
    "/v1/payment_intents/{intent}/apply_customer_balance": {
      "post": {
        "description": "<p>Manually reconcile the remaining amount for a <code>customer_balance</code> PaymentIntent.</p>",
        "operationId": "PostPaymentIntentsIntentApplyCustomerBalance",
        "parameters": [
          {
            "in": "path",
            "name": "intent",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "Amount that you intend to apply to this PaymentIntent from the customer’s cash balance. If the PaymentIntent was created by an Invoice, the full amount of the PaymentIntent is applied regardless of this parameter.\n\nA positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (for example, 100 cents to charge 1 USD or 100 to charge 100 JPY, a zero-decimal currency). The maximum amount is the amount of the PaymentIntent.\n\nWhen you omit the amount, it defaults to the remaining amount requested on the PaymentIntent.",
                    "type": "integer"
                  },
                  "currency": {
                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "currency"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payment_intent"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Reconcile a customer_balance PaymentIntent"
      }
    },
    "/v1/payment_intents/{intent}/cancel": {
      "post": {
        "description": "<p>You can cancel a PaymentIntent object when it’s in one of these statuses: <code>requires_payment_method</code>, <code>requires_capture</code>, <code>requires_confirmation</code>, <code>requires_action</code> or, <a href=\"/docs/payments/intents\">in rare cases</a>, <code>processing</code>. </p>\n\n<p>After it’s canceled, no additional charges are made by the PaymentIntent and any operations on the PaymentIntent fail with an error. For PaymentIntents with a <code>status</code> of <code>requires_capture</code>, the remaining <code>amount_capturable</code> is automatically refunded. </p>\n\n<p>You can’t cancel the PaymentIntent for a Checkout Session. <a href=\"/docs/api/checkout/sessions/expire\">Expire the Checkout Session</a> instead.</p>",
        "operationId": "PostPaymentIntentsIntentCancel",
        "parameters": [
          {
            "in": "path",
            "name": "intent",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "cancellation_reason": {
                    "description": "Reason for canceling this PaymentIntent. Possible values are: `duplicate`, `fraudulent`, `requested_by_customer`, or `abandoned`",
                    "enum": [
                      "abandoned",
                      "duplicate",
                      "fraudulent",
                      "requested_by_customer"
                    ],
                    "maxLength": 5000,
                    "type": "string",
                    "x-stripeBypassValidation": true
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "cancellation_reason"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payment_intent"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Cancel a PaymentIntent"
      }
    },
    "/v1/payment_intents/{intent}/capture": {
      "post": {
        "description": "<p>Capture the funds of an existing uncaptured PaymentIntent when its status is <code>requires_capture</code>.</p>\n\n<p>Uncaptured PaymentIntents are cancelled a set number of days (7 by default) after their creation.</p>\n\n<p>Learn more about <a href=\"/docs/payments/capture-later\">separate authorization and capture</a>.</p>",
        "operationId": "PostPaymentIntentsIntentCapture",
        "parameters": [
          {
            "in": "path",
            "name": "intent",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "transfer_data": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount_to_capture": {
                    "description": "The amount to capture from the PaymentIntent, which must be less than or equal to the original amount. Any additional amount is automatically refunded. Defaults to the full `amount_capturable` if it's not provided.",
                    "type": "integer"
                  },
                  "application_fee_amount": {
                    "description": "The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total payment amount. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).",
                    "type": "integer"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "final_capture": {
                    "description": "Defaults to `true`. When capturing a PaymentIntent, setting `final_capture` to `false` notifies Stripe to not release the remaining uncaptured funds to make sure that they're captured in future requests. You can only use this setting when [multicapture](https://stripe.com/docs/payments/multicapture) is available for PaymentIntents.",
                    "type": "boolean"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "statement_descriptor": {
                    "description": "Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).\n\nSetting this value for a card charge returns an error. For card charges, set the [statement_descriptor_suffix](https://docs.stripe.com/get-started/account/statement-descriptors#dynamic) instead.",
                    "maxLength": 22,
                    "type": "string"
                  },
                  "statement_descriptor_suffix": {
                    "description": "Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement.",
                    "maxLength": 22,
                    "type": "string"
                  },
                  "transfer_data": {
                    "description": "The parameters that you can use to automatically create a transfer after the payment\nis captured. Learn more about the [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).",
                    "properties": {
                      "amount": {
                        "description": "The amount that will be transferred automatically when a charge succeeds.",
                        "type": "integer"
                      }
                    },
                    "title": "transfer_data_update_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "amount"
                    ]
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "amount_to_capture",
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payment_intent"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Capture a PaymentIntent"
      }
    },
    "/v1/payment_intents/{intent}/confirm": {
      "post": {
        "description": "<p>Confirm that your customer intends to pay with current or provided\npayment method. Upon confirmation, the PaymentIntent will attempt to initiate\na payment.\nIf the selected payment method requires additional authentication steps, the\nPaymentIntent will transition to the <code>requires_action</code> status and\nsuggest additional actions via <code>next_action</code>. If payment fails,\nthe PaymentIntent transitions to the <code>requires_payment_method</code> status or the\n<code>canceled</code> status if the confirmation limit is reached. If\npayment succeeds, the PaymentIntent will transition to the <code>succeeded</code>\nstatus (or <code>requires_capture</code>, if <code>capture_method</code> is set to <code>manual</code>).\nIf the <code>confirmation_method</code> is <code>automatic</code>, payment may be attempted\nusing our <a href=\"/docs/stripe-js/reference#stripe-handle-card-payment\">client SDKs</a>\nand the PaymentIntent’s <a href=\"#payment_intent_object-client_secret\">client_secret</a>.\nAfter <code>next_action</code>s are handled by the client, no additional\nconfirmation is required to complete the payment.\nIf the <code>confirmation_method</code> is <code>manual</code>, all payment attempts must be\ninitiated using a secret key.\nIf any actions are required for the payment, the PaymentIntent will\nreturn to the <code>requires_confirmation</code> state\nafter those actions are completed. Your server needs to then\nexplicitly re-confirm the PaymentIntent to initiate the next payment\nattempt.\nThere is a variable upper limit on how many times a PaymentIntent can be confirmed.\nAfter this limit is reached, any further calls to this endpoint will\ntransition the PaymentIntent to the <code>canceled</code> state.</p>",
        "operationId": "PostPaymentIntentsIntentConfirm",
        "parameters": [
          {
            "in": "path",
            "name": "intent",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "mandate_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "off_session": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_method_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_method_options": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_method_types": {
                  "explode": true,
                  "style": "deepObject"
                },
                "radar_options": {
                  "explode": true,
                  "style": "deepObject"
                },
                "receipt_email": {
                  "explode": true,
                  "style": "deepObject"
                },
                "shipping": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "capture_method": {
                    "description": "Controls when the funds will be captured from the customer's account.",
                    "enum": [
                      "automatic",
                      "automatic_async",
                      "manual"
                    ],
                    "type": "string"
                  },
                  "confirmation_token": {
                    "description": "ID of the ConfirmationToken used to confirm this PaymentIntent.\n\nIf the provided ConfirmationToken contains properties that are also being provided in this request, such as `payment_method`, then the values in this request will take precedence.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "error_on_requires_action": {
                    "description": "Set to `true` to fail the payment attempt if the PaymentIntent transitions into `requires_action`. This parameter is intended for simpler integrations that do not handle customer actions, like [saving cards without authentication](https://stripe.com/docs/payments/save-card-without-authentication).",
                    "type": "boolean"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "mandate": {
                    "description": "ID of the mandate that's used for this payment.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "mandate_data": {
                    "anyOf": [
                      {
                        "properties": {
                          "customer_acceptance": {
                            "description": "This hash contains details about the customer acceptance of the Mandate.",
                            "properties": {
                              "accepted_at": {
                                "description": "The time at which the customer accepted the Mandate.",
                                "format": "unix-time",
                                "type": "integer"
                              },
                              "offline": {
                                "description": "If this is a Mandate accepted offline, this hash contains details about the offline acceptance.",
                                "properties": {},
                                "title": "offline_param",
                                "type": "object"
                              },
                              "online": {
                                "description": "If this is a Mandate accepted online, this hash contains details about the online acceptance.",
                                "properties": {
                                  "ip_address": {
                                    "description": "The IP address from which the Mandate was accepted by the customer.",
                                    "type": "string"
                                  },
                                  "user_agent": {
                                    "description": "The user agent of the browser from which the Mandate was accepted by the customer.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "ip_address",
                                  "user_agent"
                                ],
                                "title": "online_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "ip_address",
                                  "user_agent"
                                ]
                              },
                              "type": {
                                "description": "The type of customer acceptance information included with the Mandate. One of `online` or `offline`.",
                                "enum": [
                                  "offline",
                                  "online"
                                ],
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "title": "customer_acceptance_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "accepted_at",
                              "offline",
                              "online",
                              "type"
                            ]
                          }
                        },
                        "required": [
                          "customer_acceptance"
                        ],
                        "title": "secret_key_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "customer_acceptance"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      },
                      {
                        "description": "This hash contains details about the Mandate to create",
                        "properties": {
                          "customer_acceptance": {
                            "description": "This hash contains details about the customer acceptance of the Mandate.",
                            "properties": {
                              "online": {
                                "description": "If this is a Mandate accepted online, this hash contains details about the online acceptance.",
                                "properties": {
                                  "ip_address": {
                                    "description": "The IP address from which the Mandate was accepted by the customer.",
                                    "type": "string"
                                  },
                                  "user_agent": {
                                    "description": "The user agent of the browser from which the Mandate was accepted by the customer.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "title": "online_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "ip_address",
                                  "user_agent"
                                ]
                              },
                              "type": {
                                "description": "The type of customer acceptance information included with the Mandate.",
                                "enum": [
                                  "online"
                                ],
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "required": [
                              "online",
                              "type"
                            ],
                            "title": "customer_acceptance_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "online",
                              "type"
                            ]
                          }
                        },
                        "required": [
                          "customer_acceptance"
                        ],
                        "title": "client_key_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "customer_acceptance"
                        ],
                        "x-stripeParam": {
                          "class_name": "MandateDataPublishableKey"
                        }
                      }
                    ]
                  },
                  "off_session": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "enum": [
                          "one_off",
                          "recurring"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      }
                    ],
                    "description": "Set to `true` to indicate that the customer isn't in your checkout flow during this payment attempt and can't authenticate. Use this parameter in scenarios where you collect card details and [charge them later](https://stripe.com/docs/payments/cards/charging-saved-cards)."
                  },
                  "payment_method": {
                    "description": "ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://stripe.com/docs/payments/payment-methods/transitioning#compatibility) object) to attach to this PaymentIntent.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "payment_method_data": {
                    "description": "If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod will appear\nin the [payment_method](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-payment_method)\nproperty on the PaymentIntent.",
                    "properties": {
                      "acss_debit": {
                        "description": "If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.",
                        "properties": {
                          "account_number": {
                            "description": "Customer's bank account number.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "institution_number": {
                            "description": "Institution number of the customer's bank.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "transit_number": {
                            "description": "Transit number of the customer's bank.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "account_number",
                          "institution_number",
                          "transit_number"
                        ],
                        "title": "payment_method_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_number",
                          "institution_number",
                          "transit_number"
                        ]
                      },
                      "affirm": {
                        "description": "If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "afterpay_clearpay": {
                        "description": "If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "alipay": {
                        "description": "If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "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`.",
                        "enum": [
                          "always",
                          "limited",
                          "unspecified"
                        ],
                        "type": "string"
                      },
                      "alma": {
                        "description": "If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "amazon_pay": {
                        "description": "If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "au_becs_debit": {
                        "description": "If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.",
                        "properties": {
                          "account_number": {
                            "description": "The account number for the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "bsb_number": {
                            "description": "Bank-State-Branch number of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "account_number",
                          "bsb_number"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_number",
                          "bsb_number"
                        ]
                      },
                      "bacs_debit": {
                        "description": "If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.",
                        "properties": {
                          "account_number": {
                            "description": "Account number of the bank account that the funds will be debited from.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "sort_code": {
                            "description": "Sort code of the bank account. (e.g., `10-20-30`)",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_number",
                          "sort_code"
                        ]
                      },
                      "bancontact": {
                        "description": "If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "billing_details": {
                        "description": "Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.",
                        "properties": {
                          "address": {
                            "anyOf": [
                              {
                                "properties": {
                                  "city": {
                                    "description": "City, district, suburb, town, or village.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "country": {
                                    "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "line1": {
                                    "description": "Address line 1 (e.g., street, PO Box, or company name).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "line2": {
                                    "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "postal_code": {
                                    "description": "ZIP or postal code.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "state": {
                                    "description": "State, county, province, or region.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "title": "billing_details_address",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "city",
                                  "country",
                                  "line1",
                                  "line2",
                                  "postal_code",
                                  "state"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Billing address."
                          },
                          "email": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Email address."
                          },
                          "name": {
                            "anyOf": [
                              {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Full name."
                          },
                          "phone": {
                            "anyOf": [
                              {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Billing phone number (including extension)."
                          }
                        },
                        "title": "billing_details_inner_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "address",
                          "email",
                          "name",
                          "phone"
                        ]
                      },
                      "blik": {
                        "description": "If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "boleto": {
                        "description": "If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.",
                        "properties": {
                          "tax_id": {
                            "description": "The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "tax_id"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "tax_id"
                        ]
                      },
                      "cashapp": {
                        "description": "If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "customer_balance": {
                        "description": "If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "eps": {
                        "description": "If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.",
                        "properties": {
                          "bank": {
                            "description": "The customer's bank.",
                            "enum": [
                              "arzte_und_apotheker_bank",
                              "austrian_anadi_bank_ag",
                              "bank_austria",
                              "bankhaus_carl_spangler",
                              "bankhaus_schelhammer_und_schattera_ag",
                              "bawag_psk_ag",
                              "bks_bank_ag",
                              "brull_kallmus_bank_ag",
                              "btv_vier_lander_bank",
                              "capital_bank_grawe_gruppe_ag",
                              "deutsche_bank_ag",
                              "dolomitenbank",
                              "easybank_ag",
                              "erste_bank_und_sparkassen",
                              "hypo_alpeadriabank_international_ag",
                              "hypo_bank_burgenland_aktiengesellschaft",
                              "hypo_noe_lb_fur_niederosterreich_u_wien",
                              "hypo_oberosterreich_salzburg_steiermark",
                              "hypo_tirol_bank_ag",
                              "hypo_vorarlberg_bank_ag",
                              "marchfelder_bank",
                              "oberbank_ag",
                              "raiffeisen_bankengruppe_osterreich",
                              "schoellerbank_ag",
                              "sparda_bank_wien",
                              "volksbank_gruppe",
                              "volkskreditbank_ag",
                              "vr_bank_braunau"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "bank"
                        ]
                      },
                      "fpx": {
                        "description": "If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.",
                        "properties": {
                          "account_holder_type": {
                            "description": "Account holder type for FPX transaction",
                            "enum": [
                              "company",
                              "individual"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "bank": {
                            "description": "The customer's bank.",
                            "enum": [
                              "affin_bank",
                              "agrobank",
                              "alliance_bank",
                              "ambank",
                              "bank_islam",
                              "bank_muamalat",
                              "bank_of_china",
                              "bank_rakyat",
                              "bsn",
                              "cimb",
                              "deutsche_bank",
                              "hong_leong_bank",
                              "hsbc",
                              "kfh",
                              "maybank2e",
                              "maybank2u",
                              "ocbc",
                              "pb_enterprise",
                              "public_bank",
                              "rhb",
                              "standard_chartered",
                              "uob"
                            ],
                            "maxLength": 5000,
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "required": [
                          "bank"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_holder_type",
                          "bank"
                        ]
                      },
                      "giropay": {
                        "description": "If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "grabpay": {
                        "description": "If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "ideal": {
                        "description": "If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.",
                        "properties": {
                          "bank": {
                            "description": "The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.",
                            "enum": [
                              "abn_amro",
                              "asn_bank",
                              "bunq",
                              "handelsbanken",
                              "ing",
                              "knab",
                              "moneyou",
                              "n26",
                              "nn",
                              "rabobank",
                              "regiobank",
                              "revolut",
                              "sns_bank",
                              "triodos_bank",
                              "van_lanschot",
                              "yoursafe"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "bank"
                        ]
                      },
                      "interac_present": {
                        "description": "If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "device_identifier",
                          "device_type",
                          "emv",
                          "location"
                        ]
                      },
                      "kakao_pay": {
                        "description": "If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "klarna": {
                        "description": "If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.",
                        "properties": {
                          "dob": {
                            "description": "Customer's date of birth",
                            "properties": {
                              "day": {
                                "description": "The day of birth, between 1 and 31.",
                                "type": "integer"
                              },
                              "month": {
                                "description": "The month of birth, between 1 and 12.",
                                "type": "integer"
                              },
                              "year": {
                                "description": "The four-digit year of birth.",
                                "type": "integer"
                              }
                            },
                            "required": [
                              "day",
                              "month",
                              "year"
                            ],
                            "title": "date_of_birth",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "day",
                              "month",
                              "year"
                            ]
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "dob"
                        ]
                      },
                      "konbini": {
                        "description": "If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "kr_card": {
                        "description": "If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "link": {
                        "description": "If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "metadata": {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                        "type": "object"
                      },
                      "mobilepay": {
                        "description": "If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "multibanco": {
                        "description": "If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "naver_pay": {
                        "description": "If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.",
                        "properties": {
                          "funding": {
                            "description": "Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.",
                            "enum": [
                              "card",
                              "points"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "funding"
                        ]
                      },
                      "oxxo": {
                        "description": "If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "p24": {
                        "description": "If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.",
                        "properties": {
                          "bank": {
                            "description": "The customer's bank.",
                            "enum": [
                              "alior_bank",
                              "bank_millennium",
                              "bank_nowy_bfg_sa",
                              "bank_pekao_sa",
                              "banki_spbdzielcze",
                              "blik",
                              "bnp_paribas",
                              "boz",
                              "citi_handlowy",
                              "credit_agricole",
                              "envelobank",
                              "etransfer_pocztowy24",
                              "getin_bank",
                              "ideabank",
                              "ing",
                              "inteligo",
                              "mbank_mtransfer",
                              "nest_przelew",
                              "noble_pay",
                              "pbac_z_ipko",
                              "plus_bank",
                              "santander_przelew24",
                              "tmobile_usbugi_bankowe",
                              "toyota_bank",
                              "velobank",
                              "volkswagen_bank"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "bank"
                        ]
                      },
                      "payco": {
                        "description": "If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "paynow": {
                        "description": "If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "paypal": {
                        "description": "If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "pix": {
                        "description": "If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "tax_id"
                        ]
                      },
                      "promptpay": {
                        "description": "If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "radar_options": {
                        "description": "Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.",
                        "properties": {
                          "session": {
                            "description": "A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "radar_options_with_hidden_options",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "session",
                          "skip_rules"
                        ]
                      },
                      "revolut_pay": {
                        "description": "If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "samsung_pay": {
                        "description": "If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "sepa_debit": {
                        "description": "If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.",
                        "properties": {
                          "iban": {
                            "description": "IBAN of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "iban"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "iban"
                        ]
                      },
                      "sofort": {
                        "description": "If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.",
                        "properties": {
                          "country": {
                            "description": "Two-letter ISO code representing the country the bank account is located in.",
                            "enum": [
                              "AT",
                              "BE",
                              "DE",
                              "ES",
                              "IT",
                              "NL"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "country"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "country"
                        ]
                      },
                      "swish": {
                        "description": "If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "twint": {
                        "description": "If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "type": {
                        "description": "The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.",
                        "enum": [
                          "acss_debit",
                          "affirm",
                          "afterpay_clearpay",
                          "alipay",
                          "alma",
                          "amazon_pay",
                          "au_becs_debit",
                          "bacs_debit",
                          "bancontact",
                          "blik",
                          "boleto",
                          "cashapp",
                          "customer_balance",
                          "eps",
                          "fpx",
                          "giropay",
                          "grabpay",
                          "ideal",
                          "kakao_pay",
                          "klarna",
                          "konbini",
                          "kr_card",
                          "link",
                          "mobilepay",
                          "multibanco",
                          "naver_pay",
                          "oxxo",
                          "p24",
                          "payco",
                          "paynow",
                          "paypal",
                          "pix",
                          "promptpay",
                          "revolut_pay",
                          "samsung_pay",
                          "sepa_debit",
                          "sofort",
                          "swish",
                          "twint",
                          "us_bank_account",
                          "wechat_pay",
                          "zip"
                        ],
                        "type": "string",
                        "x-stripeBypassValidation": true
                      },
                      "us_bank_account": {
                        "description": "If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.",
                        "properties": {
                          "account_holder_type": {
                            "description": "Account holder type: individual or company.",
                            "enum": [
                              "company",
                              "individual"
                            ],
                            "type": "string"
                          },
                          "account_number": {
                            "description": "Account number of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "account_type": {
                            "description": "Account type: checkings or savings. Defaults to checking if omitted.",
                            "enum": [
                              "checking",
                              "savings"
                            ],
                            "type": "string"
                          },
                          "financial_connections_account": {
                            "description": "The ID of a Financial Connections Account to use as a payment method.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "routing_number": {
                            "description": "Routing number of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "payment_method_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_holder_type",
                          "account_number",
                          "account_type",
                          "financial_connections_account",
                          "routing_number"
                        ]
                      },
                      "wechat_pay": {
                        "description": "If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "zip": {
                        "description": "If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "title": "payment_method_data_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "billing_details",
                      "metadata",
                      "type"
                    ]
                  },
                  "payment_method_options": {
                    "description": "Payment method-specific configuration for this PaymentIntent.",
                    "properties": {
                      "acss_debit": {
                        "anyOf": [
                          {
                            "properties": {
                              "mandate_options": {
                                "description": "Additional fields for Mandate creation",
                                "properties": {
                                  "custom_mandate_url": {
                                    "anyOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "enum": [
                                          ""
                                        ],
                                        "type": "string"
                                      }
                                    ],
                                    "description": "A URL for custom mandate text to render during confirmation step.\nThe URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,\nor `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent."
                                  },
                                  "interval_description": {
                                    "description": "Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.",
                                    "maxLength": 500,
                                    "type": "string"
                                  },
                                  "payment_schedule": {
                                    "description": "Payment schedule for the mandate.",
                                    "enum": [
                                      "combined",
                                      "interval",
                                      "sporadic"
                                    ],
                                    "type": "string"
                                  },
                                  "transaction_type": {
                                    "description": "Transaction type of the mandate.",
                                    "enum": [
                                      "business",
                                      "personal"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "title": "payment_intent_payment_method_options_mandate_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "custom_mandate_url",
                                  "interval_description",
                                  "payment_schedule",
                                  "transaction_type"
                                ]
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session",
                                  "on_session"
                                ],
                                "type": "string"
                              },
                              "verification_method": {
                                "description": "Bank account verification method.",
                                "enum": [
                                  "automatic",
                                  "instant",
                                  "microdeposits"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "mandate_options",
                              "setup_future_usage",
                              "verification_method"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `acss_debit` PaymentMethod, this sub-hash contains details about the ACSS Debit payment method options."
                      },
                      "affirm": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "preferred_locale": {
                                "description": "Preferred language of the Affirm authorization page that the customer is redirected to.",
                                "maxLength": 30,
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "preferred_locale",
                              "purchase_details",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is an `affirm` PaymentMethod, this sub-hash contains details about the Affirm payment method options."
                      },
                      "afterpay_clearpay": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "reference": {
                                "description": "An internal identifier or reference that this payment corresponds to. You must limit the identifier to 128 characters, and it can only contain letters, numbers, underscores, backslashes, and dashes.\nThis field differs from the statement descriptor and item name.",
                                "maxLength": 128,
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "reference",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `afterpay_clearpay` PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options."
                      },
                      "alipay": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `alipay` PaymentMethod, this sub-hash contains details about the Alipay payment method options."
                      },
                      "alma": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `alma` PaymentMethod, this sub-hash contains details about the Alma payment method options."
                      },
                      "amazon_pay": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "charge_metadata",
                              "charge_permission_id",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `amazon_pay` PaymentMethod, this sub-hash contains details about the Amazon Pay payment method options."
                      },
                      "au_becs_debit": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session",
                                  "on_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage",
                              "target_date"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options."
                      },
                      "bacs_debit": {
                        "anyOf": [
                          {
                            "properties": {
                              "mandate_options": {
                                "description": "Additional fields for Mandate creation",
                                "properties": {},
                                "title": "payment_method_options_mandate_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "reference_prefix"
                                ]
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session",
                                  "on_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "mandate_options",
                              "setup_future_usage",
                              "target_date"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options."
                      },
                      "bancontact": {
                        "anyOf": [
                          {
                            "properties": {
                              "preferred_language": {
                                "description": "Preferred language of the Bancontact authorization page that the customer is redirected to.",
                                "enum": [
                                  "de",
                                  "en",
                                  "fr",
                                  "nl"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "preferred_language",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options."
                      },
                      "blik": {
                        "anyOf": [
                          {
                            "properties": {
                              "code": {
                                "description": "The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "code",
                              "mandate_options",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `blik` PaymentMethod, this sub-hash contains details about the BLIK payment method options."
                      },
                      "boleto": {
                        "anyOf": [
                          {
                            "properties": {
                              "expires_after_days": {
                                "description": "The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time.",
                                "type": "integer"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session",
                                  "on_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "expires_after_days",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `boleto` PaymentMethod, this sub-hash contains details about the Boleto payment method options."
                      },
                      "card": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "cvc_token": {
                                "description": "A single-use `cvc_update` Token that represents a card CVC value. When provided, the CVC value will be verified during the card payment attempt. This parameter can only be provided during confirmation.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "installments": {
                                "description": "Installment configuration for payments attempted on this PaymentIntent (Mexico Only).\n\nFor more information, see the [installments integration guide](https://stripe.com/docs/payments/installments).",
                                "properties": {
                                  "enabled": {
                                    "description": "Setting to true enables installments for this PaymentIntent.\nThis will cause the response to contain a list of available installment plans.\nSetting to false will prevent any selected plan from applying to a charge.",
                                    "type": "boolean"
                                  },
                                  "plan": {
                                    "anyOf": [
                                      {
                                        "properties": {
                                          "count": {
                                            "description": "For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card.",
                                            "type": "integer"
                                          },
                                          "interval": {
                                            "description": "For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card.\nOne of `month`.",
                                            "enum": [
                                              "month"
                                            ],
                                            "type": "string"
                                          },
                                          "type": {
                                            "description": "Type of installment plan, one of `fixed_count`.",
                                            "enum": [
                                              "fixed_count"
                                            ],
                                            "type": "string",
                                            "x-stripeBypassValidation": true
                                          }
                                        },
                                        "required": [
                                          "type"
                                        ],
                                        "title": "installment_plan",
                                        "type": "object",
                                        "x-stripeMostCommon": [
                                          "count",
                                          "interval",
                                          "type"
                                        ]
                                      },
                                      {
                                        "enum": [
                                          ""
                                        ],
                                        "type": "string"
                                      }
                                    ],
                                    "description": "The selected installment plan to use for this payment attempt.\nThis parameter can only be provided during confirmation."
                                  }
                                },
                                "title": "installments_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "enabled",
                                  "plan"
                                ]
                              },
                              "mandate_options": {
                                "description": "Configuration options for setting up an eMandate for cards issued in India.",
                                "properties": {
                                  "amount": {
                                    "description": "Amount to be charged for future payments.",
                                    "type": "integer"
                                  },
                                  "amount_type": {
                                    "description": "One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.",
                                    "enum": [
                                      "fixed",
                                      "maximum"
                                    ],
                                    "type": "string"
                                  },
                                  "description": {
                                    "description": "A description of the mandate or subscription that is meant to be displayed to the customer.",
                                    "maxLength": 200,
                                    "type": "string"
                                  },
                                  "end_date": {
                                    "description": "End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.",
                                    "format": "unix-time",
                                    "type": "integer"
                                  },
                                  "interval": {
                                    "description": "Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.",
                                    "enum": [
                                      "day",
                                      "month",
                                      "sporadic",
                                      "week",
                                      "year"
                                    ],
                                    "type": "string"
                                  },
                                  "interval_count": {
                                    "description": "The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.",
                                    "type": "integer"
                                  },
                                  "reference": {
                                    "description": "Unique identifier for the mandate or subscription.",
                                    "maxLength": 80,
                                    "type": "string"
                                  },
                                  "start_date": {
                                    "description": "Start date of the mandate or subscription. Start date should not be lesser than yesterday.",
                                    "format": "unix-time",
                                    "type": "integer"
                                  },
                                  "supported_types": {
                                    "description": "Specifies the type of mandates supported. Possible values are `india`.",
                                    "items": {
                                      "enum": [
                                        "india"
                                      ],
                                      "type": "string"
                                    },
                                    "type": "array"
                                  }
                                },
                                "required": [
                                  "amount",
                                  "amount_type",
                                  "interval",
                                  "reference",
                                  "start_date"
                                ],
                                "title": "mandate_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "amount",
                                  "amount_type",
                                  "description",
                                  "end_date",
                                  "interval",
                                  "interval_count",
                                  "reference",
                                  "start_date",
                                  "supported_types"
                                ]
                              },
                              "moto": {
                                "description": "When specified, this parameter indicates that a transaction will be marked\nas MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This\nparameter can only be provided during confirmation.",
                                "type": "boolean"
                              },
                              "network": {
                                "description": "Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time.",
                                "enum": [
                                  "amex",
                                  "cartes_bancaires",
                                  "diners",
                                  "discover",
                                  "eftpos_au",
                                  "girocard",
                                  "interac",
                                  "jcb",
                                  "link",
                                  "mastercard",
                                  "unionpay",
                                  "unknown",
                                  "visa"
                                ],
                                "maxLength": 5000,
                                "type": "string",
                                "x-stripeBypassValidation": true
                              },
                              "request_extended_authorization": {
                                "description": "Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.",
                                "enum": [
                                  "if_available",
                                  "never"
                                ],
                                "type": "string"
                              },
                              "request_incremental_authorization": {
                                "description": "Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.",
                                "enum": [
                                  "if_available",
                                  "never"
                                ],
                                "type": "string"
                              },
                              "request_multicapture": {
                                "description": "Request ability to make [multiple captures](https://stripe.com/docs/payments/multicapture) for this PaymentIntent.",
                                "enum": [
                                  "if_available",
                                  "never"
                                ],
                                "type": "string"
                              },
                              "request_overcapture": {
                                "description": "Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.",
                                "enum": [
                                  "if_available",
                                  "never"
                                ],
                                "type": "string"
                              },
                              "request_three_d_secure": {
                                "description": "We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.",
                                "enum": [
                                  "any",
                                  "automatic",
                                  "challenge"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              },
                              "require_cvc_recollection": {
                                "description": "When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).",
                                "type": "boolean"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session",
                                  "on_session"
                                ],
                                "type": "string"
                              },
                              "statement_descriptor_suffix_kana": {
                                "anyOf": [
                                  {
                                    "maxLength": 22,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters."
                              },
                              "statement_descriptor_suffix_kanji": {
                                "anyOf": [
                                  {
                                    "maxLength": 17,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters."
                              },
                              "three_d_secure": {
                                "description": "If 3D Secure authentication was performed with a third-party provider,\nthe authentication details to use for this payment.",
                                "properties": {
                                  "ares_trans_status": {
                                    "description": "The `transStatus` returned from the card Issuer’s ACS in the ARes.",
                                    "enum": [
                                      "A",
                                      "C",
                                      "I",
                                      "N",
                                      "R",
                                      "U",
                                      "Y"
                                    ],
                                    "type": "string"
                                  },
                                  "cryptogram": {
                                    "description": "The cryptogram, also known as the \"authentication value\" (AAV, CAVV or\nAEVV). This value is 20 bytes, base64-encoded into a 28-character string.\n(Most 3D Secure providers will return the base64-encoded version, which\nis what you should specify here.)",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "electronic_commerce_indicator": {
                                    "description": "The Electronic Commerce Indicator (ECI) is returned by your 3D Secure\nprovider and indicates what degree of authentication was performed.",
                                    "enum": [
                                      "01",
                                      "02",
                                      "05",
                                      "06",
                                      "07"
                                    ],
                                    "type": "string",
                                    "x-stripeBypassValidation": true
                                  },
                                  "exemption_indicator": {
                                    "description": "The exemption requested via 3DS and accepted by the issuer at authentication time.",
                                    "enum": [
                                      "low_risk",
                                      "none"
                                    ],
                                    "type": "string"
                                  },
                                  "network_options": {
                                    "description": "Network specific 3DS fields. Network specific arguments require an\nexplicit card brand choice. The parameter `payment_method_options.card.network``\nmust be populated accordingly",
                                    "properties": {
                                      "cartes_bancaires": {
                                        "description": "Cartes Bancaires-specific 3DS fields.",
                                        "properties": {
                                          "cb_avalgo": {
                                            "description": "The cryptogram calculation algorithm used by the card Issuer's ACS\nto calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.\nmessageExtension: CB-AVALGO",
                                            "enum": [
                                              "0",
                                              "1",
                                              "2",
                                              "3",
                                              "4",
                                              "A"
                                            ],
                                            "type": "string"
                                          },
                                          "cb_exemption": {
                                            "description": "The exemption indicator returned from Cartes Bancaires in the ARes.\nmessage extension: CB-EXEMPTION; string (4 characters)\nThis is a 3 byte bitmap (low significant byte first and most significant\nbit first) that has been Base64 encoded",
                                            "maxLength": 4,
                                            "type": "string"
                                          },
                                          "cb_score": {
                                            "description": "The risk score returned from Cartes Bancaires in the ARes.\nmessage extension: CB-SCORE; numeric value 0-99",
                                            "type": "integer"
                                          }
                                        },
                                        "required": [
                                          "cb_avalgo"
                                        ],
                                        "title": "cartes_bancaires_network_options_param",
                                        "type": "object",
                                        "x-stripeMostCommon": [
                                          "cb_avalgo",
                                          "cb_exemption",
                                          "cb_score"
                                        ]
                                      }
                                    },
                                    "title": "network_options_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "cartes_bancaires"
                                    ]
                                  },
                                  "requestor_challenge_indicator": {
                                    "description": "The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the\nAReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.",
                                    "maxLength": 2,
                                    "type": "string"
                                  },
                                  "transaction_id": {
                                    "description": "For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server\nTransaction ID (dsTransID).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "version": {
                                    "description": "The version of 3D Secure that was performed.",
                                    "enum": [
                                      "1.0.2",
                                      "2.1.0",
                                      "2.2.0"
                                    ],
                                    "type": "string",
                                    "x-stripeBypassValidation": true
                                  }
                                },
                                "required": [
                                  "cryptogram",
                                  "transaction_id",
                                  "version"
                                ],
                                "title": "payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "ares_trans_status",
                                  "cryptogram",
                                  "electronic_commerce_indicator",
                                  "exemption_indicator",
                                  "network_options",
                                  "requestor_challenge_indicator",
                                  "transaction_id",
                                  "version"
                                ]
                              }
                            },
                            "title": "payment_intent_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "allow_partial_amount",
                              "buy_now_pay_later_options",
                              "capture_method",
                              "cvc_token",
                              "installments",
                              "mandate_options",
                              "mcc",
                              "mit_exemption",
                              "moto",
                              "network",
                              "network_options",
                              "network_token",
                              "recipient_details",
                              "request_decremental_authorization",
                              "request_extended_authorization",
                              "request_flexible_extended_authorization",
                              "request_incremental_authorization",
                              "request_incremental_authorization_support",
                              "request_multicapture",
                              "request_overcapture",
                              "request_partial_authorization",
                              "request_three_d_secure",
                              "require_cvc_recollection",
                              "sender_details",
                              "setup_future_usage",
                              "statement_descriptor_suffix_kana",
                              "statement_descriptor_suffix_kanji",
                              "statement_details",
                              "stored_credential_transaction_type",
                              "stored_credential_usage",
                              "three_d_secure",
                              "transaction_purpose"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Configuration for any card payments attempted on this PaymentIntent."
                      },
                      "card_present": {
                        "anyOf": [
                          {
                            "properties": {
                              "request_extended_authorization": {
                                "description": "Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity)",
                                "type": "boolean"
                              },
                              "request_incremental_authorization_support": {
                                "description": "Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.",
                                "type": "boolean"
                              },
                              "routing": {
                                "description": "Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.",
                                "properties": {
                                  "requested_priority": {
                                    "description": "Routing requested priority",
                                    "enum": [
                                      "domestic",
                                      "international"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "title": "routing_payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "requested_priority"
                                ]
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "buy_now_pay_later_options",
                              "capture_method",
                              "request_extended_authorization",
                              "request_flexible_extended_authorization",
                              "request_incremental_authorization",
                              "request_incremental_authorization_support",
                              "request_partial_authorization",
                              "routing"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `card_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options."
                      },
                      "cashapp": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session",
                                  "on_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "request_incremental_authorization",
                              "restricted_transaction_categories",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `cashapp` PaymentMethod, this sub-hash contains details about the Cash App Pay payment method options."
                      },
                      "customer_balance": {
                        "anyOf": [
                          {
                            "properties": {
                              "bank_transfer": {
                                "description": "Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.",
                                "properties": {
                                  "eu_bank_transfer": {
                                    "description": "Configuration for the eu_bank_transfer funding type.",
                                    "properties": {
                                      "country": {
                                        "description": "The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.",
                                        "maxLength": 5000,
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "country"
                                    ],
                                    "title": "eu_bank_transfer_params",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "country"
                                    ]
                                  },
                                  "requested_address_types": {
                                    "description": "List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.\n\nPermitted values include: `sort_code`, `zengin`, `iban`, or `spei`.",
                                    "items": {
                                      "enum": [
                                        "aba",
                                        "iban",
                                        "sepa",
                                        "sort_code",
                                        "spei",
                                        "swift",
                                        "zengin"
                                      ],
                                      "type": "string",
                                      "x-stripeBypassValidation": true
                                    },
                                    "type": "array"
                                  },
                                  "type": {
                                    "description": "The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.",
                                    "enum": [
                                      "eu_bank_transfer",
                                      "gb_bank_transfer",
                                      "jp_bank_transfer",
                                      "mx_bank_transfer",
                                      "us_bank_transfer"
                                    ],
                                    "type": "string",
                                    "x-stripeBypassValidation": true
                                  }
                                },
                                "required": [
                                  "type"
                                ],
                                "title": "bank_transfer_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "eu_bank_transfer",
                                  "id_bank_account",
                                  "id_bank_transfer",
                                  "requested_address_types",
                                  "type"
                                ]
                              },
                              "funding_type": {
                                "description": "The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.",
                                "enum": [
                                  "bank_transfer"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "bank_transfer",
                              "funding_type",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `customer balance` PaymentMethod, this sub-hash contains details about the customer balance payment method options."
                      },
                      "eps": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options."
                      },
                      "fpx": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options."
                      },
                      "giropay": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options."
                      },
                      "grabpay": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options."
                      },
                      "ideal": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options."
                      },
                      "interac_present": {
                        "anyOf": [
                          {
                            "properties": {},
                            "title": "payment_method_options_param",
                            "type": "object"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options."
                      },
                      "kakao_pay": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `kakao_pay` PaymentMethod, this sub-hash contains details about the Kakao Pay payment method options."
                      },
                      "klarna": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "preferred_locale": {
                                "description": "Preferred language of the Klarna authorization page that the customer is redirected to",
                                "enum": [
                                  "cs-CZ",
                                  "da-DK",
                                  "de-AT",
                                  "de-CH",
                                  "de-DE",
                                  "el-GR",
                                  "en-AT",
                                  "en-AU",
                                  "en-BE",
                                  "en-CA",
                                  "en-CH",
                                  "en-CZ",
                                  "en-DE",
                                  "en-DK",
                                  "en-ES",
                                  "en-FI",
                                  "en-FR",
                                  "en-GB",
                                  "en-GR",
                                  "en-IE",
                                  "en-IT",
                                  "en-NL",
                                  "en-NO",
                                  "en-NZ",
                                  "en-PL",
                                  "en-PT",
                                  "en-RO",
                                  "en-SE",
                                  "en-US",
                                  "es-ES",
                                  "es-US",
                                  "fi-FI",
                                  "fr-BE",
                                  "fr-CA",
                                  "fr-CH",
                                  "fr-FR",
                                  "it-CH",
                                  "it-IT",
                                  "nb-NO",
                                  "nl-BE",
                                  "nl-NL",
                                  "pl-PL",
                                  "pt-PT",
                                  "ro-RO",
                                  "sv-FI",
                                  "sv-SE"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "interoperability_token",
                              "line_items",
                              "partner_confirmation_token",
                              "payment_details",
                              "payment_method_category",
                              "preferred_locale",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `klarna` PaymentMethod, this sub-hash contains details about the Klarna payment method options."
                      },
                      "konbini": {
                        "anyOf": [
                          {
                            "properties": {
                              "confirmation_number": {
                                "anyOf": [
                                  {
                                    "maxLength": 11,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores. Must not consist of only zeroes and could be rejected in case of insufficient uniqueness. We recommend to use the customer's phone number."
                              },
                              "expires_after_days": {
                                "anyOf": [
                                  {
                                    "type": "integer"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. Defaults to 3 days."
                              },
                              "expires_at": {
                                "anyOf": [
                                  {
                                    "format": "unix-time",
                                    "type": "integer"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "The timestamp at which the Konbini payment instructions will expire. Only one of `expires_after_days` or `expires_at` may be set."
                              },
                              "product_description": {
                                "anyOf": [
                                  {
                                    "maxLength": 22,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "A product descriptor of up to 22 characters, which will appear to customers at the convenience store."
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "confirmation_number",
                              "expires_after_days",
                              "expires_at",
                              "fee_amount",
                              "product_description",
                              "setup_future_usage",
                              "tax_amount"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `konbini` PaymentMethod, this sub-hash contains details about the Konbini payment method options."
                      },
                      "kr_card": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `kr_card` PaymentMethod, this sub-hash contains details about the KR Card payment method options."
                      },
                      "link": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "persistent_token": {
                                "description": "[Deprecated] This is a legacy parameter that no longer has any function.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "persistent_token",
                              "request_multicapture",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options."
                      },
                      "mobilepay": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "reference",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `MobilePay` PaymentMethod, this sub-hash contains details about the MobilePay payment method options."
                      },
                      "multibanco": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `multibanco` PaymentMethod, this sub-hash contains details about the Multibanco payment method options."
                      },
                      "naver_pay": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `naver_pay` PaymentMethod, this sub-hash contains details about the Naver Pay payment method options."
                      },
                      "oxxo": {
                        "anyOf": [
                          {
                            "properties": {
                              "expires_after_days": {
                                "description": "The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.",
                                "type": "integer"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "expires_after_days",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `oxxo` PaymentMethod, this sub-hash contains details about the OXXO payment method options."
                      },
                      "p24": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              },
                              "tos_shown_and_accepted": {
                                "description": "Confirm that the payer has accepted the P24 terms and conditions.",
                                "type": "boolean"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "installments",
                              "setup_future_usage",
                              "tos_shown_and_accepted"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options."
                      },
                      "payco": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `payco` PaymentMethod, this sub-hash contains details about the PAYCO payment method options."
                      },
                      "paynow": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `paynow` PaymentMethod, this sub-hash contains details about the PayNow payment method options."
                      },
                      "paypal": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds will be captured from the customer's account.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "preferred_locale": {
                                "description": "[Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.",
                                "enum": [
                                  "cs-CZ",
                                  "da-DK",
                                  "de-AT",
                                  "de-DE",
                                  "de-LU",
                                  "el-GR",
                                  "en-GB",
                                  "en-US",
                                  "es-ES",
                                  "fi-FI",
                                  "fr-BE",
                                  "fr-FR",
                                  "fr-LU",
                                  "hu-HU",
                                  "it-IT",
                                  "nl-BE",
                                  "nl-NL",
                                  "pl-PL",
                                  "pt-PT",
                                  "sk-SK",
                                  "sv-SE"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              },
                              "reference": {
                                "description": "A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.",
                                "maxLength": 127,
                                "type": "string"
                              },
                              "risk_correlation_id": {
                                "description": "The risk correlation ID for an on-session payment using a saved PayPal payment method.",
                                "maxLength": 32,
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "allow_delayed_notification",
                              "capture_method",
                              "line_items",
                              "preferred_locale",
                              "reference",
                              "reference_id",
                              "risk_correlation_id",
                              "setup_future_usage",
                              "subsellers"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options."
                      },
                      "pix": {
                        "anyOf": [
                          {
                            "properties": {
                              "expires_after_seconds": {
                                "description": "The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.",
                                "type": "integer"
                              },
                              "expires_at": {
                                "description": "The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.",
                                "format": "unix-time",
                                "type": "integer"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "expires_after_seconds",
                              "expires_at",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options."
                      },
                      "promptpay": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options."
                      },
                      "revolut_pay": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options."
                      },
                      "samsung_pay": {
                        "anyOf": [
                          {
                            "properties": {
                              "capture_method": {
                                "description": "Controls when the funds are captured from the customer's account.\n\nIf provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.\n\nIf `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.",
                                "enum": [
                                  "",
                                  "manual"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "capture_method"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options."
                      },
                      "sepa_debit": {
                        "anyOf": [
                          {
                            "properties": {
                              "mandate_options": {
                                "description": "Additional fields for Mandate creation",
                                "properties": {},
                                "title": "payment_method_options_mandate_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "reference",
                                  "reference_prefix"
                                ]
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session",
                                  "on_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "mandate_options",
                              "setup_future_usage",
                              "target_date",
                              "verification_method"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options."
                      },
                      "sofort": {
                        "anyOf": [
                          {
                            "properties": {
                              "preferred_language": {
                                "description": "Language shown to the payer on redirect.",
                                "enum": [
                                  "",
                                  "de",
                                  "en",
                                  "es",
                                  "fr",
                                  "it",
                                  "nl",
                                  "pl"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "preferred_language",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options."
                      },
                      "swish": {
                        "anyOf": [
                          {
                            "properties": {
                              "reference": {
                                "anyOf": [
                                  {
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "The order ID displayed in the Swish app after the payment is authorized."
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "authorization_method",
                              "reference",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options."
                      },
                      "twint": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options."
                      },
                      "us_bank_account": {
                        "anyOf": [
                          {
                            "properties": {
                              "financial_connections": {
                                "description": "Additional fields for Financial Connections Session creation",
                                "properties": {
                                  "filters": {
                                    "description": "Provide filters for the linked accounts that the customer can select for the payment method",
                                    "properties": {
                                      "account_subcategories": {
                                        "description": "The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.",
                                        "items": {
                                          "enum": [
                                            "checking",
                                            "savings"
                                          ],
                                          "maxLength": 5000,
                                          "type": "string"
                                        },
                                        "type": "array"
                                      }
                                    },
                                    "title": "linked_account_options_filters_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "account_subcategories",
                                      "institution"
                                    ]
                                  },
                                  "permissions": {
                                    "description": "The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.",
                                    "items": {
                                      "enum": [
                                        "balances",
                                        "ownership",
                                        "payment_method",
                                        "transactions"
                                      ],
                                      "maxLength": 5000,
                                      "type": "string",
                                      "x-stripeBypassValidation": true
                                    },
                                    "type": "array"
                                  },
                                  "prefetch": {
                                    "description": "List of data features that you would like to retrieve upon account creation.",
                                    "items": {
                                      "enum": [
                                        "balances",
                                        "ownership",
                                        "transactions"
                                      ],
                                      "type": "string",
                                      "x-stripeBypassValidation": true
                                    },
                                    "type": "array"
                                  },
                                  "return_url": {
                                    "description": "For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "title": "linked_account_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "filters",
                                  "manual_entry",
                                  "permissions",
                                  "prefetch",
                                  "return_url"
                                ]
                              },
                              "mandate_options": {
                                "description": "Additional fields for Mandate creation",
                                "properties": {
                                  "collection_method": {
                                    "description": "The method used to collect offline mandate customer acceptance.",
                                    "enum": [
                                      "",
                                      "paper"
                                    ],
                                    "type": "string",
                                    "x-stripeBypassValidation": true
                                  }
                                },
                                "title": "mandate_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "collection_method"
                                ]
                              },
                              "networks": {
                                "description": "Additional fields for network related functions",
                                "properties": {
                                  "requested": {
                                    "description": "Triggers validations to run across the selected networks",
                                    "items": {
                                      "enum": [
                                        "ach",
                                        "us_domestic_wire"
                                      ],
                                      "type": "string"
                                    },
                                    "type": "array"
                                  }
                                },
                                "title": "networks_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "requested"
                                ]
                              },
                              "preferred_settlement_speed": {
                                "description": "Preferred transaction settlement speed",
                                "enum": [
                                  "",
                                  "fastest",
                                  "standard"
                                ],
                                "type": "string"
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "",
                                  "none",
                                  "off_session",
                                  "on_session"
                                ],
                                "type": "string"
                              },
                              "verification_method": {
                                "description": "Bank account verification method.",
                                "enum": [
                                  "automatic",
                                  "instant",
                                  "microdeposits"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              }
                            },
                            "title": "payment_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "financial_connections",
                              "mandate_options",
                              "networks",
                              "preferred_settlement_speed",
                              "setup_future_usage",
                              "verification_method"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `us_bank_account` PaymentMethod, this sub-hash contains details about the US bank account payment method options."
                      },
                      "wechat_pay": {
                        "anyOf": [
                          {
                            "properties": {
                              "app_id": {
                                "description": "The app ID registered with WeChat Pay. Only required when client is ios or android.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "client": {
                                "description": "The client type that the end customer will pay from",
                                "enum": [
                                  "android",
                                  "ios",
                                  "web"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              },
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "client"
                            ],
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "app_id",
                              "client",
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `wechat_pay` PaymentMethod, this sub-hash contains details about the WeChat Pay payment method options."
                      },
                      "zip": {
                        "anyOf": [
                          {
                            "properties": {
                              "setup_future_usage": {
                                "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                                "enum": [
                                  "none"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "setup_future_usage"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "If this is a `zip` PaymentMethod, this sub-hash contains details about the Zip payment method options."
                      }
                    },
                    "title": "payment_method_options_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "acss_debit",
                      "affirm",
                      "afterpay_clearpay",
                      "alipay",
                      "alma",
                      "amazon_pay",
                      "au_becs_debit",
                      "bacs_debit",
                      "bancontact",
                      "blik",
                      "boleto",
                      "boleto_pilot",
                      "card",
                      "card_present",
                      "cashapp",
                      "crypto",
                      "customer_balance",
                      "demo_pay",
                      "dummy_auth_push",
                      "dummy_passthrough_card",
                      "eps",
                      "fpx",
                      "giropay",
                      "gopay",
                      "grabpay",
                      "id_bank_transfer",
                      "ideal",
                      "interac_present",
                      "kakao_pay",
                      "klarna",
                      "knet",
                      "konbini",
                      "kr_card",
                      "kr_market",
                      "link",
                      "mb_way",
                      "mobilepay",
                      "multibanco",
                      "naver_pay",
                      "ng_bank",
                      "ng_bank_transfer",
                      "ng_card",
                      "ng_market",
                      "ng_ussd",
                      "nz_bank_account",
                      "oxxo",
                      "p24",
                      "pay_by_bank",
                      "payco",
                      "paynow",
                      "paypal",
                      "payto",
                      "pix",
                      "promptpay",
                      "qris",
                      "rechnung",
                      "revolut_pay",
                      "samsung_pay",
                      "sepa_debit",
                      "shopeepay",
                      "sofort",
                      "swish",
                      "twint",
                      "upi",
                      "us_bank_account",
                      "vipps",
                      "wechat_pay",
                      "zip"
                    ]
                  },
                  "payment_method_types": {
                    "description": "The list of payment method types (for example, a card) that this PaymentIntent can use. Use `automatic_payment_methods` to manage payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "radar_options": {
                    "description": "Options to configure Radar. Learn more about [Radar Sessions](https://stripe.com/docs/radar/radar-session).",
                    "properties": {
                      "session": {
                        "description": "A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "radar_options_with_hidden_options",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "session",
                      "skip_rules"
                    ]
                  },
                  "receipt_email": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails)."
                  },
                  "return_url": {
                    "description": "The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site.\nIf you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.\nThis parameter is only used for cards and other redirect-based payment methods.",
                    "type": "string"
                  },
                  "setup_future_usage": {
                    "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
                    "enum": [
                      "",
                      "off_session",
                      "on_session"
                    ],
                    "type": "string"
                  },
                  "shipping": {
                    "anyOf": [
                      {
                        "properties": {
                          "address": {
                            "description": "Shipping address.",
                            "properties": {
                              "city": {
                                "description": "City, district, suburb, town, or village.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "country": {
                                "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line1": {
                                "description": "Address line 1 (e.g., street, PO Box, or company name).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line2": {
                                "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "postal_code": {
                                "description": "ZIP or postal code.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "state": {
                                "description": "State, county, province, or region.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "optional_fields_address",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "city",
                              "country",
                              "line1",
                              "line2",
                              "postal_code",
                              "state"
                            ]
                          },
                          "carrier": {
                            "description": "The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "name": {
                            "description": "Recipient name.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "phone": {
                            "description": "Recipient phone (including extension).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "tracking_number": {
                            "description": "The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "address",
                          "name"
                        ],
                        "title": "optional_fields_shipping",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "address",
                          "carrier",
                          "name",
                          "phone",
                          "tracking_number"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Shipping information for this PaymentIntent."
                  },
                  "use_stripe_sdk": {
                    "description": "Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.",
                    "type": "boolean"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "payment_method",
                  "receipt_email",
                  "setup_future_usage",
                  "shipping"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payment_intent"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Confirm a PaymentIntent"
      }
    },
    "/v1/payment_intents/{intent}/increment_authorization": {
      "post": {
        "description": "<p>Perform an incremental authorization on an eligible\n<a href=\"/docs/api/payment_intents/object\">PaymentIntent</a>. To be eligible, the\nPaymentIntent’s status must be <code>requires_capture</code> and\n<a href=\"/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported\">incremental_authorization_supported</a>\nmust be <code>true</code>.</p>\n\n<p>Incremental authorizations attempt to increase the authorized amount on\nyour customer’s card to the new, higher <code>amount</code> provided. Similar to the\ninitial authorization, incremental authorizations can be declined. A\nsingle PaymentIntent can call this endpoint multiple times to further\nincrease the authorized amount.</p>\n\n<p>If the incremental authorization succeeds, the PaymentIntent object\nreturns with the updated\n<a href=\"/docs/api/payment_intents/object#payment_intent_object-amount\">amount</a>.\nIf the incremental authorization fails, a\n<a href=\"/docs/error-codes#card-declined\">card_declined</a> error returns, and no other\nfields on the PaymentIntent or Charge update. The PaymentIntent\nobject remains capturable for the previously authorized amount.</p>\n\n<p>Each PaymentIntent can have a maximum of 10 incremental authorization attempts, including declines.\nAfter it’s captured, a PaymentIntent can no longer be incremented.</p>\n\n<p>Learn more about <a href=\"/docs/terminal/features/incremental-authorizations\">incremental authorizations</a>.</p>",
        "operationId": "PostPaymentIntentsIntentIncrementAuthorization",
        "parameters": [
          {
            "in": "path",
            "name": "intent",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "transfer_data": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "The updated total amount that you intend to collect from the cardholder. This amount must be greater than the currently authorized amount.",
                    "type": "integer"
                  },
                  "application_fee_amount": {
                    "description": "The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total payment amount. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).",
                    "type": "integer"
                  },
                  "description": {
                    "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
                    "maxLength": 1000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "statement_descriptor": {
                    "description": "Text that appears on the customer's statement as the statement descriptor for a non-card or card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).",
                    "maxLength": 22,
                    "type": "string"
                  },
                  "transfer_data": {
                    "description": "The parameters used to automatically create a transfer after the payment is captured.\nLearn more about the [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).",
                    "properties": {
                      "amount": {
                        "description": "The amount that will be transferred automatically when a charge succeeds.",
                        "type": "integer"
                      }
                    },
                    "title": "transfer_data_update_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "amount"
                    ]
                  }
                },
                "required": [
                  "amount"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "description",
                  "metadata",
                  "statement_descriptor"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payment_intent"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Increment an authorization"
      }
    },
    "/v1/payment_intents/{intent}/verify_microdeposits": {
      "post": {
        "description": "<p>Verifies microdeposits on a PaymentIntent object.</p>",
        "operationId": "PostPaymentIntentsIntentVerifyMicrodeposits",
        "parameters": [
          {
            "in": "path",
            "name": "intent",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "amounts": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amounts": {
                    "description": "Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account.",
                    "items": {
                      "type": "integer"
                    },
                    "type": "array"
                  },
                  "descriptor_code": {
                    "description": "A six-character code starting with SM present in the microdeposit sent to the bank account.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "amounts",
                  "descriptor_code"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payment_intent"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Verify microdeposits on a PaymentIntent"
      }
    },
    "/v1/payment_links": {
      "get": {
        "description": "<p>Returns a list of your payment links.</p>",
        "operationId": "GetPaymentLinks",
        "parameters": [
          {
            "description": "Only return payment links that are active or inactive (e.g., pass `false` to list all inactive payment links).",
            "in": "query",
            "name": "active",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/payment_link"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/payment_links",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "PaymentLinksResourcePaymentLinkList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all payment links"
      },
      "post": {
        "description": "<p>Creates a payment link.</p>",
        "operationId": "PostPaymentLinks",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "after_completion": {
                  "explode": true,
                  "style": "deepObject"
                },
                "automatic_tax": {
                  "explode": true,
                  "style": "deepObject"
                },
                "consent_collection": {
                  "explode": true,
                  "style": "deepObject"
                },
                "custom_fields": {
                  "explode": true,
                  "style": "deepObject"
                },
                "custom_text": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "invoice_creation": {
                  "explode": true,
                  "style": "deepObject"
                },
                "line_items": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_intent_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_method_types": {
                  "explode": true,
                  "style": "deepObject"
                },
                "phone_number_collection": {
                  "explode": true,
                  "style": "deepObject"
                },
                "restrictions": {
                  "explode": true,
                  "style": "deepObject"
                },
                "shipping_address_collection": {
                  "explode": true,
                  "style": "deepObject"
                },
                "shipping_options": {
                  "explode": true,
                  "style": "deepObject"
                },
                "subscription_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "tax_id_collection": {
                  "explode": true,
                  "style": "deepObject"
                },
                "transfer_data": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "after_completion": {
                    "description": "Behavior after the purchase is complete.",
                    "properties": {
                      "hosted_confirmation": {
                        "description": "Configuration when `type=hosted_confirmation`.",
                        "properties": {
                          "custom_message": {
                            "description": "A custom message to display to the customer after the purchase is complete.",
                            "maxLength": 500,
                            "type": "string"
                          }
                        },
                        "title": "after_completion_confirmation_page_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "custom_message"
                        ]
                      },
                      "redirect": {
                        "description": "Configuration when `type=redirect`.",
                        "properties": {
                          "url": {
                            "description": "The URL the customer will be redirected to after the purchase is complete. You can embed `{CHECKOUT_SESSION_ID}` into the URL to have the `id` of the completed [checkout session](https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-id) included.",
                            "maxLength": 2048,
                            "type": "string"
                          }
                        },
                        "required": [
                          "url"
                        ],
                        "title": "after_completion_redirect_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "url"
                        ]
                      },
                      "type": {
                        "description": "The specified behavior after the purchase is complete. Either `redirect` or `hosted_confirmation`.",
                        "enum": [
                          "hosted_confirmation",
                          "redirect"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "title": "after_completion_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "hosted_confirmation",
                      "redirect",
                      "type"
                    ]
                  },
                  "allow_promotion_codes": {
                    "description": "Enables user redeemable promotion codes.",
                    "type": "boolean"
                  },
                  "application_fee_amount": {
                    "description": "The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. Can only be applied when there are no line items with recurring prices.",
                    "type": "integer"
                  },
                  "application_fee_percent": {
                    "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. There must be at least 1 line item with a recurring price to use this field.",
                    "type": "number"
                  },
                  "automatic_tax": {
                    "description": "Configuration for automatic tax collection.",
                    "properties": {
                      "enabled": {
                        "description": "If `true`, tax will be calculated automatically using the customer's location.",
                        "type": "boolean"
                      },
                      "liability": {
                        "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.",
                        "properties": {
                          "account": {
                            "description": "The connected account being referenced when `type` is `account`.",
                            "type": "string"
                          },
                          "type": {
                            "description": "Type of the account referenced in the request.",
                            "enum": [
                              "account",
                              "self"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account",
                          "type"
                        ]
                      }
                    },
                    "required": [
                      "enabled"
                    ],
                    "title": "automatic_tax_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "enabled",
                      "liability"
                    ]
                  },
                  "billing_address_collection": {
                    "description": "Configuration for collecting the customer's billing address. Defaults to `auto`.",
                    "enum": [
                      "auto",
                      "required"
                    ],
                    "type": "string"
                  },
                  "consent_collection": {
                    "description": "Configure fields to gather active consent from customers.",
                    "properties": {
                      "payment_method_reuse_agreement": {
                        "description": "Determines the display of payment method reuse agreement text in the UI. If set to `hidden`, it will hide legal text related to the reuse of a payment method.",
                        "properties": {
                          "position": {
                            "description": "Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's\ndefaults will be used. When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI.",
                            "enum": [
                              "auto",
                              "hidden"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "position"
                        ],
                        "title": "payment_method_reuse_agreement_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "position"
                        ]
                      },
                      "promotions": {
                        "description": "If set to `auto`, enables the collection of customer consent for promotional communications. The Checkout\nSession will determine whether to display an option to opt into promotional communication\nfrom the merchant depending on the customer's locale. Only available to US merchants.",
                        "enum": [
                          "auto",
                          "none"
                        ],
                        "type": "string"
                      },
                      "terms_of_service": {
                        "description": "If set to `required`, it requires customers to check a terms of service checkbox before being able to pay.\nThere must be a valid terms of service URL set in your [Dashboard settings](https://dashboard.stripe.com/settings/public).",
                        "enum": [
                          "none",
                          "required"
                        ],
                        "type": "string"
                      }
                    },
                    "title": "consent_collection_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "payment_method_reuse_agreement",
                      "promotions",
                      "terms_of_service"
                    ]
                  },
                  "currency": {
                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies) and supported by each line item's price.",
                    "type": "string"
                  },
                  "custom_fields": {
                    "description": "Collect additional information from your customer using custom fields. Up to 3 fields are supported.",
                    "items": {
                      "properties": {
                        "dropdown": {
                          "description": "Configuration for `type=dropdown` fields.",
                          "properties": {
                            "options": {
                              "description": "The options available for the customer to select. Up to 200 options allowed.",
                              "items": {
                                "properties": {
                                  "label": {
                                    "description": "The label for the option, displayed to the customer. Up to 100 characters.",
                                    "maxLength": 100,
                                    "type": "string"
                                  },
                                  "value": {
                                    "description": "The value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer. Must be unique to this option, alphanumeric, and up to 100 characters.",
                                    "maxLength": 100,
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "label",
                                  "value"
                                ],
                                "title": "custom_field_option_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "label",
                                  "value"
                                ]
                              },
                              "type": "array"
                            }
                          },
                          "required": [
                            "options"
                          ],
                          "title": "custom_field_dropdown_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "default_value",
                            "options"
                          ]
                        },
                        "key": {
                          "description": "String of your choice that your integration can use to reconcile this field. Must be unique to this field, alphanumeric, and up to 200 characters.",
                          "maxLength": 200,
                          "type": "string"
                        },
                        "label": {
                          "description": "The label for the field, displayed to the customer.",
                          "properties": {
                            "custom": {
                              "description": "Custom text for the label, displayed to the customer. Up to 50 characters.",
                              "maxLength": 50,
                              "type": "string"
                            },
                            "type": {
                              "description": "The type of the label.",
                              "enum": [
                                "custom"
                              ],
                              "type": "string"
                            }
                          },
                          "required": [
                            "custom",
                            "type"
                          ],
                          "title": "custom_field_label_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "custom",
                            "type"
                          ]
                        },
                        "numeric": {
                          "description": "Configuration for `type=numeric` fields.",
                          "properties": {
                            "maximum_length": {
                              "description": "The maximum character length constraint for the customer's input.",
                              "type": "integer"
                            },
                            "minimum_length": {
                              "description": "The minimum character length requirement for the customer's input.",
                              "type": "integer"
                            }
                          },
                          "title": "custom_field_numeric_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "default_value",
                            "maximum_length",
                            "minimum_length"
                          ]
                        },
                        "optional": {
                          "description": "Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`.",
                          "type": "boolean"
                        },
                        "text": {
                          "description": "Configuration for `type=text` fields.",
                          "properties": {
                            "maximum_length": {
                              "description": "The maximum character length constraint for the customer's input.",
                              "type": "integer"
                            },
                            "minimum_length": {
                              "description": "The minimum character length requirement for the customer's input.",
                              "type": "integer"
                            }
                          },
                          "title": "custom_field_text_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "default_value",
                            "maximum_length",
                            "minimum_length"
                          ]
                        },
                        "type": {
                          "description": "The type of the field.",
                          "enum": [
                            "dropdown",
                            "numeric",
                            "text"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "key",
                        "label",
                        "type"
                      ],
                      "title": "custom_field_param",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "dropdown",
                        "key",
                        "label",
                        "numeric",
                        "optional",
                        "text",
                        "type"
                      ]
                    },
                    "type": "array"
                  },
                  "custom_text": {
                    "description": "Display additional text for your customers using custom text.",
                    "properties": {
                      "after_submit": {
                        "anyOf": [
                          {
                            "properties": {
                              "message": {
                                "description": "Text may be up to 1200 characters in length.",
                                "maxLength": 1200,
                                "type": "string"
                              }
                            },
                            "required": [
                              "message"
                            ],
                            "title": "custom_text_position_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "message"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Custom text that should be displayed after the payment confirmation button."
                      },
                      "shipping_address": {
                        "anyOf": [
                          {
                            "properties": {
                              "message": {
                                "description": "Text may be up to 1200 characters in length.",
                                "maxLength": 1200,
                                "type": "string"
                              }
                            },
                            "required": [
                              "message"
                            ],
                            "title": "custom_text_position_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "message"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Custom text that should be displayed alongside shipping address collection."
                      },
                      "submit": {
                        "anyOf": [
                          {
                            "properties": {
                              "message": {
                                "description": "Text may be up to 1200 characters in length.",
                                "maxLength": 1200,
                                "type": "string"
                              }
                            },
                            "required": [
                              "message"
                            ],
                            "title": "custom_text_position_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "message"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Custom text that should be displayed alongside the payment confirmation button."
                      },
                      "terms_of_service_acceptance": {
                        "anyOf": [
                          {
                            "properties": {
                              "message": {
                                "description": "Text may be up to 1200 characters in length.",
                                "maxLength": 1200,
                                "type": "string"
                              }
                            },
                            "required": [
                              "message"
                            ],
                            "title": "custom_text_position_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "message"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Custom text that should be displayed in place of the default terms of service agreement text."
                      }
                    },
                    "title": "custom_text_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "after_submit",
                      "shipping_address",
                      "submit",
                      "terms_of_service_acceptance"
                    ]
                  },
                  "customer_creation": {
                    "description": "Configures whether [checkout sessions](https://stripe.com/docs/api/checkout/sessions) created by this payment link create a [Customer](https://stripe.com/docs/api/customers).",
                    "enum": [
                      "always",
                      "if_required"
                    ],
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "inactive_message": {
                    "description": "The custom message to be displayed to a customer when a payment link is no longer active.",
                    "maxLength": 500,
                    "type": "string"
                  },
                  "invoice_creation": {
                    "description": "Generate a post-purchase Invoice for one-time payments.",
                    "properties": {
                      "enabled": {
                        "description": "Whether the feature is enabled",
                        "type": "boolean"
                      },
                      "invoice_data": {
                        "description": "Invoice PDF configuration.",
                        "properties": {
                          "account_tax_ids": {
                            "anyOf": [
                              {
                                "items": {
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "The account tax IDs associated with the invoice."
                          },
                          "custom_fields": {
                            "anyOf": [
                              {
                                "items": {
                                  "properties": {
                                    "name": {
                                      "description": "The name of the custom field. This may be up to 40 characters.",
                                      "maxLength": 40,
                                      "type": "string"
                                    },
                                    "value": {
                                      "description": "The value of the custom field. This may be up to 140 characters.",
                                      "maxLength": 140,
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "name",
                                    "value"
                                  ],
                                  "title": "custom_field_params",
                                  "type": "object",
                                  "x-stripeMostCommon": [
                                    "name",
                                    "value"
                                  ]
                                },
                                "type": "array"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Default custom fields to be displayed on invoices for this customer."
                          },
                          "description": {
                            "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
                            "maxLength": 1500,
                            "type": "string"
                          },
                          "footer": {
                            "description": "Default footer to be displayed on invoices for this customer.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "issuer": {
                            "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.",
                            "properties": {
                              "account": {
                                "description": "The connected account being referenced when `type` is `account`.",
                                "type": "string"
                              },
                              "type": {
                                "description": "Type of the account referenced in the request.",
                                "enum": [
                                  "account",
                                  "self"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "title": "param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "account",
                              "type"
                            ]
                          },
                          "metadata": {
                            "anyOf": [
                              {
                                "additionalProperties": {
                                  "type": "string"
                                },
                                "type": "object"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                          },
                          "rendering_options": {
                            "anyOf": [
                              {
                                "properties": {
                                  "amount_tax_display": {
                                    "description": "How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.",
                                    "enum": [
                                      "",
                                      "exclude_tax",
                                      "include_inclusive_tax"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "title": "rendering_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "amount_tax_display",
                                  "invoice_title"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Default options for invoice PDF rendering for this customer."
                          }
                        },
                        "title": "invoice_settings_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_tax_ids",
                          "custom_fields",
                          "description",
                          "footer",
                          "issuer",
                          "metadata",
                          "rendering_options"
                        ]
                      }
                    },
                    "required": [
                      "enabled"
                    ],
                    "title": "invoice_creation_create_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "enabled",
                      "invoice_data"
                    ]
                  },
                  "line_items": {
                    "description": "The line items representing what is being sold. Each line item represents an item being sold. Up to 20 line items are supported.",
                    "items": {
                      "properties": {
                        "adjustable_quantity": {
                          "description": "When set, provides configuration for this item’s quantity to be adjusted by the customer during checkout.",
                          "properties": {
                            "enabled": {
                              "description": "Set to true if the quantity can be adjusted to any non-negative Integer.",
                              "type": "boolean"
                            },
                            "maximum": {
                              "description": "The maximum quantity the customer can purchase. By default this value is 99. You can specify a value up to 999.",
                              "type": "integer"
                            },
                            "minimum": {
                              "description": "The minimum quantity the customer can purchase. By default this value is 0. If there is only one item in the cart then that item's quantity cannot go down to 0.",
                              "type": "integer"
                            }
                          },
                          "required": [
                            "enabled"
                          ],
                          "title": "adjustable_quantity_params",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "enabled",
                            "maximum",
                            "minimum"
                          ]
                        },
                        "price": {
                          "description": "The ID of the [Price](https://stripe.com/docs/api/prices) or [Plan](https://stripe.com/docs/api/plans) object.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "quantity": {
                          "description": "The quantity of the line item being purchased.",
                          "type": "integer"
                        }
                      },
                      "required": [
                        "price",
                        "quantity"
                      ],
                      "title": "line_items_create_params",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "adjustable_quantity",
                        "price",
                        "quantity"
                      ]
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. Metadata associated with this Payment Link will automatically be copied to [checkout sessions](https://stripe.com/docs/api/checkout/sessions) created by this payment link.",
                    "type": "object"
                  },
                  "on_behalf_of": {
                    "description": "The account on behalf of which to charge.",
                    "type": "string"
                  },
                  "payment_intent_data": {
                    "description": "A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode.",
                    "properties": {
                      "capture_method": {
                        "description": "Controls when the funds will be captured from the customer's account.",
                        "enum": [
                          "automatic",
                          "automatic_async",
                          "manual"
                        ],
                        "type": "string"
                      },
                      "description": {
                        "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
                        "maxLength": 1000,
                        "type": "string"
                      },
                      "metadata": {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that will declaratively set metadata on [Payment Intents](https://stripe.com/docs/api/payment_intents) generated from this payment link. Unlike object-level metadata, this field is declarative. Updates will clear prior values.",
                        "type": "object"
                      },
                      "setup_future_usage": {
                        "description": "Indicates that you intend to [make future payments](https://stripe.com/docs/payments/payment-intents#future-usage) with the payment method collected by this Checkout Session.\n\nWhen setting this to `on_session`, Checkout will show a notice to the customer that their payment details will be saved.\n\nWhen setting this to `off_session`, Checkout will show a notice to the customer that their payment details will be saved and used for future payments.\n\nIf a Customer has been provided or Checkout creates a new Customer,Checkout will attach the payment method to the Customer.\n\nIf Checkout does not create a Customer, the payment method is not attached to a Customer. To reuse the payment method, you can retrieve it from the Checkout Session's PaymentIntent.\n\nWhen processing card payments, Checkout also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.",
                        "enum": [
                          "off_session",
                          "on_session"
                        ],
                        "type": "string"
                      },
                      "statement_descriptor": {
                        "description": "Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).\n\nSetting this value for a card charge returns an error. For card charges, set the [statement_descriptor_suffix](https://docs.stripe.com/get-started/account/statement-descriptors#dynamic) instead.",
                        "maxLength": 22,
                        "type": "string"
                      },
                      "statement_descriptor_suffix": {
                        "description": "Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement.",
                        "maxLength": 22,
                        "type": "string"
                      },
                      "transfer_group": {
                        "description": "A string that identifies the resulting payment as part of a group. See the PaymentIntents [use case for connected accounts](https://stripe.com/docs/connect/separate-charges-and-transfers) for details.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "payment_intent_data_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "capture_method",
                      "description",
                      "metadata",
                      "setup_future_usage",
                      "statement_descriptor",
                      "statement_descriptor_suffix",
                      "transfer_group"
                    ]
                  },
                  "payment_method_collection": {
                    "description": "Specify whether Checkout should collect a payment method. When set to `if_required`, Checkout will not collect a payment method when the total due for the session is 0.This may occur if the Checkout Session includes a free trial or a discount.\n\nCan only be set in `subscription` mode. Defaults to `always`.\n\nIf you'd like information on how to collect a payment method outside of Checkout, read the guide on [configuring subscriptions with a free trial](https://stripe.com/docs/payments/checkout/free-trials).",
                    "enum": [
                      "always",
                      "if_required"
                    ],
                    "type": "string"
                  },
                  "payment_method_types": {
                    "description": "The list of payment method types that customers can use. If no value is passed, Stripe will dynamically show relevant payment methods from your [payment method settings](https://dashboard.stripe.com/settings/payment_methods) (20+ payment methods [supported](https://stripe.com/docs/payments/payment-methods/integration-options#payment-method-product-support)).",
                    "items": {
                      "enum": [
                        "affirm",
                        "afterpay_clearpay",
                        "alipay",
                        "alma",
                        "au_becs_debit",
                        "bacs_debit",
                        "bancontact",
                        "blik",
                        "boleto",
                        "card",
                        "cashapp",
                        "eps",
                        "fpx",
                        "giropay",
                        "grabpay",
                        "ideal",
                        "klarna",
                        "konbini",
                        "link",
                        "mobilepay",
                        "multibanco",
                        "oxxo",
                        "p24",
                        "paynow",
                        "paypal",
                        "pix",
                        "promptpay",
                        "sepa_debit",
                        "sofort",
                        "swish",
                        "twint",
                        "us_bank_account",
                        "wechat_pay",
                        "zip"
                      ],
                      "type": "string",
                      "x-stripeBypassValidation": true
                    },
                    "type": "array"
                  },
                  "phone_number_collection": {
                    "description": "Controls phone number collection settings during checkout.\n\nWe recommend that you review your privacy policy and check with your legal contacts.",
                    "properties": {
                      "enabled": {
                        "description": "Set to `true` to enable phone number collection.",
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "enabled"
                    ],
                    "title": "phone_number_collection_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "enabled"
                    ]
                  },
                  "restrictions": {
                    "description": "Settings that restrict the usage of a payment link.",
                    "properties": {
                      "completed_sessions": {
                        "description": "Configuration for the `completed_sessions` restriction type.",
                        "properties": {
                          "limit": {
                            "description": "The maximum number of checkout sessions that can be completed for the `completed_sessions` restriction to be met.",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "limit"
                        ],
                        "title": "completed_sessions_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "limit"
                        ]
                      }
                    },
                    "required": [
                      "completed_sessions"
                    ],
                    "title": "restrictions_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "completed_sessions"
                    ]
                  },
                  "shipping_address_collection": {
                    "description": "Configuration for collecting the customer's shipping address.",
                    "properties": {
                      "allowed_countries": {
                        "description": "An array of two-letter ISO country codes representing which countries Checkout should provide as options for\nshipping locations.",
                        "items": {
                          "enum": [
                            "AC",
                            "AD",
                            "AE",
                            "AF",
                            "AG",
                            "AI",
                            "AL",
                            "AM",
                            "AO",
                            "AQ",
                            "AR",
                            "AT",
                            "AU",
                            "AW",
                            "AX",
                            "AZ",
                            "BA",
                            "BB",
                            "BD",
                            "BE",
                            "BF",
                            "BG",
                            "BH",
                            "BI",
                            "BJ",
                            "BL",
                            "BM",
                            "BN",
                            "BO",
                            "BQ",
                            "BR",
                            "BS",
                            "BT",
                            "BV",
                            "BW",
                            "BY",
                            "BZ",
                            "CA",
                            "CD",
                            "CF",
                            "CG",
                            "CH",
                            "CI",
                            "CK",
                            "CL",
                            "CM",
                            "CN",
                            "CO",
                            "CR",
                            "CV",
                            "CW",
                            "CY",
                            "CZ",
                            "DE",
                            "DJ",
                            "DK",
                            "DM",
                            "DO",
                            "DZ",
                            "EC",
                            "EE",
                            "EG",
                            "EH",
                            "ER",
                            "ES",
                            "ET",
                            "FI",
                            "FJ",
                            "FK",
                            "FO",
                            "FR",
                            "GA",
                            "GB",
                            "GD",
                            "GE",
                            "GF",
                            "GG",
                            "GH",
                            "GI",
                            "GL",
                            "GM",
                            "GN",
                            "GP",
                            "GQ",
                            "GR",
                            "GS",
                            "GT",
                            "GU",
                            "GW",
                            "GY",
                            "HK",
                            "HN",
                            "HR",
                            "HT",
                            "HU",
                            "ID",
                            "IE",
                            "IL",
                            "IM",
                            "IN",
                            "IO",
                            "IQ",
                            "IS",
                            "IT",
                            "JE",
                            "JM",
                            "JO",
                            "JP",
                            "KE",
                            "KG",
                            "KH",
                            "KI",
                            "KM",
                            "KN",
                            "KR",
                            "KW",
                            "KY",
                            "KZ",
                            "LA",
                            "LB",
                            "LC",
                            "LI",
                            "LK",
                            "LR",
                            "LS",
                            "LT",
                            "LU",
                            "LV",
                            "LY",
                            "MA",
                            "MC",
                            "MD",
                            "ME",
                            "MF",
                            "MG",
                            "MK",
                            "ML",
                            "MM",
                            "MN",
                            "MO",
                            "MQ",
                            "MR",
                            "MS",
                            "MT",
                            "MU",
                            "MV",
                            "MW",
                            "MX",
                            "MY",
                            "MZ",
                            "NA",
                            "NC",
                            "NE",
                            "NG",
                            "NI",
                            "NL",
                            "NO",
                            "NP",
                            "NR",
                            "NU",
                            "NZ",
                            "OM",
                            "PA",
                            "PE",
                            "PF",
                            "PG",
                            "PH",
                            "PK",
                            "PL",
                            "PM",
                            "PN",
                            "PR",
                            "PS",
                            "PT",
                            "PY",
                            "QA",
                            "RE",
                            "RO",
                            "RS",
                            "RU",
                            "RW",
                            "SA",
                            "SB",
                            "SC",
                            "SE",
                            "SG",
                            "SH",
                            "SI",
                            "SJ",
                            "SK",
                            "SL",
                            "SM",
                            "SN",
                            "SO",
                            "SR",
                            "SS",
                            "ST",
                            "SV",
                            "SX",
                            "SZ",
                            "TA",
                            "TC",
                            "TD",
                            "TF",
                            "TG",
                            "TH",
                            "TJ",
                            "TK",
                            "TL",
                            "TM",
                            "TN",
                            "TO",
                            "TR",
                            "TT",
                            "TV",
                            "TW",
                            "TZ",
                            "UA",
                            "UG",
                            "US",
                            "UY",
                            "UZ",
                            "VA",
                            "VC",
                            "VE",
                            "VG",
                            "VN",
                            "VU",
                            "WF",
                            "WS",
                            "XK",
                            "YE",
                            "YT",
                            "ZA",
                            "ZM",
                            "ZW",
                            "ZZ"
                          ],
                          "type": "string"
                        },
                        "type": "array"
                      }
                    },
                    "required": [
                      "allowed_countries"
                    ],
                    "title": "shipping_address_collection_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "allowed_countries"
                    ]
                  },
                  "shipping_options": {
                    "description": "The shipping rate options to apply to [checkout sessions](https://stripe.com/docs/api/checkout/sessions) created by this payment link.",
                    "items": {
                      "properties": {
                        "shipping_rate": {
                          "description": "The ID of the Shipping Rate to use for this shipping option.",
                          "maxLength": 5000,
                          "type": "string"
                        }
                      },
                      "title": "shipping_option_params",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "shipping_rate"
                      ]
                    },
                    "type": "array"
                  },
                  "submit_type": {
                    "description": "Describes the type of transaction being performed in order to customize relevant text on the page, such as the submit button. Changing this value will also affect the hostname in the [url](https://stripe.com/docs/api/payment_links/payment_links/object#url) property (example: `donate.stripe.com`).",
                    "enum": [
                      "auto",
                      "book",
                      "donate",
                      "pay",
                      "subscribe"
                    ],
                    "type": "string"
                  },
                  "subscription_data": {
                    "description": "When creating a subscription, the specified configuration data will be used. There must be at least one line item with a recurring price to use `subscription_data`.",
                    "properties": {
                      "description": {
                        "description": "The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.",
                        "maxLength": 500,
                        "type": "string"
                      },
                      "invoice_settings": {
                        "description": "All invoices will be billed using the specified settings.",
                        "properties": {
                          "issuer": {
                            "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.",
                            "properties": {
                              "account": {
                                "description": "The connected account being referenced when `type` is `account`.",
                                "type": "string"
                              },
                              "type": {
                                "description": "Type of the account referenced in the request.",
                                "enum": [
                                  "account",
                                  "self"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "title": "param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "account",
                              "type"
                            ]
                          }
                        },
                        "title": "subscription_data_invoice_settings_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "issuer"
                        ]
                      },
                      "metadata": {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that will declaratively set metadata on [Subscriptions](https://stripe.com/docs/api/subscriptions) generated from this payment link. Unlike object-level metadata, this field is declarative. Updates will clear prior values.",
                        "type": "object"
                      },
                      "trial_period_days": {
                        "description": "Integer representing the number of trial period days before the customer is charged for the first time. Has to be at least 1.",
                        "type": "integer"
                      },
                      "trial_settings": {
                        "description": "Settings related to subscription trials.",
                        "properties": {
                          "end_behavior": {
                            "description": "Defines how the subscription should behave when the user's free trial ends.",
                            "properties": {
                              "missing_payment_method": {
                                "description": "Indicates how the subscription should change when the trial ends if the user did not provide a payment method.",
                                "enum": [
                                  "cancel",
                                  "create_invoice",
                                  "pause"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "missing_payment_method"
                            ],
                            "title": "end_behavior",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "missing_payment_method"
                            ]
                          }
                        },
                        "required": [
                          "end_behavior"
                        ],
                        "title": "trial_settings_config",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "end_behavior"
                        ]
                      }
                    },
                    "title": "subscription_data_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "description",
                      "invoice_settings",
                      "metadata",
                      "trial_period_days",
                      "trial_settings"
                    ]
                  },
                  "tax_id_collection": {
                    "description": "Controls tax ID collection during checkout.",
                    "properties": {
                      "enabled": {
                        "description": "Enable tax ID collection during checkout. Defaults to `false`.",
                        "type": "boolean"
                      },
                      "required": {
                        "description": "Describes whether a tax ID is required during checkout. Defaults to `never`.",
                        "enum": [
                          "if_supported",
                          "never"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "enabled"
                    ],
                    "title": "tax_id_collection_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "enabled",
                      "required"
                    ]
                  },
                  "transfer_data": {
                    "description": "The account (if any) the payments will be attributed to for tax reporting, and where funds from each payment will be transferred to.",
                    "properties": {
                      "amount": {
                        "description": "The amount that will be transferred automatically when a charge succeeds.",
                        "type": "integer"
                      },
                      "destination": {
                        "description": "If specified, successful charges will be attributed to the destination\naccount for tax reporting, and the funds from charges will be transferred\nto the destination account. The ID of the resulting transfer will be\nreturned on the successful charge's `transfer` field.",
                        "type": "string"
                      }
                    },
                    "required": [
                      "destination"
                    ],
                    "title": "transfer_data_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "amount",
                      "destination"
                    ]
                  }
                },
                "required": [
                  "line_items"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "line_items",
                  "metadata"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payment_link"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a payment link"
      }
    },
    "/v1/payment_links/{payment_link}": {
      "get": {
        "description": "<p>Retrieve a payment link.</p>",
        "operationId": "GetPaymentLinksPaymentLink",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "payment_link",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payment_link"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve payment link"
      },
      "post": {
        "description": "<p>Updates a payment link.</p>",
        "operationId": "PostPaymentLinksPaymentLink",
        "parameters": [
          {
            "in": "path",
            "name": "payment_link",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "after_completion": {
                  "explode": true,
                  "style": "deepObject"
                },
                "automatic_tax": {
                  "explode": true,
                  "style": "deepObject"
                },
                "custom_fields": {
                  "explode": true,
                  "style": "deepObject"
                },
                "custom_text": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "inactive_message": {
                  "explode": true,
                  "style": "deepObject"
                },
                "invoice_creation": {
                  "explode": true,
                  "style": "deepObject"
                },
                "line_items": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_intent_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_method_types": {
                  "explode": true,
                  "style": "deepObject"
                },
                "restrictions": {
                  "explode": true,
                  "style": "deepObject"
                },
                "shipping_address_collection": {
                  "explode": true,
                  "style": "deepObject"
                },
                "subscription_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "tax_id_collection": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "active": {
                    "description": "Whether the payment link's `url` is active. If `false`, customers visiting the URL will be shown a page saying that the link has been deactivated.",
                    "type": "boolean"
                  },
                  "after_completion": {
                    "description": "Behavior after the purchase is complete.",
                    "properties": {
                      "hosted_confirmation": {
                        "description": "Configuration when `type=hosted_confirmation`.",
                        "properties": {
                          "custom_message": {
                            "description": "A custom message to display to the customer after the purchase is complete.",
                            "maxLength": 500,
                            "type": "string"
                          }
                        },
                        "title": "after_completion_confirmation_page_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "custom_message"
                        ]
                      },
                      "redirect": {
                        "description": "Configuration when `type=redirect`.",
                        "properties": {
                          "url": {
                            "description": "The URL the customer will be redirected to after the purchase is complete. You can embed `{CHECKOUT_SESSION_ID}` into the URL to have the `id` of the completed [checkout session](https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-id) included.",
                            "maxLength": 2048,
                            "type": "string"
                          }
                        },
                        "required": [
                          "url"
                        ],
                        "title": "after_completion_redirect_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "url"
                        ]
                      },
                      "type": {
                        "description": "The specified behavior after the purchase is complete. Either `redirect` or `hosted_confirmation`.",
                        "enum": [
                          "hosted_confirmation",
                          "redirect"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "title": "after_completion_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "hosted_confirmation",
                      "redirect",
                      "type"
                    ]
                  },
                  "allow_promotion_codes": {
                    "description": "Enables user redeemable promotion codes.",
                    "type": "boolean"
                  },
                  "automatic_tax": {
                    "description": "Configuration for automatic tax collection.",
                    "properties": {
                      "enabled": {
                        "description": "If `true`, tax will be calculated automatically using the customer's location.",
                        "type": "boolean"
                      },
                      "liability": {
                        "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.",
                        "properties": {
                          "account": {
                            "description": "The connected account being referenced when `type` is `account`.",
                            "type": "string"
                          },
                          "type": {
                            "description": "Type of the account referenced in the request.",
                            "enum": [
                              "account",
                              "self"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account",
                          "type"
                        ]
                      }
                    },
                    "required": [
                      "enabled"
                    ],
                    "title": "automatic_tax_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "enabled",
                      "liability"
                    ]
                  },
                  "billing_address_collection": {
                    "description": "Configuration for collecting the customer's billing address. Defaults to `auto`.",
                    "enum": [
                      "auto",
                      "required"
                    ],
                    "type": "string"
                  },
                  "custom_fields": {
                    "anyOf": [
                      {
                        "items": {
                          "properties": {
                            "dropdown": {
                              "description": "Configuration for `type=dropdown` fields.",
                              "properties": {
                                "options": {
                                  "description": "The options available for the customer to select. Up to 200 options allowed.",
                                  "items": {
                                    "properties": {
                                      "label": {
                                        "description": "The label for the option, displayed to the customer. Up to 100 characters.",
                                        "maxLength": 100,
                                        "type": "string"
                                      },
                                      "value": {
                                        "description": "The value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer. Must be unique to this option, alphanumeric, and up to 100 characters.",
                                        "maxLength": 100,
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "label",
                                      "value"
                                    ],
                                    "title": "custom_field_option_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "label",
                                      "value"
                                    ]
                                  },
                                  "type": "array"
                                }
                              },
                              "required": [
                                "options"
                              ],
                              "title": "custom_field_dropdown_param",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "default_value",
                                "options"
                              ]
                            },
                            "key": {
                              "description": "String of your choice that your integration can use to reconcile this field. Must be unique to this field, alphanumeric, and up to 200 characters.",
                              "maxLength": 200,
                              "type": "string"
                            },
                            "label": {
                              "description": "The label for the field, displayed to the customer.",
                              "properties": {
                                "custom": {
                                  "description": "Custom text for the label, displayed to the customer. Up to 50 characters.",
                                  "maxLength": 50,
                                  "type": "string"
                                },
                                "type": {
                                  "description": "The type of the label.",
                                  "enum": [
                                    "custom"
                                  ],
                                  "type": "string"
                                }
                              },
                              "required": [
                                "custom",
                                "type"
                              ],
                              "title": "custom_field_label_param",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "custom",
                                "type"
                              ]
                            },
                            "numeric": {
                              "description": "Configuration for `type=numeric` fields.",
                              "properties": {
                                "maximum_length": {
                                  "description": "The maximum character length constraint for the customer's input.",
                                  "type": "integer"
                                },
                                "minimum_length": {
                                  "description": "The minimum character length requirement for the customer's input.",
                                  "type": "integer"
                                }
                              },
                              "title": "custom_field_numeric_param",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "default_value",
                                "maximum_length",
                                "minimum_length"
                              ]
                            },
                            "optional": {
                              "description": "Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`.",
                              "type": "boolean"
                            },
                            "text": {
                              "description": "Configuration for `type=text` fields.",
                              "properties": {
                                "maximum_length": {
                                  "description": "The maximum character length constraint for the customer's input.",
                                  "type": "integer"
                                },
                                "minimum_length": {
                                  "description": "The minimum character length requirement for the customer's input.",
                                  "type": "integer"
                                }
                              },
                              "title": "custom_field_text_param",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "default_value",
                                "maximum_length",
                                "minimum_length"
                              ]
                            },
                            "type": {
                              "description": "The type of the field.",
                              "enum": [
                                "dropdown",
                                "numeric",
                                "text"
                              ],
                              "type": "string"
                            }
                          },
                          "required": [
                            "key",
                            "label",
                            "type"
                          ],
                          "title": "custom_field_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "dropdown",
                            "key",
                            "label",
                            "numeric",
                            "optional",
                            "text",
                            "type"
                          ]
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Collect additional information from your customer using custom fields. Up to 3 fields are supported."
                  },
                  "custom_text": {
                    "description": "Display additional text for your customers using custom text.",
                    "properties": {
                      "after_submit": {
                        "anyOf": [
                          {
                            "properties": {
                              "message": {
                                "description": "Text may be up to 1200 characters in length.",
                                "maxLength": 1200,
                                "type": "string"
                              }
                            },
                            "required": [
                              "message"
                            ],
                            "title": "custom_text_position_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "message"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Custom text that should be displayed after the payment confirmation button."
                      },
                      "shipping_address": {
                        "anyOf": [
                          {
                            "properties": {
                              "message": {
                                "description": "Text may be up to 1200 characters in length.",
                                "maxLength": 1200,
                                "type": "string"
                              }
                            },
                            "required": [
                              "message"
                            ],
                            "title": "custom_text_position_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "message"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Custom text that should be displayed alongside shipping address collection."
                      },
                      "submit": {
                        "anyOf": [
                          {
                            "properties": {
                              "message": {
                                "description": "Text may be up to 1200 characters in length.",
                                "maxLength": 1200,
                                "type": "string"
                              }
                            },
                            "required": [
                              "message"
                            ],
                            "title": "custom_text_position_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "message"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Custom text that should be displayed alongside the payment confirmation button."
                      },
                      "terms_of_service_acceptance": {
                        "anyOf": [
                          {
                            "properties": {
                              "message": {
                                "description": "Text may be up to 1200 characters in length.",
                                "maxLength": 1200,
                                "type": "string"
                              }
                            },
                            "required": [
                              "message"
                            ],
                            "title": "custom_text_position_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "message"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Custom text that should be displayed in place of the default terms of service agreement text."
                      }
                    },
                    "title": "custom_text_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "after_submit",
                      "shipping_address",
                      "submit",
                      "terms_of_service_acceptance"
                    ]
                  },
                  "customer_creation": {
                    "description": "Configures whether [checkout sessions](https://stripe.com/docs/api/checkout/sessions) created by this payment link create a [Customer](https://stripe.com/docs/api/customers).",
                    "enum": [
                      "always",
                      "if_required"
                    ],
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "inactive_message": {
                    "anyOf": [
                      {
                        "maxLength": 500,
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The custom message to be displayed to a customer when a payment link is no longer active."
                  },
                  "invoice_creation": {
                    "description": "Generate a post-purchase Invoice for one-time payments.",
                    "properties": {
                      "enabled": {
                        "description": "Whether the feature is enabled",
                        "type": "boolean"
                      },
                      "invoice_data": {
                        "description": "Invoice PDF configuration.",
                        "properties": {
                          "account_tax_ids": {
                            "anyOf": [
                              {
                                "items": {
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "The account tax IDs associated with the invoice."
                          },
                          "custom_fields": {
                            "anyOf": [
                              {
                                "items": {
                                  "properties": {
                                    "name": {
                                      "description": "The name of the custom field. This may be up to 40 characters.",
                                      "maxLength": 40,
                                      "type": "string"
                                    },
                                    "value": {
                                      "description": "The value of the custom field. This may be up to 140 characters.",
                                      "maxLength": 140,
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "name",
                                    "value"
                                  ],
                                  "title": "custom_field_params",
                                  "type": "object",
                                  "x-stripeMostCommon": [
                                    "name",
                                    "value"
                                  ]
                                },
                                "type": "array"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Default custom fields to be displayed on invoices for this customer."
                          },
                          "description": {
                            "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
                            "maxLength": 1500,
                            "type": "string"
                          },
                          "footer": {
                            "description": "Default footer to be displayed on invoices for this customer.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "issuer": {
                            "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.",
                            "properties": {
                              "account": {
                                "description": "The connected account being referenced when `type` is `account`.",
                                "type": "string"
                              },
                              "type": {
                                "description": "Type of the account referenced in the request.",
                                "enum": [
                                  "account",
                                  "self"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "title": "param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "account",
                              "type"
                            ]
                          },
                          "metadata": {
                            "anyOf": [
                              {
                                "additionalProperties": {
                                  "type": "string"
                                },
                                "type": "object"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                          },
                          "rendering_options": {
                            "anyOf": [
                              {
                                "properties": {
                                  "amount_tax_display": {
                                    "description": "How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.",
                                    "enum": [
                                      "",
                                      "exclude_tax",
                                      "include_inclusive_tax"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "title": "rendering_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "amount_tax_display",
                                  "invoice_title"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Default options for invoice PDF rendering for this customer."
                          }
                        },
                        "title": "invoice_settings_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_tax_ids",
                          "custom_fields",
                          "description",
                          "footer",
                          "issuer",
                          "metadata",
                          "rendering_options"
                        ]
                      }
                    },
                    "required": [
                      "enabled"
                    ],
                    "title": "invoice_creation_update_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "enabled",
                      "invoice_data"
                    ]
                  },
                  "line_items": {
                    "description": "The line items representing what is being sold. Each line item represents an item being sold. Up to 20 line items are supported.",
                    "items": {
                      "properties": {
                        "adjustable_quantity": {
                          "description": "When set, provides configuration for this item’s quantity to be adjusted by the customer during checkout.",
                          "properties": {
                            "enabled": {
                              "description": "Set to true if the quantity can be adjusted to any non-negative Integer.",
                              "type": "boolean"
                            },
                            "maximum": {
                              "description": "The maximum quantity the customer can purchase. By default this value is 99. You can specify a value up to 999.",
                              "type": "integer"
                            },
                            "minimum": {
                              "description": "The minimum quantity the customer can purchase. By default this value is 0. If there is only one item in the cart then that item's quantity cannot go down to 0.",
                              "type": "integer"
                            }
                          },
                          "required": [
                            "enabled"
                          ],
                          "title": "adjustable_quantity_params",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "enabled",
                            "maximum",
                            "minimum"
                          ]
                        },
                        "id": {
                          "description": "The ID of an existing line item on the payment link.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "quantity": {
                          "description": "The quantity of the line item being purchased.",
                          "type": "integer"
                        }
                      },
                      "required": [
                        "id"
                      ],
                      "title": "line_items_update_params",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "adjustable_quantity",
                        "id",
                        "price",
                        "quantity"
                      ]
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. Metadata associated with this Payment Link will automatically be copied to [checkout sessions](https://stripe.com/docs/api/checkout/sessions) created by this payment link.",
                    "type": "object"
                  },
                  "payment_intent_data": {
                    "description": "A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode.",
                    "properties": {
                      "description": {
                        "anyOf": [
                          {
                            "maxLength": 1000,
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "An arbitrary string attached to the object. Often useful for displaying to users."
                      },
                      "metadata": {
                        "anyOf": [
                          {
                            "additionalProperties": {
                              "type": "string"
                            },
                            "type": "object"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that will declaratively set metadata on [Payment Intents](https://stripe.com/docs/api/payment_intents) generated from this payment link. Unlike object-level metadata, this field is declarative. Updates will clear prior values."
                      },
                      "statement_descriptor": {
                        "anyOf": [
                          {
                            "maxLength": 22,
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).\n\nSetting this value for a card charge returns an error. For card charges, set the [statement_descriptor_suffix](https://docs.stripe.com/get-started/account/statement-descriptors#dynamic) instead."
                      },
                      "statement_descriptor_suffix": {
                        "anyOf": [
                          {
                            "maxLength": 22,
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement."
                      },
                      "transfer_group": {
                        "anyOf": [
                          {
                            "maxLength": 5000,
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "A string that identifies the resulting payment as part of a group. See the PaymentIntents [use case for connected accounts](https://stripe.com/docs/connect/separate-charges-and-transfers) for details."
                      }
                    },
                    "title": "payment_intent_data_update_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "description",
                      "metadata",
                      "setup_future_usage",
                      "statement_descriptor",
                      "statement_descriptor_suffix",
                      "transfer_group"
                    ]
                  },
                  "payment_method_collection": {
                    "description": "Specify whether Checkout should collect a payment method. When set to `if_required`, Checkout will not collect a payment method when the total due for the session is 0.This may occur if the Checkout Session includes a free trial or a discount.\n\nCan only be set in `subscription` mode. Defaults to `always`.\n\nIf you'd like information on how to collect a payment method outside of Checkout, read the guide on [configuring subscriptions with a free trial](https://stripe.com/docs/payments/checkout/free-trials).",
                    "enum": [
                      "always",
                      "if_required"
                    ],
                    "type": "string"
                  },
                  "payment_method_types": {
                    "anyOf": [
                      {
                        "items": {
                          "enum": [
                            "affirm",
                            "afterpay_clearpay",
                            "alipay",
                            "alma",
                            "au_becs_debit",
                            "bacs_debit",
                            "bancontact",
                            "blik",
                            "boleto",
                            "card",
                            "cashapp",
                            "eps",
                            "fpx",
                            "giropay",
                            "grabpay",
                            "ideal",
                            "klarna",
                            "konbini",
                            "link",
                            "mobilepay",
                            "multibanco",
                            "oxxo",
                            "p24",
                            "paynow",
                            "paypal",
                            "pix",
                            "promptpay",
                            "sepa_debit",
                            "sofort",
                            "swish",
                            "twint",
                            "us_bank_account",
                            "wechat_pay",
                            "zip"
                          ],
                          "type": "string",
                          "x-stripeBypassValidation": true
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The list of payment method types that customers can use. Pass an empty string to enable dynamic payment methods that use your [payment method settings](https://dashboard.stripe.com/settings/payment_methods)."
                  },
                  "restrictions": {
                    "anyOf": [
                      {
                        "properties": {
                          "completed_sessions": {
                            "description": "Configuration for the `completed_sessions` restriction type.",
                            "properties": {
                              "limit": {
                                "description": "The maximum number of checkout sessions that can be completed for the `completed_sessions` restriction to be met.",
                                "type": "integer"
                              }
                            },
                            "required": [
                              "limit"
                            ],
                            "title": "completed_sessions_params",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "limit"
                            ]
                          }
                        },
                        "required": [
                          "completed_sessions"
                        ],
                        "title": "restrictions_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "completed_sessions"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Settings that restrict the usage of a payment link."
                  },
                  "shipping_address_collection": {
                    "anyOf": [
                      {
                        "properties": {
                          "allowed_countries": {
                            "description": "An array of two-letter ISO country codes representing which countries Checkout should provide as options for\nshipping locations.",
                            "items": {
                              "enum": [
                                "AC",
                                "AD",
                                "AE",
                                "AF",
                                "AG",
                                "AI",
                                "AL",
                                "AM",
                                "AO",
                                "AQ",
                                "AR",
                                "AT",
                                "AU",
                                "AW",
                                "AX",
                                "AZ",
                                "BA",
                                "BB",
                                "BD",
                                "BE",
                                "BF",
                                "BG",
                                "BH",
                                "BI",
                                "BJ",
                                "BL",
                                "BM",
                                "BN",
                                "BO",
                                "BQ",
                                "BR",
                                "BS",
                                "BT",
                                "BV",
                                "BW",
                                "BY",
                                "BZ",
                                "CA",
                                "CD",
                                "CF",
                                "CG",
                                "CH",
                                "CI",
                                "CK",
                                "CL",
                                "CM",
                                "CN",
                                "CO",
                                "CR",
                                "CV",
                                "CW",
                                "CY",
                                "CZ",
                                "DE",
                                "DJ",
                                "DK",
                                "DM",
                                "DO",
                                "DZ",
                                "EC",
                                "EE",
                                "EG",
                                "EH",
                                "ER",
                                "ES",
                                "ET",
                                "FI",
                                "FJ",
                                "FK",
                                "FO",
                                "FR",
                                "GA",
                                "GB",
                                "GD",
                                "GE",
                                "GF",
                                "GG",
                                "GH",
                                "GI",
                                "GL",
                                "GM",
                                "GN",
                                "GP",
                                "GQ",
                                "GR",
                                "GS",
                                "GT",
                                "GU",
                                "GW",
                                "GY",
                                "HK",
                                "HN",
                                "HR",
                                "HT",
                                "HU",
                                "ID",
                                "IE",
                                "IL",
                                "IM",
                                "IN",
                                "IO",
                                "IQ",
                                "IS",
                                "IT",
                                "JE",
                                "JM",
                                "JO",
                                "JP",
                                "KE",
                                "KG",
                                "KH",
                                "KI",
                                "KM",
                                "KN",
                                "KR",
                                "KW",
                                "KY",
                                "KZ",
                                "LA",
                                "LB",
                                "LC",
                                "LI",
                                "LK",
                                "LR",
                                "LS",
                                "LT",
                                "LU",
                                "LV",
                                "LY",
                                "MA",
                                "MC",
                                "MD",
                                "ME",
                                "MF",
                                "MG",
                                "MK",
                                "ML",
                                "MM",
                                "MN",
                                "MO",
                                "MQ",
                                "MR",
                                "MS",
                                "MT",
                                "MU",
                                "MV",
                                "MW",
                                "MX",
                                "MY",
                                "MZ",
                                "NA",
                                "NC",
                                "NE",
                                "NG",
                                "NI",
                                "NL",
                                "NO",
                                "NP",
                                "NR",
                                "NU",
                                "NZ",
                                "OM",
                                "PA",
                                "PE",
                                "PF",
                                "PG",
                                "PH",
                                "PK",
                                "PL",
                                "PM",
                                "PN",
                                "PR",
                                "PS",
                                "PT",
                                "PY",
                                "QA",
                                "RE",
                                "RO",
                                "RS",
                                "RU",
                                "RW",
                                "SA",
                                "SB",
                                "SC",
                                "SE",
                                "SG",
                                "SH",
                                "SI",
                                "SJ",
                                "SK",
                                "SL",
                                "SM",
                                "SN",
                                "SO",
                                "SR",
                                "SS",
                                "ST",
                                "SV",
                                "SX",
                                "SZ",
                                "TA",
                                "TC",
                                "TD",
                                "TF",
                                "TG",
                                "TH",
                                "TJ",
                                "TK",
                                "TL",
                                "TM",
                                "TN",
                                "TO",
                                "TR",
                                "TT",
                                "TV",
                                "TW",
                                "TZ",
                                "UA",
                                "UG",
                                "US",
                                "UY",
                                "UZ",
                                "VA",
                                "VC",
                                "VE",
                                "VG",
                                "VN",
                                "VU",
                                "WF",
                                "WS",
                                "XK",
                                "YE",
                                "YT",
                                "ZA",
                                "ZM",
                                "ZW",
                                "ZZ"
                              ],
                              "type": "string"
                            },
                            "type": "array"
                          }
                        },
                        "required": [
                          "allowed_countries"
                        ],
                        "title": "shipping_address_collection_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "allowed_countries"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Configuration for collecting the customer's shipping address."
                  },
                  "submit_type": {
                    "description": "Describes the type of transaction being performed in order to customize relevant text on the page, such as the submit button. Changing this value will also affect the hostname in the [url](https://stripe.com/docs/api/payment_links/payment_links/object#url) property (example: `donate.stripe.com`).",
                    "enum": [
                      "auto",
                      "book",
                      "donate",
                      "pay",
                      "subscribe"
                    ],
                    "type": "string"
                  },
                  "subscription_data": {
                    "description": "When creating a subscription, the specified configuration data will be used. There must be at least one line item with a recurring price to use `subscription_data`.",
                    "properties": {
                      "invoice_settings": {
                        "description": "All invoices will be billed using the specified settings.",
                        "properties": {
                          "issuer": {
                            "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.",
                            "properties": {
                              "account": {
                                "description": "The connected account being referenced when `type` is `account`.",
                                "type": "string"
                              },
                              "type": {
                                "description": "Type of the account referenced in the request.",
                                "enum": [
                                  "account",
                                  "self"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "title": "param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "account",
                              "type"
                            ]
                          }
                        },
                        "title": "subscription_data_invoice_settings_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "issuer"
                        ]
                      },
                      "metadata": {
                        "anyOf": [
                          {
                            "additionalProperties": {
                              "type": "string"
                            },
                            "type": "object"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that will declaratively set metadata on [Subscriptions](https://stripe.com/docs/api/subscriptions) generated from this payment link. Unlike object-level metadata, this field is declarative. Updates will clear prior values."
                      },
                      "trial_settings": {
                        "anyOf": [
                          {
                            "properties": {
                              "end_behavior": {
                                "description": "Defines how the subscription should behave when the user's free trial ends.",
                                "properties": {
                                  "missing_payment_method": {
                                    "description": "Indicates how the subscription should change when the trial ends if the user did not provide a payment method.",
                                    "enum": [
                                      "cancel",
                                      "create_invoice",
                                      "pause"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "missing_payment_method"
                                ],
                                "title": "end_behavior",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "missing_payment_method"
                                ]
                              }
                            },
                            "required": [
                              "end_behavior"
                            ],
                            "title": "trial_settings_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "end_behavior"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Settings related to subscription trials."
                      }
                    },
                    "title": "subscription_data_update_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "invoice_settings",
                      "metadata",
                      "trial_period_days",
                      "trial_settings"
                    ]
                  },
                  "tax_id_collection": {
                    "description": "Controls tax ID collection during checkout.",
                    "properties": {
                      "enabled": {
                        "description": "Enable tax ID collection during checkout. Defaults to `false`.",
                        "type": "boolean"
                      },
                      "required": {
                        "description": "Describes whether a tax ID is required during checkout. Defaults to `never`.",
                        "enum": [
                          "if_supported",
                          "never"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "enabled"
                    ],
                    "title": "tax_id_collection_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "enabled",
                      "required"
                    ]
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "active",
                  "line_items",
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payment_link"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a payment link"
      }
    },
    "/v1/payment_links/{payment_link}/line_items": {
      "get": {
        "description": "<p>When retrieving a payment link, there is an includable <strong>line_items</strong> property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.</p>",
        "operationId": "GetPaymentLinksPaymentLinkLineItems",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "in": "path",
            "name": "payment_link",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/item"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "PaymentLinksResourceListLineItems",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a payment link's line items"
      }
    },
    "/v1/payment_method_configurations": {
      "get": {
        "description": "<p>List payment method configurations</p>",
        "operationId": "GetPaymentMethodConfigurations",
        "parameters": [
          {
            "description": "The Connect application to filter by.",
            "explode": true,
            "in": "query",
            "name": "application",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 100,
                  "type": "string"
                },
                {
                  "enum": [
                    ""
                  ],
                  "type": "string"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/payment_method_configuration"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/payment_method_configurations",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "PaymentMethodConfigResourcePaymentMethodConfigurationsList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List payment method configurations"
      },
      "post": {
        "description": "<p>Creates a payment method configuration</p>",
        "operationId": "PostPaymentMethodConfigurations",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "acss_debit": {
                  "explode": true,
                  "style": "deepObject"
                },
                "affirm": {
                  "explode": true,
                  "style": "deepObject"
                },
                "afterpay_clearpay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "alipay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "alma": {
                  "explode": true,
                  "style": "deepObject"
                },
                "amazon_pay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "apple_pay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "apple_pay_later": {
                  "explode": true,
                  "style": "deepObject"
                },
                "au_becs_debit": {
                  "explode": true,
                  "style": "deepObject"
                },
                "bacs_debit": {
                  "explode": true,
                  "style": "deepObject"
                },
                "bancontact": {
                  "explode": true,
                  "style": "deepObject"
                },
                "blik": {
                  "explode": true,
                  "style": "deepObject"
                },
                "boleto": {
                  "explode": true,
                  "style": "deepObject"
                },
                "card": {
                  "explode": true,
                  "style": "deepObject"
                },
                "cartes_bancaires": {
                  "explode": true,
                  "style": "deepObject"
                },
                "cashapp": {
                  "explode": true,
                  "style": "deepObject"
                },
                "customer_balance": {
                  "explode": true,
                  "style": "deepObject"
                },
                "eps": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "fpx": {
                  "explode": true,
                  "style": "deepObject"
                },
                "giropay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "google_pay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "grabpay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "ideal": {
                  "explode": true,
                  "style": "deepObject"
                },
                "jcb": {
                  "explode": true,
                  "style": "deepObject"
                },
                "klarna": {
                  "explode": true,
                  "style": "deepObject"
                },
                "konbini": {
                  "explode": true,
                  "style": "deepObject"
                },
                "link": {
                  "explode": true,
                  "style": "deepObject"
                },
                "mobilepay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "multibanco": {
                  "explode": true,
                  "style": "deepObject"
                },
                "oxxo": {
                  "explode": true,
                  "style": "deepObject"
                },
                "p24": {
                  "explode": true,
                  "style": "deepObject"
                },
                "paynow": {
                  "explode": true,
                  "style": "deepObject"
                },
                "paypal": {
                  "explode": true,
                  "style": "deepObject"
                },
                "promptpay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "revolut_pay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "sepa_debit": {
                  "explode": true,
                  "style": "deepObject"
                },
                "sofort": {
                  "explode": true,
                  "style": "deepObject"
                },
                "swish": {
                  "explode": true,
                  "style": "deepObject"
                },
                "twint": {
                  "explode": true,
                  "style": "deepObject"
                },
                "us_bank_account": {
                  "explode": true,
                  "style": "deepObject"
                },
                "wechat_pay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "zip": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "acss_debit": {
                    "description": "Canadian pre-authorized debit payments, check this [page](https://stripe.com/docs/payments/acss-debit) for more details like country availability.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "affirm": {
                    "description": "[Affirm](https://www.affirm.com/) gives your customers a way to split purchases over a series of payments. Depending on the purchase, they can pay with four interest-free payments (Split Pay) or pay over a longer term (Installments), which might include interest. Check this [page](https://stripe.com/docs/payments/affirm) for more details like country availability.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "afterpay_clearpay": {
                    "description": "Afterpay gives your customers a way to pay for purchases in installments, check this [page](https://stripe.com/docs/payments/afterpay-clearpay) for more details like country availability. Afterpay is particularly popular among businesses selling fashion, beauty, and sports products.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "alipay": {
                    "description": "Alipay is a digital wallet in China that has more than a billion active users worldwide. Alipay users can pay on the web or on a mobile device using login credentials or their Alipay app. Alipay has a low dispute rate and reduces fraud by authenticating payments using the customer's login credentials. Check this [page](https://stripe.com/docs/payments/alipay) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "alma": {
                    "description": "Alma is a Buy Now, Pay Later payment method that offers customers the ability to pay in 2, 3, or 4 installments.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "amazon_pay": {
                    "description": "Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "apple_pay": {
                    "description": "Stripe users can accept [Apple Pay](/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "apple_pay_later": {
                    "description": "Apple Pay Later, a payment method for customers to buy now and pay later, gives your customers a way to split purchases into four installments across six weeks.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "au_becs_debit": {
                    "description": "Stripe users in Australia can accept Bulk Electronic Clearing System (BECS) direct debit payments from customers with an Australian bank account. Check this [page](https://stripe.com/docs/payments/au-becs-debit) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "bacs_debit": {
                    "description": "Stripe users in the UK can accept Bacs Direct Debit payments from customers with a UK bank account, check this [page](https://stripe.com/docs/payments/payment-methods/bacs-debit) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "bancontact": {
                    "description": "Bancontact is the most popular online payment method in Belgium, with over 15 million cards in circulation. [Customers](https://stripe.com/docs/api/customers) use a Bancontact card or mobile app linked to a Belgian bank account to make online payments that are secure, guaranteed, and confirmed immediately. Check this [page](https://stripe.com/docs/payments/bancontact) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "blik": {
                    "description": "BLIK is a [single use](https://stripe.com/docs/payments/payment-methods#usage) payment method that requires customers to authenticate their payments. When customers want to pay online using BLIK, they request a six-digit code from their banking application and enter it into the payment collection form. Check this [page](https://stripe.com/docs/payments/blik) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "boleto": {
                    "description": "Boleto is an official (regulated by the Central Bank of Brazil) payment method in Brazil. Check this [page](https://stripe.com/docs/payments/boleto) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "card": {
                    "description": "Cards are a popular way for consumers and businesses to pay online or in person. Stripe supports global and local card networks.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "cartes_bancaires": {
                    "description": "Cartes Bancaires is France's local card network. More than 95% of these cards are co-branded with either Visa or Mastercard, meaning you can process these cards over either Cartes Bancaires or the Visa or Mastercard networks. Check this [page](https://stripe.com/docs/payments/cartes-bancaires) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "cashapp": {
                    "description": "Cash App is a popular consumer app in the US that allows customers to bank, invest, send, and receive money using their digital wallet. Check this [page](https://stripe.com/docs/payments/cash-app-pay) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "customer_balance": {
                    "description": "Uses a customer’s [cash balance](https://stripe.com/docs/payments/customer-balance) for the payment. The cash balance can be funded via a bank transfer. Check this [page](https://stripe.com/docs/payments/bank-transfers) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "eps": {
                    "description": "EPS is an Austria-based payment method that allows customers to complete transactions online using their bank credentials. EPS is supported by all Austrian banks and is accepted by over 80% of Austrian online retailers. Check this [page](https://stripe.com/docs/payments/eps) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "fpx": {
                    "description": "Financial Process Exchange (FPX) is a Malaysia-based payment method that allows customers to complete transactions online using their bank credentials. Bank Negara Malaysia (BNM), the Central Bank of Malaysia, and eleven other major Malaysian financial institutions are members of the PayNet Group, which owns and operates FPX. It is one of the most popular online payment methods in Malaysia, with nearly 90 million transactions in 2018 according to BNM. Check this [page](https://stripe.com/docs/payments/fpx) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "giropay": {
                    "description": "giropay is a German payment method based on online banking, introduced in 2006. It allows customers to complete transactions online using their online banking environment, with funds debited from their bank account. Depending on their bank, customers confirm payments on giropay using a second factor of authentication or a PIN. giropay accounts for 10% of online checkouts in Germany. Check this [page](https://stripe.com/docs/payments/giropay) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "google_pay": {
                    "description": "Google Pay allows customers to make payments in your app or website using any credit or debit card saved to their Google Account, including those from Google Play, YouTube, Chrome, or an Android device. Use the Google Pay API to request any credit or debit card stored in your customer's Google account. Check this [page](https://stripe.com/docs/google-pay) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "grabpay": {
                    "description": "GrabPay is a payment method developed by [Grab](https://www.grab.com/sg/consumer/finance/pay/). GrabPay is a digital wallet - customers maintain a balance in their wallets that they pay out with. Check this [page](https://stripe.com/docs/payments/grabpay) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "ideal": {
                    "description": "iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://stripe.com/docs/payments/ideal) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "jcb": {
                    "description": "JCB is a credit card company based in Japan. JCB is currently available in Japan to businesses approved by JCB, and available to all businesses in Australia, Canada, Hong Kong, Japan, New Zealand, Singapore, Switzerland, United Kingdom, United States, and all countries in the European Economic Area except Iceland. Check this [page](https://support.stripe.com/questions/accepting-japan-credit-bureau-%28jcb%29-payments) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "klarna": {
                    "description": "Klarna gives customers a range of [payment options](https://stripe.com/docs/payments/klarna#payment-options) during checkout. Available payment options vary depending on the customer's billing address and the transaction amount. These payment options make it convenient for customers to purchase items in all price ranges. Check this [page](https://stripe.com/docs/payments/klarna) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "konbini": {
                    "description": "Konbini allows customers in Japan to pay for bills and online purchases at convenience stores with cash. Check this [page](https://stripe.com/docs/payments/konbini) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "link": {
                    "description": "[Link](https://stripe.com/docs/payments/link) is a payment method network. With Link, users save their payment details once, then reuse that information to pay with one click for any business on the network.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "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.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "multibanco": {
                    "description": "Stripe users in Europe and the United States can accept Multibanco payments from customers in Portugal using [Sources](https://stripe.com/docs/sources)—a single integration path for creating payments using any supported method.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "name": {
                    "description": "Configuration name.",
                    "maxLength": 100,
                    "type": "string"
                  },
                  "oxxo": {
                    "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.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "p24": {
                    "description": "Przelewy24 is a Poland-based payment method aggregator that allows customers to complete transactions online using bank transfers and other methods. Bank transfers account for 30% of online payments in Poland and Przelewy24 provides a way for customers to pay with over 165 banks. Check this [page](https://stripe.com/docs/payments/p24) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "parent": {
                    "description": "Configuration's parent configuration. Specify to create a child configuration.",
                    "maxLength": 100,
                    "type": "string"
                  },
                  "paynow": {
                    "description": "PayNow is a Singapore-based payment method that allows customers to make a payment using their preferred app from participating banks and participating non-bank financial institutions. Check this [page](https://stripe.com/docs/payments/paynow) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "paypal": {
                    "description": "PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://stripe.com/docs/payments/paypal) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "promptpay": {
                    "description": "PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "revolut_pay": {
                    "description": "Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer’s stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "sepa_debit": {
                    "description": "The [Single Euro Payments Area (SEPA)](https://en.wikipedia.org/wiki/Single_Euro_Payments_Area) is an initiative of the European Union to simplify payments within and across member countries. SEPA established and enforced banking standards to allow for the direct debiting of every EUR-denominated bank account within the SEPA region, check this [page](https://stripe.com/docs/payments/sepa-debit) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "sofort": {
                    "description": "Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://stripe.com/docs/payments/sofort) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "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.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "twint": {
                    "description": "Twint is a payment method popular in Switzerland. It allows customers to pay using their mobile phone. Check this [page](https://docs.stripe.com/payments/twint) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "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-direct-debit) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "wechat_pay": {
                    "description": "WeChat, owned by Tencent, is China's leading mobile app with over 1 billion monthly active users. Chinese consumers can use WeChat Pay to pay for goods and services inside of businesses' apps and websites. WeChat Pay users buy most frequently in gaming, e-commerce, travel, online education, and food/nutrition. Check this [page](https://stripe.com/docs/payments/wechat-pay) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "zip": {
                    "description": "Zip gives your customers a way to split purchases over a series of payments. Check this [page](https://stripe.com/docs/payments/zip) for more details like country availability.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "name",
                  "parent"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payment_method_configuration"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a payment method configuration"
      }
    },
    "/v1/payment_method_configurations/{configuration}": {
      "get": {
        "description": "<p>Retrieve payment method configuration</p>",
        "operationId": "GetPaymentMethodConfigurationsConfiguration",
        "parameters": [
          {
            "in": "path",
            "name": "configuration",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payment_method_configuration"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve payment method configuration"
      },
      "post": {
        "description": "<p>Update payment method configuration</p>",
        "operationId": "PostPaymentMethodConfigurationsConfiguration",
        "parameters": [
          {
            "in": "path",
            "name": "configuration",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "acss_debit": {
                  "explode": true,
                  "style": "deepObject"
                },
                "affirm": {
                  "explode": true,
                  "style": "deepObject"
                },
                "afterpay_clearpay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "alipay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "alma": {
                  "explode": true,
                  "style": "deepObject"
                },
                "amazon_pay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "apple_pay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "apple_pay_later": {
                  "explode": true,
                  "style": "deepObject"
                },
                "au_becs_debit": {
                  "explode": true,
                  "style": "deepObject"
                },
                "bacs_debit": {
                  "explode": true,
                  "style": "deepObject"
                },
                "bancontact": {
                  "explode": true,
                  "style": "deepObject"
                },
                "blik": {
                  "explode": true,
                  "style": "deepObject"
                },
                "boleto": {
                  "explode": true,
                  "style": "deepObject"
                },
                "card": {
                  "explode": true,
                  "style": "deepObject"
                },
                "cartes_bancaires": {
                  "explode": true,
                  "style": "deepObject"
                },
                "cashapp": {
                  "explode": true,
                  "style": "deepObject"
                },
                "customer_balance": {
                  "explode": true,
                  "style": "deepObject"
                },
                "eps": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "fpx": {
                  "explode": true,
                  "style": "deepObject"
                },
                "giropay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "google_pay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "grabpay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "ideal": {
                  "explode": true,
                  "style": "deepObject"
                },
                "jcb": {
                  "explode": true,
                  "style": "deepObject"
                },
                "klarna": {
                  "explode": true,
                  "style": "deepObject"
                },
                "konbini": {
                  "explode": true,
                  "style": "deepObject"
                },
                "link": {
                  "explode": true,
                  "style": "deepObject"
                },
                "mobilepay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "multibanco": {
                  "explode": true,
                  "style": "deepObject"
                },
                "oxxo": {
                  "explode": true,
                  "style": "deepObject"
                },
                "p24": {
                  "explode": true,
                  "style": "deepObject"
                },
                "paynow": {
                  "explode": true,
                  "style": "deepObject"
                },
                "paypal": {
                  "explode": true,
                  "style": "deepObject"
                },
                "promptpay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "revolut_pay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "sepa_debit": {
                  "explode": true,
                  "style": "deepObject"
                },
                "sofort": {
                  "explode": true,
                  "style": "deepObject"
                },
                "swish": {
                  "explode": true,
                  "style": "deepObject"
                },
                "twint": {
                  "explode": true,
                  "style": "deepObject"
                },
                "us_bank_account": {
                  "explode": true,
                  "style": "deepObject"
                },
                "wechat_pay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "zip": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "acss_debit": {
                    "description": "Canadian pre-authorized debit payments, check this [page](https://stripe.com/docs/payments/acss-debit) for more details like country availability.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "active": {
                    "description": "Whether the configuration can be used for new payments.",
                    "type": "boolean"
                  },
                  "affirm": {
                    "description": "[Affirm](https://www.affirm.com/) gives your customers a way to split purchases over a series of payments. Depending on the purchase, they can pay with four interest-free payments (Split Pay) or pay over a longer term (Installments), which might include interest. Check this [page](https://stripe.com/docs/payments/affirm) for more details like country availability.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "afterpay_clearpay": {
                    "description": "Afterpay gives your customers a way to pay for purchases in installments, check this [page](https://stripe.com/docs/payments/afterpay-clearpay) for more details like country availability. Afterpay is particularly popular among businesses selling fashion, beauty, and sports products.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "alipay": {
                    "description": "Alipay is a digital wallet in China that has more than a billion active users worldwide. Alipay users can pay on the web or on a mobile device using login credentials or their Alipay app. Alipay has a low dispute rate and reduces fraud by authenticating payments using the customer's login credentials. Check this [page](https://stripe.com/docs/payments/alipay) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "alma": {
                    "description": "Alma is a Buy Now, Pay Later payment method that offers customers the ability to pay in 2, 3, or 4 installments.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "amazon_pay": {
                    "description": "Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "apple_pay": {
                    "description": "Stripe users can accept [Apple Pay](/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "apple_pay_later": {
                    "description": "Apple Pay Later, a payment method for customers to buy now and pay later, gives your customers a way to split purchases into four installments across six weeks.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "au_becs_debit": {
                    "description": "Stripe users in Australia can accept Bulk Electronic Clearing System (BECS) direct debit payments from customers with an Australian bank account. Check this [page](https://stripe.com/docs/payments/au-becs-debit) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "bacs_debit": {
                    "description": "Stripe users in the UK can accept Bacs Direct Debit payments from customers with a UK bank account, check this [page](https://stripe.com/docs/payments/payment-methods/bacs-debit) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "bancontact": {
                    "description": "Bancontact is the most popular online payment method in Belgium, with over 15 million cards in circulation. [Customers](https://stripe.com/docs/api/customers) use a Bancontact card or mobile app linked to a Belgian bank account to make online payments that are secure, guaranteed, and confirmed immediately. Check this [page](https://stripe.com/docs/payments/bancontact) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "blik": {
                    "description": "BLIK is a [single use](https://stripe.com/docs/payments/payment-methods#usage) payment method that requires customers to authenticate their payments. When customers want to pay online using BLIK, they request a six-digit code from their banking application and enter it into the payment collection form. Check this [page](https://stripe.com/docs/payments/blik) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "boleto": {
                    "description": "Boleto is an official (regulated by the Central Bank of Brazil) payment method in Brazil. Check this [page](https://stripe.com/docs/payments/boleto) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "card": {
                    "description": "Cards are a popular way for consumers and businesses to pay online or in person. Stripe supports global and local card networks.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "cartes_bancaires": {
                    "description": "Cartes Bancaires is France's local card network. More than 95% of these cards are co-branded with either Visa or Mastercard, meaning you can process these cards over either Cartes Bancaires or the Visa or Mastercard networks. Check this [page](https://stripe.com/docs/payments/cartes-bancaires) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "cashapp": {
                    "description": "Cash App is a popular consumer app in the US that allows customers to bank, invest, send, and receive money using their digital wallet. Check this [page](https://stripe.com/docs/payments/cash-app-pay) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "customer_balance": {
                    "description": "Uses a customer’s [cash balance](https://stripe.com/docs/payments/customer-balance) for the payment. The cash balance can be funded via a bank transfer. Check this [page](https://stripe.com/docs/payments/bank-transfers) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "eps": {
                    "description": "EPS is an Austria-based payment method that allows customers to complete transactions online using their bank credentials. EPS is supported by all Austrian banks and is accepted by over 80% of Austrian online retailers. Check this [page](https://stripe.com/docs/payments/eps) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "fpx": {
                    "description": "Financial Process Exchange (FPX) is a Malaysia-based payment method that allows customers to complete transactions online using their bank credentials. Bank Negara Malaysia (BNM), the Central Bank of Malaysia, and eleven other major Malaysian financial institutions are members of the PayNet Group, which owns and operates FPX. It is one of the most popular online payment methods in Malaysia, with nearly 90 million transactions in 2018 according to BNM. Check this [page](https://stripe.com/docs/payments/fpx) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "giropay": {
                    "description": "giropay is a German payment method based on online banking, introduced in 2006. It allows customers to complete transactions online using their online banking environment, with funds debited from their bank account. Depending on their bank, customers confirm payments on giropay using a second factor of authentication or a PIN. giropay accounts for 10% of online checkouts in Germany. Check this [page](https://stripe.com/docs/payments/giropay) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "google_pay": {
                    "description": "Google Pay allows customers to make payments in your app or website using any credit or debit card saved to their Google Account, including those from Google Play, YouTube, Chrome, or an Android device. Use the Google Pay API to request any credit or debit card stored in your customer's Google account. Check this [page](https://stripe.com/docs/google-pay) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "grabpay": {
                    "description": "GrabPay is a payment method developed by [Grab](https://www.grab.com/sg/consumer/finance/pay/). GrabPay is a digital wallet - customers maintain a balance in their wallets that they pay out with. Check this [page](https://stripe.com/docs/payments/grabpay) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "ideal": {
                    "description": "iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://stripe.com/docs/payments/ideal) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "jcb": {
                    "description": "JCB is a credit card company based in Japan. JCB is currently available in Japan to businesses approved by JCB, and available to all businesses in Australia, Canada, Hong Kong, Japan, New Zealand, Singapore, Switzerland, United Kingdom, United States, and all countries in the European Economic Area except Iceland. Check this [page](https://support.stripe.com/questions/accepting-japan-credit-bureau-%28jcb%29-payments) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "klarna": {
                    "description": "Klarna gives customers a range of [payment options](https://stripe.com/docs/payments/klarna#payment-options) during checkout. Available payment options vary depending on the customer's billing address and the transaction amount. These payment options make it convenient for customers to purchase items in all price ranges. Check this [page](https://stripe.com/docs/payments/klarna) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "konbini": {
                    "description": "Konbini allows customers in Japan to pay for bills and online purchases at convenience stores with cash. Check this [page](https://stripe.com/docs/payments/konbini) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "link": {
                    "description": "[Link](https://stripe.com/docs/payments/link) is a payment method network. With Link, users save their payment details once, then reuse that information to pay with one click for any business on the network.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "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.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "multibanco": {
                    "description": "Stripe users in Europe and the United States can accept Multibanco payments from customers in Portugal using [Sources](https://stripe.com/docs/sources)—a single integration path for creating payments using any supported method.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "name": {
                    "description": "Configuration name.",
                    "maxLength": 100,
                    "type": "string"
                  },
                  "oxxo": {
                    "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.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "p24": {
                    "description": "Przelewy24 is a Poland-based payment method aggregator that allows customers to complete transactions online using bank transfers and other methods. Bank transfers account for 30% of online payments in Poland and Przelewy24 provides a way for customers to pay with over 165 banks. Check this [page](https://stripe.com/docs/payments/p24) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "paynow": {
                    "description": "PayNow is a Singapore-based payment method that allows customers to make a payment using their preferred app from participating banks and participating non-bank financial institutions. Check this [page](https://stripe.com/docs/payments/paynow) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "paypal": {
                    "description": "PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://stripe.com/docs/payments/paypal) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "promptpay": {
                    "description": "PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "revolut_pay": {
                    "description": "Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer’s stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "sepa_debit": {
                    "description": "The [Single Euro Payments Area (SEPA)](https://en.wikipedia.org/wiki/Single_Euro_Payments_Area) is an initiative of the European Union to simplify payments within and across member countries. SEPA established and enforced banking standards to allow for the direct debiting of every EUR-denominated bank account within the SEPA region, check this [page](https://stripe.com/docs/payments/sepa-debit) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "sofort": {
                    "description": "Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://stripe.com/docs/payments/sofort) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "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.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "twint": {
                    "description": "Twint is a payment method popular in Switzerland. It allows customers to pay using their mobile phone. Check this [page](https://docs.stripe.com/payments/twint) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "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-direct-debit) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "wechat_pay": {
                    "description": "WeChat, owned by Tencent, is China's leading mobile app with over 1 billion monthly active users. Chinese consumers can use WeChat Pay to pay for goods and services inside of businesses' apps and websites. WeChat Pay users buy most frequently in gaming, e-commerce, travel, online education, and food/nutrition. Check this [page](https://stripe.com/docs/payments/wechat-pay) for more details.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  },
                  "zip": {
                    "description": "Zip gives your customers a way to split purchases over a series of payments. Check this [page](https://stripe.com/docs/payments/zip) for more details like country availability.",
                    "properties": {
                      "display_preference": {
                        "description": "Whether or not the payment method should be displayed.",
                        "properties": {
                          "preference": {
                            "description": "The account's preference for whether or not to display this payment method.",
                            "enum": [
                              "none",
                              "off",
                              "on"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "display_preference_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preference"
                        ]
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "display_preference"
                    ]
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "active",
                  "name"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payment_method_configuration"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update payment method configuration"
      }
    },
    "/v1/payment_method_domains": {
      "get": {
        "description": "<p>Lists the details of existing payment method domains.</p>",
        "operationId": "GetPaymentMethodDomains",
        "parameters": [
          {
            "description": "The domain name that this payment method domain object represents.",
            "in": "query",
            "name": "domain_name",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Whether this payment method domain is enabled. If the domain is not enabled, payment methods will not appear in Elements",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/payment_method_domain"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/payment_method_domains",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "PaymentMethodDomainResourcePaymentMethodDomainList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List payment method domains"
      },
      "post": {
        "description": "<p>Creates a payment method domain.</p>",
        "operationId": "PostPaymentMethodDomains",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "domain_name": {
                    "description": "The domain name that this payment method domain object represents.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "enabled": {
                    "description": "Whether this payment method domain is enabled. If the domain is not enabled, payment methods that require a payment method domain will not appear in Elements.",
                    "type": "boolean"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "domain_name"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "domain_name",
                  "enabled"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payment_method_domain"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a payment method domain"
      }
    },
    "/v1/payment_method_domains/{payment_method_domain}": {
      "get": {
        "description": "<p>Retrieves the details of an existing payment method domain.</p>",
        "operationId": "GetPaymentMethodDomainsPaymentMethodDomain",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "payment_method_domain",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payment_method_domain"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a payment method domain"
      },
      "post": {
        "description": "<p>Updates an existing payment method domain.</p>",
        "operationId": "PostPaymentMethodDomainsPaymentMethodDomain",
        "parameters": [
          {
            "in": "path",
            "name": "payment_method_domain",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enabled": {
                    "description": "Whether this payment method domain is enabled. If the domain is not enabled, payment methods that require a payment method domain will not appear in Elements.",
                    "type": "boolean"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "enabled"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payment_method_domain"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a payment method domain"
      }
    },
    "/v1/payment_method_domains/{payment_method_domain}/validate": {
      "post": {
        "description": "<p>Some payment methods such as Apple Pay require additional steps to verify a domain. If the requirements weren’t satisfied when the domain was created, the payment method will be inactive on the domain.\nThe payment method doesn’t appear in Elements for this domain until it is active.</p>\n\n<p>To activate a payment method on an existing payment method domain, complete the required validation steps specific to the payment method, and then validate the payment method domain with this endpoint.</p>\n\n<p>Related guides: <a href=\"/docs/payments/payment-methods/pmd-registration\">Payment method domains</a>.</p>",
        "operationId": "PostPaymentMethodDomainsPaymentMethodDomainValidate",
        "parameters": [
          {
            "in": "path",
            "name": "payment_method_domain",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payment_method_domain"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Validate an existing payment method domain"
      }
    },
    "/v1/payment_methods": {
      "get": {
        "description": "<p>Returns a list of PaymentMethods for Treasury flows. If you want to list the PaymentMethods attached to a Customer for payments, you should use the <a href=\"/docs/api/payment_methods/customer_list\">List a Customer’s PaymentMethods</a> API instead.</p>",
        "operationId": "GetPaymentMethods",
        "parameters": [
          {
            "description": "The ID of the customer whose PaymentMethods will be retrieved.",
            "in": "query",
            "name": "customer",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "An optional filter on the list, based on the object `type` field. Without the filter, the list includes all current and future payment method types. If your integration expects only one type of payment method in the response, make sure to provide a type value in the request.",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "enum": [
                "acss_debit",
                "affirm",
                "afterpay_clearpay",
                "alipay",
                "alma",
                "amazon_pay",
                "au_becs_debit",
                "bacs_debit",
                "bancontact",
                "blik",
                "boleto",
                "card",
                "cashapp",
                "customer_balance",
                "eps",
                "fpx",
                "giropay",
                "grabpay",
                "ideal",
                "kakao_pay",
                "klarna",
                "konbini",
                "kr_card",
                "link",
                "mobilepay",
                "multibanco",
                "naver_pay",
                "oxxo",
                "p24",
                "payco",
                "paynow",
                "paypal",
                "pix",
                "promptpay",
                "revolut_pay",
                "samsung_pay",
                "sepa_debit",
                "sofort",
                "swish",
                "twint",
                "us_bank_account",
                "wechat_pay",
                "zip"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/payment_method"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/payment_methods",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "PaymentFlowsPaymentMethodList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List PaymentMethods"
      },
      "post": {
        "description": "<p>Creates a PaymentMethod object. Read the <a href=\"/docs/stripe-js/reference#stripe-create-payment-method\">Stripe.js reference</a> to learn how to create PaymentMethods via Stripe.js.</p>\n\n<p>Instead of creating a PaymentMethod directly, we recommend using the <a href=\"/docs/payments/accept-a-payment\">PaymentIntents</a> API to accept a payment immediately or the <a href=\"/docs/payments/save-and-reuse\">SetupIntent</a> API to collect payment method details ahead of a future payment.</p>",
        "operationId": "PostPaymentMethods",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "acss_debit": {
                  "explode": true,
                  "style": "deepObject"
                },
                "affirm": {
                  "explode": true,
                  "style": "deepObject"
                },
                "afterpay_clearpay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "alipay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "alma": {
                  "explode": true,
                  "style": "deepObject"
                },
                "amazon_pay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "au_becs_debit": {
                  "explode": true,
                  "style": "deepObject"
                },
                "bacs_debit": {
                  "explode": true,
                  "style": "deepObject"
                },
                "bancontact": {
                  "explode": true,
                  "style": "deepObject"
                },
                "billing_details": {
                  "explode": true,
                  "style": "deepObject"
                },
                "blik": {
                  "explode": true,
                  "style": "deepObject"
                },
                "boleto": {
                  "explode": true,
                  "style": "deepObject"
                },
                "card": {
                  "explode": true,
                  "style": "deepObject"
                },
                "cashapp": {
                  "explode": true,
                  "style": "deepObject"
                },
                "customer_balance": {
                  "explode": true,
                  "style": "deepObject"
                },
                "eps": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "fpx": {
                  "explode": true,
                  "style": "deepObject"
                },
                "giropay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "grabpay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "ideal": {
                  "explode": true,
                  "style": "deepObject"
                },
                "interac_present": {
                  "explode": true,
                  "style": "deepObject"
                },
                "kakao_pay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "klarna": {
                  "explode": true,
                  "style": "deepObject"
                },
                "konbini": {
                  "explode": true,
                  "style": "deepObject"
                },
                "kr_card": {
                  "explode": true,
                  "style": "deepObject"
                },
                "link": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "mobilepay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "multibanco": {
                  "explode": true,
                  "style": "deepObject"
                },
                "naver_pay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "oxxo": {
                  "explode": true,
                  "style": "deepObject"
                },
                "p24": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payco": {
                  "explode": true,
                  "style": "deepObject"
                },
                "paynow": {
                  "explode": true,
                  "style": "deepObject"
                },
                "paypal": {
                  "explode": true,
                  "style": "deepObject"
                },
                "pix": {
                  "explode": true,
                  "style": "deepObject"
                },
                "promptpay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "radar_options": {
                  "explode": true,
                  "style": "deepObject"
                },
                "revolut_pay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "samsung_pay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "sepa_debit": {
                  "explode": true,
                  "style": "deepObject"
                },
                "sofort": {
                  "explode": true,
                  "style": "deepObject"
                },
                "swish": {
                  "explode": true,
                  "style": "deepObject"
                },
                "twint": {
                  "explode": true,
                  "style": "deepObject"
                },
                "us_bank_account": {
                  "explode": true,
                  "style": "deepObject"
                },
                "wechat_pay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "zip": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "acss_debit": {
                    "description": "If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.",
                    "properties": {
                      "account_number": {
                        "description": "Customer's bank account number.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "institution_number": {
                        "description": "Institution number of the customer's bank.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "transit_number": {
                        "description": "Transit number of the customer's bank.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "required": [
                      "account_number",
                      "institution_number",
                      "transit_number"
                    ],
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "account_number",
                      "institution_number",
                      "transit_number"
                    ]
                  },
                  "affirm": {
                    "description": "If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  },
                  "afterpay_clearpay": {
                    "description": "If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  },
                  "alipay": {
                    "description": "If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  },
                  "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`.",
                    "enum": [
                      "always",
                      "limited",
                      "unspecified"
                    ],
                    "type": "string"
                  },
                  "alma": {
                    "description": "If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  },
                  "amazon_pay": {
                    "description": "If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  },
                  "au_becs_debit": {
                    "description": "If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.",
                    "properties": {
                      "account_number": {
                        "description": "The account number for the bank account.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "bsb_number": {
                        "description": "Bank-State-Branch number of the bank account.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "required": [
                      "account_number",
                      "bsb_number"
                    ],
                    "title": "param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "account_number",
                      "bsb_number"
                    ]
                  },
                  "bacs_debit": {
                    "description": "If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.",
                    "properties": {
                      "account_number": {
                        "description": "Account number of the bank account that the funds will be debited from.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "sort_code": {
                        "description": "Sort code of the bank account. (e.g., `10-20-30`)",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "account_number",
                      "sort_code"
                    ]
                  },
                  "bancontact": {
                    "description": "If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  },
                  "billing_details": {
                    "description": "Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.",
                    "properties": {
                      "address": {
                        "anyOf": [
                          {
                            "properties": {
                              "city": {
                                "description": "City, district, suburb, town, or village.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "country": {
                                "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line1": {
                                "description": "Address line 1 (e.g., street, PO Box, or company name).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line2": {
                                "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "postal_code": {
                                "description": "ZIP or postal code.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "state": {
                                "description": "State, county, province, or region.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "billing_details_address",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "city",
                              "country",
                              "line1",
                              "line2",
                              "postal_code",
                              "state"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Billing address."
                      },
                      "email": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Email address."
                      },
                      "name": {
                        "anyOf": [
                          {
                            "maxLength": 5000,
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Full name."
                      },
                      "phone": {
                        "anyOf": [
                          {
                            "maxLength": 5000,
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Billing phone number (including extension)."
                      }
                    },
                    "title": "billing_details_inner_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "address",
                      "email",
                      "name",
                      "phone"
                    ]
                  },
                  "blik": {
                    "description": "If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  },
                  "boleto": {
                    "description": "If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.",
                    "properties": {
                      "tax_id": {
                        "description": "The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "required": [
                      "tax_id"
                    ],
                    "title": "param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "tax_id"
                    ]
                  },
                  "card": {
                    "anyOf": [
                      {
                        "properties": {
                          "cvc": {
                            "description": "The card's CVC. It is highly recommended to always include this value.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "exp_month": {
                            "description": "Two-digit number representing the card's expiration month.",
                            "type": "integer"
                          },
                          "exp_year": {
                            "description": "Four-digit number representing the card's expiration year.",
                            "type": "integer"
                          },
                          "networks": {
                            "description": "Contains information about card networks used to process the payment.",
                            "properties": {
                              "preferred": {
                                "description": "The customer's preferred card network for co-branded cards. Supports `cartes_bancaires`, `mastercard`, or `visa`. Selection of a network that does not apply to the card will be stored as `invalid_preference` on the card.",
                                "enum": [
                                  "cartes_bancaires",
                                  "mastercard",
                                  "visa"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "networks_params",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "preferred"
                            ]
                          },
                          "number": {
                            "description": "The card number, as a string without any separators.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "exp_month",
                          "exp_year",
                          "number"
                        ],
                        "title": "card_details_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "cvc",
                          "exp_month",
                          "exp_year",
                          "funding_options",
                          "networks",
                          "number"
                        ],
                        "x-stripeParam": {
                          "class_name": "CardDetails"
                        }
                      },
                      {
                        "properties": {
                          "token": {
                            "description": "For backwards compatibility, you can alternatively provide a Stripe token (e.g., for Apple Pay, Amex Express Checkout, or legacy Checkout) into the card hash with format card: {token: \"tok_visa\"}.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "token"
                        ],
                        "title": "token_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "token"
                        ],
                        "x-stripeParam": {
                          "class_name": "Token"
                        }
                      }
                    ],
                    "description": "If this is a `card` PaymentMethod, this hash contains the user's card details. For backwards compatibility, you can alternatively provide a Stripe token (e.g., for Apple Pay, Amex Express Checkout, or legacy Checkout) into the card hash with format `card: {token: \"tok_visa\"}`. When providing a card number, you must meet the requirements for [PCI compliance](https://stripe.com/docs/security#validating-pci-compliance). We strongly recommend using Stripe.js instead of interacting with this API directly.",
                    "x-stripeBypassValidation": true
                  },
                  "cashapp": {
                    "description": "If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  },
                  "customer": {
                    "description": "The `Customer` to whom the original PaymentMethod is attached.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "customer_balance": {
                    "description": "If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  },
                  "eps": {
                    "description": "If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.",
                    "properties": {
                      "bank": {
                        "description": "The customer's bank.",
                        "enum": [
                          "arzte_und_apotheker_bank",
                          "austrian_anadi_bank_ag",
                          "bank_austria",
                          "bankhaus_carl_spangler",
                          "bankhaus_schelhammer_und_schattera_ag",
                          "bawag_psk_ag",
                          "bks_bank_ag",
                          "brull_kallmus_bank_ag",
                          "btv_vier_lander_bank",
                          "capital_bank_grawe_gruppe_ag",
                          "deutsche_bank_ag",
                          "dolomitenbank",
                          "easybank_ag",
                          "erste_bank_und_sparkassen",
                          "hypo_alpeadriabank_international_ag",
                          "hypo_bank_burgenland_aktiengesellschaft",
                          "hypo_noe_lb_fur_niederosterreich_u_wien",
                          "hypo_oberosterreich_salzburg_steiermark",
                          "hypo_tirol_bank_ag",
                          "hypo_vorarlberg_bank_ag",
                          "marchfelder_bank",
                          "oberbank_ag",
                          "raiffeisen_bankengruppe_osterreich",
                          "schoellerbank_ag",
                          "sparda_bank_wien",
                          "volksbank_gruppe",
                          "volkskreditbank_ag",
                          "vr_bank_braunau"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "bank"
                    ]
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "fpx": {
                    "description": "If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.",
                    "properties": {
                      "account_holder_type": {
                        "description": "Account holder type for FPX transaction",
                        "enum": [
                          "company",
                          "individual"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "bank": {
                        "description": "The customer's bank.",
                        "enum": [
                          "affin_bank",
                          "agrobank",
                          "alliance_bank",
                          "ambank",
                          "bank_islam",
                          "bank_muamalat",
                          "bank_of_china",
                          "bank_rakyat",
                          "bsn",
                          "cimb",
                          "deutsche_bank",
                          "hong_leong_bank",
                          "hsbc",
                          "kfh",
                          "maybank2e",
                          "maybank2u",
                          "ocbc",
                          "pb_enterprise",
                          "public_bank",
                          "rhb",
                          "standard_chartered",
                          "uob"
                        ],
                        "maxLength": 5000,
                        "type": "string",
                        "x-stripeBypassValidation": true
                      }
                    },
                    "required": [
                      "bank"
                    ],
                    "title": "param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "account_holder_type",
                      "bank"
                    ]
                  },
                  "giropay": {
                    "description": "If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  },
                  "grabpay": {
                    "description": "If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  },
                  "ideal": {
                    "description": "If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.",
                    "properties": {
                      "bank": {
                        "description": "The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.",
                        "enum": [
                          "abn_amro",
                          "asn_bank",
                          "bunq",
                          "handelsbanken",
                          "ing",
                          "knab",
                          "moneyou",
                          "n26",
                          "nn",
                          "rabobank",
                          "regiobank",
                          "revolut",
                          "sns_bank",
                          "triodos_bank",
                          "van_lanschot",
                          "yoursafe"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "bank"
                    ]
                  },
                  "interac_present": {
                    "description": "If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "device_identifier",
                      "device_type",
                      "emv",
                      "location"
                    ]
                  },
                  "kakao_pay": {
                    "description": "If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  },
                  "klarna": {
                    "description": "If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.",
                    "properties": {
                      "dob": {
                        "description": "Customer's date of birth",
                        "properties": {
                          "day": {
                            "description": "The day of birth, between 1 and 31.",
                            "type": "integer"
                          },
                          "month": {
                            "description": "The month of birth, between 1 and 12.",
                            "type": "integer"
                          },
                          "year": {
                            "description": "The four-digit year of birth.",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "day",
                          "month",
                          "year"
                        ],
                        "title": "date_of_birth",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "day",
                          "month",
                          "year"
                        ]
                      }
                    },
                    "title": "param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "dob"
                    ]
                  },
                  "konbini": {
                    "description": "If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  },
                  "kr_card": {
                    "description": "If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  },
                  "link": {
                    "description": "If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "mobilepay": {
                    "description": "If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  },
                  "multibanco": {
                    "description": "If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  },
                  "naver_pay": {
                    "description": "If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.",
                    "properties": {
                      "funding": {
                        "description": "Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.",
                        "enum": [
                          "card",
                          "points"
                        ],
                        "type": "string",
                        "x-stripeBypassValidation": true
                      }
                    },
                    "title": "param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "funding"
                    ]
                  },
                  "oxxo": {
                    "description": "If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  },
                  "p24": {
                    "description": "If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.",
                    "properties": {
                      "bank": {
                        "description": "The customer's bank.",
                        "enum": [
                          "alior_bank",
                          "bank_millennium",
                          "bank_nowy_bfg_sa",
                          "bank_pekao_sa",
                          "banki_spbdzielcze",
                          "blik",
                          "bnp_paribas",
                          "boz",
                          "citi_handlowy",
                          "credit_agricole",
                          "envelobank",
                          "etransfer_pocztowy24",
                          "getin_bank",
                          "ideabank",
                          "ing",
                          "inteligo",
                          "mbank_mtransfer",
                          "nest_przelew",
                          "noble_pay",
                          "pbac_z_ipko",
                          "plus_bank",
                          "santander_przelew24",
                          "tmobile_usbugi_bankowe",
                          "toyota_bank",
                          "velobank",
                          "volkswagen_bank"
                        ],
                        "type": "string",
                        "x-stripeBypassValidation": true
                      }
                    },
                    "title": "param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "bank"
                    ]
                  },
                  "payco": {
                    "description": "If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  },
                  "payment_method": {
                    "description": "The PaymentMethod to share.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "paynow": {
                    "description": "If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  },
                  "paypal": {
                    "description": "If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  },
                  "pix": {
                    "description": "If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "tax_id"
                    ]
                  },
                  "promptpay": {
                    "description": "If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  },
                  "radar_options": {
                    "description": "Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.",
                    "properties": {
                      "session": {
                        "description": "A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "radar_options_with_hidden_options",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "session",
                      "skip_rules"
                    ]
                  },
                  "revolut_pay": {
                    "description": "If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  },
                  "samsung_pay": {
                    "description": "If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  },
                  "sepa_debit": {
                    "description": "If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.",
                    "properties": {
                      "iban": {
                        "description": "IBAN of the bank account.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "required": [
                      "iban"
                    ],
                    "title": "param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "iban"
                    ]
                  },
                  "sofort": {
                    "description": "If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.",
                    "properties": {
                      "country": {
                        "description": "Two-letter ISO code representing the country the bank account is located in.",
                        "enum": [
                          "AT",
                          "BE",
                          "DE",
                          "ES",
                          "IT",
                          "NL"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "country"
                    ],
                    "title": "param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "country"
                    ]
                  },
                  "swish": {
                    "description": "If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  },
                  "twint": {
                    "description": "If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  },
                  "type": {
                    "description": "The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.",
                    "enum": [
                      "acss_debit",
                      "affirm",
                      "afterpay_clearpay",
                      "alipay",
                      "alma",
                      "amazon_pay",
                      "au_becs_debit",
                      "bacs_debit",
                      "bancontact",
                      "blik",
                      "boleto",
                      "card",
                      "cashapp",
                      "customer_balance",
                      "eps",
                      "fpx",
                      "giropay",
                      "grabpay",
                      "ideal",
                      "kakao_pay",
                      "klarna",
                      "konbini",
                      "kr_card",
                      "link",
                      "mobilepay",
                      "multibanco",
                      "naver_pay",
                      "oxxo",
                      "p24",
                      "payco",
                      "paynow",
                      "paypal",
                      "pix",
                      "promptpay",
                      "revolut_pay",
                      "samsung_pay",
                      "sepa_debit",
                      "sofort",
                      "swish",
                      "twint",
                      "us_bank_account",
                      "wechat_pay",
                      "zip"
                    ],
                    "type": "string",
                    "x-stripeBypassValidation": true
                  },
                  "us_bank_account": {
                    "description": "If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.",
                    "properties": {
                      "account_holder_type": {
                        "description": "Account holder type: individual or company.",
                        "enum": [
                          "company",
                          "individual"
                        ],
                        "type": "string"
                      },
                      "account_number": {
                        "description": "Account number of the bank account.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "account_type": {
                        "description": "Account type: checkings or savings. Defaults to checking if omitted.",
                        "enum": [
                          "checking",
                          "savings"
                        ],
                        "type": "string"
                      },
                      "financial_connections_account": {
                        "description": "The ID of a Financial Connections Account to use as a payment method.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "routing_number": {
                        "description": "Routing number of the bank account.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "payment_method_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "account_holder_type",
                      "account_number",
                      "account_type",
                      "financial_connections_account",
                      "routing_number"
                    ]
                  },
                  "wechat_pay": {
                    "description": "If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  },
                  "zip": {
                    "description": "If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "billing_details",
                  "customer",
                  "metadata",
                  "payment_method",
                  "type"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payment_method"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Shares a PaymentMethod"
      }
    },
    "/v1/payment_methods/{payment_method}": {
      "get": {
        "description": "<p>Retrieves a PaymentMethod object attached to the StripeAccount. To retrieve a payment method attached to a Customer, you should use <a href=\"/docs/api/payment_methods/customer\">Retrieve a Customer’s PaymentMethods</a></p>",
        "operationId": "GetPaymentMethodsPaymentMethod",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "payment_method",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payment_method"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a PaymentMethod"
      },
      "post": {
        "description": "<p>Updates a PaymentMethod object. A PaymentMethod must be attached a customer to be updated.</p>",
        "operationId": "PostPaymentMethodsPaymentMethod",
        "parameters": [
          {
            "in": "path",
            "name": "payment_method",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "billing_details": {
                  "explode": true,
                  "style": "deepObject"
                },
                "card": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "link": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "naver_pay": {
                  "explode": true,
                  "style": "deepObject"
                },
                "us_bank_account": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "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`.",
                    "enum": [
                      "always",
                      "limited",
                      "unspecified"
                    ],
                    "type": "string"
                  },
                  "billing_details": {
                    "description": "Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.",
                    "properties": {
                      "address": {
                        "anyOf": [
                          {
                            "properties": {
                              "city": {
                                "description": "City, district, suburb, town, or village.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "country": {
                                "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line1": {
                                "description": "Address line 1 (e.g., street, PO Box, or company name).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line2": {
                                "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "postal_code": {
                                "description": "ZIP or postal code.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "state": {
                                "description": "State, county, province, or region.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "billing_details_address",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "city",
                              "country",
                              "line1",
                              "line2",
                              "postal_code",
                              "state"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Billing address."
                      },
                      "email": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Email address."
                      },
                      "name": {
                        "anyOf": [
                          {
                            "maxLength": 5000,
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Full name."
                      },
                      "phone": {
                        "anyOf": [
                          {
                            "maxLength": 5000,
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Billing phone number (including extension)."
                      }
                    },
                    "title": "billing_details_inner_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "address",
                      "email",
                      "name",
                      "phone"
                    ]
                  },
                  "card": {
                    "description": "If this is a `card` PaymentMethod, this hash contains the user's card details.",
                    "properties": {
                      "exp_month": {
                        "description": "Two-digit number representing the card's expiration month.",
                        "type": "integer"
                      },
                      "exp_year": {
                        "description": "Four-digit number representing the card's expiration year.",
                        "type": "integer"
                      },
                      "networks": {
                        "description": "Contains information about card networks used to process the payment.",
                        "properties": {
                          "preferred": {
                            "description": "The customer's preferred card network for co-branded cards. Supports `cartes_bancaires`, `mastercard`, or `visa`. Selection of a network that does not apply to the card will be stored as `invalid_preference` on the card.",
                            "enum": [
                              "",
                              "cartes_bancaires",
                              "mastercard",
                              "visa"
                            ],
                            "type": "string"
                          }
                        },
                        "title": "networks_update_api_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "preferred"
                        ]
                      }
                    },
                    "title": "update_api_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "exp_month",
                      "exp_year",
                      "networks"
                    ]
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "link": {
                    "description": "If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.",
                    "properties": {},
                    "title": "param",
                    "type": "object"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "naver_pay": {
                    "description": "If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.",
                    "properties": {
                      "funding": {
                        "description": "Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.",
                        "enum": [
                          "card",
                          "points"
                        ],
                        "type": "string",
                        "x-stripeBypassValidation": true
                      }
                    },
                    "title": "param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "funding"
                    ]
                  },
                  "us_bank_account": {
                    "description": "If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.",
                    "properties": {
                      "account_holder_type": {
                        "description": "Bank account holder type.",
                        "enum": [
                          "company",
                          "individual"
                        ],
                        "type": "string"
                      },
                      "account_type": {
                        "description": "Bank account type.",
                        "enum": [
                          "checking",
                          "savings"
                        ],
                        "type": "string"
                      }
                    },
                    "title": "update_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "account_holder_type",
                      "account_type"
                    ]
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "billing_details",
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payment_method"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a PaymentMethod"
      }
    },
    "/v1/payment_methods/{payment_method}/attach": {
      "post": {
        "description": "<p>Attaches a PaymentMethod object to a Customer.</p>\n\n<p>To attach a new PaymentMethod to a customer for future payments, we recommend you use a <a href=\"/docs/api/setup_intents\">SetupIntent</a>\nor a PaymentIntent with <a href=\"/docs/api/payment_intents/create#create_payment_intent-setup_future_usage\">setup_future_usage</a>.\nThese approaches will perform any necessary steps to set up the PaymentMethod for future payments. Using the <code>/v1/payment_methods/:id/attach</code>\nendpoint without first using a SetupIntent or PaymentIntent with <code>setup_future_usage</code> does not optimize the PaymentMethod for\nfuture use, which makes later declines and payment friction more likely.\nSee <a href=\"/docs/payments/payment-intents#future-usage\">Optimizing cards for future payments</a> for more information about setting up\nfuture payments.</p>\n\n<p>To use this PaymentMethod as the default for invoice or subscription payments,\nset <a href=\"/docs/api/customers/update#update_customer-invoice_settings-default_payment_method\"><code>invoice_settings.default_payment_method</code></a>,\non the Customer to the PaymentMethod’s ID.</p>",
        "operationId": "PostPaymentMethodsPaymentMethodAttach",
        "parameters": [
          {
            "in": "path",
            "name": "payment_method",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "customer": {
                    "description": "The ID of the customer to which to attach the PaymentMethod.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "customer"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "customer"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payment_method"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Attach a PaymentMethod to a Customer"
      }
    },
    "/v1/payment_methods/{payment_method}/detach": {
      "post": {
        "description": "<p>Detaches a PaymentMethod object from a Customer. After a PaymentMethod is detached, it can no longer be used for a payment or re-attached to a Customer.</p>",
        "operationId": "PostPaymentMethodsPaymentMethodDetach",
        "parameters": [
          {
            "in": "path",
            "name": "payment_method",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payment_method"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Detach a PaymentMethod from a Customer"
      }
    },
    "/v1/payouts": {
      "get": {
        "description": "<p>Returns a list of existing payouts sent to third-party bank accounts or payouts that Stripe sent to you. The payouts return in sorted order, with the most recently created payouts appearing first.</p>",
        "operationId": "GetPayouts",
        "parameters": [
          {
            "description": "Only return payouts that are expected to arrive during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "arrival_date",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "Only return payouts that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "The ID of an external account - only return payouts sent to this external account.",
            "in": "query",
            "name": "destination",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return payouts that have the given status: `pending`, `paid`, `failed`, or `canceled`.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/payout"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/payouts",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "PayoutList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all payouts"
      },
      "post": {
        "description": "<p>To send funds to your own bank account, create a new payout object. Your <a href=\"#balance\">Stripe balance</a> must cover the payout amount. If it doesn’t, you receive an “Insufficient Funds” error.</p>\n\n<p>If your API key is in test mode, money won’t actually be sent, though every other action occurs as if you’re in live mode.</p>\n\n<p>If you create a manual payout on a Stripe account that uses multiple payment source types, you need to specify the source type balance that the payout draws from. The <a href=\"#balance_object\">balance object</a> details available and pending amounts by source type.</p>",
        "operationId": "PostPayouts",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "A positive integer in cents representing how much to payout.",
                    "type": "integer"
                  },
                  "currency": {
                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                    "type": "string"
                  },
                  "description": {
                    "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "destination": {
                    "description": "The ID of a bank account or a card to send the payout to. If you don't provide a destination, we use the default external account for the specified currency.",
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "method": {
                    "description": "The method used to send this payout, which is `standard` or `instant`. We support `instant` for payouts to debit cards and bank accounts in certain countries. Learn more about [bank support for Instant Payouts](https://stripe.com/docs/payouts/instant-payouts-banks).",
                    "enum": [
                      "instant",
                      "standard"
                    ],
                    "maxLength": 5000,
                    "type": "string",
                    "x-stripeBypassValidation": true
                  },
                  "source_type": {
                    "description": "The balance type of your Stripe balance to draw this payout from. Balances for different payment sources are kept separately. You can find the amounts with the Balances API. One of `bank_account`, `card`, or `fpx`.",
                    "enum": [
                      "bank_account",
                      "card",
                      "fpx"
                    ],
                    "maxLength": 5000,
                    "type": "string",
                    "x-stripeBypassValidation": true
                  },
                  "statement_descriptor": {
                    "description": "A string that displays on the recipient's bank or card statement (up to 22 characters). A `statement_descriptor` that's longer than 22 characters return an error. Most banks truncate this information and display it inconsistently. Some banks might not display it at all.",
                    "maxLength": 22,
                    "type": "string",
                    "x-stripeBypassValidation": true
                  }
                },
                "required": [
                  "amount",
                  "currency"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "currency",
                  "description",
                  "metadata",
                  "statement_descriptor"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payout"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a payout"
      }
    },
    "/v1/payouts/{payout}": {
      "get": {
        "description": "<p>Retrieves the details of an existing payout. Supply the unique payout ID from either a payout creation request or the payout list. Stripe returns the corresponding payout information.</p>",
        "operationId": "GetPayoutsPayout",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "payout",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payout"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a payout"
      },
      "post": {
        "description": "<p>Updates the specified payout by setting the values of the parameters you pass. We don’t change parameters that you don’t provide. This request only accepts the metadata as arguments.</p>",
        "operationId": "PostPayoutsPayout",
        "parameters": [
          {
            "in": "path",
            "name": "payout",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payout"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a payout"
      }
    },
    "/v1/payouts/{payout}/cancel": {
      "post": {
        "description": "<p>You can cancel a previously created payout if its status is <code>pending</code>. Stripe refunds the funds to your available balance. You can’t cancel automatic Stripe payouts.</p>",
        "operationId": "PostPayoutsPayoutCancel",
        "parameters": [
          {
            "in": "path",
            "name": "payout",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payout"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Cancel a payout"
      }
    },
    "/v1/payouts/{payout}/reverse": {
      "post": {
        "description": "<p>Reverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US bank accounts. If the payout is manual and in the <code>pending</code> status, use <code>/v1/payouts/:id/cancel</code> instead.</p>\n\n<p>By requesting a reversal through <code>/v1/payouts/:id/reverse</code>, you confirm that the authorized signatory of the selected bank account authorizes the debit on the bank account and that no other authorization is required.</p>",
        "operationId": "PostPayoutsPayoutReverse",
        "parameters": [
          {
            "in": "path",
            "name": "payout",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/payout"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Reverse a payout"
      }
    },
    "/v1/plans": {
      "get": {
        "description": "<p>Returns a list of your plans.</p>",
        "operationId": "GetPlans",
        "parameters": [
          {
            "description": "Only return plans that are active or inactive (e.g., pass `false` to list all inactive plans).",
            "in": "query",
            "name": "active",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          },
          {
            "description": "A filter on the list, based on the object `created` field. The value can be a string with an integer Unix timestamp, or it can be a dictionary with a number of different query options.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "Only return plans for the given product.",
            "in": "query",
            "name": "product",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/plan"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/plans",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "PlanList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all plans"
      },
      "post": {
        "description": "<p>You can now model subscriptions more flexibly using the <a href=\"#prices\">Prices API</a>. It replaces the Plans API and is backwards compatible to simplify your migration.</p>",
        "operationId": "PostPlans",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "product": {
                  "explode": true,
                  "style": "deepObject"
                },
                "tiers": {
                  "explode": true,
                  "style": "deepObject"
                },
                "transform_usage": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "active": {
                    "description": "Whether the plan is currently available for new subscriptions. Defaults to `true`.",
                    "type": "boolean"
                  },
                  "aggregate_usage": {
                    "description": "Specifies a usage aggregation strategy for plans of `usage_type=metered`. Allowed values are `sum` for summing up all usage during a period, `last_during_period` for using the last usage record reported within a period, `last_ever` for using the last usage record ever (across period bounds) or `max` which uses the usage record with the maximum reported usage during a period. Defaults to `sum`.",
                    "enum": [
                      "last_during_period",
                      "last_ever",
                      "max",
                      "sum"
                    ],
                    "type": "string"
                  },
                  "amount": {
                    "description": "A positive integer in cents (or local equivalent) (or 0 for a free plan) representing how much to charge on a recurring basis.",
                    "type": "integer"
                  },
                  "amount_decimal": {
                    "description": "Same as `amount`, but accepts a decimal value with at most 12 decimal places. Only one of `amount` and `amount_decimal` can be set.",
                    "format": "decimal",
                    "type": "string"
                  },
                  "billing_scheme": {
                    "description": "Describes how to compute the price per period. Either `per_unit` or `tiered`. `per_unit` indicates that the fixed amount (specified in `amount`) will be charged per unit in `quantity` (for plans with `usage_type=licensed`), or per unit of total usage (for plans with `usage_type=metered`). `tiered` indicates that the unit pricing will be computed using a tiering strategy as defined using the `tiers` and `tiers_mode` attributes.",
                    "enum": [
                      "per_unit",
                      "tiered"
                    ],
                    "type": "string"
                  },
                  "currency": {
                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "id": {
                    "description": "An identifier randomly generated by Stripe. Used to identify this plan when subscribing a customer. You can optionally override this ID, but the ID must be unique across all plans in your Stripe account. You can, however, use the same plan ID in both live and test modes.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "interval": {
                    "description": "Specifies billing frequency. Either `day`, `week`, `month` or `year`.",
                    "enum": [
                      "day",
                      "month",
                      "week",
                      "year"
                    ],
                    "type": "string"
                  },
                  "interval_count": {
                    "description": "The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).",
                    "type": "integer"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "meter": {
                    "description": "The meter tracking the usage of a metered price",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "nickname": {
                    "description": "A brief description of the plan, hidden from customers.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "product": {
                    "anyOf": [
                      {
                        "description": "The product whose pricing the created plan will represent. This can either be the ID of an existing product, or a dictionary containing fields used to create a [service product](https://stripe.com/docs/api#product_object-type).",
                        "properties": {
                          "active": {
                            "description": "Whether the product is currently available for purchase. Defaults to `true`.",
                            "type": "boolean"
                          },
                          "id": {
                            "deprecated": true,
                            "description": "The identifier for the product. Must be unique. If not provided, an identifier will be randomly generated.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "metadata": {
                            "additionalProperties": {
                              "type": "string"
                            },
                            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                            "type": "object"
                          },
                          "name": {
                            "description": "The product's name, meant to be displayable to the customer.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "statement_descriptor": {
                            "description": "An arbitrary string to be displayed on your customer's credit card or bank statement. While most banks display this information consistently, some may display it incorrectly or not at all.\n\nThis may be up to 22 characters. The statement description may not include `<`, `>`, `\\`, `\"`, `'` characters, and will appear on your customer's statement in capital letters. Non-ASCII characters are automatically stripped.",
                            "maxLength": 22,
                            "type": "string"
                          },
                          "tax_code": {
                            "description": "A [tax code](https://stripe.com/docs/tax/tax-categories) ID.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "unit_label": {
                            "description": "A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.",
                            "maxLength": 12,
                            "type": "string"
                          }
                        },
                        "required": [
                          "name"
                        ],
                        "title": "inline_product_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "active",
                          "id",
                          "images",
                          "metadata",
                          "name",
                          "statement_descriptor",
                          "tax_code",
                          "unit_label"
                        ]
                      },
                      {
                        "description": "The ID of the product whose pricing the created plan will represent.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    ]
                  },
                  "tiers": {
                    "description": "Each element represents a pricing tier. This parameter requires `billing_scheme` to be set to `tiered`. See also the documentation for `billing_scheme`.",
                    "items": {
                      "properties": {
                        "flat_amount": {
                          "description": "The flat billing amount for an entire tier, regardless of the number of units in the tier.",
                          "type": "integer"
                        },
                        "flat_amount_decimal": {
                          "description": "Same as `flat_amount`, but accepts a decimal value representing an integer in the minor units of the currency. Only one of `flat_amount` and `flat_amount_decimal` can be set.",
                          "format": "decimal",
                          "type": "string"
                        },
                        "unit_amount": {
                          "description": "The per unit billing amount for each individual unit for which this tier applies.",
                          "type": "integer"
                        },
                        "unit_amount_decimal": {
                          "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                          "format": "decimal",
                          "type": "string"
                        },
                        "up_to": {
                          "anyOf": [
                            {
                              "enum": [
                                "inf"
                              ],
                              "maxLength": 5000,
                              "type": "string"
                            },
                            {
                              "type": "integer"
                            }
                          ],
                          "description": "Specifies the upper bound of this tier. The lower bound of a tier is the upper bound of the previous tier adding one. Use `inf` to define a fallback tier."
                        }
                      },
                      "required": [
                        "up_to"
                      ],
                      "title": "tier",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "flat_amount",
                        "flat_amount_decimal",
                        "unit_amount",
                        "unit_amount_decimal",
                        "up_to"
                      ]
                    },
                    "type": "array"
                  },
                  "tiers_mode": {
                    "description": "Defines if the tiering price should be `graduated` or `volume` based. In `volume`-based tiering, the maximum quantity within a period determines the per unit price, in `graduated` tiering pricing can successively change as the quantity grows.",
                    "enum": [
                      "graduated",
                      "volume"
                    ],
                    "type": "string"
                  },
                  "transform_usage": {
                    "description": "Apply a transformation to the reported usage or set quantity before computing the billed price. Cannot be combined with `tiers`.",
                    "properties": {
                      "divide_by": {
                        "description": "Divide usage by this number.",
                        "type": "integer"
                      },
                      "round": {
                        "description": "After division, either round the result `up` or `down`.",
                        "enum": [
                          "down",
                          "up"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "divide_by",
                      "round"
                    ],
                    "title": "transform_usage_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "divide_by",
                      "round"
                    ]
                  },
                  "trial_period_days": {
                    "description": "Default number of trial days when subscribing a customer to this plan using [`trial_from_plan=true`](https://stripe.com/docs/api#create_subscription-trial_from_plan).",
                    "type": "integer"
                  },
                  "usage_type": {
                    "description": "Configures how the quantity per period should be determined. Can be either `metered` or `licensed`. `licensed` automatically bills the `quantity` set when adding it to a subscription. `metered` aggregates the total usage based on usage records. Defaults to `licensed`.",
                    "enum": [
                      "licensed",
                      "metered"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "currency",
                  "interval"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "active",
                  "amount",
                  "currency",
                  "interval",
                  "metadata",
                  "nickname",
                  "product"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/plan"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a plan"
      }
    },
    "/v1/plans/{plan}": {
      "delete": {
        "description": "<p>Deleting plans means new subscribers can’t be added. Existing subscribers aren’t affected.</p>",
        "operationId": "DeletePlansPlan",
        "parameters": [
          {
            "in": "path",
            "name": "plan",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/deleted_plan"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Delete a plan"
      },
      "get": {
        "description": "<p>Retrieves the plan with the given ID.</p>",
        "operationId": "GetPlansPlan",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "plan",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/plan"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a plan"
      },
      "post": {
        "description": "<p>Updates the specified plan by setting the values of the parameters passed. Any parameters not provided are left unchanged. By design, you cannot change a plan’s ID, amount, currency, or billing cycle.</p>",
        "operationId": "PostPlansPlan",
        "parameters": [
          {
            "in": "path",
            "name": "plan",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "active": {
                    "description": "Whether the plan is currently available for new subscriptions.",
                    "type": "boolean"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "nickname": {
                    "description": "A brief description of the plan, hidden from customers.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "product": {
                    "description": "The product the plan belongs to. This cannot be changed once it has been used in a subscription or subscription schedule.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "trial_period_days": {
                    "description": "Default number of trial days when subscribing a customer to this plan using [`trial_from_plan=true`](https://stripe.com/docs/api#create_subscription-trial_from_plan).",
                    "type": "integer"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "active",
                  "metadata",
                  "nickname"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/plan"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a plan"
      }
    },
    "/v1/prices": {
      "get": {
        "description": "<p>Returns a list of your active prices, excluding <a href=\"/docs/products-prices/pricing-models#inline-pricing\">inline prices</a>. For the list of inactive prices, set <code>active</code> to false.</p>",
        "operationId": "GetPrices",
        "parameters": [
          {
            "description": "Only return prices that are active or inactive (e.g., pass `false` to list all inactive prices).",
            "in": "query",
            "name": "active",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          },
          {
            "description": "A filter on the list, based on the object `created` field. The value can be a string with an integer Unix timestamp, or it can be a dictionary with a number of different query options.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "Only return prices for the given currency.",
            "in": "query",
            "name": "currency",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "Only return the price with these lookup_keys, if any exist. You can specify up to 10 lookup_keys.",
            "explode": true,
            "in": "query",
            "name": "lookup_keys",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "Only return prices for the given product.",
            "in": "query",
            "name": "product",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return prices with these recurring fields.",
            "explode": true,
            "in": "query",
            "name": "recurring",
            "required": false,
            "schema": {
              "properties": {
                "interval": {
                  "description": "Filter by billing frequency. Either `day`, `week`, `month` or `year`.",
                  "enum": [
                    "day",
                    "month",
                    "week",
                    "year"
                  ],
                  "type": "string"
                },
                "meter": {
                  "description": "Filter by the price's meter.",
                  "maxLength": 5000,
                  "type": "string"
                },
                "usage_type": {
                  "description": "Filter by the usage type for this price. Can be either `metered` or `licensed`.",
                  "enum": [
                    "licensed",
                    "metered"
                  ],
                  "type": "string"
                }
              },
              "title": "all_prices_recurring_params",
              "type": "object",
              "x-stripeMostCommon": [
                "interval",
                "meter",
                "usage_type"
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return prices of type `recurring` or `one_time`.",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "enum": [
                "one_time",
                "recurring"
              ],
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/price"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/prices",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "PriceList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all prices"
      },
      "post": {
        "description": "<p>Creates a new price for an existing product. The price can be recurring or one-time.</p>",
        "operationId": "PostPrices",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "currency_options": {
                  "explode": true,
                  "style": "deepObject"
                },
                "custom_unit_amount": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "product_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "recurring": {
                  "explode": true,
                  "style": "deepObject"
                },
                "tiers": {
                  "explode": true,
                  "style": "deepObject"
                },
                "transform_quantity": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "active": {
                    "description": "Whether the price can be used for new purchases. Defaults to `true`.",
                    "type": "boolean"
                  },
                  "billing_scheme": {
                    "description": "Describes how to compute the price per period. Either `per_unit` or `tiered`. `per_unit` indicates that the fixed amount (specified in `unit_amount` or `unit_amount_decimal`) will be charged per unit in `quantity` (for prices with `usage_type=licensed`), or per unit of total usage (for prices with `usage_type=metered`). `tiered` indicates that the unit pricing will be computed using a tiering strategy as defined using the `tiers` and `tiers_mode` attributes.",
                    "enum": [
                      "per_unit",
                      "tiered"
                    ],
                    "type": "string"
                  },
                  "currency": {
                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                    "type": "string"
                  },
                  "currency_options": {
                    "additionalProperties": {
                      "properties": {
                        "custom_unit_amount": {
                          "description": "When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links.",
                          "properties": {
                            "enabled": {
                              "description": "Pass in `true` to enable `custom_unit_amount`, otherwise omit `custom_unit_amount`.",
                              "type": "boolean"
                            },
                            "maximum": {
                              "description": "The maximum unit amount the customer can specify for this item.",
                              "type": "integer"
                            },
                            "minimum": {
                              "description": "The minimum unit amount the customer can specify for this item. Must be at least the minimum charge amount.",
                              "type": "integer"
                            },
                            "preset": {
                              "description": "The starting unit amount which can be updated by the customer.",
                              "type": "integer"
                            }
                          },
                          "required": [
                            "enabled"
                          ],
                          "title": "custom_unit_amount",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "enabled",
                            "preset"
                          ]
                        },
                        "tax_behavior": {
                          "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                          "enum": [
                            "exclusive",
                            "inclusive",
                            "unspecified"
                          ],
                          "type": "string"
                        },
                        "tiers": {
                          "description": "Each element represents a pricing tier. This parameter requires `billing_scheme` to be set to `tiered`. See also the documentation for `billing_scheme`.",
                          "items": {
                            "properties": {
                              "flat_amount": {
                                "description": "The flat billing amount for an entire tier, regardless of the number of units in the tier.",
                                "type": "integer"
                              },
                              "flat_amount_decimal": {
                                "description": "Same as `flat_amount`, but accepts a decimal value representing an integer in the minor units of the currency. Only one of `flat_amount` and `flat_amount_decimal` can be set.",
                                "format": "decimal",
                                "type": "string"
                              },
                              "unit_amount": {
                                "description": "The per unit billing amount for each individual unit for which this tier applies.",
                                "type": "integer"
                              },
                              "unit_amount_decimal": {
                                "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                                "format": "decimal",
                                "type": "string"
                              },
                              "up_to": {
                                "anyOf": [
                                  {
                                    "enum": [
                                      "inf"
                                    ],
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  {
                                    "type": "integer"
                                  }
                                ],
                                "description": "Specifies the upper bound of this tier. The lower bound of a tier is the upper bound of the previous tier adding one. Use `inf` to define a fallback tier."
                              }
                            },
                            "required": [
                              "up_to"
                            ],
                            "title": "tier",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "flat_amount",
                              "flat_amount_decimal",
                              "unit_amount",
                              "unit_amount_decimal",
                              "up_to"
                            ]
                          },
                          "type": "array"
                        },
                        "unit_amount": {
                          "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.",
                          "type": "integer"
                        },
                        "unit_amount_decimal": {
                          "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                          "format": "decimal",
                          "type": "string"
                        }
                      },
                      "title": "currency_option",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "unit_amount"
                      ]
                    },
                    "description": "Prices defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).",
                    "type": "object"
                  },
                  "custom_unit_amount": {
                    "description": "When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links.",
                    "properties": {
                      "enabled": {
                        "description": "Pass in `true` to enable `custom_unit_amount`, otherwise omit `custom_unit_amount`.",
                        "type": "boolean"
                      },
                      "maximum": {
                        "description": "The maximum unit amount the customer can specify for this item.",
                        "type": "integer"
                      },
                      "minimum": {
                        "description": "The minimum unit amount the customer can specify for this item. Must be at least the minimum charge amount.",
                        "type": "integer"
                      },
                      "preset": {
                        "description": "The starting unit amount which can be updated by the customer.",
                        "type": "integer"
                      }
                    },
                    "required": [
                      "enabled"
                    ],
                    "title": "custom_unit_amount",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "enabled",
                      "preset"
                    ]
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "lookup_key": {
                    "description": "A lookup key used to retrieve prices dynamically from a static string. This may be up to 200 characters.",
                    "maxLength": 200,
                    "type": "string"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "nickname": {
                    "description": "A brief description of the price, hidden from customers.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "product": {
                    "description": "The ID of the product that this price will belong to.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "product_data": {
                    "description": "These fields can be used to create a new product that this price will belong to.",
                    "properties": {
                      "active": {
                        "description": "Whether the product is currently available for purchase. Defaults to `true`.",
                        "type": "boolean"
                      },
                      "id": {
                        "deprecated": true,
                        "description": "The identifier for the product. Must be unique. If not provided, an identifier will be randomly generated.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "metadata": {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                        "type": "object"
                      },
                      "name": {
                        "description": "The product's name, meant to be displayable to the customer.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "statement_descriptor": {
                        "description": "An arbitrary string to be displayed on your customer's credit card or bank statement. While most banks display this information consistently, some may display it incorrectly or not at all.\n\nThis may be up to 22 characters. The statement description may not include `<`, `>`, `\\`, `\"`, `'` characters, and will appear on your customer's statement in capital letters. Non-ASCII characters are automatically stripped.",
                        "maxLength": 22,
                        "type": "string"
                      },
                      "tax_code": {
                        "description": "A [tax code](https://stripe.com/docs/tax/tax-categories) ID.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "unit_label": {
                        "description": "A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.",
                        "maxLength": 12,
                        "type": "string"
                      }
                    },
                    "required": [
                      "name"
                    ],
                    "title": "inline_product_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "active",
                      "id",
                      "images",
                      "metadata",
                      "name",
                      "statement_descriptor",
                      "tax_code",
                      "unit_label"
                    ]
                  },
                  "recurring": {
                    "description": "The recurring components of a price such as `interval` and `usage_type`.",
                    "properties": {
                      "aggregate_usage": {
                        "description": "Specifies a usage aggregation strategy for prices of `usage_type=metered`. Defaults to `sum`.",
                        "enum": [
                          "last_during_period",
                          "last_ever",
                          "max",
                          "sum"
                        ],
                        "type": "string"
                      },
                      "interval": {
                        "description": "Specifies billing frequency. Either `day`, `week`, `month` or `year`.",
                        "enum": [
                          "day",
                          "month",
                          "week",
                          "year"
                        ],
                        "type": "string"
                      },
                      "interval_count": {
                        "description": "The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).",
                        "type": "integer"
                      },
                      "meter": {
                        "description": "The meter tracking the usage of a metered price",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "trial_period_days": {
                        "description": "Default number of trial days when subscribing a customer to this price using [`trial_from_plan=true`](https://stripe.com/docs/api#create_subscription-trial_from_plan).",
                        "type": "integer"
                      },
                      "usage_type": {
                        "description": "Configures how the quantity per period should be determined. Can be either `metered` or `licensed`. `licensed` automatically bills the `quantity` set when adding it to a subscription. `metered` aggregates the total usage based on usage records. Defaults to `licensed`.",
                        "enum": [
                          "licensed",
                          "metered"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "interval"
                    ],
                    "title": "recurring",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "aggregate_usage",
                      "interval",
                      "meter",
                      "trial_period_days",
                      "usage_type"
                    ]
                  },
                  "tax_behavior": {
                    "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                    "enum": [
                      "exclusive",
                      "inclusive",
                      "unspecified"
                    ],
                    "type": "string"
                  },
                  "tiers": {
                    "description": "Each element represents a pricing tier. This parameter requires `billing_scheme` to be set to `tiered`. See also the documentation for `billing_scheme`.",
                    "items": {
                      "properties": {
                        "flat_amount": {
                          "description": "The flat billing amount for an entire tier, regardless of the number of units in the tier.",
                          "type": "integer"
                        },
                        "flat_amount_decimal": {
                          "description": "Same as `flat_amount`, but accepts a decimal value representing an integer in the minor units of the currency. Only one of `flat_amount` and `flat_amount_decimal` can be set.",
                          "format": "decimal",
                          "type": "string"
                        },
                        "unit_amount": {
                          "description": "The per unit billing amount for each individual unit for which this tier applies.",
                          "type": "integer"
                        },
                        "unit_amount_decimal": {
                          "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                          "format": "decimal",
                          "type": "string"
                        },
                        "up_to": {
                          "anyOf": [
                            {
                              "enum": [
                                "inf"
                              ],
                              "maxLength": 5000,
                              "type": "string"
                            },
                            {
                              "type": "integer"
                            }
                          ],
                          "description": "Specifies the upper bound of this tier. The lower bound of a tier is the upper bound of the previous tier adding one. Use `inf` to define a fallback tier."
                        }
                      },
                      "required": [
                        "up_to"
                      ],
                      "title": "tier",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "flat_amount",
                        "flat_amount_decimal",
                        "unit_amount",
                        "unit_amount_decimal",
                        "up_to"
                      ]
                    },
                    "type": "array"
                  },
                  "tiers_mode": {
                    "description": "Defines if the tiering price should be `graduated` or `volume` based. In `volume`-based tiering, the maximum quantity within a period determines the per unit price, in `graduated` tiering pricing can successively change as the quantity grows.",
                    "enum": [
                      "graduated",
                      "volume"
                    ],
                    "type": "string"
                  },
                  "transfer_lookup_key": {
                    "description": "If set to true, will atomically remove the lookup key from the existing price, and assign it to this price.",
                    "type": "boolean"
                  },
                  "transform_quantity": {
                    "description": "Apply a transformation to the reported usage or set quantity before computing the billed price. Cannot be combined with `tiers`.",
                    "properties": {
                      "divide_by": {
                        "description": "Divide usage by this number.",
                        "type": "integer"
                      },
                      "round": {
                        "description": "After division, either round the result `up` or `down`.",
                        "enum": [
                          "down",
                          "up"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "divide_by",
                      "round"
                    ],
                    "title": "transform_usage_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "divide_by",
                      "round"
                    ]
                  },
                  "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`, `unit_amount_decimal`, or `custom_unit_amount` is required, unless `billing_scheme=tiered`.",
                    "type": "integer"
                  },
                  "unit_amount_decimal": {
                    "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                    "format": "decimal",
                    "type": "string"
                  }
                },
                "required": [
                  "currency"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "active",
                  "currency",
                  "metadata",
                  "nickname",
                  "product",
                  "recurring",
                  "tax_behavior",
                  "unit_amount"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/price"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a price"
      }
    },
    "/v1/prices/search": {
      "get": {
        "description": "<p>Search for prices you’ve previously created using Stripe’s <a href=\"/docs/search#search-query-language\">Search Query Language</a>.\nDon’t use search in read-after-write flows where strict consistency is necessary. Under normal operating\nconditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up\nto an hour behind during outages. Search functionality is not available to merchants in India.</p>",
        "operationId": "GetPricesSearch",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "The search query string. See [search query language](https://stripe.com/docs/search#search-query-language) and the list of supported [query fields for prices](https://stripe.com/docs/search#query-fields-for-prices).",
            "in": "query",
            "name": "query",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/price"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "type": "boolean"
                    },
                    "next_page": {
                      "maxLength": 5000,
                      "nullable": true,
                      "type": "string"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value.",
                      "enum": [
                        "search_result"
                      ],
                      "type": "string"
                    },
                    "total_count": {
                      "description": "The total number of objects that match the query, only accurate up to 10,000.",
                      "type": "integer"
                    },
                    "url": {
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "next_page",
                    "object",
                    "url"
                  ],
                  "title": "SearchResult",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "next_page",
                    "object",
                    "total_count",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Search prices"
      }
    },
    "/v1/prices/{price}": {
      "get": {
        "description": "<p>Retrieves the price with the given ID.</p>",
        "operationId": "GetPricesPrice",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "price",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/price"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a price"
      },
      "post": {
        "description": "<p>Updates the specified price by setting the values of the parameters passed. Any parameters not provided are left unchanged.</p>",
        "operationId": "PostPricesPrice",
        "parameters": [
          {
            "in": "path",
            "name": "price",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "currency_options": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "active": {
                    "description": "Whether the price can be used for new purchases. Defaults to `true`.",
                    "type": "boolean"
                  },
                  "currency_options": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "properties": {
                            "custom_unit_amount": {
                              "description": "When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links.",
                              "properties": {
                                "enabled": {
                                  "description": "Pass in `true` to enable `custom_unit_amount`, otherwise omit `custom_unit_amount`.",
                                  "type": "boolean"
                                },
                                "maximum": {
                                  "description": "The maximum unit amount the customer can specify for this item.",
                                  "type": "integer"
                                },
                                "minimum": {
                                  "description": "The minimum unit amount the customer can specify for this item. Must be at least the minimum charge amount.",
                                  "type": "integer"
                                },
                                "preset": {
                                  "description": "The starting unit amount which can be updated by the customer.",
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "enabled"
                              ],
                              "title": "custom_unit_amount",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "enabled",
                                "preset"
                              ]
                            },
                            "tax_behavior": {
                              "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                              "enum": [
                                "exclusive",
                                "inclusive",
                                "unspecified"
                              ],
                              "type": "string"
                            },
                            "tiers": {
                              "description": "Each element represents a pricing tier. This parameter requires `billing_scheme` to be set to `tiered`. See also the documentation for `billing_scheme`.",
                              "items": {
                                "properties": {
                                  "flat_amount": {
                                    "description": "The flat billing amount for an entire tier, regardless of the number of units in the tier.",
                                    "type": "integer"
                                  },
                                  "flat_amount_decimal": {
                                    "description": "Same as `flat_amount`, but accepts a decimal value representing an integer in the minor units of the currency. Only one of `flat_amount` and `flat_amount_decimal` can be set.",
                                    "format": "decimal",
                                    "type": "string"
                                  },
                                  "unit_amount": {
                                    "description": "The per unit billing amount for each individual unit for which this tier applies.",
                                    "type": "integer"
                                  },
                                  "unit_amount_decimal": {
                                    "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                                    "format": "decimal",
                                    "type": "string"
                                  },
                                  "up_to": {
                                    "anyOf": [
                                      {
                                        "enum": [
                                          "inf"
                                        ],
                                        "maxLength": 5000,
                                        "type": "string"
                                      },
                                      {
                                        "type": "integer"
                                      }
                                    ],
                                    "description": "Specifies the upper bound of this tier. The lower bound of a tier is the upper bound of the previous tier adding one. Use `inf` to define a fallback tier."
                                  }
                                },
                                "required": [
                                  "up_to"
                                ],
                                "title": "tier",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "flat_amount",
                                  "flat_amount_decimal",
                                  "unit_amount",
                                  "unit_amount_decimal",
                                  "up_to"
                                ]
                              },
                              "type": "array"
                            },
                            "unit_amount": {
                              "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.",
                              "type": "integer"
                            },
                            "unit_amount_decimal": {
                              "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                              "format": "decimal",
                              "type": "string"
                            }
                          },
                          "title": "currency_option",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "unit_amount"
                          ]
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Prices defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies)."
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "lookup_key": {
                    "description": "A lookup key used to retrieve prices dynamically from a static string. This may be up to 200 characters.",
                    "maxLength": 200,
                    "type": "string"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "nickname": {
                    "description": "A brief description of the price, hidden from customers.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "tax_behavior": {
                    "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                    "enum": [
                      "exclusive",
                      "inclusive",
                      "unspecified"
                    ],
                    "type": "string"
                  },
                  "transfer_lookup_key": {
                    "description": "If set to true, will atomically remove the lookup key from the existing price, and assign it to this price.",
                    "type": "boolean"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "active",
                  "metadata",
                  "nickname",
                  "tax_behavior"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/price"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a price"
      }
    },
    "/v1/products": {
      "get": {
        "description": "<p>Returns a list of your products. The products are returned sorted by creation date, with the most recently created products appearing first.</p>",
        "operationId": "GetProducts",
        "parameters": [
          {
            "description": "Only return products that are active or inactive (e.g., pass `false` to list all inactive products).",
            "in": "query",
            "name": "active",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          },
          {
            "description": "Only return products that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "Only return products with the given IDs. Cannot be used with [starting_after](https://stripe.com/docs/api#list_products-starting_after) or [ending_before](https://stripe.com/docs/api#list_products-ending_before).",
            "explode": true,
            "in": "query",
            "name": "ids",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "Only return products that can be shipped (i.e., physical, not digital products).",
            "in": "query",
            "name": "shippable",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return products of this type.",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "enum": [
                "good",
                "service"
              ],
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return products with the given url.",
            "in": "query",
            "name": "url",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/product"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/products",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "ProductList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all products"
      },
      "post": {
        "description": "<p>Creates a new product object.</p>",
        "operationId": "PostProducts",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "default_price_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "images": {
                  "explode": true,
                  "style": "deepObject"
                },
                "marketing_features": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "package_dimensions": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "active": {
                    "description": "Whether the product is currently available for purchase. Defaults to `true`.",
                    "type": "boolean"
                  },
                  "default_price_data": {
                    "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object. This Price will be set as the default price for this product.",
                    "properties": {
                      "currency": {
                        "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                        "type": "string"
                      },
                      "currency_options": {
                        "additionalProperties": {
                          "properties": {
                            "custom_unit_amount": {
                              "description": "When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links.",
                              "properties": {
                                "enabled": {
                                  "description": "Pass in `true` to enable `custom_unit_amount`, otherwise omit `custom_unit_amount`.",
                                  "type": "boolean"
                                },
                                "maximum": {
                                  "description": "The maximum unit amount the customer can specify for this item.",
                                  "type": "integer"
                                },
                                "minimum": {
                                  "description": "The minimum unit amount the customer can specify for this item. Must be at least the minimum charge amount.",
                                  "type": "integer"
                                },
                                "preset": {
                                  "description": "The starting unit amount which can be updated by the customer.",
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "enabled"
                              ],
                              "title": "custom_unit_amount",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "enabled",
                                "preset"
                              ]
                            },
                            "tax_behavior": {
                              "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                              "enum": [
                                "exclusive",
                                "inclusive",
                                "unspecified"
                              ],
                              "type": "string"
                            },
                            "tiers": {
                              "description": "Each element represents a pricing tier. This parameter requires `billing_scheme` to be set to `tiered`. See also the documentation for `billing_scheme`.",
                              "items": {
                                "properties": {
                                  "flat_amount": {
                                    "description": "The flat billing amount for an entire tier, regardless of the number of units in the tier.",
                                    "type": "integer"
                                  },
                                  "flat_amount_decimal": {
                                    "description": "Same as `flat_amount`, but accepts a decimal value representing an integer in the minor units of the currency. Only one of `flat_amount` and `flat_amount_decimal` can be set.",
                                    "format": "decimal",
                                    "type": "string"
                                  },
                                  "unit_amount": {
                                    "description": "The per unit billing amount for each individual unit for which this tier applies.",
                                    "type": "integer"
                                  },
                                  "unit_amount_decimal": {
                                    "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                                    "format": "decimal",
                                    "type": "string"
                                  },
                                  "up_to": {
                                    "anyOf": [
                                      {
                                        "enum": [
                                          "inf"
                                        ],
                                        "maxLength": 5000,
                                        "type": "string"
                                      },
                                      {
                                        "type": "integer"
                                      }
                                    ],
                                    "description": "Specifies the upper bound of this tier. The lower bound of a tier is the upper bound of the previous tier adding one. Use `inf` to define a fallback tier."
                                  }
                                },
                                "required": [
                                  "up_to"
                                ],
                                "title": "tier",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "flat_amount",
                                  "flat_amount_decimal",
                                  "unit_amount",
                                  "unit_amount_decimal",
                                  "up_to"
                                ]
                              },
                              "type": "array"
                            },
                            "unit_amount": {
                              "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.",
                              "type": "integer"
                            },
                            "unit_amount_decimal": {
                              "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                              "format": "decimal",
                              "type": "string"
                            }
                          },
                          "title": "currency_option",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "unit_amount"
                          ]
                        },
                        "description": "Prices defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).",
                        "type": "object"
                      },
                      "custom_unit_amount": {
                        "description": "When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links.",
                        "properties": {
                          "enabled": {
                            "description": "Pass in `true` to enable `custom_unit_amount`, otherwise omit `custom_unit_amount`.",
                            "type": "boolean"
                          },
                          "maximum": {
                            "description": "The maximum unit amount the customer can specify for this item.",
                            "type": "integer"
                          },
                          "minimum": {
                            "description": "The minimum unit amount the customer can specify for this item. Must be at least the minimum charge amount.",
                            "type": "integer"
                          },
                          "preset": {
                            "description": "The starting unit amount which can be updated by the customer.",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "custom_unit_amount",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "enabled",
                          "preset"
                        ]
                      },
                      "recurring": {
                        "description": "The recurring components of a price such as `interval` and `interval_count`.",
                        "properties": {
                          "interval": {
                            "description": "Specifies billing frequency. Either `day`, `week`, `month` or `year`.",
                            "enum": [
                              "day",
                              "month",
                              "week",
                              "year"
                            ],
                            "type": "string"
                          },
                          "interval_count": {
                            "description": "The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "interval"
                        ],
                        "title": "recurring_adhoc",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "interval"
                        ]
                      },
                      "tax_behavior": {
                        "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                        "enum": [
                          "exclusive",
                          "inclusive",
                          "unspecified"
                        ],
                        "type": "string"
                      },
                      "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`, `unit_amount_decimal`, or `custom_unit_amount` is required.",
                        "type": "integer"
                      },
                      "unit_amount_decimal": {
                        "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                        "format": "decimal",
                        "type": "string"
                      }
                    },
                    "required": [
                      "currency"
                    ],
                    "title": "price_data_without_product",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "currency",
                      "currency_options",
                      "custom_unit_amount",
                      "recurring",
                      "unit_amount"
                    ]
                  },
                  "description": {
                    "description": "The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.",
                    "maxLength": 40000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "id": {
                    "description": "An identifier will be randomly generated by Stripe. You can optionally override this ID, but the ID must be unique across all products in your Stripe account.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "images": {
                    "description": "A list of up to 8 URLs of images for this product, meant to be displayable to the customer.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "marketing_features": {
                    "description": "A list of up to 15 marketing features for this product. These are displayed in [pricing tables](https://stripe.com/docs/payments/checkout/pricing-table).",
                    "items": {
                      "properties": {
                        "name": {
                          "description": "The marketing feature name. Up to 80 characters long.",
                          "maxLength": 5000,
                          "type": "string"
                        }
                      },
                      "required": [
                        "name"
                      ],
                      "title": "features",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "name"
                      ]
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "name": {
                    "description": "The product's name, meant to be displayable to the customer.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "package_dimensions": {
                    "description": "The dimensions of this product for shipping purposes.",
                    "properties": {
                      "height": {
                        "description": "Height, in inches. Maximum precision is 2 decimal places.",
                        "type": "number"
                      },
                      "length": {
                        "description": "Length, in inches. Maximum precision is 2 decimal places.",
                        "type": "number"
                      },
                      "weight": {
                        "description": "Weight, in ounces. Maximum precision is 2 decimal places.",
                        "type": "number"
                      },
                      "width": {
                        "description": "Width, in inches. Maximum precision is 2 decimal places.",
                        "type": "number"
                      }
                    },
                    "required": [
                      "height",
                      "length",
                      "weight",
                      "width"
                    ],
                    "title": "package_dimensions_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "height",
                      "length",
                      "weight",
                      "width"
                    ]
                  },
                  "shippable": {
                    "description": "Whether this product is shipped (i.e., physical goods).",
                    "type": "boolean"
                  },
                  "statement_descriptor": {
                    "description": "An arbitrary string to be displayed on your customer's credit card or bank statement. While most banks display this information consistently, some may display it incorrectly or not at all.\n\nThis may be up to 22 characters. The statement description may not include `<`, `>`, `\\`, `\"`, `'` characters, and will appear on your customer's statement in capital letters. Non-ASCII characters are automatically stripped.\n It must contain at least one letter. Only used for subscription payments.",
                    "maxLength": 22,
                    "type": "string"
                  },
                  "tax_code": {
                    "description": "A [tax code](https://stripe.com/docs/tax/tax-categories) ID.",
                    "type": "string"
                  },
                  "type": {
                    "description": "The type of the product. Defaults to `service` if not explicitly specified, enabling use of this product with Subscriptions and Plans. Set this parameter to `good` to use this product with Orders and SKUs. On API versions before `2018-02-05`, this field defaults to `good` for compatibility reasons.",
                    "enum": [
                      "good",
                      "service"
                    ],
                    "type": "string"
                  },
                  "unit_label": {
                    "description": "A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.",
                    "maxLength": 12,
                    "type": "string"
                  },
                  "url": {
                    "description": "A URL of a publicly-accessible webpage for this product.",
                    "maxLength": 5000,
                    "type": "string"
                  }
                },
                "required": [
                  "name"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "active",
                  "description",
                  "id",
                  "metadata",
                  "name",
                  "tax_code"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/product"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a product"
      }
    },
    "/v1/products/search": {
      "get": {
        "description": "<p>Search for products you’ve previously created using Stripe’s <a href=\"/docs/search#search-query-language\">Search Query Language</a>.\nDon’t use search in read-after-write flows where strict consistency is necessary. Under normal operating\nconditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up\nto an hour behind during outages. Search functionality is not available to merchants in India.</p>",
        "operationId": "GetProductsSearch",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "The search query string. See [search query language](https://stripe.com/docs/search#search-query-language) and the list of supported [query fields for products](https://stripe.com/docs/search#query-fields-for-products).",
            "in": "query",
            "name": "query",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/product"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "type": "boolean"
                    },
                    "next_page": {
                      "maxLength": 5000,
                      "nullable": true,
                      "type": "string"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value.",
                      "enum": [
                        "search_result"
                      ],
                      "type": "string"
                    },
                    "total_count": {
                      "description": "The total number of objects that match the query, only accurate up to 10,000.",
                      "type": "integer"
                    },
                    "url": {
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "next_page",
                    "object",
                    "url"
                  ],
                  "title": "SearchResult",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "next_page",
                    "object",
                    "total_count",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Search products"
      }
    },
    "/v1/products/{id}": {
      "delete": {
        "description": "<p>Delete a product. Deleting a product is only possible if it has no prices associated with it. Additionally, deleting a product with <code>type=good</code> is only possible if it has no SKUs associated with it.</p>",
        "operationId": "DeleteProductsId",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/deleted_product"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Delete a product"
      },
      "get": {
        "description": "<p>Retrieves the details of an existing product. Supply the unique product ID from either a product creation request or the product list, and Stripe will return the corresponding product information.</p>",
        "operationId": "GetProductsId",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/product"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a product"
      },
      "post": {
        "description": "<p>Updates the specific product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.</p>",
        "operationId": "PostProductsId",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "description": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "images": {
                  "explode": true,
                  "style": "deepObject"
                },
                "marketing_features": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "package_dimensions": {
                  "explode": true,
                  "style": "deepObject"
                },
                "tax_code": {
                  "explode": true,
                  "style": "deepObject"
                },
                "unit_label": {
                  "explode": true,
                  "style": "deepObject"
                },
                "url": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "active": {
                    "description": "Whether the product is available for purchase.",
                    "type": "boolean"
                  },
                  "default_price": {
                    "description": "The ID of the [Price](https://stripe.com/docs/api/prices) object that is the default price for this product.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "description": {
                    "anyOf": [
                      {
                        "maxLength": 40000,
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes."
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "images": {
                    "anyOf": [
                      {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A list of up to 8 URLs of images for this product, meant to be displayable to the customer."
                  },
                  "marketing_features": {
                    "anyOf": [
                      {
                        "items": {
                          "properties": {
                            "name": {
                              "description": "The marketing feature name. Up to 80 characters long.",
                              "maxLength": 5000,
                              "type": "string"
                            }
                          },
                          "required": [
                            "name"
                          ],
                          "title": "features",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "name"
                          ]
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A list of up to 15 marketing features for this product. These are displayed in [pricing tables](https://stripe.com/docs/payments/checkout/pricing-table)."
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "name": {
                    "description": "The product's name, meant to be displayable to the customer.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "package_dimensions": {
                    "anyOf": [
                      {
                        "properties": {
                          "height": {
                            "description": "Height, in inches. Maximum precision is 2 decimal places.",
                            "type": "number"
                          },
                          "length": {
                            "description": "Length, in inches. Maximum precision is 2 decimal places.",
                            "type": "number"
                          },
                          "weight": {
                            "description": "Weight, in ounces. Maximum precision is 2 decimal places.",
                            "type": "number"
                          },
                          "width": {
                            "description": "Width, in inches. Maximum precision is 2 decimal places.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "height",
                          "length",
                          "weight",
                          "width"
                        ],
                        "title": "package_dimensions_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "height",
                          "length",
                          "weight",
                          "width"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The dimensions of this product for shipping purposes."
                  },
                  "shippable": {
                    "description": "Whether this product is shipped (i.e., physical goods).",
                    "type": "boolean"
                  },
                  "statement_descriptor": {
                    "description": "An arbitrary string to be displayed on your customer's credit card or bank statement. While most banks display this information consistently, some may display it incorrectly or not at all.\n\nThis may be up to 22 characters. The statement description may not include `<`, `>`, `\\`, `\"`, `'` characters, and will appear on your customer's statement in capital letters. Non-ASCII characters are automatically stripped.\n It must contain at least one letter. May only be set if `type=service`. Only used for subscription payments.",
                    "maxLength": 22,
                    "type": "string"
                  },
                  "tax_code": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A [tax code](https://stripe.com/docs/tax/tax-categories) ID."
                  },
                  "unit_label": {
                    "anyOf": [
                      {
                        "maxLength": 12,
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal. May only be set if `type=service`."
                  },
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A URL of a publicly-accessible webpage for this product."
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "active",
                  "default_price",
                  "description",
                  "metadata",
                  "name",
                  "tax_code"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/product"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a product"
      }
    },
    "/v1/products/{product}/features": {
      "get": {
        "description": "<p>Retrieve a list of features for a product</p>",
        "operationId": "GetProductsProductFeatures",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "in": "path",
            "name": "product",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/product_feature"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "EntitlementsResourceProductFeatureList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all features attached to a product"
      },
      "post": {
        "description": "<p>Creates a product_feature, which represents a feature attachment to a product</p>",
        "operationId": "PostProductsProductFeatures",
        "parameters": [
          {
            "in": "path",
            "name": "product",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "entitlement_feature": {
                    "description": "The ID of the [Feature](https://stripe.com/docs/api/entitlements/feature) object attached to this product.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "entitlement_feature"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "entitlement_feature"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/product_feature"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Attach a feature to a product"
      }
    },
    "/v1/products/{product}/features/{id}": {
      "delete": {
        "description": "<p>Deletes the feature attachment to a product</p>",
        "operationId": "DeleteProductsProductFeaturesId",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "product",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/deleted_product_feature"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Remove a feature from a product"
      },
      "get": {
        "description": "<p>Retrieves a product_feature, which represents a feature attachment to a product</p>",
        "operationId": "GetProductsProductFeaturesId",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "The ID of the product_feature.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "The ID of the product.",
            "in": "path",
            "name": "product",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/product_feature"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a product_feature"
      }
    },
    "/v1/promotion_codes": {
      "get": {
        "description": "<p>Returns a list of your promotion codes.</p>",
        "operationId": "GetPromotionCodes",
        "parameters": [
          {
            "description": "Filter promotion codes by whether they are active.",
            "in": "query",
            "name": "active",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          },
          {
            "description": "Only return promotion codes that have this case-insensitive code.",
            "in": "query",
            "name": "code",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return promotion codes for this coupon.",
            "in": "query",
            "name": "coupon",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "A filter on the list, based on the object `created` field. The value can be a string with an integer Unix timestamp, or it can be a dictionary with a number of different query options.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "Only return promotion codes that are restricted to this customer.",
            "in": "query",
            "name": "customer",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/promotion_code"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/promotion_codes",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "PromotionCodesResourcePromotionCodeList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all promotion codes"
      },
      "post": {
        "description": "<p>A promotion code points to a coupon. You can optionally restrict the code to a specific customer, redemption limit, and expiration date.</p>",
        "operationId": "PostPromotionCodes",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "restrictions": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "active": {
                    "description": "Whether the promotion code is currently active.",
                    "type": "boolean"
                  },
                  "code": {
                    "description": "The customer-facing code. Regardless of case, this code must be unique across all active promotion codes for a specific customer. Valid characters are lower case letters (a-z), upper case letters (A-Z), and digits (0-9).\n\nIf left blank, we will generate one automatically.",
                    "maxLength": 500,
                    "type": "string"
                  },
                  "coupon": {
                    "description": "The coupon for this promotion code.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "customer": {
                    "description": "The customer that this promotion code can be used by. If not set, the promotion code can be used by all customers.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "expires_at": {
                    "description": "The timestamp at which this promotion code will expire. If the coupon has specified a `redeems_by`, then this value cannot be after the coupon's `redeems_by`.",
                    "format": "unix-time",
                    "type": "integer"
                  },
                  "max_redemptions": {
                    "description": "A positive integer specifying the number of times the promotion code can be redeemed. If the coupon has specified a `max_redemptions`, then this value cannot be greater than the coupon's `max_redemptions`.",
                    "type": "integer"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "restrictions": {
                    "description": "Settings that restrict the redemption of the promotion code.",
                    "properties": {
                      "currency_options": {
                        "additionalProperties": {
                          "properties": {
                            "minimum_amount": {
                              "description": "Minimum amount required to redeem this Promotion Code into a Coupon (e.g., a purchase must be $100 or more to work).",
                              "type": "integer"
                            }
                          },
                          "title": "currency_option",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "minimum_amount"
                          ]
                        },
                        "description": "Promotion codes defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).",
                        "type": "object"
                      },
                      "first_time_transaction": {
                        "description": "A Boolean indicating if the Promotion Code should only be redeemed for Customers without any successful payments or invoices",
                        "type": "boolean"
                      },
                      "minimum_amount": {
                        "description": "Minimum amount required to redeem this Promotion Code into a Coupon (e.g., a purchase must be $100 or more to work).",
                        "type": "integer"
                      },
                      "minimum_amount_currency": {
                        "description": "Three-letter [ISO code](https://stripe.com/docs/currencies) for minimum_amount",
                        "type": "string"
                      }
                    },
                    "title": "restrictions_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "currency_options",
                      "first_time_transaction",
                      "minimum_amount",
                      "minimum_amount_currency"
                    ]
                  }
                },
                "required": [
                  "coupon"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "code",
                  "coupon",
                  "metadata"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/promotion_code"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a promotion code"
      }
    },
    "/v1/promotion_codes/{promotion_code}": {
      "get": {
        "description": "<p>Retrieves the promotion code with the given ID. In order to retrieve a promotion code by the customer-facing <code>code</code> use <a href=\"/docs/api/promotion_codes/list\">list</a> with the desired <code>code</code>.</p>",
        "operationId": "GetPromotionCodesPromotionCode",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "promotion_code",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/promotion_code"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a promotion code"
      },
      "post": {
        "description": "<p>Updates the specified promotion code by setting the values of the parameters passed. Most fields are, by design, not editable.</p>",
        "operationId": "PostPromotionCodesPromotionCode",
        "parameters": [
          {
            "in": "path",
            "name": "promotion_code",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "restrictions": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "active": {
                    "description": "Whether the promotion code is currently active. A promotion code can only be reactivated when the coupon is still valid and the promotion code is otherwise redeemable.",
                    "type": "boolean"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "restrictions": {
                    "description": "Settings that restrict the redemption of the promotion code.",
                    "properties": {
                      "currency_options": {
                        "additionalProperties": {
                          "properties": {
                            "minimum_amount": {
                              "description": "Minimum amount required to redeem this Promotion Code into a Coupon (e.g., a purchase must be $100 or more to work).",
                              "type": "integer"
                            }
                          },
                          "title": "currency_option",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "minimum_amount"
                          ]
                        },
                        "description": "Promotion codes defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).",
                        "type": "object"
                      }
                    },
                    "title": "restrictions_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "currency_options"
                    ]
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/promotion_code"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a promotion code"
      }
    },
    "/v1/quotes": {
      "get": {
        "description": "<p>Returns a list of your quotes.</p>",
        "operationId": "GetQuotes",
        "parameters": [
          {
            "description": "The ID of the customer whose quotes will be retrieved.",
            "in": "query",
            "name": "customer",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "The status of the quote.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "accepted",
                "canceled",
                "draft",
                "open"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "style": "form"
          },
          {
            "description": "Provides a list of quotes that are associated with the specified test clock. The response will not include quotes with test clocks if this and the customer parameter is not set.",
            "in": "query",
            "name": "test_clock",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/quote"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/quotes",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "QuotesResourceQuoteList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all quotes"
      },
      "post": {
        "description": "<p>A quote models prices and services for a customer. Default options for <code>header</code>, <code>description</code>, <code>footer</code>, and <code>expires_at</code> can be set in the dashboard via the <a href=\"https://dashboard.stripe.com/settings/billing/quote\">quote template</a>.</p>",
        "operationId": "PostQuotes",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "application_fee_amount": {
                  "explode": true,
                  "style": "deepObject"
                },
                "application_fee_percent": {
                  "explode": true,
                  "style": "deepObject"
                },
                "automatic_tax": {
                  "explode": true,
                  "style": "deepObject"
                },
                "default_tax_rates": {
                  "explode": true,
                  "style": "deepObject"
                },
                "description": {
                  "explode": true,
                  "style": "deepObject"
                },
                "discounts": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "footer": {
                  "explode": true,
                  "style": "deepObject"
                },
                "from_quote": {
                  "explode": true,
                  "style": "deepObject"
                },
                "header": {
                  "explode": true,
                  "style": "deepObject"
                },
                "invoice_settings": {
                  "explode": true,
                  "style": "deepObject"
                },
                "line_items": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "on_behalf_of": {
                  "explode": true,
                  "style": "deepObject"
                },
                "subscription_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "transfer_data": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "application_fee_amount": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. There cannot be any line items with recurring prices when using this field."
                  },
                  "application_fee_percent": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. There must be at least 1 line item with a recurring price to use this field."
                  },
                  "automatic_tax": {
                    "description": "Settings for automatic tax lookup for this quote and resulting invoices and subscriptions.",
                    "properties": {
                      "enabled": {
                        "description": "Controls whether Stripe will automatically compute tax on the resulting invoices or subscriptions as well as the quote itself.",
                        "type": "boolean"
                      },
                      "liability": {
                        "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.",
                        "properties": {
                          "account": {
                            "description": "The connected account being referenced when `type` is `account`.",
                            "type": "string"
                          },
                          "type": {
                            "description": "Type of the account referenced in the request.",
                            "enum": [
                              "account",
                              "self"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account",
                          "type"
                        ]
                      }
                    },
                    "required": [
                      "enabled"
                    ],
                    "title": "automatic_tax_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "enabled",
                      "liability"
                    ]
                  },
                  "collection_method": {
                    "description": "Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay invoices at the end of the subscription cycle or at invoice finalization using the default payment method attached to the subscription or customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`. Defaults to `charge_automatically`.",
                    "enum": [
                      "charge_automatically",
                      "send_invoice"
                    ],
                    "type": "string"
                  },
                  "customer": {
                    "description": "The customer for which this quote belongs to. A customer is required before finalizing the quote. Once specified, it cannot be changed.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "default_tax_rates": {
                    "anyOf": [
                      {
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The tax rates that will apply to any line item that does not have `tax_rates` set."
                  },
                  "description": {
                    "anyOf": [
                      {
                        "maxLength": 500,
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A description that will be displayed on the quote PDF. If no value is passed, the default description configured in your [quote template settings](https://dashboard.stripe.com/settings/billing/quote) will be used."
                  },
                  "discounts": {
                    "anyOf": [
                      {
                        "items": {
                          "properties": {
                            "coupon": {
                              "description": "ID of the coupon to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "discount": {
                              "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "promotion_code": {
                              "description": "ID of the promotion code to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            }
                          },
                          "title": "discounts_data_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "coupon"
                          ]
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The discounts applied to the quote."
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "expires_at": {
                    "description": "A future timestamp on which the quote will be canceled if in `open` or `draft` status. Measured in seconds since the Unix epoch. If no value is passed, the default expiration date configured in your [quote template settings](https://dashboard.stripe.com/settings/billing/quote) will be used.",
                    "format": "unix-time",
                    "type": "integer"
                  },
                  "footer": {
                    "anyOf": [
                      {
                        "maxLength": 500,
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A footer that will be displayed on the quote PDF. If no value is passed, the default footer configured in your [quote template settings](https://dashboard.stripe.com/settings/billing/quote) will be used."
                  },
                  "from_quote": {
                    "description": "Clone an existing quote. The new quote will be created in `status=draft`. When using this parameter, you cannot specify any other parameters except for `expires_at`.",
                    "properties": {
                      "is_revision": {
                        "description": "Whether this quote is a revision of the previous quote.",
                        "type": "boolean"
                      },
                      "quote": {
                        "description": "The `id` of the quote that will be cloned.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "required": [
                      "quote"
                    ],
                    "title": "from_quote_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "is_revision",
                      "quote"
                    ]
                  },
                  "header": {
                    "anyOf": [
                      {
                        "maxLength": 50,
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A header that will be displayed on the quote PDF. If no value is passed, the default header configured in your [quote template settings](https://dashboard.stripe.com/settings/billing/quote) will be used."
                  },
                  "invoice_settings": {
                    "description": "All invoices will be billed using the specified settings.",
                    "properties": {
                      "days_until_due": {
                        "description": "Number of days within which a customer must pay the invoice generated by this quote. This value will be `null` for quotes where `collection_method=charge_automatically`.",
                        "type": "integer"
                      },
                      "issuer": {
                        "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.",
                        "properties": {
                          "account": {
                            "description": "The connected account being referenced when `type` is `account`.",
                            "type": "string"
                          },
                          "type": {
                            "description": "Type of the account referenced in the request.",
                            "enum": [
                              "account",
                              "self"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account",
                          "type"
                        ]
                      }
                    },
                    "title": "quote_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "custom_fields",
                      "days_until_due",
                      "description",
                      "footer",
                      "issuer"
                    ]
                  },
                  "line_items": {
                    "description": "A list of line items the customer is being quoted for. Each line item includes information about the product, the quantity, and the resulting cost.",
                    "items": {
                      "properties": {
                        "discounts": {
                          "anyOf": [
                            {
                              "items": {
                                "properties": {
                                  "coupon": {
                                    "description": "ID of the coupon to create a new discount for.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "discount": {
                                    "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "promotion_code": {
                                    "description": "ID of the promotion code to create a new discount for.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "title": "discounts_data_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "coupon"
                                ]
                              },
                              "type": "array"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "The discounts applied to this line item."
                        },
                        "price": {
                          "description": "The ID of the price object. One of `price` or `price_data` is required.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "price_data": {
                          "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
                          "properties": {
                            "currency": {
                              "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                              "type": "string"
                            },
                            "product": {
                              "description": "The ID of the product that this price will belong to.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "recurring": {
                              "description": "The recurring components of a price such as `interval` and `interval_count`.",
                              "properties": {
                                "interval": {
                                  "description": "Specifies billing frequency. Either `day`, `week`, `month` or `year`.",
                                  "enum": [
                                    "day",
                                    "month",
                                    "week",
                                    "year"
                                  ],
                                  "type": "string"
                                },
                                "interval_count": {
                                  "description": "The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).",
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "interval"
                              ],
                              "title": "recurring_adhoc",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "interval"
                              ]
                            },
                            "tax_behavior": {
                              "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                              "enum": [
                                "exclusive",
                                "inclusive",
                                "unspecified"
                              ],
                              "type": "string"
                            },
                            "unit_amount": {
                              "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.",
                              "type": "integer"
                            },
                            "unit_amount_decimal": {
                              "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                              "format": "decimal",
                              "type": "string"
                            }
                          },
                          "required": [
                            "currency",
                            "product"
                          ],
                          "title": "price_data",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "currency",
                            "product",
                            "unit_amount"
                          ]
                        },
                        "quantity": {
                          "description": "The quantity of the line item.",
                          "type": "integer"
                        },
                        "tax_rates": {
                          "anyOf": [
                            {
                              "items": {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "type": "array"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "The tax rates which apply to the line item. When set, the `default_tax_rates` on the quote do not apply to this line item."
                        }
                      },
                      "title": "line_item_create_params",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "price",
                        "quantity"
                      ]
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "on_behalf_of": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The account on behalf of which to charge."
                  },
                  "subscription_data": {
                    "description": "When creating a subscription or subscription schedule, the specified configuration data will be used. There must be at least one line item with a recurring price for a subscription or subscription schedule to be created. A subscription schedule is created if `subscription_data[effective_date]` is present and in the future, otherwise a subscription is created.",
                    "properties": {
                      "description": {
                        "description": "The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.",
                        "maxLength": 500,
                        "type": "string"
                      },
                      "effective_date": {
                        "anyOf": [
                          {
                            "enum": [
                              "current_period_end"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          },
                          {
                            "format": "unix-time",
                            "type": "integer"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "When creating a new subscription, the date of which the subscription schedule will start after the quote is accepted. When updating a subscription, the date of which the subscription will be updated using a subscription schedule. The special value `current_period_end` can be provided to update a subscription at the end of its current period. The `effective_date` is ignored if it is in the past when the quote is accepted."
                      },
                      "metadata": {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that will set metadata on the subscription or subscription schedule when the quote is accepted. If a recurring price is included in `line_items`, this field will be passed to the resulting subscription's `metadata` field. If `subscription_data.effective_date` is used, this field will be passed to the resulting subscription schedule's `phases.metadata` field. Unlike object-level metadata, this field is declarative. Updates will clear prior values.",
                        "type": "object"
                      },
                      "trial_period_days": {
                        "anyOf": [
                          {
                            "type": "integer"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Integer representing the number of trial period days before the customer is charged for the first time."
                      }
                    },
                    "title": "subscription_data_create_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "bill_on_acceptance",
                      "billing_behavior",
                      "billing_cycle_anchor",
                      "description",
                      "effective_date",
                      "end_behavior",
                      "from_subscription",
                      "metadata",
                      "prebilling",
                      "proration_behavior",
                      "trial_period_days"
                    ]
                  },
                  "test_clock": {
                    "description": "ID of the test clock to attach to the quote.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "transfer_data": {
                    "anyOf": [
                      {
                        "properties": {
                          "amount": {
                            "description": "The amount that will be transferred automatically when the invoice is paid. If no amount is set, the full amount is transferred. There cannot be any line items with recurring prices when using this field.",
                            "type": "integer"
                          },
                          "amount_percent": {
                            "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. There must be at least 1 line item with a recurring price to use this field.",
                            "type": "number"
                          },
                          "destination": {
                            "description": "ID of an existing, connected Stripe account.",
                            "type": "string"
                          }
                        },
                        "required": [
                          "destination"
                        ],
                        "title": "transfer_data_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "amount",
                          "amount_percent",
                          "destination"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The data with which to automatically create a Transfer for each of the invoices."
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "line_items",
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/quote"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a quote"
      }
    },
    "/v1/quotes/{quote}": {
      "get": {
        "description": "<p>Retrieves the quote with the given ID.</p>",
        "operationId": "GetQuotesQuote",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "quote",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/quote"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a quote"
      },
      "post": {
        "description": "<p>A quote models prices and services for a customer.</p>",
        "operationId": "PostQuotesQuote",
        "parameters": [
          {
            "in": "path",
            "name": "quote",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "application_fee_amount": {
                  "explode": true,
                  "style": "deepObject"
                },
                "application_fee_percent": {
                  "explode": true,
                  "style": "deepObject"
                },
                "automatic_tax": {
                  "explode": true,
                  "style": "deepObject"
                },
                "default_tax_rates": {
                  "explode": true,
                  "style": "deepObject"
                },
                "description": {
                  "explode": true,
                  "style": "deepObject"
                },
                "discounts": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "footer": {
                  "explode": true,
                  "style": "deepObject"
                },
                "header": {
                  "explode": true,
                  "style": "deepObject"
                },
                "invoice_settings": {
                  "explode": true,
                  "style": "deepObject"
                },
                "line_items": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "on_behalf_of": {
                  "explode": true,
                  "style": "deepObject"
                },
                "subscription_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "transfer_data": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "application_fee_amount": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. There cannot be any line items with recurring prices when using this field."
                  },
                  "application_fee_percent": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. There must be at least 1 line item with a recurring price to use this field."
                  },
                  "automatic_tax": {
                    "description": "Settings for automatic tax lookup for this quote and resulting invoices and subscriptions.",
                    "properties": {
                      "enabled": {
                        "description": "Controls whether Stripe will automatically compute tax on the resulting invoices or subscriptions as well as the quote itself.",
                        "type": "boolean"
                      },
                      "liability": {
                        "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.",
                        "properties": {
                          "account": {
                            "description": "The connected account being referenced when `type` is `account`.",
                            "type": "string"
                          },
                          "type": {
                            "description": "Type of the account referenced in the request.",
                            "enum": [
                              "account",
                              "self"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account",
                          "type"
                        ]
                      }
                    },
                    "required": [
                      "enabled"
                    ],
                    "title": "automatic_tax_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "enabled",
                      "liability"
                    ]
                  },
                  "collection_method": {
                    "description": "Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay invoices at the end of the subscription cycle or at invoice finalization using the default payment method attached to the subscription or customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`. Defaults to `charge_automatically`.",
                    "enum": [
                      "charge_automatically",
                      "send_invoice"
                    ],
                    "type": "string"
                  },
                  "customer": {
                    "description": "The customer for which this quote belongs to. A customer is required before finalizing the quote. Once specified, it cannot be changed.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "default_tax_rates": {
                    "anyOf": [
                      {
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The tax rates that will apply to any line item that does not have `tax_rates` set."
                  },
                  "description": {
                    "anyOf": [
                      {
                        "maxLength": 500,
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A description that will be displayed on the quote PDF."
                  },
                  "discounts": {
                    "anyOf": [
                      {
                        "items": {
                          "properties": {
                            "coupon": {
                              "description": "ID of the coupon to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "discount": {
                              "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "promotion_code": {
                              "description": "ID of the promotion code to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            }
                          },
                          "title": "discounts_data_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "coupon"
                          ]
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The discounts applied to the quote."
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "expires_at": {
                    "description": "A future timestamp on which the quote will be canceled if in `open` or `draft` status. Measured in seconds since the Unix epoch.",
                    "format": "unix-time",
                    "type": "integer"
                  },
                  "footer": {
                    "anyOf": [
                      {
                        "maxLength": 500,
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A footer that will be displayed on the quote PDF."
                  },
                  "header": {
                    "anyOf": [
                      {
                        "maxLength": 50,
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A header that will be displayed on the quote PDF."
                  },
                  "invoice_settings": {
                    "description": "All invoices will be billed using the specified settings.",
                    "properties": {
                      "days_until_due": {
                        "description": "Number of days within which a customer must pay the invoice generated by this quote. This value will be `null` for quotes where `collection_method=charge_automatically`.",
                        "type": "integer"
                      },
                      "issuer": {
                        "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.",
                        "properties": {
                          "account": {
                            "description": "The connected account being referenced when `type` is `account`.",
                            "type": "string"
                          },
                          "type": {
                            "description": "Type of the account referenced in the request.",
                            "enum": [
                              "account",
                              "self"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account",
                          "type"
                        ]
                      }
                    },
                    "title": "quote_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "custom_fields",
                      "days_until_due",
                      "description",
                      "footer",
                      "issuer"
                    ]
                  },
                  "line_items": {
                    "description": "A list of line items the customer is being quoted for. Each line item includes information about the product, the quantity, and the resulting cost.",
                    "items": {
                      "properties": {
                        "discounts": {
                          "anyOf": [
                            {
                              "items": {
                                "properties": {
                                  "coupon": {
                                    "description": "ID of the coupon to create a new discount for.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "discount": {
                                    "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "promotion_code": {
                                    "description": "ID of the promotion code to create a new discount for.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "title": "discounts_data_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "coupon"
                                ]
                              },
                              "type": "array"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "The discounts applied to this line item."
                        },
                        "id": {
                          "description": "The ID of an existing line item on the quote.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "price": {
                          "description": "The ID of the price object. One of `price` or `price_data` is required.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "price_data": {
                          "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
                          "properties": {
                            "currency": {
                              "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                              "type": "string"
                            },
                            "product": {
                              "description": "The ID of the product that this price will belong to.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "recurring": {
                              "description": "The recurring components of a price such as `interval` and `interval_count`.",
                              "properties": {
                                "interval": {
                                  "description": "Specifies billing frequency. Either `day`, `week`, `month` or `year`.",
                                  "enum": [
                                    "day",
                                    "month",
                                    "week",
                                    "year"
                                  ],
                                  "type": "string"
                                },
                                "interval_count": {
                                  "description": "The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).",
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "interval"
                              ],
                              "title": "recurring_adhoc",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "interval"
                              ]
                            },
                            "tax_behavior": {
                              "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                              "enum": [
                                "exclusive",
                                "inclusive",
                                "unspecified"
                              ],
                              "type": "string"
                            },
                            "unit_amount": {
                              "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.",
                              "type": "integer"
                            },
                            "unit_amount_decimal": {
                              "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                              "format": "decimal",
                              "type": "string"
                            }
                          },
                          "required": [
                            "currency",
                            "product"
                          ],
                          "title": "price_data",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "currency",
                            "product",
                            "unit_amount"
                          ]
                        },
                        "quantity": {
                          "description": "The quantity of the line item.",
                          "type": "integer"
                        },
                        "tax_rates": {
                          "anyOf": [
                            {
                              "items": {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "type": "array"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "The tax rates which apply to the line item. When set, the `default_tax_rates` on the quote do not apply to this line item."
                        }
                      },
                      "title": "line_item_update_params",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "id",
                        "price",
                        "quantity"
                      ]
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "on_behalf_of": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The account on behalf of which to charge."
                  },
                  "subscription_data": {
                    "description": "When creating a subscription or subscription schedule, the specified configuration data will be used. There must be at least one line item with a recurring price for a subscription or subscription schedule to be created. A subscription schedule is created if `subscription_data[effective_date]` is present and in the future, otherwise a subscription is created.",
                    "properties": {
                      "description": {
                        "anyOf": [
                          {
                            "maxLength": 500,
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs."
                      },
                      "effective_date": {
                        "anyOf": [
                          {
                            "enum": [
                              "current_period_end"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          },
                          {
                            "format": "unix-time",
                            "type": "integer"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "When creating a new subscription, the date of which the subscription schedule will start after the quote is accepted. When updating a subscription, the date of which the subscription will be updated using a subscription schedule. The special value `current_period_end` can be provided to update a subscription at the end of its current period. The `effective_date` is ignored if it is in the past when the quote is accepted."
                      },
                      "metadata": {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that will set metadata on the subscription or subscription schedule when the quote is accepted. If a recurring price is included in `line_items`, this field will be passed to the resulting subscription's `metadata` field. If `subscription_data.effective_date` is used, this field will be passed to the resulting subscription schedule's `phases.metadata` field. Unlike object-level metadata, this field is declarative. Updates will clear prior values.",
                        "type": "object"
                      },
                      "trial_period_days": {
                        "anyOf": [
                          {
                            "type": "integer"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Integer representing the number of trial period days before the customer is charged for the first time."
                      }
                    },
                    "title": "subscription_data_update_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "bill_on_acceptance",
                      "billing_behavior",
                      "billing_cycle_anchor",
                      "description",
                      "effective_date",
                      "end_behavior",
                      "metadata",
                      "prebilling",
                      "proration_behavior",
                      "trial_period_days"
                    ]
                  },
                  "transfer_data": {
                    "anyOf": [
                      {
                        "properties": {
                          "amount": {
                            "description": "The amount that will be transferred automatically when the invoice is paid. If no amount is set, the full amount is transferred. There cannot be any line items with recurring prices when using this field.",
                            "type": "integer"
                          },
                          "amount_percent": {
                            "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. There must be at least 1 line item with a recurring price to use this field.",
                            "type": "number"
                          },
                          "destination": {
                            "description": "ID of an existing, connected Stripe account.",
                            "type": "string"
                          }
                        },
                        "required": [
                          "destination"
                        ],
                        "title": "transfer_data_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "amount",
                          "amount_percent",
                          "destination"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The data with which to automatically create a Transfer for each of the invoices."
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "line_items",
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/quote"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a quote"
      }
    },
    "/v1/quotes/{quote}/accept": {
      "post": {
        "description": "<p>Accepts the specified quote.</p>",
        "operationId": "PostQuotesQuoteAccept",
        "parameters": [
          {
            "in": "path",
            "name": "quote",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/quote"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Accept a quote"
      }
    },
    "/v1/quotes/{quote}/cancel": {
      "post": {
        "description": "<p>Cancels the quote.</p>",
        "operationId": "PostQuotesQuoteCancel",
        "parameters": [
          {
            "in": "path",
            "name": "quote",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/quote"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Cancel a quote"
      }
    },
    "/v1/quotes/{quote}/computed_upfront_line_items": {
      "get": {
        "description": "<p>When retrieving a quote, there is an includable <a href=\"https://stripe.com/docs/api/quotes/object#quote_object-computed-upfront-line_items\"><strong>computed.upfront.line_items</strong></a> property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of upfront line items.</p>",
        "operationId": "GetQuotesQuoteComputedUpfrontLineItems",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "in": "path",
            "name": "quote",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/item"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "QuotesResourceListLineItems",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a quote's upfront line items"
      }
    },
    "/v1/quotes/{quote}/finalize": {
      "post": {
        "description": "<p>Finalizes the quote.</p>",
        "operationId": "PostQuotesQuoteFinalize",
        "parameters": [
          {
            "in": "path",
            "name": "quote",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "expires_at": {
                    "description": "A future timestamp on which the quote will be canceled if in `open` or `draft` status. Measured in seconds since the Unix epoch.",
                    "format": "unix-time",
                    "type": "integer"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/quote"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Finalize a quote"
      }
    },
    "/v1/quotes/{quote}/line_items": {
      "get": {
        "description": "<p>When retrieving a quote, there is an includable <strong>line_items</strong> property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.</p>",
        "operationId": "GetQuotesQuoteLineItems",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "in": "path",
            "name": "quote",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/item"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "QuotesResourceListLineItems",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a quote's line items"
      }
    },
    "/v1/quotes/{quote}/pdf": {
      "get": {
        "description": "<p>Download the PDF for a finalized quote. Explanation for special handling can be found <a href=\"https://docs.stripe.com/quotes/overview#quote_pdf\">here</a></p>",
        "operationId": "GetQuotesQuotePdf",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "quote",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/pdf": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "servers": [
          {
            "url": "https://files.stripe.com/"
          }
        ],
        "summary": "Download quote PDF"
      }
    },
    "/v1/radar/early_fraud_warnings": {
      "get": {
        "description": "<p>Returns a list of early fraud warnings.</p>",
        "operationId": "GetRadarEarlyFraudWarnings",
        "parameters": [
          {
            "description": "Only return early fraud warnings for the charge specified by this charge ID.",
            "in": "query",
            "name": "charge",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return early fraud warnings that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "Only return early fraud warnings for charges that were created by the PaymentIntent specified by this PaymentIntent ID.",
            "in": "query",
            "name": "payment_intent",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/radar.early_fraud_warning"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/radar/early_fraud_warnings",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "RadarEarlyFraudWarningList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all early fraud warnings"
      }
    },
    "/v1/radar/early_fraud_warnings/{early_fraud_warning}": {
      "get": {
        "description": "<p>Retrieves the details of an early fraud warning that has previously been created. </p>\n\n<p>Please refer to the <a href=\"#early_fraud_warning_object\">early fraud warning</a> object reference for more details.</p>",
        "operationId": "GetRadarEarlyFraudWarningsEarlyFraudWarning",
        "parameters": [
          {
            "in": "path",
            "name": "early_fraud_warning",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/radar.early_fraud_warning"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve an early fraud warning"
      }
    },
    "/v1/radar/value_list_items": {
      "get": {
        "description": "<p>Returns a list of <code>ValueListItem</code> objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.</p>",
        "operationId": "GetRadarValueListItems",
        "parameters": [
          {
            "description": "Only return items that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Return items belonging to the parent list whose value matches the specified value (using an \"is like\" match).",
            "in": "query",
            "name": "value",
            "required": false,
            "schema": {
              "maxLength": 800,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Identifier for the parent value list this item belongs to.",
            "in": "query",
            "name": "value_list",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/radar.value_list_item"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/radar/value_list_items",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "RadarListListItemList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all value list items"
      },
      "post": {
        "description": "<p>Creates a new <code>ValueListItem</code> object, which is added to the specified parent value list.</p>",
        "operationId": "PostRadarValueListItems",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "value": {
                    "description": "The value of the item (whose type must match the type of the parent value list).",
                    "maxLength": 800,
                    "type": "string"
                  },
                  "value_list": {
                    "description": "The identifier of the value list which the created item will be added to.",
                    "maxLength": 5000,
                    "type": "string"
                  }
                },
                "required": [
                  "value",
                  "value_list"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "value",
                  "value_list"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/radar.value_list_item"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a value list item"
      }
    },
    "/v1/radar/value_list_items/{item}": {
      "delete": {
        "description": "<p>Deletes a <code>ValueListItem</code> object, removing it from its parent value list.</p>",
        "operationId": "DeleteRadarValueListItemsItem",
        "parameters": [
          {
            "in": "path",
            "name": "item",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/deleted_radar.value_list_item"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Delete a value list item"
      },
      "get": {
        "description": "<p>Retrieves a <code>ValueListItem</code> object.</p>",
        "operationId": "GetRadarValueListItemsItem",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "item",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/radar.value_list_item"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a value list item"
      }
    },
    "/v1/radar/value_lists": {
      "get": {
        "description": "<p>Returns a list of <code>ValueList</code> objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.</p>",
        "operationId": "GetRadarValueLists",
        "parameters": [
          {
            "description": "The alias used to reference the value list when writing rules.",
            "in": "query",
            "name": "alias",
            "required": false,
            "schema": {
              "maxLength": 100,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "A value contained within a value list - returns all value lists containing this value.",
            "in": "query",
            "name": "contains",
            "required": false,
            "schema": {
              "maxLength": 800,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return value lists that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/radar.value_list"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/radar/value_lists",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "RadarListListList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all value lists"
      },
      "post": {
        "description": "<p>Creates a new <code>ValueList</code> object, which can then be referenced in rules.</p>",
        "operationId": "PostRadarValueLists",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "alias": {
                    "description": "The name of the value list for use in rules.",
                    "maxLength": 100,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "item_type": {
                    "description": "Type of the items in the value list. One of `card_fingerprint`, `us_bank_account_fingerprint`, `sepa_debit_fingerprint`, `card_bin`, `email`, `ip_address`, `country`, `string`, `case_sensitive_string`, or `customer_id`. Use `string` if the item type is unknown or mixed.",
                    "enum": [
                      "card_bin",
                      "card_fingerprint",
                      "case_sensitive_string",
                      "country",
                      "customer_id",
                      "email",
                      "ip_address",
                      "sepa_debit_fingerprint",
                      "string",
                      "us_bank_account_fingerprint"
                    ],
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "name": {
                    "description": "The human-readable name of the value list.",
                    "maxLength": 100,
                    "type": "string"
                  }
                },
                "required": [
                  "alias",
                  "name"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "alias",
                  "item_type",
                  "metadata",
                  "name"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/radar.value_list"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a value list"
      }
    },
    "/v1/radar/value_lists/{value_list}": {
      "delete": {
        "description": "<p>Deletes a <code>ValueList</code> object, also deleting any items contained within the value list. To be deleted, a value list must not be referenced in any rules.</p>",
        "operationId": "DeleteRadarValueListsValueList",
        "parameters": [
          {
            "in": "path",
            "name": "value_list",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/deleted_radar.value_list"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Delete a value list"
      },
      "get": {
        "description": "<p>Retrieves a <code>ValueList</code> object.</p>",
        "operationId": "GetRadarValueListsValueList",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "value_list",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/radar.value_list"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a value list"
      },
      "post": {
        "description": "<p>Updates a <code>ValueList</code> object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Note that <code>item_type</code> is immutable.</p>",
        "operationId": "PostRadarValueListsValueList",
        "parameters": [
          {
            "in": "path",
            "name": "value_list",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "alias": {
                    "description": "The name of the value list for use in rules.",
                    "maxLength": 100,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "name": {
                    "description": "The human-readable name of the value list.",
                    "maxLength": 100,
                    "type": "string"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "alias",
                  "metadata",
                  "name"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/radar.value_list"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a value list"
      }
    },
    "/v1/refunds": {
      "get": {
        "description": "<p>Returns a list of all refunds you created. We return the refunds in sorted order, with the most recent refunds appearing first. The 10 most recent refunds are always available by default on the Charge object.</p>",
        "operationId": "GetRefunds",
        "parameters": [
          {
            "description": "Only return refunds for the charge specified by this charge ID.",
            "in": "query",
            "name": "charge",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return refunds that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "Only return refunds for the PaymentIntent specified by this ID.",
            "in": "query",
            "name": "payment_intent",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/refund"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/refunds",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "APIMethodRefundList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all refunds"
      },
      "post": {
        "description": "<p>When you create a new refund, you must specify a Charge or a PaymentIntent object on which to create it.</p>\n\n<p>Creating a new refund will refund a charge that has previously been created but not yet refunded.\nFunds will be refunded to the credit or debit card that was originally charged.</p>\n\n<p>You can optionally refund only part of a charge.\nYou can do so multiple times, until the entire charge has been refunded.</p>\n\n<p>Once entirely refunded, a charge can’t be refunded again.\nThis method will raise an error when called on an already-refunded charge,\nor when trying to refund more money than is left on a charge.</p>",
        "operationId": "PostRefunds",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "type": "integer"
                  },
                  "charge": {
                    "description": "The identifier of the charge to refund.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "currency": {
                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                    "type": "string"
                  },
                  "customer": {
                    "description": "Customer whose customer balance to refund from.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "instructions_email": {
                    "description": "For payment methods without native refund support (e.g., Konbini, PromptPay), use this email from the customer to receive refund instructions.",
                    "type": "string"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "origin": {
                    "description": "Origin of the refund",
                    "enum": [
                      "customer_balance"
                    ],
                    "type": "string"
                  },
                  "payment_intent": {
                    "description": "The identifier of the PaymentIntent to refund.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "reason": {
                    "description": "String indicating the reason for the refund. If set, possible values are `duplicate`, `fraudulent`, and `requested_by_customer`. If you believe the charge to be fraudulent, specifying `fraudulent` as the reason will add the associated card and email to your [block lists](https://stripe.com/docs/radar/lists), and will also help us improve our fraud detection algorithms.",
                    "enum": [
                      "duplicate",
                      "fraudulent",
                      "requested_by_customer"
                    ],
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "refund_application_fee": {
                    "description": "Boolean indicating whether the application fee should be refunded when refunding this charge. If a full charge refund is given, the full application fee will be refunded. Otherwise, the application fee will be refunded in an amount proportional to the amount of the charge refunded. An application fee can be refunded only by the application that created the charge.",
                    "type": "boolean"
                  },
                  "reverse_transfer": {
                    "description": "Boolean indicating whether the transfer should be reversed when refunding this charge. The transfer will be reversed proportionally to the amount being refunded (either the entire or partial amount).<br><br>A transfer can be reversed only by the application that created the charge.",
                    "type": "boolean"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "charge",
                  "currency",
                  "customer",
                  "instructions_email",
                  "metadata",
                  "origin",
                  "payment_intent",
                  "reason"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/refund"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create customer balance refund"
      }
    },
    "/v1/refunds/{refund}": {
      "get": {
        "description": "<p>Retrieves the details of an existing refund.</p>",
        "operationId": "GetRefundsRefund",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "refund",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/refund"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a refund"
      },
      "post": {
        "description": "<p>Updates the refund that you specify by setting the values of the passed parameters. Any parameters that you don’t provide remain unchanged.</p>\n\n<p>This request only accepts <code>metadata</code> as an argument.</p>",
        "operationId": "PostRefundsRefund",
        "parameters": [
          {
            "in": "path",
            "name": "refund",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/refund"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a refund"
      }
    },
    "/v1/refunds/{refund}/cancel": {
      "post": {
        "description": "<p>Cancels a refund with a status of <code>requires_action</code>.</p>\n\n<p>You can’t cancel refunds in other states. Only refunds for payment methods that require customer action can enter the <code>requires_action</code> state.</p>",
        "operationId": "PostRefundsRefundCancel",
        "parameters": [
          {
            "in": "path",
            "name": "refund",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/refund"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Cancel a refund"
      }
    },
    "/v1/reporting/report_runs": {
      "get": {
        "description": "<p>Returns a list of Report Runs, with the most recent appearing first.</p>",
        "operationId": "GetReportingReportRuns",
        "parameters": [
          {
            "description": "Only return Report Runs that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/reporting.report_run"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/reporting/report_runs",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "FinancialReportingFinanceReportRunList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all Report Runs"
      },
      "post": {
        "description": "<p>Creates a new object and begin running the report. (Certain report types require a <a href=\"https://stripe.com/docs/keys#test-live-modes\">live-mode API key</a>.)</p>",
        "operationId": "PostReportingReportRuns",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "parameters": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "parameters": {
                    "description": "Parameters specifying how the report should be run. Different Report Types have different required and optional parameters, listed in the [API Access to Reports](https://stripe.com/docs/reporting/statements/api) documentation.",
                    "properties": {
                      "columns": {
                        "description": "The set of report columns to include in the report output. If omitted, the Report Type is run with its default column set.",
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "connected_account": {
                        "description": "Connected account ID to filter for in the report run.",
                        "type": "string"
                      },
                      "currency": {
                        "description": "Currency of objects to be included in the report run.",
                        "type": "string"
                      },
                      "interval_end": {
                        "description": "Ending timestamp of data to be included in the report run (exclusive).",
                        "format": "unix-time",
                        "type": "integer"
                      },
                      "interval_start": {
                        "description": "Starting timestamp of data to be included in the report run.",
                        "format": "unix-time",
                        "type": "integer"
                      },
                      "payout": {
                        "description": "Payout ID by which to filter the report run.",
                        "type": "string"
                      },
                      "reporting_category": {
                        "description": "Category of balance transactions to be included in the report run.",
                        "enum": [
                          "advance",
                          "advance_funding",
                          "anticipation_repayment",
                          "charge",
                          "charge_failure",
                          "climate_order_purchase",
                          "climate_order_refund",
                          "connect_collection_transfer",
                          "connect_reserved_funds",
                          "contribution",
                          "dispute",
                          "dispute_reversal",
                          "fee",
                          "financing_paydown",
                          "financing_paydown_reversal",
                          "financing_payout",
                          "financing_payout_reversal",
                          "issuing_authorization_hold",
                          "issuing_authorization_release",
                          "issuing_dispute",
                          "issuing_transaction",
                          "network_cost",
                          "other_adjustment",
                          "partial_capture_reversal",
                          "payout",
                          "payout_reversal",
                          "platform_earning",
                          "platform_earning_refund",
                          "refund",
                          "refund_failure",
                          "risk_reserved_funds",
                          "tax",
                          "topup",
                          "topup_reversal",
                          "transfer",
                          "transfer_reversal",
                          "unreconciled_customer_funds"
                        ],
                        "maxLength": 5000,
                        "type": "string",
                        "x-stripeBypassValidation": true
                      },
                      "timezone": {
                        "description": "Defaults to `Etc/UTC`. The output timezone for all timestamps in the report. A list of possible time zone values is maintained at the [IANA Time Zone Database](http://www.iana.org/time-zones). Has no effect on `interval_start` or `interval_end`.",
                        "enum": [
                          "Africa/Abidjan",
                          "Africa/Accra",
                          "Africa/Addis_Ababa",
                          "Africa/Algiers",
                          "Africa/Asmara",
                          "Africa/Asmera",
                          "Africa/Bamako",
                          "Africa/Bangui",
                          "Africa/Banjul",
                          "Africa/Bissau",
                          "Africa/Blantyre",
                          "Africa/Brazzaville",
                          "Africa/Bujumbura",
                          "Africa/Cairo",
                          "Africa/Casablanca",
                          "Africa/Ceuta",
                          "Africa/Conakry",
                          "Africa/Dakar",
                          "Africa/Dar_es_Salaam",
                          "Africa/Djibouti",
                          "Africa/Douala",
                          "Africa/El_Aaiun",
                          "Africa/Freetown",
                          "Africa/Gaborone",
                          "Africa/Harare",
                          "Africa/Johannesburg",
                          "Africa/Juba",
                          "Africa/Kampala",
                          "Africa/Khartoum",
                          "Africa/Kigali",
                          "Africa/Kinshasa",
                          "Africa/Lagos",
                          "Africa/Libreville",
                          "Africa/Lome",
                          "Africa/Luanda",
                          "Africa/Lubumbashi",
                          "Africa/Lusaka",
                          "Africa/Malabo",
                          "Africa/Maputo",
                          "Africa/Maseru",
                          "Africa/Mbabane",
                          "Africa/Mogadishu",
                          "Africa/Monrovia",
                          "Africa/Nairobi",
                          "Africa/Ndjamena",
                          "Africa/Niamey",
                          "Africa/Nouakchott",
                          "Africa/Ouagadougou",
                          "Africa/Porto-Novo",
                          "Africa/Sao_Tome",
                          "Africa/Timbuktu",
                          "Africa/Tripoli",
                          "Africa/Tunis",
                          "Africa/Windhoek",
                          "America/Adak",
                          "America/Anchorage",
                          "America/Anguilla",
                          "America/Antigua",
                          "America/Araguaina",
                          "America/Argentina/Buenos_Aires",
                          "America/Argentina/Catamarca",
                          "America/Argentina/ComodRivadavia",
                          "America/Argentina/Cordoba",
                          "America/Argentina/Jujuy",
                          "America/Argentina/La_Rioja",
                          "America/Argentina/Mendoza",
                          "America/Argentina/Rio_Gallegos",
                          "America/Argentina/Salta",
                          "America/Argentina/San_Juan",
                          "America/Argentina/San_Luis",
                          "America/Argentina/Tucuman",
                          "America/Argentina/Ushuaia",
                          "America/Aruba",
                          "America/Asuncion",
                          "America/Atikokan",
                          "America/Atka",
                          "America/Bahia",
                          "America/Bahia_Banderas",
                          "America/Barbados",
                          "America/Belem",
                          "America/Belize",
                          "America/Blanc-Sablon",
                          "America/Boa_Vista",
                          "America/Bogota",
                          "America/Boise",
                          "America/Buenos_Aires",
                          "America/Cambridge_Bay",
                          "America/Campo_Grande",
                          "America/Cancun",
                          "America/Caracas",
                          "America/Catamarca",
                          "America/Cayenne",
                          "America/Cayman",
                          "America/Chicago",
                          "America/Chihuahua",
                          "America/Ciudad_Juarez",
                          "America/Coral_Harbour",
                          "America/Cordoba",
                          "America/Costa_Rica",
                          "America/Creston",
                          "America/Cuiaba",
                          "America/Curacao",
                          "America/Danmarkshavn",
                          "America/Dawson",
                          "America/Dawson_Creek",
                          "America/Denver",
                          "America/Detroit",
                          "America/Dominica",
                          "America/Edmonton",
                          "America/Eirunepe",
                          "America/El_Salvador",
                          "America/Ensenada",
                          "America/Fort_Nelson",
                          "America/Fort_Wayne",
                          "America/Fortaleza",
                          "America/Glace_Bay",
                          "America/Godthab",
                          "America/Goose_Bay",
                          "America/Grand_Turk",
                          "America/Grenada",
                          "America/Guadeloupe",
                          "America/Guatemala",
                          "America/Guayaquil",
                          "America/Guyana",
                          "America/Halifax",
                          "America/Havana",
                          "America/Hermosillo",
                          "America/Indiana/Indianapolis",
                          "America/Indiana/Knox",
                          "America/Indiana/Marengo",
                          "America/Indiana/Petersburg",
                          "America/Indiana/Tell_City",
                          "America/Indiana/Vevay",
                          "America/Indiana/Vincennes",
                          "America/Indiana/Winamac",
                          "America/Indianapolis",
                          "America/Inuvik",
                          "America/Iqaluit",
                          "America/Jamaica",
                          "America/Jujuy",
                          "America/Juneau",
                          "America/Kentucky/Louisville",
                          "America/Kentucky/Monticello",
                          "America/Knox_IN",
                          "America/Kralendijk",
                          "America/La_Paz",
                          "America/Lima",
                          "America/Los_Angeles",
                          "America/Louisville",
                          "America/Lower_Princes",
                          "America/Maceio",
                          "America/Managua",
                          "America/Manaus",
                          "America/Marigot",
                          "America/Martinique",
                          "America/Matamoros",
                          "America/Mazatlan",
                          "America/Mendoza",
                          "America/Menominee",
                          "America/Merida",
                          "America/Metlakatla",
                          "America/Mexico_City",
                          "America/Miquelon",
                          "America/Moncton",
                          "America/Monterrey",
                          "America/Montevideo",
                          "America/Montreal",
                          "America/Montserrat",
                          "America/Nassau",
                          "America/New_York",
                          "America/Nipigon",
                          "America/Nome",
                          "America/Noronha",
                          "America/North_Dakota/Beulah",
                          "America/North_Dakota/Center",
                          "America/North_Dakota/New_Salem",
                          "America/Nuuk",
                          "America/Ojinaga",
                          "America/Panama",
                          "America/Pangnirtung",
                          "America/Paramaribo",
                          "America/Phoenix",
                          "America/Port-au-Prince",
                          "America/Port_of_Spain",
                          "America/Porto_Acre",
                          "America/Porto_Velho",
                          "America/Puerto_Rico",
                          "America/Punta_Arenas",
                          "America/Rainy_River",
                          "America/Rankin_Inlet",
                          "America/Recife",
                          "America/Regina",
                          "America/Resolute",
                          "America/Rio_Branco",
                          "America/Rosario",
                          "America/Santa_Isabel",
                          "America/Santarem",
                          "America/Santiago",
                          "America/Santo_Domingo",
                          "America/Sao_Paulo",
                          "America/Scoresbysund",
                          "America/Shiprock",
                          "America/Sitka",
                          "America/St_Barthelemy",
                          "America/St_Johns",
                          "America/St_Kitts",
                          "America/St_Lucia",
                          "America/St_Thomas",
                          "America/St_Vincent",
                          "America/Swift_Current",
                          "America/Tegucigalpa",
                          "America/Thule",
                          "America/Thunder_Bay",
                          "America/Tijuana",
                          "America/Toronto",
                          "America/Tortola",
                          "America/Vancouver",
                          "America/Virgin",
                          "America/Whitehorse",
                          "America/Winnipeg",
                          "America/Yakutat",
                          "America/Yellowknife",
                          "Antarctica/Casey",
                          "Antarctica/Davis",
                          "Antarctica/DumontDUrville",
                          "Antarctica/Macquarie",
                          "Antarctica/Mawson",
                          "Antarctica/McMurdo",
                          "Antarctica/Palmer",
                          "Antarctica/Rothera",
                          "Antarctica/South_Pole",
                          "Antarctica/Syowa",
                          "Antarctica/Troll",
                          "Antarctica/Vostok",
                          "Arctic/Longyearbyen",
                          "Asia/Aden",
                          "Asia/Almaty",
                          "Asia/Amman",
                          "Asia/Anadyr",
                          "Asia/Aqtau",
                          "Asia/Aqtobe",
                          "Asia/Ashgabat",
                          "Asia/Ashkhabad",
                          "Asia/Atyrau",
                          "Asia/Baghdad",
                          "Asia/Bahrain",
                          "Asia/Baku",
                          "Asia/Bangkok",
                          "Asia/Barnaul",
                          "Asia/Beirut",
                          "Asia/Bishkek",
                          "Asia/Brunei",
                          "Asia/Calcutta",
                          "Asia/Chita",
                          "Asia/Choibalsan",
                          "Asia/Chongqing",
                          "Asia/Chungking",
                          "Asia/Colombo",
                          "Asia/Dacca",
                          "Asia/Damascus",
                          "Asia/Dhaka",
                          "Asia/Dili",
                          "Asia/Dubai",
                          "Asia/Dushanbe",
                          "Asia/Famagusta",
                          "Asia/Gaza",
                          "Asia/Harbin",
                          "Asia/Hebron",
                          "Asia/Ho_Chi_Minh",
                          "Asia/Hong_Kong",
                          "Asia/Hovd",
                          "Asia/Irkutsk",
                          "Asia/Istanbul",
                          "Asia/Jakarta",
                          "Asia/Jayapura",
                          "Asia/Jerusalem",
                          "Asia/Kabul",
                          "Asia/Kamchatka",
                          "Asia/Karachi",
                          "Asia/Kashgar",
                          "Asia/Kathmandu",
                          "Asia/Katmandu",
                          "Asia/Khandyga",
                          "Asia/Kolkata",
                          "Asia/Krasnoyarsk",
                          "Asia/Kuala_Lumpur",
                          "Asia/Kuching",
                          "Asia/Kuwait",
                          "Asia/Macao",
                          "Asia/Macau",
                          "Asia/Magadan",
                          "Asia/Makassar",
                          "Asia/Manila",
                          "Asia/Muscat",
                          "Asia/Nicosia",
                          "Asia/Novokuznetsk",
                          "Asia/Novosibirsk",
                          "Asia/Omsk",
                          "Asia/Oral",
                          "Asia/Phnom_Penh",
                          "Asia/Pontianak",
                          "Asia/Pyongyang",
                          "Asia/Qatar",
                          "Asia/Qostanay",
                          "Asia/Qyzylorda",
                          "Asia/Rangoon",
                          "Asia/Riyadh",
                          "Asia/Saigon",
                          "Asia/Sakhalin",
                          "Asia/Samarkand",
                          "Asia/Seoul",
                          "Asia/Shanghai",
                          "Asia/Singapore",
                          "Asia/Srednekolymsk",
                          "Asia/Taipei",
                          "Asia/Tashkent",
                          "Asia/Tbilisi",
                          "Asia/Tehran",
                          "Asia/Tel_Aviv",
                          "Asia/Thimbu",
                          "Asia/Thimphu",
                          "Asia/Tokyo",
                          "Asia/Tomsk",
                          "Asia/Ujung_Pandang",
                          "Asia/Ulaanbaatar",
                          "Asia/Ulan_Bator",
                          "Asia/Urumqi",
                          "Asia/Ust-Nera",
                          "Asia/Vientiane",
                          "Asia/Vladivostok",
                          "Asia/Yakutsk",
                          "Asia/Yangon",
                          "Asia/Yekaterinburg",
                          "Asia/Yerevan",
                          "Atlantic/Azores",
                          "Atlantic/Bermuda",
                          "Atlantic/Canary",
                          "Atlantic/Cape_Verde",
                          "Atlantic/Faeroe",
                          "Atlantic/Faroe",
                          "Atlantic/Jan_Mayen",
                          "Atlantic/Madeira",
                          "Atlantic/Reykjavik",
                          "Atlantic/South_Georgia",
                          "Atlantic/St_Helena",
                          "Atlantic/Stanley",
                          "Australia/ACT",
                          "Australia/Adelaide",
                          "Australia/Brisbane",
                          "Australia/Broken_Hill",
                          "Australia/Canberra",
                          "Australia/Currie",
                          "Australia/Darwin",
                          "Australia/Eucla",
                          "Australia/Hobart",
                          "Australia/LHI",
                          "Australia/Lindeman",
                          "Australia/Lord_Howe",
                          "Australia/Melbourne",
                          "Australia/NSW",
                          "Australia/North",
                          "Australia/Perth",
                          "Australia/Queensland",
                          "Australia/South",
                          "Australia/Sydney",
                          "Australia/Tasmania",
                          "Australia/Victoria",
                          "Australia/West",
                          "Australia/Yancowinna",
                          "Brazil/Acre",
                          "Brazil/DeNoronha",
                          "Brazil/East",
                          "Brazil/West",
                          "CET",
                          "CST6CDT",
                          "Canada/Atlantic",
                          "Canada/Central",
                          "Canada/Eastern",
                          "Canada/Mountain",
                          "Canada/Newfoundland",
                          "Canada/Pacific",
                          "Canada/Saskatchewan",
                          "Canada/Yukon",
                          "Chile/Continental",
                          "Chile/EasterIsland",
                          "Cuba",
                          "EET",
                          "EST",
                          "EST5EDT",
                          "Egypt",
                          "Eire",
                          "Etc/GMT",
                          "Etc/GMT+0",
                          "Etc/GMT+1",
                          "Etc/GMT+10",
                          "Etc/GMT+11",
                          "Etc/GMT+12",
                          "Etc/GMT+2",
                          "Etc/GMT+3",
                          "Etc/GMT+4",
                          "Etc/GMT+5",
                          "Etc/GMT+6",
                          "Etc/GMT+7",
                          "Etc/GMT+8",
                          "Etc/GMT+9",
                          "Etc/GMT-0",
                          "Etc/GMT-1",
                          "Etc/GMT-10",
                          "Etc/GMT-11",
                          "Etc/GMT-12",
                          "Etc/GMT-13",
                          "Etc/GMT-14",
                          "Etc/GMT-2",
                          "Etc/GMT-3",
                          "Etc/GMT-4",
                          "Etc/GMT-5",
                          "Etc/GMT-6",
                          "Etc/GMT-7",
                          "Etc/GMT-8",
                          "Etc/GMT-9",
                          "Etc/GMT0",
                          "Etc/Greenwich",
                          "Etc/UCT",
                          "Etc/UTC",
                          "Etc/Universal",
                          "Etc/Zulu",
                          "Europe/Amsterdam",
                          "Europe/Andorra",
                          "Europe/Astrakhan",
                          "Europe/Athens",
                          "Europe/Belfast",
                          "Europe/Belgrade",
                          "Europe/Berlin",
                          "Europe/Bratislava",
                          "Europe/Brussels",
                          "Europe/Bucharest",
                          "Europe/Budapest",
                          "Europe/Busingen",
                          "Europe/Chisinau",
                          "Europe/Copenhagen",
                          "Europe/Dublin",
                          "Europe/Gibraltar",
                          "Europe/Guernsey",
                          "Europe/Helsinki",
                          "Europe/Isle_of_Man",
                          "Europe/Istanbul",
                          "Europe/Jersey",
                          "Europe/Kaliningrad",
                          "Europe/Kiev",
                          "Europe/Kirov",
                          "Europe/Kyiv",
                          "Europe/Lisbon",
                          "Europe/Ljubljana",
                          "Europe/London",
                          "Europe/Luxembourg",
                          "Europe/Madrid",
                          "Europe/Malta",
                          "Europe/Mariehamn",
                          "Europe/Minsk",
                          "Europe/Monaco",
                          "Europe/Moscow",
                          "Europe/Nicosia",
                          "Europe/Oslo",
                          "Europe/Paris",
                          "Europe/Podgorica",
                          "Europe/Prague",
                          "Europe/Riga",
                          "Europe/Rome",
                          "Europe/Samara",
                          "Europe/San_Marino",
                          "Europe/Sarajevo",
                          "Europe/Saratov",
                          "Europe/Simferopol",
                          "Europe/Skopje",
                          "Europe/Sofia",
                          "Europe/Stockholm",
                          "Europe/Tallinn",
                          "Europe/Tirane",
                          "Europe/Tiraspol",
                          "Europe/Ulyanovsk",
                          "Europe/Uzhgorod",
                          "Europe/Vaduz",
                          "Europe/Vatican",
                          "Europe/Vienna",
                          "Europe/Vilnius",
                          "Europe/Volgograd",
                          "Europe/Warsaw",
                          "Europe/Zagreb",
                          "Europe/Zaporozhye",
                          "Europe/Zurich",
                          "Factory",
                          "GB",
                          "GB-Eire",
                          "GMT",
                          "GMT+0",
                          "GMT-0",
                          "GMT0",
                          "Greenwich",
                          "HST",
                          "Hongkong",
                          "Iceland",
                          "Indian/Antananarivo",
                          "Indian/Chagos",
                          "Indian/Christmas",
                          "Indian/Cocos",
                          "Indian/Comoro",
                          "Indian/Kerguelen",
                          "Indian/Mahe",
                          "Indian/Maldives",
                          "Indian/Mauritius",
                          "Indian/Mayotte",
                          "Indian/Reunion",
                          "Iran",
                          "Israel",
                          "Jamaica",
                          "Japan",
                          "Kwajalein",
                          "Libya",
                          "MET",
                          "MST",
                          "MST7MDT",
                          "Mexico/BajaNorte",
                          "Mexico/BajaSur",
                          "Mexico/General",
                          "NZ",
                          "NZ-CHAT",
                          "Navajo",
                          "PRC",
                          "PST8PDT",
                          "Pacific/Apia",
                          "Pacific/Auckland",
                          "Pacific/Bougainville",
                          "Pacific/Chatham",
                          "Pacific/Chuuk",
                          "Pacific/Easter",
                          "Pacific/Efate",
                          "Pacific/Enderbury",
                          "Pacific/Fakaofo",
                          "Pacific/Fiji",
                          "Pacific/Funafuti",
                          "Pacific/Galapagos",
                          "Pacific/Gambier",
                          "Pacific/Guadalcanal",
                          "Pacific/Guam",
                          "Pacific/Honolulu",
                          "Pacific/Johnston",
                          "Pacific/Kanton",
                          "Pacific/Kiritimati",
                          "Pacific/Kosrae",
                          "Pacific/Kwajalein",
                          "Pacific/Majuro",
                          "Pacific/Marquesas",
                          "Pacific/Midway",
                          "Pacific/Nauru",
                          "Pacific/Niue",
                          "Pacific/Norfolk",
                          "Pacific/Noumea",
                          "Pacific/Pago_Pago",
                          "Pacific/Palau",
                          "Pacific/Pitcairn",
                          "Pacific/Pohnpei",
                          "Pacific/Ponape",
                          "Pacific/Port_Moresby",
                          "Pacific/Rarotonga",
                          "Pacific/Saipan",
                          "Pacific/Samoa",
                          "Pacific/Tahiti",
                          "Pacific/Tarawa",
                          "Pacific/Tongatapu",
                          "Pacific/Truk",
                          "Pacific/Wake",
                          "Pacific/Wallis",
                          "Pacific/Yap",
                          "Poland",
                          "Portugal",
                          "ROC",
                          "ROK",
                          "Singapore",
                          "Turkey",
                          "UCT",
                          "US/Alaska",
                          "US/Aleutian",
                          "US/Arizona",
                          "US/Central",
                          "US/East-Indiana",
                          "US/Eastern",
                          "US/Hawaii",
                          "US/Indiana-Starke",
                          "US/Michigan",
                          "US/Mountain",
                          "US/Pacific",
                          "US/Pacific-New",
                          "US/Samoa",
                          "UTC",
                          "Universal",
                          "W-SU",
                          "WET",
                          "Zulu"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "run_parameter_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "age_bucket",
                      "all",
                      "amount",
                      "amount_filter",
                      "apple_subscriber",
                      "application_id",
                      "authentication_outcome_detailed",
                      "billing_analytics_metric",
                      "bucket_size",
                      "calculation_type",
                      "capability_type",
                      "card_bin",
                      "card_brand",
                      "card_brands",
                      "card_country",
                      "card_fingerprint",
                      "card_funding",
                      "card_number",
                      "card_type",
                      "card_types",
                      "cau_correction_factor",
                      "charge",
                      "chart_detail_page_id",
                      "cof",
                      "columns",
                      "compare_to_end",
                      "compare_to_start",
                      "connect_charge_type",
                      "connected_account",
                      "contract",
                      "conversion_currency",
                      "countries",
                      "country",
                      "credit_ids",
                      "currency",
                      "cursor",
                      "customer",
                      "customers",
                      "dataset_id",
                      "date_format",
                      "days_to_use",
                      "decimal_separator",
                      "digital_wallet",
                      "direction",
                      "download",
                      "entity_type",
                      "exchange_rate",
                      "exchange_rates",
                      "experiment_id",
                      "fee_category",
                      "filter_column",
                      "filter_columns",
                      "filter_currency",
                      "filter_value",
                      "filter_values",
                      "filters",
                      "first_day_of_week_offset",
                      "gateway_conversation_avs_outcome",
                      "gateway_conversation_cvc_outcome",
                      "google_order",
                      "group_by",
                      "group_by_key",
                      "group_id",
                      "group_type",
                      "grouped_column",
                      "grouped_columns",
                      "grouped_metadata_column",
                      "groups",
                      "include_blocked_payments",
                      "include_connect_charges",
                      "interval_end",
                      "interval_start",
                      "invoice",
                      "invoice_line_item",
                      "ip_address",
                      "ip_country",
                      "is_eu_vat_moss",
                      "is_latam",
                      "is_link_in_pmm_supported",
                      "is_top_fraudy_attributes",
                      "is_unbilled",
                      "jurisdiction_key",
                      "limit",
                      "list_item",
                      "list_items",
                      "livemode",
                      "match_mode",
                      "match_status",
                      "max_churn",
                      "meter_id",
                      "min_trim_size",
                      "nci_filter_for",
                      "nci_mcc",
                      "numeric_filters",
                      "offset",
                      "payment_link_id",
                      "payment_method_type",
                      "payment_method_types",
                      "payment_methods",
                      "payout",
                      "payout_date_end",
                      "payout_date_start",
                      "payout_status",
                      "payout_type",
                      "platform",
                      "platform_id",
                      "price_filters",
                      "product",
                      "product_feature_description",
                      "product_filters",
                      "radar_bad_outcome_configuration",
                      "radar_fraud_outcomes",
                      "radar_good_outcomes",
                      "rate",
                      "recognition_end",
                      "recognition_start",
                      "recon_party_name",
                      "recon_space",
                      "recon_space_type",
                      "reconciliation_status",
                      "reference_id",
                      "reporting_category",
                      "reporting_string_filters",
                      "retries_correction_factor",
                      "rev_rec_month_summary_line_item",
                      "risk_score",
                      "rule_action",
                      "rule_attribute",
                      "rule_attribute_case_insensitive",
                      "rule_attribute_name_value",
                      "rule_id",
                      "rule_predicate_sql",
                      "secondary_cursor",
                      "seconds_since_card_first_seen",
                      "segment_id",
                      "sort_order",
                      "sorted_column",
                      "states",
                      "string_filters",
                      "tax_form_id",
                      "tax_type",
                      "taxable",
                      "timezone",
                      "total_charges_per_card_number_daily",
                      "total_fraud_volume",
                      "total_legitimate_volume",
                      "tracking_load_type",
                      "transaction_age_max",
                      "transaction_age_min",
                      "transaction_initiators",
                      "transaction_type",
                      "unit",
                      "ur",
                      "use_dispute_creation_date",
                      "used_network_tokens",
                      "view_type"
                    ]
                  },
                  "report_type": {
                    "description": "The ID of the [report type](https://stripe.com/docs/reporting/statements/api#report-types) to run, such as `\"balance.summary.1\"`.",
                    "type": "string"
                  }
                },
                "required": [
                  "report_type"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "parameters",
                  "report_type"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/reporting.report_run"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a Report Run"
      }
    },
    "/v1/reporting/report_runs/{report_run}": {
      "get": {
        "description": "<p>Retrieves the details of an existing Report Run.</p>",
        "operationId": "GetReportingReportRunsReportRun",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "report_run",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/reporting.report_run"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a Report Run"
      }
    },
    "/v1/reporting/report_types": {
      "get": {
        "description": "<p>Returns a full list of Report Types.</p>",
        "operationId": "GetReportingReportTypes",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/reporting.report_type"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "FinancialReportingFinanceReportTypeList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all Report Types"
      }
    },
    "/v1/reporting/report_types/{report_type}": {
      "get": {
        "description": "<p>Retrieves the details of a Report Type. (Certain report types require a <a href=\"https://stripe.com/docs/keys#test-live-modes\">live-mode API key</a>.)</p>",
        "operationId": "GetReportingReportTypesReportType",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "report_type",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/reporting.report_type"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a Report Type"
      }
    },
    "/v1/reviews": {
      "get": {
        "description": "<p>Returns a list of <code>Review</code> objects that have <code>open</code> set to <code>true</code>. The objects are sorted in descending order by creation date, with the most recently created object appearing first.</p>",
        "operationId": "GetReviews",
        "parameters": [
          {
            "description": "Only return reviews that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/review"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "RadarReviewList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all open reviews"
      }
    },
    "/v1/reviews/{review}": {
      "get": {
        "description": "<p>Retrieves a <code>Review</code> object.</p>",
        "operationId": "GetReviewsReview",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "review",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/review"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a review"
      }
    },
    "/v1/reviews/{review}/approve": {
      "post": {
        "description": "<p>Approves a <code>Review</code> object, closing it and removing it from the list of reviews.</p>",
        "operationId": "PostReviewsReviewApprove",
        "parameters": [
          {
            "in": "path",
            "name": "review",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/review"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Approve a review"
      }
    },
    "/v1/setup_attempts": {
      "get": {
        "description": "<p>Returns a list of SetupAttempts that associate with a provided SetupIntent.</p>",
        "operationId": "GetSetupAttempts",
        "parameters": [
          {
            "description": "A filter on the list, based on the object `created` field. The value\ncan be a string with an integer Unix timestamp or a\ndictionary with a number of different query options.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "Only return SetupAttempts created by the SetupIntent specified by\nthis ID.",
            "in": "query",
            "name": "setup_intent",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/setup_attempt"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/setup_attempts",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "PaymentFlowsSetupIntentSetupAttemptList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all SetupAttempts"
      }
    },
    "/v1/setup_intents": {
      "get": {
        "description": "<p>Returns a list of SetupIntents.</p>",
        "operationId": "GetSetupIntents",
        "parameters": [
          {
            "description": "If present, the SetupIntent's payment method will be attached to the in-context Stripe Account.\n\nIt can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.",
            "in": "query",
            "name": "attach_to_self",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          },
          {
            "description": "A filter on the list, based on the object `created` field. The value can be a string with an integer Unix timestamp, or it can be a dictionary with a number of different query options.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "Only return SetupIntents for the customer specified by this customer ID.",
            "in": "query",
            "name": "customer",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "Only return SetupIntents that associate with the specified payment method.",
            "in": "query",
            "name": "payment_method",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/setup_intent"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/setup_intents",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "PaymentFlowsSetupIntentList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all SetupIntents"
      },
      "post": {
        "description": "<p>Creates a SetupIntent object.</p>\n\n<p>After you create the SetupIntent, attach a payment method and <a href=\"/docs/api/setup_intents/confirm\">confirm</a>\nit to collect any required permissions to charge the payment method later.</p>",
        "operationId": "PostSetupIntents",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "automatic_payment_methods": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "flow_directions": {
                  "explode": true,
                  "style": "deepObject"
                },
                "mandate_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_method_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_method_options": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_method_types": {
                  "explode": true,
                  "style": "deepObject"
                },
                "single_use": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "attach_to_self": {
                    "description": "If present, the SetupIntent's payment method will be attached to the in-context Stripe Account.\n\nIt can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.",
                    "type": "boolean"
                  },
                  "automatic_payment_methods": {
                    "description": "When you enable this parameter, this SetupIntent accepts payment methods that you enable in the Dashboard and that are compatible with its other parameters.",
                    "properties": {
                      "allow_redirects": {
                        "description": "Controls whether this SetupIntent will accept redirect-based payment methods.\n\nRedirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/setup_intents/confirm) this SetupIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the setup.",
                        "enum": [
                          "always",
                          "never"
                        ],
                        "type": "string"
                      },
                      "enabled": {
                        "description": "Whether this feature is enabled.",
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "enabled"
                    ],
                    "title": "automatic_payment_methods_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "allow_redirects",
                      "enabled"
                    ]
                  },
                  "confirm": {
                    "description": "Set to `true` to attempt to confirm this SetupIntent immediately. This parameter defaults to `false`. If a card is the attached payment method, you can provide a `return_url` in case further authentication is necessary.",
                    "type": "boolean"
                  },
                  "confirmation_token": {
                    "description": "ID of the ConfirmationToken used to confirm this SetupIntent.\n\nIf the provided ConfirmationToken contains properties that are also being provided in this request, such as `payment_method`, then the values in this request will take precedence.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "customer": {
                    "description": "ID of the Customer this SetupIntent belongs to, if one exists.\n\nIf present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "description": {
                    "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
                    "maxLength": 1000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "flow_directions": {
                    "description": "Indicates the directions of money movement for which this payment method is intended to be used.\n\nInclude `inbound` if you intend to use the payment method as the origin to pull funds from. Include `outbound` if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes.",
                    "items": {
                      "enum": [
                        "inbound",
                        "outbound"
                      ],
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "mandate_data": {
                    "anyOf": [
                      {
                        "properties": {
                          "customer_acceptance": {
                            "description": "This hash contains details about the customer acceptance of the Mandate.",
                            "properties": {
                              "accepted_at": {
                                "description": "The time at which the customer accepted the Mandate.",
                                "format": "unix-time",
                                "type": "integer"
                              },
                              "offline": {
                                "description": "If this is a Mandate accepted offline, this hash contains details about the offline acceptance.",
                                "properties": {},
                                "title": "offline_param",
                                "type": "object"
                              },
                              "online": {
                                "description": "If this is a Mandate accepted online, this hash contains details about the online acceptance.",
                                "properties": {
                                  "ip_address": {
                                    "description": "The IP address from which the Mandate was accepted by the customer.",
                                    "type": "string"
                                  },
                                  "user_agent": {
                                    "description": "The user agent of the browser from which the Mandate was accepted by the customer.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "ip_address",
                                  "user_agent"
                                ],
                                "title": "online_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "ip_address",
                                  "user_agent"
                                ]
                              },
                              "type": {
                                "description": "The type of customer acceptance information included with the Mandate. One of `online` or `offline`.",
                                "enum": [
                                  "offline",
                                  "online"
                                ],
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "title": "customer_acceptance_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "accepted_at",
                              "offline",
                              "online",
                              "type"
                            ]
                          }
                        },
                        "required": [
                          "customer_acceptance"
                        ],
                        "title": "secret_key_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "customer_acceptance"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "This hash contains details about the mandate to create. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm)."
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "on_behalf_of": {
                    "description": "The Stripe account ID created for this SetupIntent.",
                    "type": "string"
                  },
                  "payment_method": {
                    "description": "ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "payment_method_configuration": {
                    "description": "The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this SetupIntent.",
                    "maxLength": 100,
                    "type": "string"
                  },
                  "payment_method_data": {
                    "description": "When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method)\nvalue in the SetupIntent.",
                    "properties": {
                      "acss_debit": {
                        "description": "If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.",
                        "properties": {
                          "account_number": {
                            "description": "Customer's bank account number.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "institution_number": {
                            "description": "Institution number of the customer's bank.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "transit_number": {
                            "description": "Transit number of the customer's bank.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "account_number",
                          "institution_number",
                          "transit_number"
                        ],
                        "title": "payment_method_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_number",
                          "institution_number",
                          "transit_number"
                        ]
                      },
                      "affirm": {
                        "description": "If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "afterpay_clearpay": {
                        "description": "If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "alipay": {
                        "description": "If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "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`.",
                        "enum": [
                          "always",
                          "limited",
                          "unspecified"
                        ],
                        "type": "string"
                      },
                      "alma": {
                        "description": "If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "amazon_pay": {
                        "description": "If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "au_becs_debit": {
                        "description": "If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.",
                        "properties": {
                          "account_number": {
                            "description": "The account number for the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "bsb_number": {
                            "description": "Bank-State-Branch number of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "account_number",
                          "bsb_number"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_number",
                          "bsb_number"
                        ]
                      },
                      "bacs_debit": {
                        "description": "If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.",
                        "properties": {
                          "account_number": {
                            "description": "Account number of the bank account that the funds will be debited from.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "sort_code": {
                            "description": "Sort code of the bank account. (e.g., `10-20-30`)",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_number",
                          "sort_code"
                        ]
                      },
                      "bancontact": {
                        "description": "If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "billing_details": {
                        "description": "Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.",
                        "properties": {
                          "address": {
                            "anyOf": [
                              {
                                "properties": {
                                  "city": {
                                    "description": "City, district, suburb, town, or village.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "country": {
                                    "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "line1": {
                                    "description": "Address line 1 (e.g., street, PO Box, or company name).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "line2": {
                                    "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "postal_code": {
                                    "description": "ZIP or postal code.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "state": {
                                    "description": "State, county, province, or region.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "title": "billing_details_address",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "city",
                                  "country",
                                  "line1",
                                  "line2",
                                  "postal_code",
                                  "state"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Billing address."
                          },
                          "email": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Email address."
                          },
                          "name": {
                            "anyOf": [
                              {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Full name."
                          },
                          "phone": {
                            "anyOf": [
                              {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Billing phone number (including extension)."
                          }
                        },
                        "title": "billing_details_inner_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "address",
                          "email",
                          "name",
                          "phone"
                        ]
                      },
                      "blik": {
                        "description": "If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "boleto": {
                        "description": "If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.",
                        "properties": {
                          "tax_id": {
                            "description": "The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "tax_id"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "tax_id"
                        ]
                      },
                      "cashapp": {
                        "description": "If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "customer_balance": {
                        "description": "If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "eps": {
                        "description": "If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.",
                        "properties": {
                          "bank": {
                            "description": "The customer's bank.",
                            "enum": [
                              "arzte_und_apotheker_bank",
                              "austrian_anadi_bank_ag",
                              "bank_austria",
                              "bankhaus_carl_spangler",
                              "bankhaus_schelhammer_und_schattera_ag",
                              "bawag_psk_ag",
                              "bks_bank_ag",
                              "brull_kallmus_bank_ag",
                              "btv_vier_lander_bank",
                              "capital_bank_grawe_gruppe_ag",
                              "deutsche_bank_ag",
                              "dolomitenbank",
                              "easybank_ag",
                              "erste_bank_und_sparkassen",
                              "hypo_alpeadriabank_international_ag",
                              "hypo_bank_burgenland_aktiengesellschaft",
                              "hypo_noe_lb_fur_niederosterreich_u_wien",
                              "hypo_oberosterreich_salzburg_steiermark",
                              "hypo_tirol_bank_ag",
                              "hypo_vorarlberg_bank_ag",
                              "marchfelder_bank",
                              "oberbank_ag",
                              "raiffeisen_bankengruppe_osterreich",
                              "schoellerbank_ag",
                              "sparda_bank_wien",
                              "volksbank_gruppe",
                              "volkskreditbank_ag",
                              "vr_bank_braunau"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "bank"
                        ]
                      },
                      "fpx": {
                        "description": "If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.",
                        "properties": {
                          "account_holder_type": {
                            "description": "Account holder type for FPX transaction",
                            "enum": [
                              "company",
                              "individual"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "bank": {
                            "description": "The customer's bank.",
                            "enum": [
                              "affin_bank",
                              "agrobank",
                              "alliance_bank",
                              "ambank",
                              "bank_islam",
                              "bank_muamalat",
                              "bank_of_china",
                              "bank_rakyat",
                              "bsn",
                              "cimb",
                              "deutsche_bank",
                              "hong_leong_bank",
                              "hsbc",
                              "kfh",
                              "maybank2e",
                              "maybank2u",
                              "ocbc",
                              "pb_enterprise",
                              "public_bank",
                              "rhb",
                              "standard_chartered",
                              "uob"
                            ],
                            "maxLength": 5000,
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "required": [
                          "bank"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_holder_type",
                          "bank"
                        ]
                      },
                      "giropay": {
                        "description": "If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "grabpay": {
                        "description": "If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "ideal": {
                        "description": "If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.",
                        "properties": {
                          "bank": {
                            "description": "The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.",
                            "enum": [
                              "abn_amro",
                              "asn_bank",
                              "bunq",
                              "handelsbanken",
                              "ing",
                              "knab",
                              "moneyou",
                              "n26",
                              "nn",
                              "rabobank",
                              "regiobank",
                              "revolut",
                              "sns_bank",
                              "triodos_bank",
                              "van_lanschot",
                              "yoursafe"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "bank"
                        ]
                      },
                      "interac_present": {
                        "description": "If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "device_identifier",
                          "device_type",
                          "emv",
                          "location"
                        ]
                      },
                      "kakao_pay": {
                        "description": "If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "klarna": {
                        "description": "If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.",
                        "properties": {
                          "dob": {
                            "description": "Customer's date of birth",
                            "properties": {
                              "day": {
                                "description": "The day of birth, between 1 and 31.",
                                "type": "integer"
                              },
                              "month": {
                                "description": "The month of birth, between 1 and 12.",
                                "type": "integer"
                              },
                              "year": {
                                "description": "The four-digit year of birth.",
                                "type": "integer"
                              }
                            },
                            "required": [
                              "day",
                              "month",
                              "year"
                            ],
                            "title": "date_of_birth",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "day",
                              "month",
                              "year"
                            ]
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "dob"
                        ]
                      },
                      "konbini": {
                        "description": "If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "kr_card": {
                        "description": "If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "link": {
                        "description": "If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "metadata": {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                        "type": "object"
                      },
                      "mobilepay": {
                        "description": "If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "multibanco": {
                        "description": "If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "naver_pay": {
                        "description": "If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.",
                        "properties": {
                          "funding": {
                            "description": "Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.",
                            "enum": [
                              "card",
                              "points"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "funding"
                        ]
                      },
                      "oxxo": {
                        "description": "If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "p24": {
                        "description": "If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.",
                        "properties": {
                          "bank": {
                            "description": "The customer's bank.",
                            "enum": [
                              "alior_bank",
                              "bank_millennium",
                              "bank_nowy_bfg_sa",
                              "bank_pekao_sa",
                              "banki_spbdzielcze",
                              "blik",
                              "bnp_paribas",
                              "boz",
                              "citi_handlowy",
                              "credit_agricole",
                              "envelobank",
                              "etransfer_pocztowy24",
                              "getin_bank",
                              "ideabank",
                              "ing",
                              "inteligo",
                              "mbank_mtransfer",
                              "nest_przelew",
                              "noble_pay",
                              "pbac_z_ipko",
                              "plus_bank",
                              "santander_przelew24",
                              "tmobile_usbugi_bankowe",
                              "toyota_bank",
                              "velobank",
                              "volkswagen_bank"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "bank"
                        ]
                      },
                      "payco": {
                        "description": "If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "paynow": {
                        "description": "If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "paypal": {
                        "description": "If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "pix": {
                        "description": "If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "tax_id"
                        ]
                      },
                      "promptpay": {
                        "description": "If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "radar_options": {
                        "description": "Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.",
                        "properties": {
                          "session": {
                            "description": "A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "radar_options_with_hidden_options",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "session",
                          "skip_rules"
                        ]
                      },
                      "revolut_pay": {
                        "description": "If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "samsung_pay": {
                        "description": "If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "sepa_debit": {
                        "description": "If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.",
                        "properties": {
                          "iban": {
                            "description": "IBAN of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "iban"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "iban"
                        ]
                      },
                      "sofort": {
                        "description": "If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.",
                        "properties": {
                          "country": {
                            "description": "Two-letter ISO code representing the country the bank account is located in.",
                            "enum": [
                              "AT",
                              "BE",
                              "DE",
                              "ES",
                              "IT",
                              "NL"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "country"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "country"
                        ]
                      },
                      "swish": {
                        "description": "If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "twint": {
                        "description": "If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "type": {
                        "description": "The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.",
                        "enum": [
                          "acss_debit",
                          "affirm",
                          "afterpay_clearpay",
                          "alipay",
                          "alma",
                          "amazon_pay",
                          "au_becs_debit",
                          "bacs_debit",
                          "bancontact",
                          "blik",
                          "boleto",
                          "cashapp",
                          "customer_balance",
                          "eps",
                          "fpx",
                          "giropay",
                          "grabpay",
                          "ideal",
                          "kakao_pay",
                          "klarna",
                          "konbini",
                          "kr_card",
                          "link",
                          "mobilepay",
                          "multibanco",
                          "naver_pay",
                          "oxxo",
                          "p24",
                          "payco",
                          "paynow",
                          "paypal",
                          "pix",
                          "promptpay",
                          "revolut_pay",
                          "samsung_pay",
                          "sepa_debit",
                          "sofort",
                          "swish",
                          "twint",
                          "us_bank_account",
                          "wechat_pay",
                          "zip"
                        ],
                        "type": "string",
                        "x-stripeBypassValidation": true
                      },
                      "us_bank_account": {
                        "description": "If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.",
                        "properties": {
                          "account_holder_type": {
                            "description": "Account holder type: individual or company.",
                            "enum": [
                              "company",
                              "individual"
                            ],
                            "type": "string"
                          },
                          "account_number": {
                            "description": "Account number of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "account_type": {
                            "description": "Account type: checkings or savings. Defaults to checking if omitted.",
                            "enum": [
                              "checking",
                              "savings"
                            ],
                            "type": "string"
                          },
                          "financial_connections_account": {
                            "description": "The ID of a Financial Connections Account to use as a payment method.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "routing_number": {
                            "description": "Routing number of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "payment_method_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_holder_type",
                          "account_number",
                          "account_type",
                          "financial_connections_account",
                          "routing_number"
                        ]
                      },
                      "wechat_pay": {
                        "description": "If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "zip": {
                        "description": "If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "title": "payment_method_data_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "billing_details",
                      "metadata",
                      "type"
                    ]
                  },
                  "payment_method_options": {
                    "description": "Payment method-specific configuration for this SetupIntent.",
                    "properties": {
                      "acss_debit": {
                        "description": "If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.",
                        "properties": {
                          "currency": {
                            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                            "enum": [
                              "cad",
                              "usd"
                            ],
                            "type": "string"
                          },
                          "mandate_options": {
                            "description": "Additional fields for Mandate creation",
                            "properties": {
                              "custom_mandate_url": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "A URL for custom mandate text to render during confirmation step.\nThe URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,\nor `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent."
                              },
                              "default_for": {
                                "description": "List of Stripe products where this mandate can be selected automatically.",
                                "items": {
                                  "enum": [
                                    "invoice",
                                    "subscription"
                                  ],
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "interval_description": {
                                "description": "Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.",
                                "maxLength": 500,
                                "type": "string"
                              },
                              "payment_schedule": {
                                "description": "Payment schedule for the mandate.",
                                "enum": [
                                  "combined",
                                  "interval",
                                  "sporadic"
                                ],
                                "type": "string"
                              },
                              "transaction_type": {
                                "description": "Transaction type of the mandate.",
                                "enum": [
                                  "business",
                                  "personal"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "setup_intent_payment_method_options_mandate_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "custom_mandate_url",
                              "default_for",
                              "interval_description",
                              "payment_schedule",
                              "transaction_type"
                            ]
                          },
                          "verification_method": {
                            "description": "Bank account verification method.",
                            "enum": [
                              "automatic",
                              "instant",
                              "microdeposits"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "title": "setup_intent_payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "currency",
                          "mandate_options",
                          "verification_method"
                        ]
                      },
                      "amazon_pay": {
                        "description": "If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.",
                        "properties": {},
                        "title": "setup_intent_payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "charge_permission_id"
                        ]
                      },
                      "bacs_debit": {
                        "description": "If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.",
                        "properties": {
                          "mandate_options": {
                            "description": "Additional fields for Mandate creation",
                            "properties": {},
                            "title": "payment_method_options_mandate_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "reference_prefix"
                            ]
                          }
                        },
                        "title": "setup_intent_payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "mandate_options"
                        ]
                      },
                      "card": {
                        "description": "Configuration for any card setup attempted on this SetupIntent.",
                        "properties": {
                          "mandate_options": {
                            "description": "Configuration options for setting up an eMandate for cards issued in India.",
                            "properties": {
                              "amount": {
                                "description": "Amount to be charged for future payments.",
                                "type": "integer"
                              },
                              "amount_type": {
                                "description": "One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.",
                                "enum": [
                                  "fixed",
                                  "maximum"
                                ],
                                "type": "string"
                              },
                              "currency": {
                                "description": "Currency in which future payments will be charged. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                                "type": "string"
                              },
                              "description": {
                                "description": "A description of the mandate or subscription that is meant to be displayed to the customer.",
                                "maxLength": 200,
                                "type": "string"
                              },
                              "end_date": {
                                "description": "End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.",
                                "format": "unix-time",
                                "type": "integer"
                              },
                              "interval": {
                                "description": "Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.",
                                "enum": [
                                  "day",
                                  "month",
                                  "sporadic",
                                  "week",
                                  "year"
                                ],
                                "type": "string"
                              },
                              "interval_count": {
                                "description": "The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.",
                                "type": "integer"
                              },
                              "reference": {
                                "description": "Unique identifier for the mandate or subscription.",
                                "maxLength": 80,
                                "type": "string"
                              },
                              "start_date": {
                                "description": "Start date of the mandate or subscription. Start date should not be lesser than yesterday.",
                                "format": "unix-time",
                                "type": "integer"
                              },
                              "supported_types": {
                                "description": "Specifies the type of mandates supported. Possible values are `india`.",
                                "items": {
                                  "enum": [
                                    "india"
                                  ],
                                  "type": "string"
                                },
                                "type": "array"
                              }
                            },
                            "required": [
                              "amount",
                              "amount_type",
                              "currency",
                              "interval",
                              "reference",
                              "start_date"
                            ],
                            "title": "setup_intent_mandate_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "amount",
                              "amount_type",
                              "currency",
                              "description",
                              "end_date",
                              "interval",
                              "interval_count",
                              "reference",
                              "start_date",
                              "supported_types"
                            ]
                          },
                          "moto": {
                            "description": "When specified, this parameter signals that a card has been collected\nas MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This\nparameter can only be provided during confirmation.",
                            "type": "boolean"
                          },
                          "network": {
                            "description": "Selected network to process this SetupIntent on. Depends on the available networks of the card attached to the SetupIntent. Can be only set confirm-time.",
                            "enum": [
                              "amex",
                              "cartes_bancaires",
                              "diners",
                              "discover",
                              "eftpos_au",
                              "girocard",
                              "interac",
                              "jcb",
                              "link",
                              "mastercard",
                              "unionpay",
                              "unknown",
                              "visa"
                            ],
                            "maxLength": 5000,
                            "type": "string",
                            "x-stripeBypassValidation": true
                          },
                          "request_three_d_secure": {
                            "description": "We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.",
                            "enum": [
                              "any",
                              "automatic",
                              "challenge"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          },
                          "three_d_secure": {
                            "description": "If 3D Secure authentication was performed with a third-party provider,\nthe authentication details to use for this setup.",
                            "properties": {
                              "ares_trans_status": {
                                "description": "The `transStatus` returned from the card Issuer’s ACS in the ARes.",
                                "enum": [
                                  "A",
                                  "C",
                                  "I",
                                  "N",
                                  "R",
                                  "U",
                                  "Y"
                                ],
                                "type": "string"
                              },
                              "cryptogram": {
                                "description": "The cryptogram, also known as the \"authentication value\" (AAV, CAVV or\nAEVV). This value is 20 bytes, base64-encoded into a 28-character string.\n(Most 3D Secure providers will return the base64-encoded version, which\nis what you should specify here.)",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "electronic_commerce_indicator": {
                                "description": "The Electronic Commerce Indicator (ECI) is returned by your 3D Secure\nprovider and indicates what degree of authentication was performed.",
                                "enum": [
                                  "01",
                                  "02",
                                  "05",
                                  "06",
                                  "07"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              },
                              "network_options": {
                                "description": "Network specific 3DS fields. Network specific arguments require an\nexplicit card brand choice. The parameter `payment_method_options.card.network``\nmust be populated accordingly",
                                "properties": {
                                  "cartes_bancaires": {
                                    "description": "Cartes Bancaires-specific 3DS fields.",
                                    "properties": {
                                      "cb_avalgo": {
                                        "description": "The cryptogram calculation algorithm used by the card Issuer's ACS\nto calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.\nmessageExtension: CB-AVALGO",
                                        "enum": [
                                          "0",
                                          "1",
                                          "2",
                                          "3",
                                          "4",
                                          "A"
                                        ],
                                        "type": "string"
                                      },
                                      "cb_exemption": {
                                        "description": "The exemption indicator returned from Cartes Bancaires in the ARes.\nmessage extension: CB-EXEMPTION; string (4 characters)\nThis is a 3 byte bitmap (low significant byte first and most significant\nbit first) that has been Base64 encoded",
                                        "maxLength": 4,
                                        "type": "string"
                                      },
                                      "cb_score": {
                                        "description": "The risk score returned from Cartes Bancaires in the ARes.\nmessage extension: CB-SCORE; numeric value 0-99",
                                        "type": "integer"
                                      }
                                    },
                                    "required": [
                                      "cb_avalgo"
                                    ],
                                    "title": "cartes_bancaires_network_options_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "cb_avalgo",
                                      "cb_exemption",
                                      "cb_score"
                                    ]
                                  }
                                },
                                "title": "network_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "cartes_bancaires"
                                ]
                              },
                              "requestor_challenge_indicator": {
                                "description": "The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the\nAReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.",
                                "maxLength": 2,
                                "type": "string"
                              },
                              "transaction_id": {
                                "description": "For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server\nTransaction ID (dsTransID).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "version": {
                                "description": "The version of 3D Secure that was performed.",
                                "enum": [
                                  "1.0.2",
                                  "2.1.0",
                                  "2.2.0"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              }
                            },
                            "title": "setup_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "ares_trans_status",
                              "cryptogram",
                              "electronic_commerce_indicator",
                              "exemption_preferred",
                              "gateway",
                              "network_options",
                              "requestor_challenge_indicator",
                              "transaction_id",
                              "version"
                            ]
                          }
                        },
                        "title": "setup_intent_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "mandate_options",
                          "moto",
                          "network",
                          "network_token",
                          "request_name_verification",
                          "request_three_d_secure",
                          "three_d_secure",
                          "verify_card_account"
                        ]
                      },
                      "card_present": {
                        "description": "If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options.",
                        "properties": {},
                        "title": "setup_intent_payment_method_options_param",
                        "type": "object"
                      },
                      "link": {
                        "description": "If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.",
                        "properties": {
                          "persistent_token": {
                            "description": "[Deprecated] This is a legacy parameter that no longer has any function.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "setup_intent_payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "persistent_token"
                        ]
                      },
                      "paypal": {
                        "description": "If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.",
                        "properties": {
                          "billing_agreement_id": {
                            "description": "The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "billing_agreement_id",
                          "currency",
                          "subsellers"
                        ]
                      },
                      "sepa_debit": {
                        "description": "If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.",
                        "properties": {
                          "mandate_options": {
                            "description": "Additional fields for Mandate creation",
                            "properties": {},
                            "title": "payment_method_options_mandate_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "reference",
                              "reference_prefix"
                            ]
                          }
                        },
                        "title": "setup_intent_payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "mandate_options",
                          "verification_method"
                        ]
                      },
                      "us_bank_account": {
                        "description": "If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.",
                        "properties": {
                          "financial_connections": {
                            "description": "Additional fields for Financial Connections Session creation",
                            "properties": {
                              "filters": {
                                "description": "Provide filters for the linked accounts that the customer can select for the payment method",
                                "properties": {
                                  "account_subcategories": {
                                    "description": "The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.",
                                    "items": {
                                      "enum": [
                                        "checking",
                                        "savings"
                                      ],
                                      "maxLength": 5000,
                                      "type": "string"
                                    },
                                    "type": "array"
                                  }
                                },
                                "title": "linked_account_options_filters_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "account_subcategories",
                                  "institution"
                                ]
                              },
                              "permissions": {
                                "description": "The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.",
                                "items": {
                                  "enum": [
                                    "balances",
                                    "ownership",
                                    "payment_method",
                                    "transactions"
                                  ],
                                  "maxLength": 5000,
                                  "type": "string",
                                  "x-stripeBypassValidation": true
                                },
                                "type": "array"
                              },
                              "prefetch": {
                                "description": "List of data features that you would like to retrieve upon account creation.",
                                "items": {
                                  "enum": [
                                    "balances",
                                    "ownership",
                                    "transactions"
                                  ],
                                  "type": "string",
                                  "x-stripeBypassValidation": true
                                },
                                "type": "array"
                              },
                              "return_url": {
                                "description": "For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "linked_account_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "filters",
                              "manual_entry",
                              "permissions",
                              "prefetch",
                              "return_url"
                            ]
                          },
                          "mandate_options": {
                            "description": "Additional fields for Mandate creation",
                            "properties": {
                              "collection_method": {
                                "description": "The method used to collect offline mandate customer acceptance.",
                                "enum": [
                                  "",
                                  "paper"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              }
                            },
                            "title": "mandate_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "collection_method"
                            ]
                          },
                          "networks": {
                            "description": "Additional fields for network related functions",
                            "properties": {
                              "requested": {
                                "description": "Triggers validations to run across the selected networks",
                                "items": {
                                  "enum": [
                                    "ach",
                                    "us_domestic_wire"
                                  ],
                                  "type": "string"
                                },
                                "type": "array"
                              }
                            },
                            "title": "networks_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "requested"
                            ]
                          },
                          "verification_method": {
                            "description": "Bank account verification method.",
                            "enum": [
                              "automatic",
                              "instant",
                              "microdeposits"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "title": "setup_intent_payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "financial_connections",
                          "mandate_options",
                          "networks",
                          "verification_method"
                        ]
                      }
                    },
                    "title": "payment_method_options_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "acss_debit",
                      "alipay",
                      "amazon_pay",
                      "bacs_debit",
                      "blik",
                      "card",
                      "card_present",
                      "demo_pay",
                      "dummy_auth_push",
                      "klarna",
                      "link",
                      "paypal",
                      "payto",
                      "sepa_debit",
                      "upi",
                      "us_bank_account"
                    ]
                  },
                  "payment_method_types": {
                    "description": "The list of payment method types (for example, card) that this SetupIntent can use. If you don't provide this, Stripe will dynamically show relevant payment methods from your [payment method settings](https://dashboard.stripe.com/settings/payment_methods).",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "return_url": {
                    "description": "The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. To redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm).",
                    "type": "string"
                  },
                  "single_use": {
                    "description": "If you populate this hash, this SetupIntent generates a `single_use` mandate after successful completion.",
                    "properties": {
                      "amount": {
                        "description": "Amount the customer is granting permission to collect later. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).",
                        "type": "integer"
                      },
                      "currency": {
                        "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                        "type": "string"
                      }
                    },
                    "required": [
                      "amount",
                      "currency"
                    ],
                    "title": "setup_intent_single_use_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "amount",
                      "currency"
                    ]
                  },
                  "usage": {
                    "description": "Indicates how the payment method is intended to be used in the future. If not provided, this value defaults to `off_session`.",
                    "enum": [
                      "off_session",
                      "on_session"
                    ],
                    "type": "string"
                  },
                  "use_stripe_sdk": {
                    "description": "Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.",
                    "type": "boolean"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "automatic_payment_methods",
                  "confirm",
                  "customer",
                  "description",
                  "metadata",
                  "payment_method",
                  "usage"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/setup_intent"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a SetupIntent"
      }
    },
    "/v1/setup_intents/{intent}": {
      "get": {
        "description": "<p>Retrieves the details of a SetupIntent that has previously been created. </p>\n\n<p>Client-side retrieval using a publishable key is allowed when the <code>client_secret</code> is provided in the query string. </p>\n\n<p>When retrieved with a publishable key, only a subset of properties will be returned. Please refer to the <a href=\"#setup_intent_object\">SetupIntent</a> object reference for more details.</p>",
        "operationId": "GetSetupIntentsIntent",
        "parameters": [
          {
            "description": "The client secret of the SetupIntent. We require this string if you use a publishable key to retrieve the SetupIntent.",
            "in": "query",
            "name": "client_secret",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "intent",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/setup_intent"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a SetupIntent"
      },
      "post": {
        "description": "<p>Updates a SetupIntent object.</p>",
        "operationId": "PostSetupIntentsIntent",
        "parameters": [
          {
            "in": "path",
            "name": "intent",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "flow_directions": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_method_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_method_options": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_method_types": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "attach_to_self": {
                    "description": "If present, the SetupIntent's payment method will be attached to the in-context Stripe Account.\n\nIt can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.",
                    "type": "boolean"
                  },
                  "customer": {
                    "description": "ID of the Customer this SetupIntent belongs to, if one exists.\n\nIf present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "description": {
                    "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
                    "maxLength": 1000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "flow_directions": {
                    "description": "Indicates the directions of money movement for which this payment method is intended to be used.\n\nInclude `inbound` if you intend to use the payment method as the origin to pull funds from. Include `outbound` if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes.",
                    "items": {
                      "enum": [
                        "inbound",
                        "outbound"
                      ],
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "payment_method": {
                    "description": "ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent. To unset this field to null, pass in an empty string.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "payment_method_configuration": {
                    "description": "The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this SetupIntent.",
                    "maxLength": 100,
                    "type": "string"
                  },
                  "payment_method_data": {
                    "description": "When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method)\nvalue in the SetupIntent.",
                    "properties": {
                      "acss_debit": {
                        "description": "If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.",
                        "properties": {
                          "account_number": {
                            "description": "Customer's bank account number.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "institution_number": {
                            "description": "Institution number of the customer's bank.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "transit_number": {
                            "description": "Transit number of the customer's bank.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "account_number",
                          "institution_number",
                          "transit_number"
                        ],
                        "title": "payment_method_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_number",
                          "institution_number",
                          "transit_number"
                        ]
                      },
                      "affirm": {
                        "description": "If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "afterpay_clearpay": {
                        "description": "If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "alipay": {
                        "description": "If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "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`.",
                        "enum": [
                          "always",
                          "limited",
                          "unspecified"
                        ],
                        "type": "string"
                      },
                      "alma": {
                        "description": "If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "amazon_pay": {
                        "description": "If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "au_becs_debit": {
                        "description": "If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.",
                        "properties": {
                          "account_number": {
                            "description": "The account number for the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "bsb_number": {
                            "description": "Bank-State-Branch number of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "account_number",
                          "bsb_number"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_number",
                          "bsb_number"
                        ]
                      },
                      "bacs_debit": {
                        "description": "If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.",
                        "properties": {
                          "account_number": {
                            "description": "Account number of the bank account that the funds will be debited from.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "sort_code": {
                            "description": "Sort code of the bank account. (e.g., `10-20-30`)",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_number",
                          "sort_code"
                        ]
                      },
                      "bancontact": {
                        "description": "If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "billing_details": {
                        "description": "Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.",
                        "properties": {
                          "address": {
                            "anyOf": [
                              {
                                "properties": {
                                  "city": {
                                    "description": "City, district, suburb, town, or village.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "country": {
                                    "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "line1": {
                                    "description": "Address line 1 (e.g., street, PO Box, or company name).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "line2": {
                                    "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "postal_code": {
                                    "description": "ZIP or postal code.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "state": {
                                    "description": "State, county, province, or region.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "title": "billing_details_address",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "city",
                                  "country",
                                  "line1",
                                  "line2",
                                  "postal_code",
                                  "state"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Billing address."
                          },
                          "email": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Email address."
                          },
                          "name": {
                            "anyOf": [
                              {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Full name."
                          },
                          "phone": {
                            "anyOf": [
                              {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Billing phone number (including extension)."
                          }
                        },
                        "title": "billing_details_inner_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "address",
                          "email",
                          "name",
                          "phone"
                        ]
                      },
                      "blik": {
                        "description": "If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "boleto": {
                        "description": "If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.",
                        "properties": {
                          "tax_id": {
                            "description": "The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "tax_id"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "tax_id"
                        ]
                      },
                      "cashapp": {
                        "description": "If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "customer_balance": {
                        "description": "If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "eps": {
                        "description": "If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.",
                        "properties": {
                          "bank": {
                            "description": "The customer's bank.",
                            "enum": [
                              "arzte_und_apotheker_bank",
                              "austrian_anadi_bank_ag",
                              "bank_austria",
                              "bankhaus_carl_spangler",
                              "bankhaus_schelhammer_und_schattera_ag",
                              "bawag_psk_ag",
                              "bks_bank_ag",
                              "brull_kallmus_bank_ag",
                              "btv_vier_lander_bank",
                              "capital_bank_grawe_gruppe_ag",
                              "deutsche_bank_ag",
                              "dolomitenbank",
                              "easybank_ag",
                              "erste_bank_und_sparkassen",
                              "hypo_alpeadriabank_international_ag",
                              "hypo_bank_burgenland_aktiengesellschaft",
                              "hypo_noe_lb_fur_niederosterreich_u_wien",
                              "hypo_oberosterreich_salzburg_steiermark",
                              "hypo_tirol_bank_ag",
                              "hypo_vorarlberg_bank_ag",
                              "marchfelder_bank",
                              "oberbank_ag",
                              "raiffeisen_bankengruppe_osterreich",
                              "schoellerbank_ag",
                              "sparda_bank_wien",
                              "volksbank_gruppe",
                              "volkskreditbank_ag",
                              "vr_bank_braunau"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "bank"
                        ]
                      },
                      "fpx": {
                        "description": "If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.",
                        "properties": {
                          "account_holder_type": {
                            "description": "Account holder type for FPX transaction",
                            "enum": [
                              "company",
                              "individual"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "bank": {
                            "description": "The customer's bank.",
                            "enum": [
                              "affin_bank",
                              "agrobank",
                              "alliance_bank",
                              "ambank",
                              "bank_islam",
                              "bank_muamalat",
                              "bank_of_china",
                              "bank_rakyat",
                              "bsn",
                              "cimb",
                              "deutsche_bank",
                              "hong_leong_bank",
                              "hsbc",
                              "kfh",
                              "maybank2e",
                              "maybank2u",
                              "ocbc",
                              "pb_enterprise",
                              "public_bank",
                              "rhb",
                              "standard_chartered",
                              "uob"
                            ],
                            "maxLength": 5000,
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "required": [
                          "bank"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_holder_type",
                          "bank"
                        ]
                      },
                      "giropay": {
                        "description": "If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "grabpay": {
                        "description": "If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "ideal": {
                        "description": "If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.",
                        "properties": {
                          "bank": {
                            "description": "The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.",
                            "enum": [
                              "abn_amro",
                              "asn_bank",
                              "bunq",
                              "handelsbanken",
                              "ing",
                              "knab",
                              "moneyou",
                              "n26",
                              "nn",
                              "rabobank",
                              "regiobank",
                              "revolut",
                              "sns_bank",
                              "triodos_bank",
                              "van_lanschot",
                              "yoursafe"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "bank"
                        ]
                      },
                      "interac_present": {
                        "description": "If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "device_identifier",
                          "device_type",
                          "emv",
                          "location"
                        ]
                      },
                      "kakao_pay": {
                        "description": "If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "klarna": {
                        "description": "If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.",
                        "properties": {
                          "dob": {
                            "description": "Customer's date of birth",
                            "properties": {
                              "day": {
                                "description": "The day of birth, between 1 and 31.",
                                "type": "integer"
                              },
                              "month": {
                                "description": "The month of birth, between 1 and 12.",
                                "type": "integer"
                              },
                              "year": {
                                "description": "The four-digit year of birth.",
                                "type": "integer"
                              }
                            },
                            "required": [
                              "day",
                              "month",
                              "year"
                            ],
                            "title": "date_of_birth",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "day",
                              "month",
                              "year"
                            ]
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "dob"
                        ]
                      },
                      "konbini": {
                        "description": "If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "kr_card": {
                        "description": "If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "link": {
                        "description": "If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "metadata": {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                        "type": "object"
                      },
                      "mobilepay": {
                        "description": "If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "multibanco": {
                        "description": "If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "naver_pay": {
                        "description": "If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.",
                        "properties": {
                          "funding": {
                            "description": "Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.",
                            "enum": [
                              "card",
                              "points"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "funding"
                        ]
                      },
                      "oxxo": {
                        "description": "If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "p24": {
                        "description": "If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.",
                        "properties": {
                          "bank": {
                            "description": "The customer's bank.",
                            "enum": [
                              "alior_bank",
                              "bank_millennium",
                              "bank_nowy_bfg_sa",
                              "bank_pekao_sa",
                              "banki_spbdzielcze",
                              "blik",
                              "bnp_paribas",
                              "boz",
                              "citi_handlowy",
                              "credit_agricole",
                              "envelobank",
                              "etransfer_pocztowy24",
                              "getin_bank",
                              "ideabank",
                              "ing",
                              "inteligo",
                              "mbank_mtransfer",
                              "nest_przelew",
                              "noble_pay",
                              "pbac_z_ipko",
                              "plus_bank",
                              "santander_przelew24",
                              "tmobile_usbugi_bankowe",
                              "toyota_bank",
                              "velobank",
                              "volkswagen_bank"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "bank"
                        ]
                      },
                      "payco": {
                        "description": "If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "paynow": {
                        "description": "If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "paypal": {
                        "description": "If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "pix": {
                        "description": "If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "tax_id"
                        ]
                      },
                      "promptpay": {
                        "description": "If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "radar_options": {
                        "description": "Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.",
                        "properties": {
                          "session": {
                            "description": "A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "radar_options_with_hidden_options",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "session",
                          "skip_rules"
                        ]
                      },
                      "revolut_pay": {
                        "description": "If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "samsung_pay": {
                        "description": "If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "sepa_debit": {
                        "description": "If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.",
                        "properties": {
                          "iban": {
                            "description": "IBAN of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "iban"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "iban"
                        ]
                      },
                      "sofort": {
                        "description": "If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.",
                        "properties": {
                          "country": {
                            "description": "Two-letter ISO code representing the country the bank account is located in.",
                            "enum": [
                              "AT",
                              "BE",
                              "DE",
                              "ES",
                              "IT",
                              "NL"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "country"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "country"
                        ]
                      },
                      "swish": {
                        "description": "If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "twint": {
                        "description": "If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "type": {
                        "description": "The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.",
                        "enum": [
                          "acss_debit",
                          "affirm",
                          "afterpay_clearpay",
                          "alipay",
                          "alma",
                          "amazon_pay",
                          "au_becs_debit",
                          "bacs_debit",
                          "bancontact",
                          "blik",
                          "boleto",
                          "cashapp",
                          "customer_balance",
                          "eps",
                          "fpx",
                          "giropay",
                          "grabpay",
                          "ideal",
                          "kakao_pay",
                          "klarna",
                          "konbini",
                          "kr_card",
                          "link",
                          "mobilepay",
                          "multibanco",
                          "naver_pay",
                          "oxxo",
                          "p24",
                          "payco",
                          "paynow",
                          "paypal",
                          "pix",
                          "promptpay",
                          "revolut_pay",
                          "samsung_pay",
                          "sepa_debit",
                          "sofort",
                          "swish",
                          "twint",
                          "us_bank_account",
                          "wechat_pay",
                          "zip"
                        ],
                        "type": "string",
                        "x-stripeBypassValidation": true
                      },
                      "us_bank_account": {
                        "description": "If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.",
                        "properties": {
                          "account_holder_type": {
                            "description": "Account holder type: individual or company.",
                            "enum": [
                              "company",
                              "individual"
                            ],
                            "type": "string"
                          },
                          "account_number": {
                            "description": "Account number of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "account_type": {
                            "description": "Account type: checkings or savings. Defaults to checking if omitted.",
                            "enum": [
                              "checking",
                              "savings"
                            ],
                            "type": "string"
                          },
                          "financial_connections_account": {
                            "description": "The ID of a Financial Connections Account to use as a payment method.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "routing_number": {
                            "description": "Routing number of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "payment_method_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_holder_type",
                          "account_number",
                          "account_type",
                          "financial_connections_account",
                          "routing_number"
                        ]
                      },
                      "wechat_pay": {
                        "description": "If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "zip": {
                        "description": "If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "title": "payment_method_data_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "billing_details",
                      "metadata",
                      "type"
                    ]
                  },
                  "payment_method_options": {
                    "description": "Payment method-specific configuration for this SetupIntent.",
                    "properties": {
                      "acss_debit": {
                        "description": "If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.",
                        "properties": {
                          "currency": {
                            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                            "enum": [
                              "cad",
                              "usd"
                            ],
                            "type": "string"
                          },
                          "mandate_options": {
                            "description": "Additional fields for Mandate creation",
                            "properties": {
                              "custom_mandate_url": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "A URL for custom mandate text to render during confirmation step.\nThe URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,\nor `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent."
                              },
                              "default_for": {
                                "description": "List of Stripe products where this mandate can be selected automatically.",
                                "items": {
                                  "enum": [
                                    "invoice",
                                    "subscription"
                                  ],
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "interval_description": {
                                "description": "Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.",
                                "maxLength": 500,
                                "type": "string"
                              },
                              "payment_schedule": {
                                "description": "Payment schedule for the mandate.",
                                "enum": [
                                  "combined",
                                  "interval",
                                  "sporadic"
                                ],
                                "type": "string"
                              },
                              "transaction_type": {
                                "description": "Transaction type of the mandate.",
                                "enum": [
                                  "business",
                                  "personal"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "setup_intent_payment_method_options_mandate_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "custom_mandate_url",
                              "default_for",
                              "interval_description",
                              "payment_schedule",
                              "transaction_type"
                            ]
                          },
                          "verification_method": {
                            "description": "Bank account verification method.",
                            "enum": [
                              "automatic",
                              "instant",
                              "microdeposits"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "title": "setup_intent_payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "currency",
                          "mandate_options",
                          "verification_method"
                        ]
                      },
                      "amazon_pay": {
                        "description": "If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.",
                        "properties": {},
                        "title": "setup_intent_payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "charge_permission_id"
                        ]
                      },
                      "bacs_debit": {
                        "description": "If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.",
                        "properties": {
                          "mandate_options": {
                            "description": "Additional fields for Mandate creation",
                            "properties": {},
                            "title": "payment_method_options_mandate_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "reference_prefix"
                            ]
                          }
                        },
                        "title": "setup_intent_payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "mandate_options"
                        ]
                      },
                      "card": {
                        "description": "Configuration for any card setup attempted on this SetupIntent.",
                        "properties": {
                          "mandate_options": {
                            "description": "Configuration options for setting up an eMandate for cards issued in India.",
                            "properties": {
                              "amount": {
                                "description": "Amount to be charged for future payments.",
                                "type": "integer"
                              },
                              "amount_type": {
                                "description": "One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.",
                                "enum": [
                                  "fixed",
                                  "maximum"
                                ],
                                "type": "string"
                              },
                              "currency": {
                                "description": "Currency in which future payments will be charged. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                                "type": "string"
                              },
                              "description": {
                                "description": "A description of the mandate or subscription that is meant to be displayed to the customer.",
                                "maxLength": 200,
                                "type": "string"
                              },
                              "end_date": {
                                "description": "End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.",
                                "format": "unix-time",
                                "type": "integer"
                              },
                              "interval": {
                                "description": "Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.",
                                "enum": [
                                  "day",
                                  "month",
                                  "sporadic",
                                  "week",
                                  "year"
                                ],
                                "type": "string"
                              },
                              "interval_count": {
                                "description": "The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.",
                                "type": "integer"
                              },
                              "reference": {
                                "description": "Unique identifier for the mandate or subscription.",
                                "maxLength": 80,
                                "type": "string"
                              },
                              "start_date": {
                                "description": "Start date of the mandate or subscription. Start date should not be lesser than yesterday.",
                                "format": "unix-time",
                                "type": "integer"
                              },
                              "supported_types": {
                                "description": "Specifies the type of mandates supported. Possible values are `india`.",
                                "items": {
                                  "enum": [
                                    "india"
                                  ],
                                  "type": "string"
                                },
                                "type": "array"
                              }
                            },
                            "required": [
                              "amount",
                              "amount_type",
                              "currency",
                              "interval",
                              "reference",
                              "start_date"
                            ],
                            "title": "setup_intent_mandate_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "amount",
                              "amount_type",
                              "currency",
                              "description",
                              "end_date",
                              "interval",
                              "interval_count",
                              "reference",
                              "start_date",
                              "supported_types"
                            ]
                          },
                          "moto": {
                            "description": "When specified, this parameter signals that a card has been collected\nas MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This\nparameter can only be provided during confirmation.",
                            "type": "boolean"
                          },
                          "network": {
                            "description": "Selected network to process this SetupIntent on. Depends on the available networks of the card attached to the SetupIntent. Can be only set confirm-time.",
                            "enum": [
                              "amex",
                              "cartes_bancaires",
                              "diners",
                              "discover",
                              "eftpos_au",
                              "girocard",
                              "interac",
                              "jcb",
                              "link",
                              "mastercard",
                              "unionpay",
                              "unknown",
                              "visa"
                            ],
                            "maxLength": 5000,
                            "type": "string",
                            "x-stripeBypassValidation": true
                          },
                          "request_three_d_secure": {
                            "description": "We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.",
                            "enum": [
                              "any",
                              "automatic",
                              "challenge"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          },
                          "three_d_secure": {
                            "description": "If 3D Secure authentication was performed with a third-party provider,\nthe authentication details to use for this setup.",
                            "properties": {
                              "ares_trans_status": {
                                "description": "The `transStatus` returned from the card Issuer’s ACS in the ARes.",
                                "enum": [
                                  "A",
                                  "C",
                                  "I",
                                  "N",
                                  "R",
                                  "U",
                                  "Y"
                                ],
                                "type": "string"
                              },
                              "cryptogram": {
                                "description": "The cryptogram, also known as the \"authentication value\" (AAV, CAVV or\nAEVV). This value is 20 bytes, base64-encoded into a 28-character string.\n(Most 3D Secure providers will return the base64-encoded version, which\nis what you should specify here.)",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "electronic_commerce_indicator": {
                                "description": "The Electronic Commerce Indicator (ECI) is returned by your 3D Secure\nprovider and indicates what degree of authentication was performed.",
                                "enum": [
                                  "01",
                                  "02",
                                  "05",
                                  "06",
                                  "07"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              },
                              "network_options": {
                                "description": "Network specific 3DS fields. Network specific arguments require an\nexplicit card brand choice. The parameter `payment_method_options.card.network``\nmust be populated accordingly",
                                "properties": {
                                  "cartes_bancaires": {
                                    "description": "Cartes Bancaires-specific 3DS fields.",
                                    "properties": {
                                      "cb_avalgo": {
                                        "description": "The cryptogram calculation algorithm used by the card Issuer's ACS\nto calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.\nmessageExtension: CB-AVALGO",
                                        "enum": [
                                          "0",
                                          "1",
                                          "2",
                                          "3",
                                          "4",
                                          "A"
                                        ],
                                        "type": "string"
                                      },
                                      "cb_exemption": {
                                        "description": "The exemption indicator returned from Cartes Bancaires in the ARes.\nmessage extension: CB-EXEMPTION; string (4 characters)\nThis is a 3 byte bitmap (low significant byte first and most significant\nbit first) that has been Base64 encoded",
                                        "maxLength": 4,
                                        "type": "string"
                                      },
                                      "cb_score": {
                                        "description": "The risk score returned from Cartes Bancaires in the ARes.\nmessage extension: CB-SCORE; numeric value 0-99",
                                        "type": "integer"
                                      }
                                    },
                                    "required": [
                                      "cb_avalgo"
                                    ],
                                    "title": "cartes_bancaires_network_options_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "cb_avalgo",
                                      "cb_exemption",
                                      "cb_score"
                                    ]
                                  }
                                },
                                "title": "network_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "cartes_bancaires"
                                ]
                              },
                              "requestor_challenge_indicator": {
                                "description": "The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the\nAReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.",
                                "maxLength": 2,
                                "type": "string"
                              },
                              "transaction_id": {
                                "description": "For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server\nTransaction ID (dsTransID).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "version": {
                                "description": "The version of 3D Secure that was performed.",
                                "enum": [
                                  "1.0.2",
                                  "2.1.0",
                                  "2.2.0"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              }
                            },
                            "title": "setup_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "ares_trans_status",
                              "cryptogram",
                              "electronic_commerce_indicator",
                              "exemption_preferred",
                              "gateway",
                              "network_options",
                              "requestor_challenge_indicator",
                              "transaction_id",
                              "version"
                            ]
                          }
                        },
                        "title": "setup_intent_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "mandate_options",
                          "moto",
                          "network",
                          "network_token",
                          "request_name_verification",
                          "request_three_d_secure",
                          "three_d_secure",
                          "verify_card_account"
                        ]
                      },
                      "card_present": {
                        "description": "If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options.",
                        "properties": {},
                        "title": "setup_intent_payment_method_options_param",
                        "type": "object"
                      },
                      "link": {
                        "description": "If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.",
                        "properties": {
                          "persistent_token": {
                            "description": "[Deprecated] This is a legacy parameter that no longer has any function.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "setup_intent_payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "persistent_token"
                        ]
                      },
                      "paypal": {
                        "description": "If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.",
                        "properties": {
                          "billing_agreement_id": {
                            "description": "The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "billing_agreement_id",
                          "currency",
                          "subsellers"
                        ]
                      },
                      "sepa_debit": {
                        "description": "If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.",
                        "properties": {
                          "mandate_options": {
                            "description": "Additional fields for Mandate creation",
                            "properties": {},
                            "title": "payment_method_options_mandate_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "reference",
                              "reference_prefix"
                            ]
                          }
                        },
                        "title": "setup_intent_payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "mandate_options",
                          "verification_method"
                        ]
                      },
                      "us_bank_account": {
                        "description": "If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.",
                        "properties": {
                          "financial_connections": {
                            "description": "Additional fields for Financial Connections Session creation",
                            "properties": {
                              "filters": {
                                "description": "Provide filters for the linked accounts that the customer can select for the payment method",
                                "properties": {
                                  "account_subcategories": {
                                    "description": "The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.",
                                    "items": {
                                      "enum": [
                                        "checking",
                                        "savings"
                                      ],
                                      "maxLength": 5000,
                                      "type": "string"
                                    },
                                    "type": "array"
                                  }
                                },
                                "title": "linked_account_options_filters_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "account_subcategories",
                                  "institution"
                                ]
                              },
                              "permissions": {
                                "description": "The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.",
                                "items": {
                                  "enum": [
                                    "balances",
                                    "ownership",
                                    "payment_method",
                                    "transactions"
                                  ],
                                  "maxLength": 5000,
                                  "type": "string",
                                  "x-stripeBypassValidation": true
                                },
                                "type": "array"
                              },
                              "prefetch": {
                                "description": "List of data features that you would like to retrieve upon account creation.",
                                "items": {
                                  "enum": [
                                    "balances",
                                    "ownership",
                                    "transactions"
                                  ],
                                  "type": "string",
                                  "x-stripeBypassValidation": true
                                },
                                "type": "array"
                              },
                              "return_url": {
                                "description": "For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "linked_account_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "filters",
                              "manual_entry",
                              "permissions",
                              "prefetch",
                              "return_url"
                            ]
                          },
                          "mandate_options": {
                            "description": "Additional fields for Mandate creation",
                            "properties": {
                              "collection_method": {
                                "description": "The method used to collect offline mandate customer acceptance.",
                                "enum": [
                                  "",
                                  "paper"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              }
                            },
                            "title": "mandate_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "collection_method"
                            ]
                          },
                          "networks": {
                            "description": "Additional fields for network related functions",
                            "properties": {
                              "requested": {
                                "description": "Triggers validations to run across the selected networks",
                                "items": {
                                  "enum": [
                                    "ach",
                                    "us_domestic_wire"
                                  ],
                                  "type": "string"
                                },
                                "type": "array"
                              }
                            },
                            "title": "networks_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "requested"
                            ]
                          },
                          "verification_method": {
                            "description": "Bank account verification method.",
                            "enum": [
                              "automatic",
                              "instant",
                              "microdeposits"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "title": "setup_intent_payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "financial_connections",
                          "mandate_options",
                          "networks",
                          "verification_method"
                        ]
                      }
                    },
                    "title": "payment_method_options_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "acss_debit",
                      "alipay",
                      "amazon_pay",
                      "bacs_debit",
                      "blik",
                      "card",
                      "card_present",
                      "demo_pay",
                      "dummy_auth_push",
                      "klarna",
                      "link",
                      "paypal",
                      "payto",
                      "sepa_debit",
                      "upi",
                      "us_bank_account"
                    ]
                  },
                  "payment_method_types": {
                    "description": "The list of payment method types (for example, card) that this SetupIntent can set up. If you don't provide this, Stripe will dynamically show relevant payment methods from your [payment method settings](https://dashboard.stripe.com/settings/payment_methods).",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "customer",
                  "description",
                  "metadata",
                  "payment_method"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/setup_intent"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a SetupIntent"
      }
    },
    "/v1/setup_intents/{intent}/cancel": {
      "post": {
        "description": "<p>You can cancel a SetupIntent object when it’s in one of these statuses: <code>requires_payment_method</code>, <code>requires_confirmation</code>, or <code>requires_action</code>. </p>\n\n<p>After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error. You can’t cancel the SetupIntent for a Checkout Session. <a href=\"/docs/api/checkout/sessions/expire\">Expire the Checkout Session</a> instead.</p>",
        "operationId": "PostSetupIntentsIntentCancel",
        "parameters": [
          {
            "in": "path",
            "name": "intent",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "cancellation_reason": {
                    "description": "Reason for canceling this SetupIntent. Possible values are: `abandoned`, `requested_by_customer`, or `duplicate`",
                    "enum": [
                      "abandoned",
                      "duplicate",
                      "requested_by_customer"
                    ],
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "cancellation_reason"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/setup_intent"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Cancel a SetupIntent"
      }
    },
    "/v1/setup_intents/{intent}/confirm": {
      "post": {
        "description": "<p>Confirm that your customer intends to set up the current or\nprovided payment method. For example, you would confirm a SetupIntent\nwhen a customer hits the “Save” button on a payment method management\npage on your website.</p>\n\n<p>If the selected payment method does not require any additional\nsteps from the customer, the SetupIntent will transition to the\n<code>succeeded</code> status.</p>\n\n<p>Otherwise, it will transition to the <code>requires_action</code> status and\nsuggest additional actions via <code>next_action</code>. If setup fails,\nthe SetupIntent will transition to the\n<code>requires_payment_method</code> status or the <code>canceled</code> status if the\nconfirmation limit is reached.</p>",
        "operationId": "PostSetupIntentsIntentConfirm",
        "parameters": [
          {
            "in": "path",
            "name": "intent",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "mandate_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_method_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_method_options": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "confirmation_token": {
                    "description": "ID of the ConfirmationToken used to confirm this SetupIntent.\n\nIf the provided ConfirmationToken contains properties that are also being provided in this request, such as `payment_method`, then the values in this request will take precedence.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "mandate_data": {
                    "anyOf": [
                      {
                        "properties": {
                          "customer_acceptance": {
                            "description": "This hash contains details about the customer acceptance of the Mandate.",
                            "properties": {
                              "accepted_at": {
                                "description": "The time at which the customer accepted the Mandate.",
                                "format": "unix-time",
                                "type": "integer"
                              },
                              "offline": {
                                "description": "If this is a Mandate accepted offline, this hash contains details about the offline acceptance.",
                                "properties": {},
                                "title": "offline_param",
                                "type": "object"
                              },
                              "online": {
                                "description": "If this is a Mandate accepted online, this hash contains details about the online acceptance.",
                                "properties": {
                                  "ip_address": {
                                    "description": "The IP address from which the Mandate was accepted by the customer.",
                                    "type": "string"
                                  },
                                  "user_agent": {
                                    "description": "The user agent of the browser from which the Mandate was accepted by the customer.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "ip_address",
                                  "user_agent"
                                ],
                                "title": "online_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "ip_address",
                                  "user_agent"
                                ]
                              },
                              "type": {
                                "description": "The type of customer acceptance information included with the Mandate. One of `online` or `offline`.",
                                "enum": [
                                  "offline",
                                  "online"
                                ],
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "title": "customer_acceptance_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "accepted_at",
                              "offline",
                              "online",
                              "type"
                            ]
                          }
                        },
                        "required": [
                          "customer_acceptance"
                        ],
                        "title": "secret_key_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "customer_acceptance"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      },
                      {
                        "description": "This hash contains details about the Mandate to create",
                        "properties": {
                          "customer_acceptance": {
                            "description": "This hash contains details about the customer acceptance of the Mandate.",
                            "properties": {
                              "online": {
                                "description": "If this is a Mandate accepted online, this hash contains details about the online acceptance.",
                                "properties": {
                                  "ip_address": {
                                    "description": "The IP address from which the Mandate was accepted by the customer.",
                                    "type": "string"
                                  },
                                  "user_agent": {
                                    "description": "The user agent of the browser from which the Mandate was accepted by the customer.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "title": "online_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "ip_address",
                                  "user_agent"
                                ]
                              },
                              "type": {
                                "description": "The type of customer acceptance information included with the Mandate.",
                                "enum": [
                                  "online"
                                ],
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "required": [
                              "online",
                              "type"
                            ],
                            "title": "customer_acceptance_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "online",
                              "type"
                            ]
                          }
                        },
                        "required": [
                          "customer_acceptance"
                        ],
                        "title": "client_key_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "customer_acceptance"
                        ],
                        "x-stripeParam": {
                          "class_name": "MandateDataPublishableKey"
                        }
                      }
                    ]
                  },
                  "payment_method": {
                    "description": "ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "payment_method_data": {
                    "description": "When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method)\nvalue in the SetupIntent.",
                    "properties": {
                      "acss_debit": {
                        "description": "If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.",
                        "properties": {
                          "account_number": {
                            "description": "Customer's bank account number.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "institution_number": {
                            "description": "Institution number of the customer's bank.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "transit_number": {
                            "description": "Transit number of the customer's bank.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "account_number",
                          "institution_number",
                          "transit_number"
                        ],
                        "title": "payment_method_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_number",
                          "institution_number",
                          "transit_number"
                        ]
                      },
                      "affirm": {
                        "description": "If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "afterpay_clearpay": {
                        "description": "If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "alipay": {
                        "description": "If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "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`.",
                        "enum": [
                          "always",
                          "limited",
                          "unspecified"
                        ],
                        "type": "string"
                      },
                      "alma": {
                        "description": "If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "amazon_pay": {
                        "description": "If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "au_becs_debit": {
                        "description": "If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.",
                        "properties": {
                          "account_number": {
                            "description": "The account number for the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "bsb_number": {
                            "description": "Bank-State-Branch number of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "account_number",
                          "bsb_number"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_number",
                          "bsb_number"
                        ]
                      },
                      "bacs_debit": {
                        "description": "If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.",
                        "properties": {
                          "account_number": {
                            "description": "Account number of the bank account that the funds will be debited from.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "sort_code": {
                            "description": "Sort code of the bank account. (e.g., `10-20-30`)",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_number",
                          "sort_code"
                        ]
                      },
                      "bancontact": {
                        "description": "If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "billing_details": {
                        "description": "Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.",
                        "properties": {
                          "address": {
                            "anyOf": [
                              {
                                "properties": {
                                  "city": {
                                    "description": "City, district, suburb, town, or village.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "country": {
                                    "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "line1": {
                                    "description": "Address line 1 (e.g., street, PO Box, or company name).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "line2": {
                                    "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "postal_code": {
                                    "description": "ZIP or postal code.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "state": {
                                    "description": "State, county, province, or region.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "title": "billing_details_address",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "city",
                                  "country",
                                  "line1",
                                  "line2",
                                  "postal_code",
                                  "state"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Billing address."
                          },
                          "email": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Email address."
                          },
                          "name": {
                            "anyOf": [
                              {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Full name."
                          },
                          "phone": {
                            "anyOf": [
                              {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Billing phone number (including extension)."
                          }
                        },
                        "title": "billing_details_inner_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "address",
                          "email",
                          "name",
                          "phone"
                        ]
                      },
                      "blik": {
                        "description": "If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "boleto": {
                        "description": "If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.",
                        "properties": {
                          "tax_id": {
                            "description": "The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "tax_id"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "tax_id"
                        ]
                      },
                      "cashapp": {
                        "description": "If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "customer_balance": {
                        "description": "If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "eps": {
                        "description": "If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.",
                        "properties": {
                          "bank": {
                            "description": "The customer's bank.",
                            "enum": [
                              "arzte_und_apotheker_bank",
                              "austrian_anadi_bank_ag",
                              "bank_austria",
                              "bankhaus_carl_spangler",
                              "bankhaus_schelhammer_und_schattera_ag",
                              "bawag_psk_ag",
                              "bks_bank_ag",
                              "brull_kallmus_bank_ag",
                              "btv_vier_lander_bank",
                              "capital_bank_grawe_gruppe_ag",
                              "deutsche_bank_ag",
                              "dolomitenbank",
                              "easybank_ag",
                              "erste_bank_und_sparkassen",
                              "hypo_alpeadriabank_international_ag",
                              "hypo_bank_burgenland_aktiengesellschaft",
                              "hypo_noe_lb_fur_niederosterreich_u_wien",
                              "hypo_oberosterreich_salzburg_steiermark",
                              "hypo_tirol_bank_ag",
                              "hypo_vorarlberg_bank_ag",
                              "marchfelder_bank",
                              "oberbank_ag",
                              "raiffeisen_bankengruppe_osterreich",
                              "schoellerbank_ag",
                              "sparda_bank_wien",
                              "volksbank_gruppe",
                              "volkskreditbank_ag",
                              "vr_bank_braunau"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "bank"
                        ]
                      },
                      "fpx": {
                        "description": "If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.",
                        "properties": {
                          "account_holder_type": {
                            "description": "Account holder type for FPX transaction",
                            "enum": [
                              "company",
                              "individual"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "bank": {
                            "description": "The customer's bank.",
                            "enum": [
                              "affin_bank",
                              "agrobank",
                              "alliance_bank",
                              "ambank",
                              "bank_islam",
                              "bank_muamalat",
                              "bank_of_china",
                              "bank_rakyat",
                              "bsn",
                              "cimb",
                              "deutsche_bank",
                              "hong_leong_bank",
                              "hsbc",
                              "kfh",
                              "maybank2e",
                              "maybank2u",
                              "ocbc",
                              "pb_enterprise",
                              "public_bank",
                              "rhb",
                              "standard_chartered",
                              "uob"
                            ],
                            "maxLength": 5000,
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "required": [
                          "bank"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_holder_type",
                          "bank"
                        ]
                      },
                      "giropay": {
                        "description": "If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "grabpay": {
                        "description": "If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "ideal": {
                        "description": "If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.",
                        "properties": {
                          "bank": {
                            "description": "The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.",
                            "enum": [
                              "abn_amro",
                              "asn_bank",
                              "bunq",
                              "handelsbanken",
                              "ing",
                              "knab",
                              "moneyou",
                              "n26",
                              "nn",
                              "rabobank",
                              "regiobank",
                              "revolut",
                              "sns_bank",
                              "triodos_bank",
                              "van_lanschot",
                              "yoursafe"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "bank"
                        ]
                      },
                      "interac_present": {
                        "description": "If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "device_identifier",
                          "device_type",
                          "emv",
                          "location"
                        ]
                      },
                      "kakao_pay": {
                        "description": "If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "klarna": {
                        "description": "If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.",
                        "properties": {
                          "dob": {
                            "description": "Customer's date of birth",
                            "properties": {
                              "day": {
                                "description": "The day of birth, between 1 and 31.",
                                "type": "integer"
                              },
                              "month": {
                                "description": "The month of birth, between 1 and 12.",
                                "type": "integer"
                              },
                              "year": {
                                "description": "The four-digit year of birth.",
                                "type": "integer"
                              }
                            },
                            "required": [
                              "day",
                              "month",
                              "year"
                            ],
                            "title": "date_of_birth",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "day",
                              "month",
                              "year"
                            ]
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "dob"
                        ]
                      },
                      "konbini": {
                        "description": "If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "kr_card": {
                        "description": "If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "link": {
                        "description": "If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "metadata": {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                        "type": "object"
                      },
                      "mobilepay": {
                        "description": "If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "multibanco": {
                        "description": "If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "naver_pay": {
                        "description": "If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.",
                        "properties": {
                          "funding": {
                            "description": "Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.",
                            "enum": [
                              "card",
                              "points"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "funding"
                        ]
                      },
                      "oxxo": {
                        "description": "If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "p24": {
                        "description": "If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.",
                        "properties": {
                          "bank": {
                            "description": "The customer's bank.",
                            "enum": [
                              "alior_bank",
                              "bank_millennium",
                              "bank_nowy_bfg_sa",
                              "bank_pekao_sa",
                              "banki_spbdzielcze",
                              "blik",
                              "bnp_paribas",
                              "boz",
                              "citi_handlowy",
                              "credit_agricole",
                              "envelobank",
                              "etransfer_pocztowy24",
                              "getin_bank",
                              "ideabank",
                              "ing",
                              "inteligo",
                              "mbank_mtransfer",
                              "nest_przelew",
                              "noble_pay",
                              "pbac_z_ipko",
                              "plus_bank",
                              "santander_przelew24",
                              "tmobile_usbugi_bankowe",
                              "toyota_bank",
                              "velobank",
                              "volkswagen_bank"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "bank"
                        ]
                      },
                      "payco": {
                        "description": "If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "paynow": {
                        "description": "If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "paypal": {
                        "description": "If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "pix": {
                        "description": "If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "tax_id"
                        ]
                      },
                      "promptpay": {
                        "description": "If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "radar_options": {
                        "description": "Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.",
                        "properties": {
                          "session": {
                            "description": "A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "radar_options_with_hidden_options",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "session",
                          "skip_rules"
                        ]
                      },
                      "revolut_pay": {
                        "description": "If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "samsung_pay": {
                        "description": "If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "sepa_debit": {
                        "description": "If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.",
                        "properties": {
                          "iban": {
                            "description": "IBAN of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "iban"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "iban"
                        ]
                      },
                      "sofort": {
                        "description": "If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.",
                        "properties": {
                          "country": {
                            "description": "Two-letter ISO code representing the country the bank account is located in.",
                            "enum": [
                              "AT",
                              "BE",
                              "DE",
                              "ES",
                              "IT",
                              "NL"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "country"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "country"
                        ]
                      },
                      "swish": {
                        "description": "If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "twint": {
                        "description": "If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "type": {
                        "description": "The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.",
                        "enum": [
                          "acss_debit",
                          "affirm",
                          "afterpay_clearpay",
                          "alipay",
                          "alma",
                          "amazon_pay",
                          "au_becs_debit",
                          "bacs_debit",
                          "bancontact",
                          "blik",
                          "boleto",
                          "cashapp",
                          "customer_balance",
                          "eps",
                          "fpx",
                          "giropay",
                          "grabpay",
                          "ideal",
                          "kakao_pay",
                          "klarna",
                          "konbini",
                          "kr_card",
                          "link",
                          "mobilepay",
                          "multibanco",
                          "naver_pay",
                          "oxxo",
                          "p24",
                          "payco",
                          "paynow",
                          "paypal",
                          "pix",
                          "promptpay",
                          "revolut_pay",
                          "samsung_pay",
                          "sepa_debit",
                          "sofort",
                          "swish",
                          "twint",
                          "us_bank_account",
                          "wechat_pay",
                          "zip"
                        ],
                        "type": "string",
                        "x-stripeBypassValidation": true
                      },
                      "us_bank_account": {
                        "description": "If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.",
                        "properties": {
                          "account_holder_type": {
                            "description": "Account holder type: individual or company.",
                            "enum": [
                              "company",
                              "individual"
                            ],
                            "type": "string"
                          },
                          "account_number": {
                            "description": "Account number of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "account_type": {
                            "description": "Account type: checkings or savings. Defaults to checking if omitted.",
                            "enum": [
                              "checking",
                              "savings"
                            ],
                            "type": "string"
                          },
                          "financial_connections_account": {
                            "description": "The ID of a Financial Connections Account to use as a payment method.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "routing_number": {
                            "description": "Routing number of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "payment_method_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_holder_type",
                          "account_number",
                          "account_type",
                          "financial_connections_account",
                          "routing_number"
                        ]
                      },
                      "wechat_pay": {
                        "description": "If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "zip": {
                        "description": "If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "title": "payment_method_data_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "billing_details",
                      "metadata",
                      "type"
                    ]
                  },
                  "payment_method_options": {
                    "description": "Payment method-specific configuration for this SetupIntent.",
                    "properties": {
                      "acss_debit": {
                        "description": "If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.",
                        "properties": {
                          "currency": {
                            "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                            "enum": [
                              "cad",
                              "usd"
                            ],
                            "type": "string"
                          },
                          "mandate_options": {
                            "description": "Additional fields for Mandate creation",
                            "properties": {
                              "custom_mandate_url": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "A URL for custom mandate text to render during confirmation step.\nThe URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,\nor `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent."
                              },
                              "default_for": {
                                "description": "List of Stripe products where this mandate can be selected automatically.",
                                "items": {
                                  "enum": [
                                    "invoice",
                                    "subscription"
                                  ],
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "interval_description": {
                                "description": "Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.",
                                "maxLength": 500,
                                "type": "string"
                              },
                              "payment_schedule": {
                                "description": "Payment schedule for the mandate.",
                                "enum": [
                                  "combined",
                                  "interval",
                                  "sporadic"
                                ],
                                "type": "string"
                              },
                              "transaction_type": {
                                "description": "Transaction type of the mandate.",
                                "enum": [
                                  "business",
                                  "personal"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "setup_intent_payment_method_options_mandate_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "custom_mandate_url",
                              "default_for",
                              "interval_description",
                              "payment_schedule",
                              "transaction_type"
                            ]
                          },
                          "verification_method": {
                            "description": "Bank account verification method.",
                            "enum": [
                              "automatic",
                              "instant",
                              "microdeposits"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "title": "setup_intent_payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "currency",
                          "mandate_options",
                          "verification_method"
                        ]
                      },
                      "amazon_pay": {
                        "description": "If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.",
                        "properties": {},
                        "title": "setup_intent_payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "charge_permission_id"
                        ]
                      },
                      "bacs_debit": {
                        "description": "If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.",
                        "properties": {
                          "mandate_options": {
                            "description": "Additional fields for Mandate creation",
                            "properties": {},
                            "title": "payment_method_options_mandate_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "reference_prefix"
                            ]
                          }
                        },
                        "title": "setup_intent_payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "mandate_options"
                        ]
                      },
                      "card": {
                        "description": "Configuration for any card setup attempted on this SetupIntent.",
                        "properties": {
                          "mandate_options": {
                            "description": "Configuration options for setting up an eMandate for cards issued in India.",
                            "properties": {
                              "amount": {
                                "description": "Amount to be charged for future payments.",
                                "type": "integer"
                              },
                              "amount_type": {
                                "description": "One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.",
                                "enum": [
                                  "fixed",
                                  "maximum"
                                ],
                                "type": "string"
                              },
                              "currency": {
                                "description": "Currency in which future payments will be charged. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                                "type": "string"
                              },
                              "description": {
                                "description": "A description of the mandate or subscription that is meant to be displayed to the customer.",
                                "maxLength": 200,
                                "type": "string"
                              },
                              "end_date": {
                                "description": "End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.",
                                "format": "unix-time",
                                "type": "integer"
                              },
                              "interval": {
                                "description": "Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.",
                                "enum": [
                                  "day",
                                  "month",
                                  "sporadic",
                                  "week",
                                  "year"
                                ],
                                "type": "string"
                              },
                              "interval_count": {
                                "description": "The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.",
                                "type": "integer"
                              },
                              "reference": {
                                "description": "Unique identifier for the mandate or subscription.",
                                "maxLength": 80,
                                "type": "string"
                              },
                              "start_date": {
                                "description": "Start date of the mandate or subscription. Start date should not be lesser than yesterday.",
                                "format": "unix-time",
                                "type": "integer"
                              },
                              "supported_types": {
                                "description": "Specifies the type of mandates supported. Possible values are `india`.",
                                "items": {
                                  "enum": [
                                    "india"
                                  ],
                                  "type": "string"
                                },
                                "type": "array"
                              }
                            },
                            "required": [
                              "amount",
                              "amount_type",
                              "currency",
                              "interval",
                              "reference",
                              "start_date"
                            ],
                            "title": "setup_intent_mandate_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "amount",
                              "amount_type",
                              "currency",
                              "description",
                              "end_date",
                              "interval",
                              "interval_count",
                              "reference",
                              "start_date",
                              "supported_types"
                            ]
                          },
                          "moto": {
                            "description": "When specified, this parameter signals that a card has been collected\nas MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This\nparameter can only be provided during confirmation.",
                            "type": "boolean"
                          },
                          "network": {
                            "description": "Selected network to process this SetupIntent on. Depends on the available networks of the card attached to the SetupIntent. Can be only set confirm-time.",
                            "enum": [
                              "amex",
                              "cartes_bancaires",
                              "diners",
                              "discover",
                              "eftpos_au",
                              "girocard",
                              "interac",
                              "jcb",
                              "link",
                              "mastercard",
                              "unionpay",
                              "unknown",
                              "visa"
                            ],
                            "maxLength": 5000,
                            "type": "string",
                            "x-stripeBypassValidation": true
                          },
                          "request_three_d_secure": {
                            "description": "We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.",
                            "enum": [
                              "any",
                              "automatic",
                              "challenge"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          },
                          "three_d_secure": {
                            "description": "If 3D Secure authentication was performed with a third-party provider,\nthe authentication details to use for this setup.",
                            "properties": {
                              "ares_trans_status": {
                                "description": "The `transStatus` returned from the card Issuer’s ACS in the ARes.",
                                "enum": [
                                  "A",
                                  "C",
                                  "I",
                                  "N",
                                  "R",
                                  "U",
                                  "Y"
                                ],
                                "type": "string"
                              },
                              "cryptogram": {
                                "description": "The cryptogram, also known as the \"authentication value\" (AAV, CAVV or\nAEVV). This value is 20 bytes, base64-encoded into a 28-character string.\n(Most 3D Secure providers will return the base64-encoded version, which\nis what you should specify here.)",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "electronic_commerce_indicator": {
                                "description": "The Electronic Commerce Indicator (ECI) is returned by your 3D Secure\nprovider and indicates what degree of authentication was performed.",
                                "enum": [
                                  "01",
                                  "02",
                                  "05",
                                  "06",
                                  "07"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              },
                              "network_options": {
                                "description": "Network specific 3DS fields. Network specific arguments require an\nexplicit card brand choice. The parameter `payment_method_options.card.network``\nmust be populated accordingly",
                                "properties": {
                                  "cartes_bancaires": {
                                    "description": "Cartes Bancaires-specific 3DS fields.",
                                    "properties": {
                                      "cb_avalgo": {
                                        "description": "The cryptogram calculation algorithm used by the card Issuer's ACS\nto calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.\nmessageExtension: CB-AVALGO",
                                        "enum": [
                                          "0",
                                          "1",
                                          "2",
                                          "3",
                                          "4",
                                          "A"
                                        ],
                                        "type": "string"
                                      },
                                      "cb_exemption": {
                                        "description": "The exemption indicator returned from Cartes Bancaires in the ARes.\nmessage extension: CB-EXEMPTION; string (4 characters)\nThis is a 3 byte bitmap (low significant byte first and most significant\nbit first) that has been Base64 encoded",
                                        "maxLength": 4,
                                        "type": "string"
                                      },
                                      "cb_score": {
                                        "description": "The risk score returned from Cartes Bancaires in the ARes.\nmessage extension: CB-SCORE; numeric value 0-99",
                                        "type": "integer"
                                      }
                                    },
                                    "required": [
                                      "cb_avalgo"
                                    ],
                                    "title": "cartes_bancaires_network_options_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "cb_avalgo",
                                      "cb_exemption",
                                      "cb_score"
                                    ]
                                  }
                                },
                                "title": "network_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "cartes_bancaires"
                                ]
                              },
                              "requestor_challenge_indicator": {
                                "description": "The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the\nAReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.",
                                "maxLength": 2,
                                "type": "string"
                              },
                              "transaction_id": {
                                "description": "For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server\nTransaction ID (dsTransID).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "version": {
                                "description": "The version of 3D Secure that was performed.",
                                "enum": [
                                  "1.0.2",
                                  "2.1.0",
                                  "2.2.0"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              }
                            },
                            "title": "setup_intent_payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "ares_trans_status",
                              "cryptogram",
                              "electronic_commerce_indicator",
                              "exemption_preferred",
                              "gateway",
                              "network_options",
                              "requestor_challenge_indicator",
                              "transaction_id",
                              "version"
                            ]
                          }
                        },
                        "title": "setup_intent_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "mandate_options",
                          "moto",
                          "network",
                          "network_token",
                          "request_name_verification",
                          "request_three_d_secure",
                          "three_d_secure",
                          "verify_card_account"
                        ]
                      },
                      "card_present": {
                        "description": "If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options.",
                        "properties": {},
                        "title": "setup_intent_payment_method_options_param",
                        "type": "object"
                      },
                      "link": {
                        "description": "If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.",
                        "properties": {
                          "persistent_token": {
                            "description": "[Deprecated] This is a legacy parameter that no longer has any function.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "setup_intent_payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "persistent_token"
                        ]
                      },
                      "paypal": {
                        "description": "If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.",
                        "properties": {
                          "billing_agreement_id": {
                            "description": "The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "billing_agreement_id",
                          "currency",
                          "subsellers"
                        ]
                      },
                      "sepa_debit": {
                        "description": "If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.",
                        "properties": {
                          "mandate_options": {
                            "description": "Additional fields for Mandate creation",
                            "properties": {},
                            "title": "payment_method_options_mandate_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "reference",
                              "reference_prefix"
                            ]
                          }
                        },
                        "title": "setup_intent_payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "mandate_options",
                          "verification_method"
                        ]
                      },
                      "us_bank_account": {
                        "description": "If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.",
                        "properties": {
                          "financial_connections": {
                            "description": "Additional fields for Financial Connections Session creation",
                            "properties": {
                              "filters": {
                                "description": "Provide filters for the linked accounts that the customer can select for the payment method",
                                "properties": {
                                  "account_subcategories": {
                                    "description": "The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.",
                                    "items": {
                                      "enum": [
                                        "checking",
                                        "savings"
                                      ],
                                      "maxLength": 5000,
                                      "type": "string"
                                    },
                                    "type": "array"
                                  }
                                },
                                "title": "linked_account_options_filters_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "account_subcategories",
                                  "institution"
                                ]
                              },
                              "permissions": {
                                "description": "The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.",
                                "items": {
                                  "enum": [
                                    "balances",
                                    "ownership",
                                    "payment_method",
                                    "transactions"
                                  ],
                                  "maxLength": 5000,
                                  "type": "string",
                                  "x-stripeBypassValidation": true
                                },
                                "type": "array"
                              },
                              "prefetch": {
                                "description": "List of data features that you would like to retrieve upon account creation.",
                                "items": {
                                  "enum": [
                                    "balances",
                                    "ownership",
                                    "transactions"
                                  ],
                                  "type": "string",
                                  "x-stripeBypassValidation": true
                                },
                                "type": "array"
                              },
                              "return_url": {
                                "description": "For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "linked_account_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "filters",
                              "manual_entry",
                              "permissions",
                              "prefetch",
                              "return_url"
                            ]
                          },
                          "mandate_options": {
                            "description": "Additional fields for Mandate creation",
                            "properties": {
                              "collection_method": {
                                "description": "The method used to collect offline mandate customer acceptance.",
                                "enum": [
                                  "",
                                  "paper"
                                ],
                                "type": "string",
                                "x-stripeBypassValidation": true
                              }
                            },
                            "title": "mandate_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "collection_method"
                            ]
                          },
                          "networks": {
                            "description": "Additional fields for network related functions",
                            "properties": {
                              "requested": {
                                "description": "Triggers validations to run across the selected networks",
                                "items": {
                                  "enum": [
                                    "ach",
                                    "us_domestic_wire"
                                  ],
                                  "type": "string"
                                },
                                "type": "array"
                              }
                            },
                            "title": "networks_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "requested"
                            ]
                          },
                          "verification_method": {
                            "description": "Bank account verification method.",
                            "enum": [
                              "automatic",
                              "instant",
                              "microdeposits"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "title": "setup_intent_payment_method_options_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "financial_connections",
                          "mandate_options",
                          "networks",
                          "verification_method"
                        ]
                      }
                    },
                    "title": "payment_method_options_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "acss_debit",
                      "alipay",
                      "amazon_pay",
                      "bacs_debit",
                      "blik",
                      "card",
                      "card_present",
                      "demo_pay",
                      "dummy_auth_push",
                      "klarna",
                      "link",
                      "paypal",
                      "payto",
                      "sepa_debit",
                      "upi",
                      "us_bank_account"
                    ]
                  },
                  "return_url": {
                    "description": "The URL to redirect your customer back to after they authenticate on the payment method's app or site.\nIf you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.\nThis parameter is only used for cards and other redirect-based payment methods.",
                    "type": "string"
                  },
                  "use_stripe_sdk": {
                    "description": "Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.",
                    "type": "boolean"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "payment_method"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/setup_intent"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Confirm a SetupIntent"
      }
    },
    "/v1/setup_intents/{intent}/verify_microdeposits": {
      "post": {
        "description": "<p>Verifies microdeposits on a SetupIntent object.</p>",
        "operationId": "PostSetupIntentsIntentVerifyMicrodeposits",
        "parameters": [
          {
            "in": "path",
            "name": "intent",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "amounts": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amounts": {
                    "description": "Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account.",
                    "items": {
                      "type": "integer"
                    },
                    "type": "array"
                  },
                  "descriptor_code": {
                    "description": "A six-character code starting with SM present in the microdeposit sent to the bank account.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "amounts",
                  "descriptor_code"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/setup_intent"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Verify microdeposits on a SetupIntent"
      }
    },
    "/v1/shipping_rates": {
      "get": {
        "description": "<p>Returns a list of your shipping rates.</p>",
        "operationId": "GetShippingRates",
        "parameters": [
          {
            "description": "Only return shipping rates that are active or inactive.",
            "in": "query",
            "name": "active",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          },
          {
            "description": "A filter on the list, based on the object `created` field. The value can be a string with an integer Unix timestamp, or it can be a dictionary with a number of different query options.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "Only return shipping rates for the given currency.",
            "in": "query",
            "name": "currency",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/shipping_rate"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/shipping_rates",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "ShippingResourcesShippingRateList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all shipping rates"
      },
      "post": {
        "description": "<p>Creates a new shipping rate object.</p>",
        "operationId": "PostShippingRates",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "delivery_estimate": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "fixed_amount": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "delivery_estimate": {
                    "description": "The estimated range for how long shipping will take, meant to be displayable to the customer. This will appear on CheckoutSessions.",
                    "properties": {
                      "maximum": {
                        "description": "The upper bound of the estimated range. If empty, represents no upper bound i.e., infinite.",
                        "properties": {
                          "unit": {
                            "description": "A unit of time.",
                            "enum": [
                              "business_day",
                              "day",
                              "hour",
                              "month",
                              "week"
                            ],
                            "type": "string"
                          },
                          "value": {
                            "description": "Must be greater than 0.",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "unit",
                          "value"
                        ],
                        "title": "delivery_estimate_bound",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "unit",
                          "value"
                        ]
                      },
                      "minimum": {
                        "description": "The lower bound of the estimated range. If empty, represents no lower bound.",
                        "properties": {
                          "unit": {
                            "description": "A unit of time.",
                            "enum": [
                              "business_day",
                              "day",
                              "hour",
                              "month",
                              "week"
                            ],
                            "type": "string"
                          },
                          "value": {
                            "description": "Must be greater than 0.",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "unit",
                          "value"
                        ],
                        "title": "delivery_estimate_bound",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "unit",
                          "value"
                        ]
                      }
                    },
                    "title": "delivery_estimate",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "maximum",
                      "minimum"
                    ]
                  },
                  "display_name": {
                    "description": "The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions.",
                    "maxLength": 100,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "fixed_amount": {
                    "description": "Describes a fixed amount to charge for shipping. Must be present if type is `fixed_amount`.",
                    "properties": {
                      "amount": {
                        "description": "A non-negative integer in cents representing how much to charge.",
                        "type": "integer"
                      },
                      "currency": {
                        "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                        "type": "string"
                      },
                      "currency_options": {
                        "additionalProperties": {
                          "properties": {
                            "amount": {
                              "description": "A non-negative integer in cents representing how much to charge.",
                              "type": "integer"
                            },
                            "tax_behavior": {
                              "description": "Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.",
                              "enum": [
                                "exclusive",
                                "inclusive",
                                "unspecified"
                              ],
                              "type": "string"
                            }
                          },
                          "required": [
                            "amount"
                          ],
                          "title": "currency_option",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "amount",
                            "tax_behavior"
                          ]
                        },
                        "description": "Shipping rates defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).",
                        "type": "object"
                      }
                    },
                    "required": [
                      "amount",
                      "currency"
                    ],
                    "title": "fixed_amount",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "amount",
                      "currency",
                      "currency_options"
                    ]
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "tax_behavior": {
                    "description": "Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.",
                    "enum": [
                      "exclusive",
                      "inclusive",
                      "unspecified"
                    ],
                    "type": "string"
                  },
                  "tax_code": {
                    "description": "A [tax code](https://stripe.com/docs/tax/tax-categories) ID. The Shipping tax code is `txcd_92010001`.",
                    "type": "string"
                  },
                  "type": {
                    "description": "The type of calculation to use on the shipping rate.",
                    "enum": [
                      "fixed_amount"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "display_name"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "display_name",
                  "fixed_amount",
                  "metadata",
                  "tax_behavior",
                  "tax_code",
                  "type"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/shipping_rate"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a shipping rate"
      }
    },
    "/v1/shipping_rates/{shipping_rate_token}": {
      "get": {
        "description": "<p>Returns the shipping rate object with the given ID.</p>",
        "operationId": "GetShippingRatesShippingRateToken",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "shipping_rate_token",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/shipping_rate"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a shipping rate"
      },
      "post": {
        "description": "<p>Updates an existing shipping rate object.</p>",
        "operationId": "PostShippingRatesShippingRateToken",
        "parameters": [
          {
            "in": "path",
            "name": "shipping_rate_token",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "fixed_amount": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "active": {
                    "description": "Whether the shipping rate can be used for new purchases. Defaults to `true`.",
                    "type": "boolean"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "fixed_amount": {
                    "description": "Describes a fixed amount to charge for shipping. Must be present if type is `fixed_amount`.",
                    "properties": {
                      "currency_options": {
                        "additionalProperties": {
                          "properties": {
                            "amount": {
                              "description": "A non-negative integer in cents representing how much to charge.",
                              "type": "integer"
                            },
                            "tax_behavior": {
                              "description": "Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.",
                              "enum": [
                                "exclusive",
                                "inclusive",
                                "unspecified"
                              ],
                              "type": "string"
                            }
                          },
                          "title": "currency_option_update",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "amount",
                            "tax_behavior"
                          ]
                        },
                        "description": "Shipping rates defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).",
                        "type": "object"
                      }
                    },
                    "title": "fixed_amount_update",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "currency_options"
                    ]
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "tax_behavior": {
                    "description": "Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.",
                    "enum": [
                      "exclusive",
                      "inclusive",
                      "unspecified"
                    ],
                    "type": "string"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "active",
                  "fixed_amount",
                  "metadata",
                  "tax_behavior"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/shipping_rate"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a shipping rate"
      }
    },
    "/v1/sigma/scheduled_query_runs": {
      "get": {
        "description": "<p>Returns a list of scheduled query runs.</p>",
        "operationId": "GetSigmaScheduledQueryRuns",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/scheduled_query_run"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/sigma/scheduled_query_runs",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "SigmaScheduledQueryRunList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all scheduled query runs"
      }
    },
    "/v1/sigma/scheduled_query_runs/{scheduled_query_run}": {
      "get": {
        "description": "<p>Retrieves the details of an scheduled query run.</p>",
        "operationId": "GetSigmaScheduledQueryRunsScheduledQueryRun",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "scheduled_query_run",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/scheduled_query_run"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a scheduled query run"
      }
    },
    "/v1/sources": {
      "post": {
        "description": "<p>Creates a new source object.</p>",
        "operationId": "PostSources",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "mandate": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "owner": {
                  "explode": true,
                  "style": "deepObject"
                },
                "receiver": {
                  "explode": true,
                  "style": "deepObject"
                },
                "redirect": {
                  "explode": true,
                  "style": "deepObject"
                },
                "source_order": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "Amount associated with the source. This is the amount for which the source will be chargeable once ready. Required for `single_use` sources. Not supported for `receiver` type sources, where charge amount may not be specified until funds land.",
                    "type": "integer"
                  },
                  "currency": {
                    "description": "Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) associated with the source. This is the currency for which the source will be chargeable once ready.",
                    "type": "string"
                  },
                  "customer": {
                    "description": "The `Customer` to whom the original source is attached to. Must be set when the original source is not a `Source` (e.g., `Card`).",
                    "maxLength": 500,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "flow": {
                    "description": "The authentication `flow` of the source to create. `flow` is one of `redirect`, `receiver`, `code_verification`, `none`. It is generally inferred unless a type supports multiple flows.",
                    "enum": [
                      "code_verification",
                      "none",
                      "receiver",
                      "redirect"
                    ],
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "mandate": {
                    "description": "Information about a mandate possibility attached to a source object (generally for bank debits) as well as its acceptance status.",
                    "properties": {
                      "acceptance": {
                        "description": "The parameters required to notify Stripe of a mandate acceptance or refusal by the customer.",
                        "properties": {
                          "date": {
                            "description": "The Unix timestamp (in seconds) when the mandate was accepted or refused by the customer.",
                            "format": "unix-time",
                            "type": "integer"
                          },
                          "ip": {
                            "description": "The IP address from which the mandate was accepted or refused by the customer.",
                            "type": "string"
                          },
                          "offline": {
                            "description": "The parameters required to store a mandate accepted offline. Should only be set if `mandate[type]` is `offline`",
                            "properties": {
                              "contact_email": {
                                "description": "An email to contact you with if a copy of the mandate is requested, required if `type` is `offline`.",
                                "type": "string"
                              }
                            },
                            "required": [
                              "contact_email"
                            ],
                            "title": "mandate_offline_acceptance_params",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "contact_email"
                            ]
                          },
                          "online": {
                            "description": "The parameters required to store a mandate accepted online. Should only be set if `mandate[type]` is `online`",
                            "properties": {
                              "date": {
                                "description": "The Unix timestamp (in seconds) when the mandate was accepted or refused by the customer.",
                                "format": "unix-time",
                                "type": "integer"
                              },
                              "ip": {
                                "description": "The IP address from which the mandate was accepted or refused by the customer.",
                                "type": "string"
                              },
                              "user_agent": {
                                "description": "The user agent of the browser from which the mandate was accepted or refused by the customer.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "mandate_online_acceptance_params",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "date",
                              "ip",
                              "user_agent"
                            ]
                          },
                          "status": {
                            "description": "The status of the mandate acceptance. Either `accepted` (the mandate was accepted) or `refused` (the mandate was refused).",
                            "enum": [
                              "accepted",
                              "pending",
                              "refused",
                              "revoked"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "type": {
                            "description": "The type of acceptance information included with the mandate. Either `online` or `offline`",
                            "enum": [
                              "offline",
                              "online"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "user_agent": {
                            "description": "The user agent of the browser from which the mandate was accepted or refused by the customer.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "status"
                        ],
                        "title": "mandate_acceptance_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "date",
                          "ip",
                          "offline",
                          "online",
                          "status",
                          "type",
                          "user_agent"
                        ]
                      },
                      "amount": {
                        "anyOf": [
                          {
                            "type": "integer"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The amount specified by the mandate. (Leave null for a mandate covering all amounts)"
                      },
                      "currency": {
                        "description": "The currency specified by the mandate. (Must match `currency` of the source)",
                        "type": "string"
                      },
                      "interval": {
                        "description": "The interval of debits permitted by the mandate. Either `one_time` (just permitting a single debit), `scheduled` (with debits on an agreed schedule or for clearly-defined events), or `variable`(for debits with any frequency)",
                        "enum": [
                          "one_time",
                          "scheduled",
                          "variable"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "notification_method": {
                        "description": "The method Stripe should use to notify the customer of upcoming debit instructions and/or mandate confirmation as required by the underlying debit network. Either `email` (an email is sent directly to the customer), `manual` (a `source.mandate_notification` event is sent to your webhooks endpoint and you should handle the notification) or `none` (the underlying debit network does not require any notification).",
                        "enum": [
                          "deprecated_none",
                          "email",
                          "manual",
                          "none",
                          "stripe_email"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "mandate_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "acceptance",
                      "amount",
                      "currency",
                      "interval",
                      "notification_method"
                    ]
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "type": "object"
                  },
                  "original_source": {
                    "description": "The source to share.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "owner": {
                    "description": "Information about the owner of the payment instrument that may be used or required by particular source types.",
                    "properties": {
                      "address": {
                        "description": "Owner's address.",
                        "properties": {
                          "city": {
                            "description": "City, district, suburb, town, or village.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Address line 1 (e.g., street, PO Box, or company name).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "ZIP or postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "State, county, province, or region.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "source_address",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "line1",
                          "line2",
                          "postal_code",
                          "state"
                        ]
                      },
                      "email": {
                        "description": "Owner's email address.",
                        "type": "string"
                      },
                      "name": {
                        "description": "Owner's full name.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "phone": {
                        "description": "Owner's phone number.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "owner",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "address",
                      "email",
                      "name",
                      "phone"
                    ]
                  },
                  "receiver": {
                    "description": "Optional parameters for the receiver flow. Can be set only if the source is a receiver (`flow` is `receiver`).",
                    "properties": {
                      "refund_attributes_method": {
                        "description": "The method Stripe should use to request information needed to process a refund or mispayment. Either `email` (an email is sent directly to the customer) or `manual` (a `source.refund_attributes_required` event is sent to your webhooks endpoint). Refer to each payment method's documentation to learn which refund attributes may be required.",
                        "enum": [
                          "email",
                          "manual",
                          "none"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "receiver_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "refund_attributes_method"
                    ]
                  },
                  "redirect": {
                    "description": "Parameters required for the redirect flow. Required if the source is authenticated by a redirect (`flow` is `redirect`).",
                    "properties": {
                      "return_url": {
                        "description": "The URL you provide to redirect the customer back to you after they authenticated their payment. It can use your application URI scheme in the context of a mobile application.",
                        "type": "string"
                      }
                    },
                    "required": [
                      "return_url"
                    ],
                    "title": "redirect_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "return_url"
                    ]
                  },
                  "source_order": {
                    "description": "Information about the items and shipping associated with the source. Required for transactional credit (for example Klarna) sources before you can charge it.",
                    "properties": {
                      "items": {
                        "description": "List of items constituting the order.",
                        "items": {
                          "properties": {
                            "amount": {
                              "type": "integer"
                            },
                            "currency": {
                              "type": "string"
                            },
                            "description": {
                              "maxLength": 1000,
                              "type": "string"
                            },
                            "parent": {
                              "description": "The ID of the SKU being ordered.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "quantity": {
                              "description": "The quantity of this order item. When type is `sku`, this is the number of instances of the SKU to be ordered.",
                              "type": "integer"
                            },
                            "type": {
                              "enum": [
                                "discount",
                                "shipping",
                                "sku",
                                "tax"
                              ],
                              "maxLength": 5000,
                              "type": "string"
                            }
                          },
                          "title": "order_item_specs",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "amount",
                            "currency",
                            "description",
                            "parent",
                            "quantity",
                            "type"
                          ]
                        },
                        "type": "array"
                      },
                      "shipping": {
                        "description": "Shipping address for the order. Required if any of the SKUs are for products that have `shippable` set to true.",
                        "properties": {
                          "address": {
                            "description": "Shipping address.",
                            "properties": {
                              "city": {
                                "description": "City, district, suburb, town, or village.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "country": {
                                "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line1": {
                                "description": "Address line 1 (e.g., street, PO Box, or company name).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line2": {
                                "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "postal_code": {
                                "description": "ZIP or postal code.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "state": {
                                "description": "State, county, province, or region.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "required": [
                              "line1"
                            ],
                            "title": "address",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "city",
                              "country",
                              "line1",
                              "line2",
                              "postal_code",
                              "state"
                            ]
                          },
                          "carrier": {
                            "description": "The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "name": {
                            "description": "Recipient name.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "phone": {
                            "description": "Recipient phone (including extension).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "tracking_number": {
                            "description": "The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "address"
                        ],
                        "title": "order_shipping",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "address",
                          "carrier",
                          "name",
                          "phone",
                          "tracking_number"
                        ]
                      }
                    },
                    "title": "shallow_order_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "items",
                      "shipping"
                    ]
                  },
                  "statement_descriptor": {
                    "description": "An arbitrary string to be displayed on your customer's statement. As an example, if your website is `RunClub` and the item you're charging for is a race ticket, you may want to specify a `statement_descriptor` of `RunClub 5K race ticket.` While many payment types will display this information, some may not display it at all.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "token": {
                    "description": "An optional token used to create the source. When passed, token properties will override source parameters.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "type": {
                    "description": "The `type` of the source to create. Required unless `customer` and `original_source` are specified (see the [Cloning card Sources](https://stripe.com/docs/sources/connect#cloning-card-sources) guide)",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "usage": {
                    "enum": [
                      "reusable",
                      "single_use"
                    ],
                    "maxLength": 5000,
                    "type": "string"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "currency",
                  "customer",
                  "metadata",
                  "original_source",
                  "owner",
                  "redirect",
                  "statement_descriptor",
                  "type"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/source"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Shares a source"
      }
    },
    "/v1/sources/{source}": {
      "get": {
        "description": "<p>Retrieves an existing source object. Supply the unique source ID from a source creation request and Stripe will return the corresponding up-to-date source object information.</p>",
        "operationId": "GetSourcesSource",
        "parameters": [
          {
            "description": "The client secret of the source. Required if a publishable key is used to retrieve the source.",
            "in": "query",
            "name": "client_secret",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "source",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/source"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a source"
      },
      "post": {
        "description": "<p>Updates the specified source by setting the values of the parameters passed. Any parameters not provided will be left unchanged.</p>\n\n<p>This request accepts the <code>metadata</code> and <code>owner</code> as arguments. It is also possible to update type specific information for selected payment methods. Please refer to our <a href=\"/docs/sources\">payment method guides</a> for more detail.</p>",
        "operationId": "PostSourcesSource",
        "parameters": [
          {
            "in": "path",
            "name": "source",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "mandate": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "owner": {
                  "explode": true,
                  "style": "deepObject"
                },
                "source_order": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "Amount associated with the source.",
                    "type": "integer"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "mandate": {
                    "description": "Information about a mandate possibility attached to a source object (generally for bank debits) as well as its acceptance status.",
                    "properties": {
                      "acceptance": {
                        "description": "The parameters required to notify Stripe of a mandate acceptance or refusal by the customer.",
                        "properties": {
                          "date": {
                            "description": "The Unix timestamp (in seconds) when the mandate was accepted or refused by the customer.",
                            "format": "unix-time",
                            "type": "integer"
                          },
                          "ip": {
                            "description": "The IP address from which the mandate was accepted or refused by the customer.",
                            "type": "string"
                          },
                          "offline": {
                            "description": "The parameters required to store a mandate accepted offline. Should only be set if `mandate[type]` is `offline`",
                            "properties": {
                              "contact_email": {
                                "description": "An email to contact you with if a copy of the mandate is requested, required if `type` is `offline`.",
                                "type": "string"
                              }
                            },
                            "required": [
                              "contact_email"
                            ],
                            "title": "mandate_offline_acceptance_params",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "contact_email"
                            ]
                          },
                          "online": {
                            "description": "The parameters required to store a mandate accepted online. Should only be set if `mandate[type]` is `online`",
                            "properties": {
                              "date": {
                                "description": "The Unix timestamp (in seconds) when the mandate was accepted or refused by the customer.",
                                "format": "unix-time",
                                "type": "integer"
                              },
                              "ip": {
                                "description": "The IP address from which the mandate was accepted or refused by the customer.",
                                "type": "string"
                              },
                              "user_agent": {
                                "description": "The user agent of the browser from which the mandate was accepted or refused by the customer.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "mandate_online_acceptance_params",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "date",
                              "ip",
                              "user_agent"
                            ]
                          },
                          "status": {
                            "description": "The status of the mandate acceptance. Either `accepted` (the mandate was accepted) or `refused` (the mandate was refused).",
                            "enum": [
                              "accepted",
                              "pending",
                              "refused",
                              "revoked"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "type": {
                            "description": "The type of acceptance information included with the mandate. Either `online` or `offline`",
                            "enum": [
                              "offline",
                              "online"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "user_agent": {
                            "description": "The user agent of the browser from which the mandate was accepted or refused by the customer.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "status"
                        ],
                        "title": "mandate_acceptance_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "date",
                          "ip",
                          "offline",
                          "online",
                          "status",
                          "type",
                          "user_agent"
                        ]
                      },
                      "amount": {
                        "anyOf": [
                          {
                            "type": "integer"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The amount specified by the mandate. (Leave null for a mandate covering all amounts)"
                      },
                      "currency": {
                        "description": "The currency specified by the mandate. (Must match `currency` of the source)",
                        "type": "string"
                      },
                      "interval": {
                        "description": "The interval of debits permitted by the mandate. Either `one_time` (just permitting a single debit), `scheduled` (with debits on an agreed schedule or for clearly-defined events), or `variable`(for debits with any frequency)",
                        "enum": [
                          "one_time",
                          "scheduled",
                          "variable"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "notification_method": {
                        "description": "The method Stripe should use to notify the customer of upcoming debit instructions and/or mandate confirmation as required by the underlying debit network. Either `email` (an email is sent directly to the customer), `manual` (a `source.mandate_notification` event is sent to your webhooks endpoint and you should handle the notification) or `none` (the underlying debit network does not require any notification).",
                        "enum": [
                          "deprecated_none",
                          "email",
                          "manual",
                          "none",
                          "stripe_email"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "mandate_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "acceptance",
                      "amount",
                      "currency",
                      "interval",
                      "notification_method"
                    ]
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "owner": {
                    "description": "Information about the owner of the payment instrument that may be used or required by particular source types.",
                    "properties": {
                      "address": {
                        "description": "Owner's address.",
                        "properties": {
                          "city": {
                            "description": "City, district, suburb, town, or village.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Address line 1 (e.g., street, PO Box, or company name).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "ZIP or postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "State, county, province, or region.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "source_address",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "line1",
                          "line2",
                          "postal_code",
                          "state"
                        ]
                      },
                      "email": {
                        "description": "Owner's email address.",
                        "type": "string"
                      },
                      "name": {
                        "description": "Owner's full name.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "phone": {
                        "description": "Owner's phone number.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "owner",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "address",
                      "email",
                      "name",
                      "phone"
                    ]
                  },
                  "source_order": {
                    "description": "Information about the items and shipping associated with the source. Required for transactional credit (for example Klarna) sources before you can charge it.",
                    "properties": {
                      "items": {
                        "description": "List of items constituting the order.",
                        "items": {
                          "properties": {
                            "amount": {
                              "type": "integer"
                            },
                            "currency": {
                              "type": "string"
                            },
                            "description": {
                              "maxLength": 1000,
                              "type": "string"
                            },
                            "parent": {
                              "description": "The ID of the SKU being ordered.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "quantity": {
                              "description": "The quantity of this order item. When type is `sku`, this is the number of instances of the SKU to be ordered.",
                              "type": "integer"
                            },
                            "type": {
                              "enum": [
                                "discount",
                                "shipping",
                                "sku",
                                "tax"
                              ],
                              "maxLength": 5000,
                              "type": "string"
                            }
                          },
                          "title": "order_item_specs",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "amount",
                            "currency",
                            "description",
                            "parent",
                            "quantity",
                            "type"
                          ]
                        },
                        "type": "array"
                      },
                      "shipping": {
                        "description": "Shipping address for the order. Required if any of the SKUs are for products that have `shippable` set to true.",
                        "properties": {
                          "address": {
                            "description": "Shipping address.",
                            "properties": {
                              "city": {
                                "description": "City, district, suburb, town, or village.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "country": {
                                "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line1": {
                                "description": "Address line 1 (e.g., street, PO Box, or company name).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line2": {
                                "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "postal_code": {
                                "description": "ZIP or postal code.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "state": {
                                "description": "State, county, province, or region.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "required": [
                              "line1"
                            ],
                            "title": "address",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "city",
                              "country",
                              "line1",
                              "line2",
                              "postal_code",
                              "state"
                            ]
                          },
                          "carrier": {
                            "description": "The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "name": {
                            "description": "Recipient name.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "phone": {
                            "description": "Recipient phone (including extension).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "tracking_number": {
                            "description": "The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "address"
                        ],
                        "title": "order_shipping",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "address",
                          "carrier",
                          "name",
                          "phone",
                          "tracking_number"
                        ]
                      }
                    },
                    "title": "order_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "items",
                      "shipping"
                    ]
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "metadata",
                  "owner"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/source"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a source"
      }
    },
    "/v1/sources/{source}/source_transactions": {
      "get": {
        "description": "<p>List source transactions for a given source.</p>",
        "operationId": "GetSourcesSourceSourceTransactions",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "in": "path",
            "name": "source",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/source_transaction"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "ApmsSourcesSourceTransactionList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        }
      }
    },
    "/v1/sources/{source}/verify": {
      "post": {
        "description": "<p>Verify a given source.</p>",
        "operationId": "PostSourcesSourceVerify",
        "parameters": [
          {
            "in": "path",
            "name": "source",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "values": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "values": {
                    "description": "The values needed to verify the source.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "values"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "values"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/source"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        }
      }
    },
    "/v1/subscription_items": {
      "get": {
        "description": "<p>Returns a list of your subscription items for a given subscription.</p>",
        "operationId": "GetSubscriptionItems",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "The ID of the subscription whose items will be retrieved.",
            "in": "query",
            "name": "subscription",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/subscription_item"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/subscription_items",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "SubscriptionsItemsSubscriptionItemList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all subscription items"
      },
      "post": {
        "description": "<p>Adds a new item to an existing subscription. No existing items will be changed or replaced.</p>",
        "operationId": "PostSubscriptionItems",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "billing_thresholds": {
                  "explode": true,
                  "style": "deepObject"
                },
                "discounts": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "price_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "tax_rates": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "billing_thresholds": {
                    "anyOf": [
                      {
                        "properties": {
                          "usage_gte": {
                            "description": "Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte))",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "usage_gte"
                        ],
                        "title": "item_billing_thresholds_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "usage_gte"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds."
                  },
                  "discounts": {
                    "anyOf": [
                      {
                        "items": {
                          "properties": {
                            "coupon": {
                              "description": "ID of the coupon to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "discount": {
                              "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "promotion_code": {
                              "description": "ID of the promotion code to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            }
                          },
                          "title": "discounts_data_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "coupon"
                          ]
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The coupons to redeem into discounts for the subscription item."
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "payment_behavior": {
                    "description": "Use `allow_incomplete` to transition the subscription to `status=past_due` if a payment is required but cannot be paid. This allows you to manage scenarios where additional user actions are needed to pay a subscription's invoice. For example, SCA regulation may require 3DS authentication to complete payment. See the [SCA Migration Guide](https://stripe.com/docs/billing/migration/strong-customer-authentication) for Billing to learn more. This is the default behavior.\n\nUse `default_incomplete` to transition the subscription to `status=past_due` when payment is required and await explicit confirmation of the invoice's payment intent. This allows simpler management of scenarios where additional user actions are needed to pay a subscription’s invoice. Such as failed payments, [SCA regulation](https://stripe.com/docs/billing/migration/strong-customer-authentication), or collecting a mandate for a bank debit payment method.\n\nUse `pending_if_incomplete` to update the subscription using [pending updates](https://stripe.com/docs/billing/subscriptions/pending-updates). When you use `pending_if_incomplete` you can only pass the parameters [supported by pending updates](https://stripe.com/docs/billing/pending-updates-reference#supported-attributes).\n\nUse `error_if_incomplete` if you want Stripe to return an HTTP 402 status code if a subscription's invoice cannot be paid. For example, if a payment method requires 3DS authentication due to SCA regulation and further user action is needed, this parameter does not update the subscription and returns an error instead. This was the default behavior for API versions prior to 2019-03-14. See the [changelog](https://stripe.com/docs/upgrades#2019-03-14) to learn more.",
                    "enum": [
                      "allow_incomplete",
                      "default_incomplete",
                      "error_if_incomplete",
                      "pending_if_incomplete"
                    ],
                    "type": "string"
                  },
                  "plan": {
                    "description": "The identifier of the plan to add to the subscription.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "price": {
                    "description": "The ID of the price object.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "price_data": {
                    "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline.",
                    "properties": {
                      "currency": {
                        "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                        "type": "string"
                      },
                      "product": {
                        "description": "The ID of the product that this price will belong to.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "recurring": {
                        "description": "The recurring components of a price such as `interval` and `interval_count`.",
                        "properties": {
                          "interval": {
                            "description": "Specifies billing frequency. Either `day`, `week`, `month` or `year`.",
                            "enum": [
                              "day",
                              "month",
                              "week",
                              "year"
                            ],
                            "type": "string"
                          },
                          "interval_count": {
                            "description": "The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "interval"
                        ],
                        "title": "recurring_adhoc",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "interval"
                        ]
                      },
                      "tax_behavior": {
                        "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                        "enum": [
                          "exclusive",
                          "inclusive",
                          "unspecified"
                        ],
                        "type": "string"
                      },
                      "unit_amount": {
                        "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.",
                        "type": "integer"
                      },
                      "unit_amount_decimal": {
                        "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                        "format": "decimal",
                        "type": "string"
                      }
                    },
                    "required": [
                      "currency",
                      "product",
                      "recurring"
                    ],
                    "title": "recurring_price_data",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "currency",
                      "product",
                      "recurring",
                      "unit_amount"
                    ]
                  },
                  "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`.",
                    "enum": [
                      "always_invoice",
                      "create_prorations",
                      "none"
                    ],
                    "type": "string"
                  },
                  "proration_date": {
                    "description": "If set, the proration will be calculated as though the subscription was updated at the given time. This can be used to apply the same proration that was previewed with the [upcoming invoice](https://stripe.com/docs/api#retrieve_customer_invoice) endpoint.",
                    "format": "unix-time",
                    "type": "integer"
                  },
                  "quantity": {
                    "description": "The quantity you'd like to apply to the subscription item you're creating.",
                    "type": "integer"
                  },
                  "subscription": {
                    "description": "The identifier of the subscription to modify.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "tax_rates": {
                    "anyOf": [
                      {
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates."
                  }
                },
                "required": [
                  "subscription"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "metadata",
                  "payment_behavior",
                  "price",
                  "proration_behavior",
                  "quantity",
                  "subscription"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/subscription_item"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a subscription item"
      }
    },
    "/v1/subscription_items/{item}": {
      "delete": {
        "description": "<p>Deletes an item from the subscription. Removing a subscription item from a subscription will not cancel the subscription.</p>",
        "operationId": "DeleteSubscriptionItemsItem",
        "parameters": [
          {
            "in": "path",
            "name": "item",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "clear_usage": {
                    "description": "Delete all usage for the given subscription item. Allowed only when the current plan's `usage_type` is `metered`.",
                    "type": "boolean"
                  },
                  "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`.",
                    "enum": [
                      "always_invoice",
                      "create_prorations",
                      "none"
                    ],
                    "type": "string"
                  },
                  "proration_date": {
                    "description": "If set, the proration will be calculated as though the subscription was updated at the given time. This can be used to apply the same proration that was previewed with the [upcoming invoice](https://stripe.com/docs/api#retrieve_customer_invoice) endpoint.",
                    "format": "unix-time",
                    "type": "integer"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "proration_behavior"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/deleted_subscription_item"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Delete a subscription item"
      },
      "get": {
        "description": "<p>Retrieves the subscription item with the given ID.</p>",
        "operationId": "GetSubscriptionItemsItem",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "item",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/subscription_item"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a subscription item"
      },
      "post": {
        "description": "<p>Updates the plan or quantity of an item on a current subscription.</p>",
        "operationId": "PostSubscriptionItemsItem",
        "parameters": [
          {
            "in": "path",
            "name": "item",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "billing_thresholds": {
                  "explode": true,
                  "style": "deepObject"
                },
                "discounts": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "price_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "tax_rates": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "billing_thresholds": {
                    "anyOf": [
                      {
                        "properties": {
                          "usage_gte": {
                            "description": "Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte))",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "usage_gte"
                        ],
                        "title": "item_billing_thresholds_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "usage_gte"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds."
                  },
                  "discounts": {
                    "anyOf": [
                      {
                        "items": {
                          "properties": {
                            "coupon": {
                              "description": "ID of the coupon to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "discount": {
                              "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "promotion_code": {
                              "description": "ID of the promotion code to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            }
                          },
                          "title": "discounts_data_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "coupon"
                          ]
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The coupons to redeem into discounts for the subscription item."
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "off_session": {
                    "description": "Indicates if a customer is on or off-session while an invoice payment is attempted. Defaults to `false` (on-session).",
                    "type": "boolean"
                  },
                  "payment_behavior": {
                    "description": "Use `allow_incomplete` to transition the subscription to `status=past_due` if a payment is required but cannot be paid. This allows you to manage scenarios where additional user actions are needed to pay a subscription's invoice. For example, SCA regulation may require 3DS authentication to complete payment. See the [SCA Migration Guide](https://stripe.com/docs/billing/migration/strong-customer-authentication) for Billing to learn more. This is the default behavior.\n\nUse `default_incomplete` to transition the subscription to `status=past_due` when payment is required and await explicit confirmation of the invoice's payment intent. This allows simpler management of scenarios where additional user actions are needed to pay a subscription’s invoice. Such as failed payments, [SCA regulation](https://stripe.com/docs/billing/migration/strong-customer-authentication), or collecting a mandate for a bank debit payment method.\n\nUse `pending_if_incomplete` to update the subscription using [pending updates](https://stripe.com/docs/billing/subscriptions/pending-updates). When you use `pending_if_incomplete` you can only pass the parameters [supported by pending updates](https://stripe.com/docs/billing/pending-updates-reference#supported-attributes).\n\nUse `error_if_incomplete` if you want Stripe to return an HTTP 402 status code if a subscription's invoice cannot be paid. For example, if a payment method requires 3DS authentication due to SCA regulation and further user action is needed, this parameter does not update the subscription and returns an error instead. This was the default behavior for API versions prior to 2019-03-14. See the [changelog](https://stripe.com/docs/upgrades#2019-03-14) to learn more.",
                    "enum": [
                      "allow_incomplete",
                      "default_incomplete",
                      "error_if_incomplete",
                      "pending_if_incomplete"
                    ],
                    "type": "string"
                  },
                  "plan": {
                    "description": "The identifier of the new plan for this subscription item.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "price": {
                    "description": "The ID of the price object. One of `price` or `price_data` is required. When changing a subscription item's price, `quantity` is set to 1 unless a `quantity` parameter is provided.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "price_data": {
                    "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
                    "properties": {
                      "currency": {
                        "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                        "type": "string"
                      },
                      "product": {
                        "description": "The ID of the product that this price will belong to.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "recurring": {
                        "description": "The recurring components of a price such as `interval` and `interval_count`.",
                        "properties": {
                          "interval": {
                            "description": "Specifies billing frequency. Either `day`, `week`, `month` or `year`.",
                            "enum": [
                              "day",
                              "month",
                              "week",
                              "year"
                            ],
                            "type": "string"
                          },
                          "interval_count": {
                            "description": "The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "interval"
                        ],
                        "title": "recurring_adhoc",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "interval"
                        ]
                      },
                      "tax_behavior": {
                        "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                        "enum": [
                          "exclusive",
                          "inclusive",
                          "unspecified"
                        ],
                        "type": "string"
                      },
                      "unit_amount": {
                        "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.",
                        "type": "integer"
                      },
                      "unit_amount_decimal": {
                        "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                        "format": "decimal",
                        "type": "string"
                      }
                    },
                    "required": [
                      "currency",
                      "product",
                      "recurring"
                    ],
                    "title": "recurring_price_data",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "currency",
                      "product",
                      "recurring",
                      "unit_amount"
                    ]
                  },
                  "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`.",
                    "enum": [
                      "always_invoice",
                      "create_prorations",
                      "none"
                    ],
                    "type": "string"
                  },
                  "proration_date": {
                    "description": "If set, the proration will be calculated as though the subscription was updated at the given time. This can be used to apply the same proration that was previewed with the [upcoming invoice](https://stripe.com/docs/api#retrieve_customer_invoice) endpoint.",
                    "format": "unix-time",
                    "type": "integer"
                  },
                  "quantity": {
                    "description": "The quantity you'd like to apply to the subscription item you're creating.",
                    "type": "integer"
                  },
                  "tax_rates": {
                    "anyOf": [
                      {
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates."
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "metadata",
                  "payment_behavior",
                  "price",
                  "proration_behavior",
                  "quantity"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/subscription_item"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a subscription item"
      }
    },
    "/v1/subscription_items/{subscription_item}/usage_record_summaries": {
      "get": {
        "description": "<p>For the specified subscription item, returns a list of summary objects. Each object in the list provides usage information that’s been summarized from multiple usage records and over a subscription billing period (e.g., 15 usage records in the month of September).</p>\n\n<p>The list is sorted in reverse-chronological order (newest first). The first list item represents the most current usage period that hasn’t ended yet. Since new usage records can still be added, the returned summary information for the subscription item’s ID should be seen as unstable until the subscription billing period ends.</p>",
        "operationId": "GetSubscriptionItemsSubscriptionItemUsageRecordSummaries",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "path",
            "name": "subscription_item",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/usage_record_summary"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "UsageEventsResourceUsageRecordSummaryList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all subscription item period summaries"
      }
    },
    "/v1/subscription_items/{subscription_item}/usage_records": {
      "post": {
        "description": "<p>Creates a usage record for a specified subscription item and date, and fills it with a quantity.</p>\n\n<p>Usage records provide <code>quantity</code> information that Stripe uses to track how much a customer is using your service. With usage information and the pricing model set up by the <a href=\"https://stripe.com/docs/billing/subscriptions/metered-billing\">metered billing</a> plan, Stripe helps you send accurate invoices to your customers.</p>\n\n<p>The default calculation for usage is to add up all the <code>quantity</code> values of the usage records within a billing period. You can change this default behavior with the billing plan’s <code>aggregate_usage</code> <a href=\"/docs/api/plans/create#create_plan-aggregate_usage\">parameter</a>. When there is more than one usage record with the same timestamp, Stripe adds the <code>quantity</code> values together. In most cases, this is the desired resolution, however, you can change this behavior with the <code>action</code> parameter.</p>\n\n<p>The default pricing model for metered billing is <a href=\"/docs/api/plans/object#plan_object-billing_scheme\">per-unit pricing</a>. For finer granularity, you can configure metered billing to have a <a href=\"https://stripe.com/docs/billing/subscriptions/tiers\">tiered pricing</a> model.</p>",
        "operationId": "PostSubscriptionItemsSubscriptionItemUsageRecords",
        "parameters": [
          {
            "in": "path",
            "name": "subscription_item",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "timestamp": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "action": {
                    "description": "Valid values are `increment` (default) or `set`. When using `increment` the specified `quantity` will be added to the usage at the specified timestamp. The `set` action will overwrite the usage quantity at that timestamp. If the subscription has [billing thresholds](https://stripe.com/docs/api/subscriptions/object#subscription_object-billing_thresholds), `increment` is the only allowed value.",
                    "enum": [
                      "increment",
                      "set"
                    ],
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "quantity": {
                    "description": "The usage quantity for the specified timestamp.",
                    "type": "integer"
                  },
                  "timestamp": {
                    "anyOf": [
                      {
                        "enum": [
                          "now"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      },
                      {
                        "format": "unix-time",
                        "type": "integer"
                      }
                    ],
                    "description": "The timestamp for the usage event. This timestamp must be within the current billing period of the subscription of the provided `subscription_item`, and must not be in the future. When passing `\"now\"`, Stripe records usage for the current time. Default is `\"now\"` if a value is not provided."
                  }
                },
                "required": [
                  "quantity"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "action",
                  "quantity",
                  "timestamp"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/usage_record"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a usage record"
      }
    },
    "/v1/subscription_schedules": {
      "get": {
        "description": "<p>Retrieves the list of your subscription schedules.</p>",
        "operationId": "GetSubscriptionSchedules",
        "parameters": [
          {
            "description": "Only return subscription schedules that were created canceled the given date interval.",
            "explode": true,
            "in": "query",
            "name": "canceled_at",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "Only return subscription schedules that completed during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "completed_at",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "Only return subscription schedules that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "Only return subscription schedules for the given customer.",
            "in": "query",
            "name": "customer",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "Only return subscription schedules that were released during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "released_at",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "Only return subscription schedules that have not started yet.",
            "in": "query",
            "name": "scheduled",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/subscription_schedule"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/subscription_schedules",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "SubscriptionSchedulesResourceScheduleList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all schedules"
      },
      "post": {
        "description": "<p>Creates a new subscription schedule object. Each customer can have up to 500 active or scheduled subscriptions.</p>",
        "operationId": "PostSubscriptionSchedules",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "default_settings": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "phases": {
                  "explode": true,
                  "style": "deepObject"
                },
                "start_date": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "customer": {
                    "description": "The identifier of the customer to create the subscription schedule for.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "default_settings": {
                    "description": "Object representing the subscription schedule's default settings.",
                    "properties": {
                      "application_fee_percent": {
                        "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions).",
                        "type": "number"
                      },
                      "automatic_tax": {
                        "description": "Default settings for automatic tax computation.",
                        "properties": {
                          "enabled": {
                            "description": "Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription.",
                            "type": "boolean"
                          },
                          "liability": {
                            "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.",
                            "properties": {
                              "account": {
                                "description": "The connected account being referenced when `type` is `account`.",
                                "type": "string"
                              },
                              "type": {
                                "description": "Type of the account referenced in the request.",
                                "enum": [
                                  "account",
                                  "self"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "title": "param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "account",
                              "type"
                            ]
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "automatic_tax_config",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "enabled",
                          "liability"
                        ]
                      },
                      "billing_cycle_anchor": {
                        "description": "Can be set to `phase_start` to set the anchor to the start of the phase or `automatic` to automatically change it if needed. Cannot be set to `phase_start` if this phase specifies a trial. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle).",
                        "enum": [
                          "automatic",
                          "phase_start"
                        ],
                        "type": "string"
                      },
                      "billing_thresholds": {
                        "anyOf": [
                          {
                            "properties": {
                              "amount_gte": {
                                "description": "Monetary threshold that triggers the subscription to advance to a new billing period",
                                "type": "integer"
                              },
                              "reset_billing_cycle_anchor": {
                                "description": "Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged.",
                                "type": "boolean"
                              }
                            },
                            "title": "billing_thresholds_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "amount_gte",
                              "reset_billing_cycle_anchor"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds."
                      },
                      "collection_method": {
                        "description": "Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay the underlying subscription at the end of each billing cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`. Defaults to `charge_automatically` on creation.",
                        "enum": [
                          "charge_automatically",
                          "send_invoice"
                        ],
                        "type": "string"
                      },
                      "default_payment_method": {
                        "description": "ID of the default payment method for the subscription schedule. It must belong to the customer associated with the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "description": {
                        "anyOf": [
                          {
                            "maxLength": 500,
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs."
                      },
                      "invoice_settings": {
                        "description": "All invoices will be billed using the specified settings.",
                        "properties": {
                          "account_tax_ids": {
                            "anyOf": [
                              {
                                "items": {
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "The account tax IDs associated with the subscription schedule. Will be set on invoices generated by the subscription schedule."
                          },
                          "days_until_due": {
                            "description": "Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `collection_method=charge_automatically`.",
                            "type": "integer"
                          },
                          "issuer": {
                            "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.",
                            "properties": {
                              "account": {
                                "description": "The connected account being referenced when `type` is `account`.",
                                "type": "string"
                              },
                              "type": {
                                "description": "Type of the account referenced in the request.",
                                "enum": [
                                  "account",
                                  "self"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "title": "param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "account",
                              "type"
                            ]
                          }
                        },
                        "title": "subscription_schedule_default_settings_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_tax_ids",
                          "custom_fields",
                          "days_until_due",
                          "description",
                          "footer",
                          "issuer",
                          "rendering",
                          "send_hosted_payment_email",
                          "supported_payment_methods"
                        ]
                      },
                      "on_behalf_of": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The account on behalf of which to charge, for each of the associated subscription's invoices."
                      },
                      "transfer_data": {
                        "anyOf": [
                          {
                            "properties": {
                              "amount_percent": {
                                "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.",
                                "type": "number"
                              },
                              "destination": {
                                "description": "ID of an existing, connected Stripe account.",
                                "type": "string"
                              }
                            },
                            "required": [
                              "destination"
                            ],
                            "title": "transfer_data_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "amount_percent",
                              "destination"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The data with which to automatically create a Transfer for each of the associated subscription's invoices."
                      }
                    },
                    "title": "default_settings_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "application_fee_percent",
                      "automatic_tax",
                      "billing_cycle_anchor",
                      "billing_thresholds",
                      "collection_method",
                      "default_payment_method",
                      "description",
                      "invoice_settings",
                      "on_behalf_of",
                      "transfer_data"
                    ]
                  },
                  "end_behavior": {
                    "description": "Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running. `cancel` will end the subscription schedule and cancel the underlying subscription.",
                    "enum": [
                      "cancel",
                      "none",
                      "release",
                      "renew"
                    ],
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "from_subscription": {
                    "description": "Migrate an existing subscription to be managed by a subscription schedule. If this parameter is set, a subscription schedule will be created using the subscription's item(s), set to auto-renew using the subscription's interval. When using this parameter, other parameters (such as phase values) cannot be set. To create a subscription schedule with other modifications, we recommend making two separate API calls.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "phases": {
                    "description": "List representing phases of the subscription schedule. Each phase can be customized to have different durations, plans, and coupons. If there are multiple phases, the `end_date` of one phase will always equal the `start_date` of the next phase.",
                    "items": {
                      "properties": {
                        "add_invoice_items": {
                          "description": "A list of prices and quantities that will generate invoice items appended to the next invoice for this phase. You may pass up to 20 items.",
                          "items": {
                            "properties": {
                              "discounts": {
                                "description": "The coupons to redeem into discounts for the item.",
                                "items": {
                                  "properties": {
                                    "coupon": {
                                      "description": "ID of the coupon to create a new discount for.",
                                      "maxLength": 5000,
                                      "type": "string"
                                    },
                                    "discount": {
                                      "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                                      "maxLength": 5000,
                                      "type": "string"
                                    },
                                    "promotion_code": {
                                      "description": "ID of the promotion code to create a new discount for.",
                                      "maxLength": 5000,
                                      "type": "string"
                                    }
                                  },
                                  "title": "discounts_data_param",
                                  "type": "object",
                                  "x-stripeMostCommon": [
                                    "coupon"
                                  ]
                                },
                                "type": "array"
                              },
                              "price": {
                                "description": "The ID of the price object. One of `price` or `price_data` is required.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "price_data": {
                                "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
                                "properties": {
                                  "currency": {
                                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                                    "type": "string"
                                  },
                                  "product": {
                                    "description": "The ID of the product that this price will belong to.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "tax_behavior": {
                                    "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                                    "enum": [
                                      "exclusive",
                                      "inclusive",
                                      "unspecified"
                                    ],
                                    "type": "string"
                                  },
                                  "unit_amount": {
                                    "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge or a negative integer representing the amount to credit to the customer.",
                                    "type": "integer"
                                  },
                                  "unit_amount_decimal": {
                                    "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                                    "format": "decimal",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "currency",
                                  "product"
                                ],
                                "title": "one_time_price_data_with_negative_amounts",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "currency",
                                  "product",
                                  "unit_amount"
                                ]
                              },
                              "quantity": {
                                "description": "Quantity for this item. Defaults to 1.",
                                "type": "integer"
                              },
                              "tax_rates": {
                                "anyOf": [
                                  {
                                    "items": {
                                      "maxLength": 5000,
                                      "type": "string"
                                    },
                                    "type": "array"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item."
                              }
                            },
                            "title": "add_invoice_item_entry",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "price",
                              "quantity"
                            ],
                            "x-stripeParam": {
                              "class_name": "AddInvoiceItem"
                            }
                          },
                          "type": "array"
                        },
                        "application_fee_percent": {
                          "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions).",
                          "type": "number"
                        },
                        "automatic_tax": {
                          "description": "Automatic tax settings for this phase.",
                          "properties": {
                            "enabled": {
                              "description": "Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription.",
                              "type": "boolean"
                            },
                            "liability": {
                              "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.",
                              "properties": {
                                "account": {
                                  "description": "The connected account being referenced when `type` is `account`.",
                                  "type": "string"
                                },
                                "type": {
                                  "description": "Type of the account referenced in the request.",
                                  "enum": [
                                    "account",
                                    "self"
                                  ],
                                  "type": "string"
                                }
                              },
                              "required": [
                                "type"
                              ],
                              "title": "param",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "account",
                                "type"
                              ]
                            }
                          },
                          "required": [
                            "enabled"
                          ],
                          "title": "automatic_tax_config",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "enabled",
                            "liability"
                          ]
                        },
                        "billing_cycle_anchor": {
                          "description": "Can be set to `phase_start` to set the anchor to the start of the phase or `automatic` to automatically change it if needed. Cannot be set to `phase_start` if this phase specifies a trial. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle).",
                          "enum": [
                            "automatic",
                            "phase_start"
                          ],
                          "type": "string"
                        },
                        "billing_thresholds": {
                          "anyOf": [
                            {
                              "properties": {
                                "amount_gte": {
                                  "description": "Monetary threshold that triggers the subscription to advance to a new billing period",
                                  "type": "integer"
                                },
                                "reset_billing_cycle_anchor": {
                                  "description": "Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged.",
                                  "type": "boolean"
                                }
                              },
                              "title": "billing_thresholds_param",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "amount_gte",
                                "reset_billing_cycle_anchor"
                              ]
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds."
                        },
                        "collection_method": {
                          "description": "Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay the underlying subscription at the end of each billing cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`. Defaults to `charge_automatically` on creation.",
                          "enum": [
                            "charge_automatically",
                            "send_invoice"
                          ],
                          "type": "string"
                        },
                        "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.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "currency": {
                          "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                          "type": "string"
                        },
                        "default_payment_method": {
                          "description": "ID of the default payment method for the subscription schedule. It must belong to the customer associated with the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "default_tax_rates": {
                          "anyOf": [
                            {
                              "items": {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "type": "array"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will set the Subscription's [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates), which means they will be the Invoice's [`default_tax_rates`](https://stripe.com/docs/api/invoices/create#create_invoice-default_tax_rates) for any Invoices issued by the Subscription during this Phase."
                        },
                        "description": {
                          "anyOf": [
                            {
                              "maxLength": 500,
                              "type": "string"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs."
                        },
                        "discounts": {
                          "anyOf": [
                            {
                              "items": {
                                "properties": {
                                  "coupon": {
                                    "description": "ID of the coupon to create a new discount for.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "discount": {
                                    "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "promotion_code": {
                                    "description": "ID of the promotion code to create a new discount for.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "title": "discounts_data_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "coupon"
                                ]
                              },
                              "type": "array"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "The coupons to redeem into discounts for the schedule phase. If not specified, inherits the discount from the subscription's customer. Pass an empty string to avoid inheriting any discounts."
                        },
                        "end_date": {
                          "description": "The date at which this phase of the subscription schedule ends. If set, `iterations` must not be set.",
                          "format": "unix-time",
                          "type": "integer"
                        },
                        "invoice_settings": {
                          "description": "All invoices will be billed using the specified settings.",
                          "properties": {
                            "account_tax_ids": {
                              "anyOf": [
                                {
                                  "items": {
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "type": "array"
                                },
                                {
                                  "enum": [
                                    ""
                                  ],
                                  "type": "string"
                                }
                              ],
                              "description": "The account tax IDs associated with this phase of the subscription schedule. Will be set on invoices generated by this phase of the subscription schedule."
                            },
                            "days_until_due": {
                              "description": "Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`.",
                              "type": "integer"
                            },
                            "issuer": {
                              "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.",
                              "properties": {
                                "account": {
                                  "description": "The connected account being referenced when `type` is `account`.",
                                  "type": "string"
                                },
                                "type": {
                                  "description": "Type of the account referenced in the request.",
                                  "enum": [
                                    "account",
                                    "self"
                                  ],
                                  "type": "string"
                                }
                              },
                              "required": [
                                "type"
                              ],
                              "title": "param",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "account",
                                "type"
                              ]
                            }
                          },
                          "title": "invoice_settings",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "account_tax_ids",
                            "custom_fields",
                            "days_until_due",
                            "description",
                            "footer",
                            "issuer",
                            "send_hosted_payment_email",
                            "supported_payment_methods"
                          ]
                        },
                        "items": {
                          "description": "List of configuration items, each with an attached price, to apply during this phase of the subscription schedule.",
                          "items": {
                            "properties": {
                              "billing_thresholds": {
                                "anyOf": [
                                  {
                                    "properties": {
                                      "usage_gte": {
                                        "description": "Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte))",
                                        "type": "integer"
                                      }
                                    },
                                    "required": [
                                      "usage_gte"
                                    ],
                                    "title": "item_billing_thresholds_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "usage_gte"
                                    ]
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds."
                              },
                              "discounts": {
                                "anyOf": [
                                  {
                                    "items": {
                                      "properties": {
                                        "coupon": {
                                          "description": "ID of the coupon to create a new discount for.",
                                          "maxLength": 5000,
                                          "type": "string"
                                        },
                                        "discount": {
                                          "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                                          "maxLength": 5000,
                                          "type": "string"
                                        },
                                        "promotion_code": {
                                          "description": "ID of the promotion code to create a new discount for.",
                                          "maxLength": 5000,
                                          "type": "string"
                                        }
                                      },
                                      "title": "discounts_data_param",
                                      "type": "object",
                                      "x-stripeMostCommon": [
                                        "coupon"
                                      ]
                                    },
                                    "type": "array"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "The coupons to redeem into discounts for the subscription item."
                              },
                              "metadata": {
                                "additionalProperties": {
                                  "type": "string"
                                },
                                "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to a configuration item. Metadata on a configuration item will update the underlying subscription item's `metadata` when the phase is entered, adding new keys and replacing existing keys. Individual keys in the subscription item's `metadata` can be unset by posting an empty value to them in the configuration item's `metadata`. To unset all keys in the subscription item's `metadata`, update the subscription item directly or unset every key individually from the configuration item's `metadata`.",
                                "type": "object"
                              },
                              "plan": {
                                "description": "The plan ID to subscribe to. You may specify the same ID in `plan` and `price`.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "price": {
                                "description": "The ID of the price object.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "price_data": {
                                "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline.",
                                "properties": {
                                  "currency": {
                                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                                    "type": "string"
                                  },
                                  "product": {
                                    "description": "The ID of the product that this price will belong to.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "recurring": {
                                    "description": "The recurring components of a price such as `interval` and `interval_count`.",
                                    "properties": {
                                      "interval": {
                                        "description": "Specifies billing frequency. Either `day`, `week`, `month` or `year`.",
                                        "enum": [
                                          "day",
                                          "month",
                                          "week",
                                          "year"
                                        ],
                                        "type": "string"
                                      },
                                      "interval_count": {
                                        "description": "The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).",
                                        "type": "integer"
                                      }
                                    },
                                    "required": [
                                      "interval"
                                    ],
                                    "title": "recurring_adhoc",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "interval"
                                    ]
                                  },
                                  "tax_behavior": {
                                    "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                                    "enum": [
                                      "exclusive",
                                      "inclusive",
                                      "unspecified"
                                    ],
                                    "type": "string"
                                  },
                                  "unit_amount": {
                                    "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.",
                                    "type": "integer"
                                  },
                                  "unit_amount_decimal": {
                                    "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                                    "format": "decimal",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "currency",
                                  "product",
                                  "recurring"
                                ],
                                "title": "recurring_price_data",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "currency",
                                  "product",
                                  "recurring",
                                  "unit_amount"
                                ]
                              },
                              "quantity": {
                                "description": "Quantity for the given price. Can be set only if the price's `usage_type` is `licensed` and not `metered`.",
                                "type": "integer"
                              },
                              "tax_rates": {
                                "anyOf": [
                                  {
                                    "items": {
                                      "maxLength": 5000,
                                      "type": "string"
                                    },
                                    "type": "array"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates."
                              }
                            },
                            "title": "configuration_item_params",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "billing_thresholds",
                              "discounts",
                              "metadata",
                              "plan",
                              "price",
                              "quantity",
                              "tax_rates",
                              "trial"
                            ]
                          },
                          "type": "array"
                        },
                        "iterations": {
                          "description": "Integer representing the multiplier applied to the price interval. For example, `iterations=2` applied to a price with `interval=month` and `interval_count=3` results in a phase of duration `2 * 3 months = 6 months`. If set, `end_date` must not be set.",
                          "type": "integer"
                        },
                        "metadata": {
                          "additionalProperties": {
                            "type": "string"
                          },
                          "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to a phase. Metadata on a schedule's phase will update the underlying subscription's `metadata` when the phase is entered, adding new keys and replacing existing keys in the subscription's `metadata`. Individual keys in the subscription's `metadata` can be unset by posting an empty value to them in the phase's `metadata`. To unset all keys in the subscription's `metadata`, update the subscription directly or unset every key individually from the phase's `metadata`.",
                          "type": "object"
                        },
                        "on_behalf_of": {
                          "description": "The account on behalf of which to charge, for each of the associated subscription's invoices.",
                          "type": "string"
                        },
                        "proration_behavior": {
                          "description": "Whether the subscription schedule will create [prorations](https://stripe.com/docs/billing/subscriptions/prorations) when transitioning to this phase. The default value is `create_prorations`. This setting controls prorations when a phase is started asynchronously and it is persisted as a field on the phase. It's different from the request-level [proration_behavior](https://stripe.com/docs/api/subscription_schedules/update#update_subscription_schedule-proration_behavior) parameter which controls what happens if the update request affects the billing configuration of the current phase.",
                          "enum": [
                            "always_invoice",
                            "create_prorations",
                            "none"
                          ],
                          "type": "string"
                        },
                        "transfer_data": {
                          "description": "The data with which to automatically create a Transfer for each of the associated subscription's invoices.",
                          "properties": {
                            "amount_percent": {
                              "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.",
                              "type": "number"
                            },
                            "destination": {
                              "description": "ID of an existing, connected Stripe account.",
                              "type": "string"
                            }
                          },
                          "required": [
                            "destination"
                          ],
                          "title": "transfer_data_specs",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "amount_percent",
                            "destination"
                          ]
                        },
                        "trial": {
                          "description": "If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.",
                          "type": "boolean"
                        },
                        "trial_end": {
                          "description": "Sets the phase to trialing from the start date to this date. Must be before the phase end date, can not be combined with `trial`",
                          "format": "unix-time",
                          "type": "integer"
                        }
                      },
                      "required": [
                        "items"
                      ],
                      "title": "phase_configuration_params",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "add_invoice_items",
                        "application_fee_percent",
                        "automatic_tax",
                        "billing_cycle_anchor",
                        "billing_thresholds",
                        "cancel_at_period_end",
                        "collection_method",
                        "coupon",
                        "currency",
                        "default_payment_method",
                        "default_tax_rates",
                        "description",
                        "discounts",
                        "end_date",
                        "invoice_settings",
                        "items",
                        "iterations",
                        "metadata",
                        "on_behalf_of",
                        "pause_collection",
                        "proration_behavior",
                        "tax_filing_currency",
                        "transfer_data",
                        "trial",
                        "trial_continuation",
                        "trial_end",
                        "trial_settings"
                      ]
                    },
                    "type": "array"
                  },
                  "start_date": {
                    "anyOf": [
                      {
                        "format": "unix-time",
                        "type": "integer"
                      },
                      {
                        "enum": [
                          "now"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      }
                    ],
                    "description": "When the subscription schedule starts. We recommend using `now` so that it starts the subscription immediately. You can also use a Unix timestamp to backdate the subscription so that it starts on a past date, or set a future date for the subscription to start on."
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "customer",
                  "metadata",
                  "phases",
                  "start_date"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/subscription_schedule"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a schedule"
      }
    },
    "/v1/subscription_schedules/{schedule}": {
      "get": {
        "description": "<p>Retrieves the details of an existing subscription schedule. You only need to supply the unique subscription schedule identifier that was returned upon subscription schedule creation.</p>",
        "operationId": "GetSubscriptionSchedulesSchedule",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "schedule",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/subscription_schedule"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a schedule"
      },
      "post": {
        "description": "<p>Updates an existing subscription schedule.</p>",
        "operationId": "PostSubscriptionSchedulesSchedule",
        "parameters": [
          {
            "in": "path",
            "name": "schedule",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "default_settings": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "phases": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "default_settings": {
                    "description": "Object representing the subscription schedule's default settings.",
                    "properties": {
                      "application_fee_percent": {
                        "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions).",
                        "type": "number"
                      },
                      "automatic_tax": {
                        "description": "Default settings for automatic tax computation.",
                        "properties": {
                          "enabled": {
                            "description": "Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription.",
                            "type": "boolean"
                          },
                          "liability": {
                            "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.",
                            "properties": {
                              "account": {
                                "description": "The connected account being referenced when `type` is `account`.",
                                "type": "string"
                              },
                              "type": {
                                "description": "Type of the account referenced in the request.",
                                "enum": [
                                  "account",
                                  "self"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "title": "param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "account",
                              "type"
                            ]
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "automatic_tax_config",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "enabled",
                          "liability"
                        ]
                      },
                      "billing_cycle_anchor": {
                        "description": "Can be set to `phase_start` to set the anchor to the start of the phase or `automatic` to automatically change it if needed. Cannot be set to `phase_start` if this phase specifies a trial. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle).",
                        "enum": [
                          "automatic",
                          "phase_start"
                        ],
                        "type": "string"
                      },
                      "billing_thresholds": {
                        "anyOf": [
                          {
                            "properties": {
                              "amount_gte": {
                                "description": "Monetary threshold that triggers the subscription to advance to a new billing period",
                                "type": "integer"
                              },
                              "reset_billing_cycle_anchor": {
                                "description": "Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged.",
                                "type": "boolean"
                              }
                            },
                            "title": "billing_thresholds_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "amount_gte",
                              "reset_billing_cycle_anchor"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds."
                      },
                      "collection_method": {
                        "description": "Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay the underlying subscription at the end of each billing cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`. Defaults to `charge_automatically` on creation.",
                        "enum": [
                          "charge_automatically",
                          "send_invoice"
                        ],
                        "type": "string"
                      },
                      "default_payment_method": {
                        "description": "ID of the default payment method for the subscription schedule. It must belong to the customer associated with the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "description": {
                        "anyOf": [
                          {
                            "maxLength": 500,
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs."
                      },
                      "invoice_settings": {
                        "description": "All invoices will be billed using the specified settings.",
                        "properties": {
                          "account_tax_ids": {
                            "anyOf": [
                              {
                                "items": {
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "The account tax IDs associated with the subscription schedule. Will be set on invoices generated by the subscription schedule."
                          },
                          "days_until_due": {
                            "description": "Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `collection_method=charge_automatically`.",
                            "type": "integer"
                          },
                          "issuer": {
                            "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.",
                            "properties": {
                              "account": {
                                "description": "The connected account being referenced when `type` is `account`.",
                                "type": "string"
                              },
                              "type": {
                                "description": "Type of the account referenced in the request.",
                                "enum": [
                                  "account",
                                  "self"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "title": "param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "account",
                              "type"
                            ]
                          }
                        },
                        "title": "subscription_schedule_default_settings_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_tax_ids",
                          "custom_fields",
                          "days_until_due",
                          "description",
                          "footer",
                          "issuer",
                          "rendering",
                          "send_hosted_payment_email",
                          "supported_payment_methods"
                        ]
                      },
                      "on_behalf_of": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The account on behalf of which to charge, for each of the associated subscription's invoices."
                      },
                      "transfer_data": {
                        "anyOf": [
                          {
                            "properties": {
                              "amount_percent": {
                                "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.",
                                "type": "number"
                              },
                              "destination": {
                                "description": "ID of an existing, connected Stripe account.",
                                "type": "string"
                              }
                            },
                            "required": [
                              "destination"
                            ],
                            "title": "transfer_data_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "amount_percent",
                              "destination"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The data with which to automatically create a Transfer for each of the associated subscription's invoices."
                      }
                    },
                    "title": "default_settings_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "application_fee_percent",
                      "automatic_tax",
                      "billing_cycle_anchor",
                      "billing_thresholds",
                      "collection_method",
                      "default_payment_method",
                      "description",
                      "invoice_settings",
                      "on_behalf_of",
                      "transfer_data"
                    ]
                  },
                  "end_behavior": {
                    "description": "Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running. `cancel` will end the subscription schedule and cancel the underlying subscription.",
                    "enum": [
                      "cancel",
                      "none",
                      "release",
                      "renew"
                    ],
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "phases": {
                    "description": "List representing phases of the subscription schedule. Each phase can be customized to have different durations, plans, and coupons. If there are multiple phases, the `end_date` of one phase will always equal the `start_date` of the next phase. Note that past phases can be omitted.",
                    "items": {
                      "properties": {
                        "add_invoice_items": {
                          "description": "A list of prices and quantities that will generate invoice items appended to the next invoice for this phase. You may pass up to 20 items.",
                          "items": {
                            "properties": {
                              "discounts": {
                                "description": "The coupons to redeem into discounts for the item.",
                                "items": {
                                  "properties": {
                                    "coupon": {
                                      "description": "ID of the coupon to create a new discount for.",
                                      "maxLength": 5000,
                                      "type": "string"
                                    },
                                    "discount": {
                                      "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                                      "maxLength": 5000,
                                      "type": "string"
                                    },
                                    "promotion_code": {
                                      "description": "ID of the promotion code to create a new discount for.",
                                      "maxLength": 5000,
                                      "type": "string"
                                    }
                                  },
                                  "title": "discounts_data_param",
                                  "type": "object",
                                  "x-stripeMostCommon": [
                                    "coupon"
                                  ]
                                },
                                "type": "array"
                              },
                              "price": {
                                "description": "The ID of the price object. One of `price` or `price_data` is required.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "price_data": {
                                "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
                                "properties": {
                                  "currency": {
                                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                                    "type": "string"
                                  },
                                  "product": {
                                    "description": "The ID of the product that this price will belong to.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "tax_behavior": {
                                    "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                                    "enum": [
                                      "exclusive",
                                      "inclusive",
                                      "unspecified"
                                    ],
                                    "type": "string"
                                  },
                                  "unit_amount": {
                                    "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge or a negative integer representing the amount to credit to the customer.",
                                    "type": "integer"
                                  },
                                  "unit_amount_decimal": {
                                    "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                                    "format": "decimal",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "currency",
                                  "product"
                                ],
                                "title": "one_time_price_data_with_negative_amounts",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "currency",
                                  "product",
                                  "unit_amount"
                                ]
                              },
                              "quantity": {
                                "description": "Quantity for this item. Defaults to 1.",
                                "type": "integer"
                              },
                              "tax_rates": {
                                "anyOf": [
                                  {
                                    "items": {
                                      "maxLength": 5000,
                                      "type": "string"
                                    },
                                    "type": "array"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item."
                              }
                            },
                            "title": "add_invoice_item_entry",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "price",
                              "quantity"
                            ],
                            "x-stripeParam": {
                              "class_name": "AddInvoiceItem"
                            }
                          },
                          "type": "array"
                        },
                        "application_fee_percent": {
                          "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions).",
                          "type": "number"
                        },
                        "automatic_tax": {
                          "description": "Automatic tax settings for this phase.",
                          "properties": {
                            "enabled": {
                              "description": "Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription.",
                              "type": "boolean"
                            },
                            "liability": {
                              "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.",
                              "properties": {
                                "account": {
                                  "description": "The connected account being referenced when `type` is `account`.",
                                  "type": "string"
                                },
                                "type": {
                                  "description": "Type of the account referenced in the request.",
                                  "enum": [
                                    "account",
                                    "self"
                                  ],
                                  "type": "string"
                                }
                              },
                              "required": [
                                "type"
                              ],
                              "title": "param",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "account",
                                "type"
                              ]
                            }
                          },
                          "required": [
                            "enabled"
                          ],
                          "title": "automatic_tax_config",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "enabled",
                            "liability"
                          ]
                        },
                        "billing_cycle_anchor": {
                          "description": "Can be set to `phase_start` to set the anchor to the start of the phase or `automatic` to automatically change it if needed. Cannot be set to `phase_start` if this phase specifies a trial. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle).",
                          "enum": [
                            "automatic",
                            "phase_start"
                          ],
                          "type": "string"
                        },
                        "billing_thresholds": {
                          "anyOf": [
                            {
                              "properties": {
                                "amount_gte": {
                                  "description": "Monetary threshold that triggers the subscription to advance to a new billing period",
                                  "type": "integer"
                                },
                                "reset_billing_cycle_anchor": {
                                  "description": "Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged.",
                                  "type": "boolean"
                                }
                              },
                              "title": "billing_thresholds_param",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "amount_gte",
                                "reset_billing_cycle_anchor"
                              ]
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds."
                        },
                        "collection_method": {
                          "description": "Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay the underlying subscription at the end of each billing cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`. Defaults to `charge_automatically` on creation.",
                          "enum": [
                            "charge_automatically",
                            "send_invoice"
                          ],
                          "type": "string"
                        },
                        "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.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "currency": {
                          "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                          "type": "string"
                        },
                        "default_payment_method": {
                          "description": "ID of the default payment method for the subscription schedule. It must belong to the customer associated with the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "default_tax_rates": {
                          "anyOf": [
                            {
                              "items": {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "type": "array"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will set the Subscription's [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates), which means they will be the Invoice's [`default_tax_rates`](https://stripe.com/docs/api/invoices/create#create_invoice-default_tax_rates) for any Invoices issued by the Subscription during this Phase."
                        },
                        "description": {
                          "anyOf": [
                            {
                              "maxLength": 500,
                              "type": "string"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs."
                        },
                        "discounts": {
                          "anyOf": [
                            {
                              "items": {
                                "properties": {
                                  "coupon": {
                                    "description": "ID of the coupon to create a new discount for.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "discount": {
                                    "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "promotion_code": {
                                    "description": "ID of the promotion code to create a new discount for.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "title": "discounts_data_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "coupon"
                                ]
                              },
                              "type": "array"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "The coupons to redeem into discounts for the schedule phase. If not specified, inherits the discount from the subscription's customer. Pass an empty string to avoid inheriting any discounts."
                        },
                        "end_date": {
                          "anyOf": [
                            {
                              "format": "unix-time",
                              "type": "integer"
                            },
                            {
                              "enum": [
                                "now"
                              ],
                              "maxLength": 5000,
                              "type": "string"
                            }
                          ],
                          "description": "The date at which this phase of the subscription schedule ends. If set, `iterations` must not be set."
                        },
                        "invoice_settings": {
                          "description": "All invoices will be billed using the specified settings.",
                          "properties": {
                            "account_tax_ids": {
                              "anyOf": [
                                {
                                  "items": {
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "type": "array"
                                },
                                {
                                  "enum": [
                                    ""
                                  ],
                                  "type": "string"
                                }
                              ],
                              "description": "The account tax IDs associated with this phase of the subscription schedule. Will be set on invoices generated by this phase of the subscription schedule."
                            },
                            "days_until_due": {
                              "description": "Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`.",
                              "type": "integer"
                            },
                            "issuer": {
                              "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.",
                              "properties": {
                                "account": {
                                  "description": "The connected account being referenced when `type` is `account`.",
                                  "type": "string"
                                },
                                "type": {
                                  "description": "Type of the account referenced in the request.",
                                  "enum": [
                                    "account",
                                    "self"
                                  ],
                                  "type": "string"
                                }
                              },
                              "required": [
                                "type"
                              ],
                              "title": "param",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "account",
                                "type"
                              ]
                            }
                          },
                          "title": "invoice_settings",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "account_tax_ids",
                            "custom_fields",
                            "days_until_due",
                            "description",
                            "footer",
                            "issuer",
                            "send_hosted_payment_email",
                            "supported_payment_methods"
                          ]
                        },
                        "items": {
                          "description": "List of configuration items, each with an attached price, to apply during this phase of the subscription schedule.",
                          "items": {
                            "properties": {
                              "billing_thresholds": {
                                "anyOf": [
                                  {
                                    "properties": {
                                      "usage_gte": {
                                        "description": "Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte))",
                                        "type": "integer"
                                      }
                                    },
                                    "required": [
                                      "usage_gte"
                                    ],
                                    "title": "item_billing_thresholds_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "usage_gte"
                                    ]
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds."
                              },
                              "discounts": {
                                "anyOf": [
                                  {
                                    "items": {
                                      "properties": {
                                        "coupon": {
                                          "description": "ID of the coupon to create a new discount for.",
                                          "maxLength": 5000,
                                          "type": "string"
                                        },
                                        "discount": {
                                          "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                                          "maxLength": 5000,
                                          "type": "string"
                                        },
                                        "promotion_code": {
                                          "description": "ID of the promotion code to create a new discount for.",
                                          "maxLength": 5000,
                                          "type": "string"
                                        }
                                      },
                                      "title": "discounts_data_param",
                                      "type": "object",
                                      "x-stripeMostCommon": [
                                        "coupon"
                                      ]
                                    },
                                    "type": "array"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "The coupons to redeem into discounts for the subscription item."
                              },
                              "metadata": {
                                "additionalProperties": {
                                  "type": "string"
                                },
                                "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to a configuration item. Metadata on a configuration item will update the underlying subscription item's `metadata` when the phase is entered, adding new keys and replacing existing keys. Individual keys in the subscription item's `metadata` can be unset by posting an empty value to them in the configuration item's `metadata`. To unset all keys in the subscription item's `metadata`, update the subscription item directly or unset every key individually from the configuration item's `metadata`.",
                                "type": "object"
                              },
                              "plan": {
                                "description": "The plan ID to subscribe to. You may specify the same ID in `plan` and `price`.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "price": {
                                "description": "The ID of the price object.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "price_data": {
                                "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline.",
                                "properties": {
                                  "currency": {
                                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                                    "type": "string"
                                  },
                                  "product": {
                                    "description": "The ID of the product that this price will belong to.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "recurring": {
                                    "description": "The recurring components of a price such as `interval` and `interval_count`.",
                                    "properties": {
                                      "interval": {
                                        "description": "Specifies billing frequency. Either `day`, `week`, `month` or `year`.",
                                        "enum": [
                                          "day",
                                          "month",
                                          "week",
                                          "year"
                                        ],
                                        "type": "string"
                                      },
                                      "interval_count": {
                                        "description": "The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).",
                                        "type": "integer"
                                      }
                                    },
                                    "required": [
                                      "interval"
                                    ],
                                    "title": "recurring_adhoc",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "interval"
                                    ]
                                  },
                                  "tax_behavior": {
                                    "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                                    "enum": [
                                      "exclusive",
                                      "inclusive",
                                      "unspecified"
                                    ],
                                    "type": "string"
                                  },
                                  "unit_amount": {
                                    "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.",
                                    "type": "integer"
                                  },
                                  "unit_amount_decimal": {
                                    "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                                    "format": "decimal",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "currency",
                                  "product",
                                  "recurring"
                                ],
                                "title": "recurring_price_data",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "currency",
                                  "product",
                                  "recurring",
                                  "unit_amount"
                                ]
                              },
                              "quantity": {
                                "description": "Quantity for the given price. Can be set only if the price's `usage_type` is `licensed` and not `metered`.",
                                "type": "integer"
                              },
                              "tax_rates": {
                                "anyOf": [
                                  {
                                    "items": {
                                      "maxLength": 5000,
                                      "type": "string"
                                    },
                                    "type": "array"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates."
                              }
                            },
                            "title": "configuration_item_params",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "billing_thresholds",
                              "discounts",
                              "metadata",
                              "plan",
                              "price",
                              "quantity",
                              "tax_rates",
                              "trial"
                            ]
                          },
                          "type": "array"
                        },
                        "iterations": {
                          "description": "Integer representing the multiplier applied to the price interval. For example, `iterations=2` applied to a price with `interval=month` and `interval_count=3` results in a phase of duration `2 * 3 months = 6 months`. If set, `end_date` must not be set.",
                          "type": "integer"
                        },
                        "metadata": {
                          "additionalProperties": {
                            "type": "string"
                          },
                          "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to a phase. Metadata on a schedule's phase will update the underlying subscription's `metadata` when the phase is entered, adding new keys and replacing existing keys in the subscription's `metadata`. Individual keys in the subscription's `metadata` can be unset by posting an empty value to them in the phase's `metadata`. To unset all keys in the subscription's `metadata`, update the subscription directly or unset every key individually from the phase's `metadata`.",
                          "type": "object"
                        },
                        "on_behalf_of": {
                          "description": "The account on behalf of which to charge, for each of the associated subscription's invoices.",
                          "type": "string"
                        },
                        "proration_behavior": {
                          "description": "Whether the subscription schedule will create [prorations](https://stripe.com/docs/billing/subscriptions/prorations) when transitioning to this phase. The default value is `create_prorations`. This setting controls prorations when a phase is started asynchronously and it is persisted as a field on the phase. It's different from the request-level [proration_behavior](https://stripe.com/docs/api/subscription_schedules/update#update_subscription_schedule-proration_behavior) parameter which controls what happens if the update request affects the billing configuration of the current phase.",
                          "enum": [
                            "always_invoice",
                            "create_prorations",
                            "none"
                          ],
                          "type": "string"
                        },
                        "start_date": {
                          "anyOf": [
                            {
                              "format": "unix-time",
                              "type": "integer"
                            },
                            {
                              "enum": [
                                "now"
                              ],
                              "maxLength": 5000,
                              "type": "string"
                            }
                          ],
                          "description": "The date at which this phase of the subscription schedule starts or `now`. Must be set on the first phase."
                        },
                        "transfer_data": {
                          "description": "The data with which to automatically create a Transfer for each of the associated subscription's invoices.",
                          "properties": {
                            "amount_percent": {
                              "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.",
                              "type": "number"
                            },
                            "destination": {
                              "description": "ID of an existing, connected Stripe account.",
                              "type": "string"
                            }
                          },
                          "required": [
                            "destination"
                          ],
                          "title": "transfer_data_specs",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "amount_percent",
                            "destination"
                          ]
                        },
                        "trial": {
                          "description": "If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.",
                          "type": "boolean"
                        },
                        "trial_end": {
                          "anyOf": [
                            {
                              "format": "unix-time",
                              "type": "integer"
                            },
                            {
                              "enum": [
                                "now"
                              ],
                              "maxLength": 5000,
                              "type": "string"
                            }
                          ],
                          "description": "Sets the phase to trialing from the start date to this date. Must be before the phase end date, can not be combined with `trial`"
                        }
                      },
                      "required": [
                        "items"
                      ],
                      "title": "phase_configuration_params",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "add_invoice_items",
                        "application_fee_percent",
                        "automatic_tax",
                        "billing_cycle_anchor",
                        "billing_thresholds",
                        "collection_method",
                        "coupon",
                        "currency",
                        "default_payment_method",
                        "default_tax_rates",
                        "description",
                        "discounts",
                        "end_date",
                        "invoice_settings",
                        "items",
                        "iterations",
                        "metadata",
                        "on_behalf_of",
                        "pause_collection",
                        "proration_behavior",
                        "start_date",
                        "tax_filing_currency",
                        "transfer_data",
                        "trial",
                        "trial_continuation",
                        "trial_end",
                        "trial_settings"
                      ]
                    },
                    "type": "array"
                  },
                  "proration_behavior": {
                    "description": "If the update changes the current phase, indicates whether the changes should be prorated. The default value is `create_prorations`.",
                    "enum": [
                      "always_invoice",
                      "create_prorations",
                      "none"
                    ],
                    "type": "string"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "metadata",
                  "phases",
                  "proration_behavior"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/subscription_schedule"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a schedule"
      }
    },
    "/v1/subscription_schedules/{schedule}/cancel": {
      "post": {
        "description": "<p>Cancels a subscription schedule and its associated subscription immediately (if the subscription schedule has an active subscription). A subscription schedule can only be canceled if its status is <code>not_started</code> or <code>active</code>.</p>",
        "operationId": "PostSubscriptionSchedulesScheduleCancel",
        "parameters": [
          {
            "in": "path",
            "name": "schedule",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "invoice_now": {
                    "description": "If the subscription schedule is `active`, indicates if a final invoice will be generated that contains any un-invoiced metered usage and new/pending proration invoice items. Defaults to `true`.",
                    "type": "boolean"
                  },
                  "prorate": {
                    "description": "If the subscription schedule is `active`, indicates if the cancellation should be prorated. Defaults to `true`.",
                    "type": "boolean"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "invoice_now"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/subscription_schedule"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Cancel a schedule"
      }
    },
    "/v1/subscription_schedules/{schedule}/release": {
      "post": {
        "description": "<p>Releases the subscription schedule immediately, which will stop scheduling of its phases, but leave any existing subscription in place. A schedule can only be released if its status is <code>not_started</code> or <code>active</code>. If the subscription schedule is currently associated with a subscription, releasing it will remove its <code>subscription</code> property and set the subscription’s ID to the <code>released_subscription</code> property.</p>",
        "operationId": "PostSubscriptionSchedulesScheduleRelease",
        "parameters": [
          {
            "in": "path",
            "name": "schedule",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "preserve_cancel_date": {
                    "description": "Keep any cancellation on the subscription that the schedule has set",
                    "type": "boolean"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/subscription_schedule"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Release a schedule"
      }
    },
    "/v1/subscriptions": {
      "get": {
        "description": "<p>By default, returns a list of subscriptions that have not been canceled. In order to list canceled subscriptions, specify <code>status=canceled</code>.</p>",
        "operationId": "GetSubscriptions",
        "parameters": [
          {
            "description": "Filter subscriptions by their automatic tax settings.",
            "explode": true,
            "in": "query",
            "name": "automatic_tax",
            "required": false,
            "schema": {
              "properties": {
                "enabled": {
                  "description": "Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription.",
                  "type": "boolean"
                }
              },
              "required": [
                "enabled"
              ],
              "title": "automatic_tax_filter_params",
              "type": "object",
              "x-stripeMostCommon": [
                "enabled"
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "The collection method of the subscriptions to retrieve. Either `charge_automatically` or `send_invoice`.",
            "in": "query",
            "name": "collection_method",
            "required": false,
            "schema": {
              "enum": [
                "charge_automatically",
                "send_invoice"
              ],
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return subscriptions that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "Only return subscriptions whose current_period_end falls within the given date interval.",
            "explode": true,
            "in": "query",
            "name": "current_period_end",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "Only return subscriptions whose current_period_start falls within the given date interval.",
            "explode": true,
            "in": "query",
            "name": "current_period_start",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "The ID of the customer whose subscriptions will be retrieved.",
            "in": "query",
            "name": "customer",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "The ID of the plan whose subscriptions will be retrieved.",
            "in": "query",
            "name": "plan",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Filter for subscriptions that contain this recurring price ID.",
            "in": "query",
            "name": "price",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "The status of the subscriptions to retrieve. Passing in a value of `canceled` will return all canceled subscriptions, including those belonging to deleted customers. Pass `ended` to find subscriptions that are canceled and subscriptions that are expired due to [incomplete payment](https://stripe.com/docs/billing/subscriptions/overview#subscription-statuses). Passing in a value of `all` will return subscriptions of all statuses. If no value is supplied, all subscriptions that have not been canceled are returned.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "active",
                "all",
                "canceled",
                "ended",
                "incomplete",
                "incomplete_expired",
                "past_due",
                "paused",
                "trialing",
                "unpaid"
              ],
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Filter for subscriptions that are associated with the specified test clock. The response will not include subscriptions with test clocks if this and the customer parameter is not set.",
            "in": "query",
            "name": "test_clock",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/subscription"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/subscriptions",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "SubscriptionsSubscriptionList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List subscriptions"
      },
      "post": {
        "description": "<p>Creates a new subscription on an existing customer. Each customer can have up to 500 active or scheduled subscriptions.</p>\n\n<p>When you create a subscription with <code>collection_method=charge_automatically</code>, the first invoice is finalized as part of the request.\nThe <code>payment_behavior</code> parameter determines the exact behavior of the initial payment.</p>\n\n<p>To start subscriptions where the first invoice always begins in a <code>draft</code> status, use <a href=\"/docs/billing/subscriptions/subscription-schedules#managing\">subscription schedules</a> instead.\nSchedules provide the flexibility to model more complex billing configurations that change over time.</p>",
        "operationId": "PostSubscriptions",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "add_invoice_items": {
                  "explode": true,
                  "style": "deepObject"
                },
                "application_fee_percent": {
                  "explode": true,
                  "style": "deepObject"
                },
                "automatic_tax": {
                  "explode": true,
                  "style": "deepObject"
                },
                "billing_cycle_anchor_config": {
                  "explode": true,
                  "style": "deepObject"
                },
                "billing_thresholds": {
                  "explode": true,
                  "style": "deepObject"
                },
                "default_tax_rates": {
                  "explode": true,
                  "style": "deepObject"
                },
                "discounts": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "invoice_settings": {
                  "explode": true,
                  "style": "deepObject"
                },
                "items": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "on_behalf_of": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_settings": {
                  "explode": true,
                  "style": "deepObject"
                },
                "pending_invoice_item_interval": {
                  "explode": true,
                  "style": "deepObject"
                },
                "transfer_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "trial_end": {
                  "explode": true,
                  "style": "deepObject"
                },
                "trial_settings": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "add_invoice_items": {
                    "description": "A list of prices and quantities that will generate invoice items appended to the next invoice for this subscription. You may pass up to 20 items.",
                    "items": {
                      "properties": {
                        "discounts": {
                          "description": "The coupons to redeem into discounts for the item.",
                          "items": {
                            "properties": {
                              "coupon": {
                                "description": "ID of the coupon to create a new discount for.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "discount": {
                                "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "promotion_code": {
                                "description": "ID of the promotion code to create a new discount for.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "discounts_data_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "coupon"
                            ]
                          },
                          "type": "array"
                        },
                        "price": {
                          "description": "The ID of the price object. One of `price` or `price_data` is required.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "price_data": {
                          "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
                          "properties": {
                            "currency": {
                              "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                              "type": "string"
                            },
                            "product": {
                              "description": "The ID of the product that this price will belong to.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "tax_behavior": {
                              "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                              "enum": [
                                "exclusive",
                                "inclusive",
                                "unspecified"
                              ],
                              "type": "string"
                            },
                            "unit_amount": {
                              "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge or a negative integer representing the amount to credit to the customer.",
                              "type": "integer"
                            },
                            "unit_amount_decimal": {
                              "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                              "format": "decimal",
                              "type": "string"
                            }
                          },
                          "required": [
                            "currency",
                            "product"
                          ],
                          "title": "one_time_price_data_with_negative_amounts",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "currency",
                            "product",
                            "unit_amount"
                          ]
                        },
                        "quantity": {
                          "description": "Quantity for this item. Defaults to 1.",
                          "type": "integer"
                        },
                        "tax_rates": {
                          "anyOf": [
                            {
                              "items": {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "type": "array"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item."
                        }
                      },
                      "title": "add_invoice_item_entry",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "price",
                        "quantity"
                      ],
                      "x-stripeParam": {
                        "class_name": "AddInvoiceItem"
                      }
                    },
                    "type": "array"
                  },
                  "application_fee_percent": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions)."
                  },
                  "automatic_tax": {
                    "description": "Automatic tax settings for this subscription. We recommend you only include this parameter when the existing value is being changed.",
                    "properties": {
                      "enabled": {
                        "description": "Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription.",
                        "type": "boolean"
                      },
                      "liability": {
                        "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.",
                        "properties": {
                          "account": {
                            "description": "The connected account being referenced when `type` is `account`.",
                            "type": "string"
                          },
                          "type": {
                            "description": "Type of the account referenced in the request.",
                            "enum": [
                              "account",
                              "self"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account",
                          "type"
                        ]
                      }
                    },
                    "required": [
                      "enabled"
                    ],
                    "title": "automatic_tax_config",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "enabled",
                      "liability"
                    ]
                  },
                  "backdate_start_date": {
                    "description": "For new subscriptions, a past timestamp to backdate the subscription's start date to. If set, the first invoice will contain a proration for the timespan between the start date and the current time. Can be combined with trials and the billing cycle anchor.",
                    "format": "unix-time",
                    "type": "integer"
                  },
                  "billing_cycle_anchor": {
                    "description": "A future timestamp in UTC format to anchor the subscription's [billing cycle](https://stripe.com/docs/subscriptions/billing-cycle). The anchor is the reference point that aligns future billing cycle dates. It sets the day of week for `week` intervals, the day of month for `month` and `year` intervals, and the month of year for `year` intervals.",
                    "format": "unix-time",
                    "type": "integer",
                    "x-stripeBypassValidation": true
                  },
                  "billing_cycle_anchor_config": {
                    "description": "Mutually exclusive with billing_cycle_anchor and only valid with monthly and yearly price intervals. When provided, the billing_cycle_anchor is set to the next occurence of the day_of_month at the hour, minute, and second UTC.",
                    "properties": {
                      "day_of_month": {
                        "description": "The day of the month the billing_cycle_anchor should be. Ranges from 1 to 31.",
                        "type": "integer"
                      },
                      "hour": {
                        "description": "The hour of the day the billing_cycle_anchor should be. Ranges from 0 to 23.",
                        "type": "integer"
                      },
                      "minute": {
                        "description": "The minute of the hour the billing_cycle_anchor should be. Ranges from 0 to 59.",
                        "type": "integer"
                      },
                      "month": {
                        "description": "The month to start full cycle billing periods. Ranges from 1 to 12.",
                        "type": "integer"
                      },
                      "second": {
                        "description": "The second of the minute the billing_cycle_anchor should be. Ranges from 0 to 59.",
                        "type": "integer"
                      }
                    },
                    "required": [
                      "day_of_month"
                    ],
                    "title": "billing_cycle_anchor_config_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "day_of_month",
                      "hour",
                      "minute",
                      "month",
                      "second"
                    ]
                  },
                  "billing_thresholds": {
                    "anyOf": [
                      {
                        "properties": {
                          "amount_gte": {
                            "description": "Monetary threshold that triggers the subscription to advance to a new billing period",
                            "type": "integer"
                          },
                          "reset_billing_cycle_anchor": {
                            "description": "Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged.",
                            "type": "boolean"
                          }
                        },
                        "title": "billing_thresholds_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "amount_gte",
                          "reset_billing_cycle_anchor"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds."
                  },
                  "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.",
                    "format": "unix-time",
                    "type": "integer"
                  },
                  "cancel_at_period_end": {
                    "description": "Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`.",
                    "type": "boolean"
                  },
                  "collection_method": {
                    "description": "Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this subscription at the end of the cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`. Defaults to `charge_automatically`.",
                    "enum": [
                      "charge_automatically",
                      "send_invoice"
                    ],
                    "type": "string"
                  },
                  "coupon": {
                    "description": "The ID of the coupon to apply to this subscription. A coupon applied to a subscription will only affect invoices created for that particular subscription. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "currency": {
                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                    "type": "string"
                  },
                  "customer": {
                    "description": "The identifier of the customer to subscribe.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "days_until_due": {
                    "description": "Number of days a customer has to pay invoices generated by this subscription. Valid only for subscriptions where `collection_method` is set to `send_invoice`.",
                    "type": "integer"
                  },
                  "default_payment_method": {
                    "description": "ID of the default payment method for the subscription. It must belong to the customer associated with the subscription. This takes precedence over `default_source`. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source).",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "default_source": {
                    "description": "ID of the default payment source for the subscription. It must belong to the customer associated with the subscription and be in a chargeable state. If `default_payment_method` is also set, `default_payment_method` will take precedence. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source).",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "default_tax_rates": {
                    "anyOf": [
                      {
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The tax rates that will apply to any subscription item that does not have `tax_rates` set. Invoices created will have their `default_tax_rates` populated from the subscription."
                  },
                  "description": {
                    "description": "The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.",
                    "maxLength": 500,
                    "type": "string"
                  },
                  "discounts": {
                    "anyOf": [
                      {
                        "items": {
                          "properties": {
                            "coupon": {
                              "description": "ID of the coupon to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "discount": {
                              "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "promotion_code": {
                              "description": "ID of the promotion code to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            }
                          },
                          "title": "discounts_data_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "coupon"
                          ]
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The coupons to redeem into discounts for the subscription. If not specified or empty, inherits the discount from the subscription's customer."
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "invoice_settings": {
                    "description": "All invoices will be billed using the specified settings.",
                    "properties": {
                      "account_tax_ids": {
                        "anyOf": [
                          {
                            "items": {
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "type": "array"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The account tax IDs associated with the subscription. Will be set on invoices generated by the subscription."
                      },
                      "issuer": {
                        "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.",
                        "properties": {
                          "account": {
                            "description": "The connected account being referenced when `type` is `account`.",
                            "type": "string"
                          },
                          "type": {
                            "description": "Type of the account referenced in the request.",
                            "enum": [
                              "account",
                              "self"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account",
                          "type"
                        ]
                      }
                    },
                    "title": "invoice_settings_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "account_tax_ids",
                      "custom_fields",
                      "description",
                      "footer",
                      "issuer",
                      "rendering",
                      "send_hosted_payment_email",
                      "supported_payment_methods"
                    ]
                  },
                  "items": {
                    "description": "A list of up to 20 subscription items, each with an attached price.",
                    "items": {
                      "properties": {
                        "billing_thresholds": {
                          "anyOf": [
                            {
                              "properties": {
                                "usage_gte": {
                                  "description": "Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte))",
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "usage_gte"
                              ],
                              "title": "item_billing_thresholds_param",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "usage_gte"
                              ]
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds."
                        },
                        "discounts": {
                          "anyOf": [
                            {
                              "items": {
                                "properties": {
                                  "coupon": {
                                    "description": "ID of the coupon to create a new discount for.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "discount": {
                                    "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "promotion_code": {
                                    "description": "ID of the promotion code to create a new discount for.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "title": "discounts_data_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "coupon"
                                ]
                              },
                              "type": "array"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "The coupons to redeem into discounts for the subscription item."
                        },
                        "metadata": {
                          "additionalProperties": {
                            "type": "string"
                          },
                          "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                          "type": "object"
                        },
                        "plan": {
                          "description": "Plan ID for this item, as a string.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "price": {
                          "description": "The ID of the price object.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "price_data": {
                          "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline.",
                          "properties": {
                            "currency": {
                              "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                              "type": "string"
                            },
                            "product": {
                              "description": "The ID of the product that this price will belong to.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "recurring": {
                              "description": "The recurring components of a price such as `interval` and `interval_count`.",
                              "properties": {
                                "interval": {
                                  "description": "Specifies billing frequency. Either `day`, `week`, `month` or `year`.",
                                  "enum": [
                                    "day",
                                    "month",
                                    "week",
                                    "year"
                                  ],
                                  "type": "string"
                                },
                                "interval_count": {
                                  "description": "The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).",
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "interval"
                              ],
                              "title": "recurring_adhoc",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "interval"
                              ]
                            },
                            "tax_behavior": {
                              "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                              "enum": [
                                "exclusive",
                                "inclusive",
                                "unspecified"
                              ],
                              "type": "string"
                            },
                            "unit_amount": {
                              "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.",
                              "type": "integer"
                            },
                            "unit_amount_decimal": {
                              "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                              "format": "decimal",
                              "type": "string"
                            }
                          },
                          "required": [
                            "currency",
                            "product",
                            "recurring"
                          ],
                          "title": "recurring_price_data",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "currency",
                            "product",
                            "recurring",
                            "unit_amount"
                          ]
                        },
                        "quantity": {
                          "description": "Quantity for this item.",
                          "type": "integer"
                        },
                        "tax_rates": {
                          "anyOf": [
                            {
                              "items": {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "type": "array"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates."
                        }
                      },
                      "title": "subscription_item_create_params",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "billing_thresholds",
                        "discounts",
                        "metadata",
                        "plan",
                        "price",
                        "quantity",
                        "tax_rates",
                        "trial"
                      ]
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "off_session": {
                    "description": "Indicates if a customer is on or off-session while an invoice payment is attempted. Defaults to `false` (on-session).",
                    "type": "boolean"
                  },
                  "on_behalf_of": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The account on behalf of which to charge, for each of the subscription's invoices."
                  },
                  "payment_behavior": {
                    "description": "Only applies to subscriptions with `collection_method=charge_automatically`.\n\nUse `allow_incomplete` to create Subscriptions with `status=incomplete` if the first invoice can't be paid. Creating Subscriptions with this status allows you to manage scenarios where additional customer actions are needed to pay a subscription's invoice. For example, SCA regulation may require 3DS authentication to complete payment. See the [SCA Migration Guide](https://stripe.com/docs/billing/migration/strong-customer-authentication) for Billing to learn more. This is the default behavior.\n\nUse `default_incomplete` to create Subscriptions with `status=incomplete` when the first invoice requires payment, otherwise start as active. Subscriptions transition to `status=active` when successfully confirming the PaymentIntent on the first invoice. This allows simpler management of scenarios where additional customer actions are needed to pay a subscription’s invoice, such as failed payments, [SCA regulation](https://stripe.com/docs/billing/migration/strong-customer-authentication), or collecting a mandate for a bank debit payment method. If the PaymentIntent is not confirmed within 23 hours Subscriptions transition to `status=incomplete_expired`, which is a terminal state.\n\nUse `error_if_incomplete` if you want Stripe to return an HTTP 402 status code if a subscription's first invoice can't be paid. For example, if a payment method requires 3DS authentication due to SCA regulation and further customer action is needed, this parameter doesn't create a Subscription and returns an error instead. This was the default behavior for API versions prior to 2019-03-14. See the [changelog](https://stripe.com/docs/upgrades#2019-03-14) to learn more.\n\n`pending_if_incomplete` is only used with updates and cannot be passed when creating a Subscription.\n\nSubscriptions with `collection_method=send_invoice` are automatically activated regardless of the first Invoice status.",
                    "enum": [
                      "allow_incomplete",
                      "default_incomplete",
                      "error_if_incomplete",
                      "pending_if_incomplete"
                    ],
                    "type": "string"
                  },
                  "payment_settings": {
                    "description": "Payment settings to pass to invoices created by the subscription.",
                    "properties": {
                      "payment_method_options": {
                        "description": "Payment-method-specific configuration to provide to invoices created by the subscription.",
                        "properties": {
                          "acss_debit": {
                            "anyOf": [
                              {
                                "properties": {
                                  "mandate_options": {
                                    "description": "Additional fields for Mandate creation",
                                    "properties": {
                                      "transaction_type": {
                                        "description": "Transaction type of the mandate.",
                                        "enum": [
                                          "business",
                                          "personal"
                                        ],
                                        "type": "string"
                                      }
                                    },
                                    "title": "mandate_options_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "transaction_type"
                                    ]
                                  },
                                  "verification_method": {
                                    "description": "Verification method for the intent",
                                    "enum": [
                                      "automatic",
                                      "instant",
                                      "microdeposits"
                                    ],
                                    "type": "string",
                                    "x-stripeBypassValidation": true
                                  }
                                },
                                "title": "invoice_payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "mandate_options",
                                  "verification_method"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "This sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to the invoice’s PaymentIntent."
                          },
                          "bancontact": {
                            "anyOf": [
                              {
                                "properties": {
                                  "preferred_language": {
                                    "description": "Preferred language of the Bancontact authorization page that the customer is redirected to.",
                                    "enum": [
                                      "de",
                                      "en",
                                      "fr",
                                      "nl"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "title": "invoice_payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "preferred_language"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "This sub-hash contains details about the Bancontact payment method options to pass to the invoice’s PaymentIntent."
                          },
                          "card": {
                            "anyOf": [
                              {
                                "properties": {
                                  "mandate_options": {
                                    "description": "Configuration options for setting up an eMandate for cards issued in India.",
                                    "properties": {
                                      "amount": {
                                        "description": "Amount to be charged for future payments.",
                                        "type": "integer"
                                      },
                                      "amount_type": {
                                        "description": "One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.",
                                        "enum": [
                                          "fixed",
                                          "maximum"
                                        ],
                                        "type": "string"
                                      },
                                      "description": {
                                        "description": "A description of the mandate or subscription that is meant to be displayed to the customer.",
                                        "maxLength": 200,
                                        "type": "string"
                                      }
                                    },
                                    "title": "mandate_options_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "amount",
                                      "amount_type",
                                      "description"
                                    ]
                                  },
                                  "network": {
                                    "description": "Selected network to process this Subscription on. Depends on the available networks of the card attached to the Subscription. Can be only set confirm-time.",
                                    "enum": [
                                      "amex",
                                      "cartes_bancaires",
                                      "diners",
                                      "discover",
                                      "eftpos_au",
                                      "girocard",
                                      "interac",
                                      "jcb",
                                      "link",
                                      "mastercard",
                                      "unionpay",
                                      "unknown",
                                      "visa"
                                    ],
                                    "maxLength": 5000,
                                    "type": "string",
                                    "x-stripeBypassValidation": true
                                  },
                                  "request_three_d_secure": {
                                    "description": "We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.",
                                    "enum": [
                                      "any",
                                      "automatic",
                                      "challenge"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "title": "subscription_payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "mandate_options",
                                  "mit_exemption",
                                  "network",
                                  "request_three_d_secure"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "This sub-hash contains details about the Card payment method options to pass to the invoice’s PaymentIntent."
                          },
                          "customer_balance": {
                            "anyOf": [
                              {
                                "properties": {
                                  "bank_transfer": {
                                    "description": "Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.",
                                    "properties": {
                                      "eu_bank_transfer": {
                                        "description": "Configuration for eu_bank_transfer funding type.",
                                        "properties": {
                                          "country": {
                                            "description": "The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.",
                                            "maxLength": 5000,
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "country"
                                        ],
                                        "title": "eu_bank_transfer_param",
                                        "type": "object",
                                        "x-stripeMostCommon": [
                                          "country"
                                        ]
                                      },
                                      "type": {
                                        "description": "The bank transfer type that can be used for funding. Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.",
                                        "type": "string"
                                      }
                                    },
                                    "title": "bank_transfer_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "eu_bank_transfer",
                                      "id_bank_transfer",
                                      "type"
                                    ]
                                  },
                                  "funding_type": {
                                    "description": "The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.",
                                    "type": "string"
                                  }
                                },
                                "title": "invoice_payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "bank_transfer",
                                  "funding_type"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "This sub-hash contains details about the Bank transfer payment method options to pass to the invoice’s PaymentIntent."
                          },
                          "konbini": {
                            "anyOf": [
                              {
                                "properties": {},
                                "title": "invoice_payment_method_options_param",
                                "type": "object"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "This sub-hash contains details about the Konbini payment method options to pass to the invoice’s PaymentIntent."
                          },
                          "sepa_debit": {
                            "anyOf": [
                              {
                                "properties": {},
                                "title": "invoice_payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "verification_method"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "This sub-hash contains details about the SEPA Direct Debit payment method options to pass to the invoice’s PaymentIntent."
                          },
                          "us_bank_account": {
                            "anyOf": [
                              {
                                "properties": {
                                  "financial_connections": {
                                    "description": "Additional fields for Financial Connections Session creation",
                                    "properties": {
                                      "filters": {
                                        "description": "Provide filters for the linked accounts that the customer can select for the payment method.",
                                        "properties": {
                                          "account_subcategories": {
                                            "description": "The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.",
                                            "items": {
                                              "enum": [
                                                "checking",
                                                "savings"
                                              ],
                                              "type": "string"
                                            },
                                            "type": "array"
                                          }
                                        },
                                        "title": "invoice_linked_account_options_filters_param",
                                        "type": "object",
                                        "x-stripeMostCommon": [
                                          "account_subcategories",
                                          "institution"
                                        ]
                                      },
                                      "permissions": {
                                        "description": "The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.",
                                        "items": {
                                          "enum": [
                                            "balances",
                                            "ownership",
                                            "payment_method",
                                            "transactions"
                                          ],
                                          "maxLength": 5000,
                                          "type": "string",
                                          "x-stripeBypassValidation": true
                                        },
                                        "type": "array"
                                      },
                                      "prefetch": {
                                        "description": "List of data features that you would like to retrieve upon account creation.",
                                        "items": {
                                          "enum": [
                                            "balances",
                                            "ownership",
                                            "transactions"
                                          ],
                                          "type": "string",
                                          "x-stripeBypassValidation": true
                                        },
                                        "type": "array"
                                      }
                                    },
                                    "title": "invoice_linked_account_options_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "filters",
                                      "permissions",
                                      "prefetch"
                                    ]
                                  },
                                  "verification_method": {
                                    "description": "Verification method for the intent",
                                    "enum": [
                                      "automatic",
                                      "instant",
                                      "microdeposits"
                                    ],
                                    "type": "string",
                                    "x-stripeBypassValidation": true
                                  }
                                },
                                "title": "invoice_payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "financial_connections",
                                  "verification_method"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "This sub-hash contains details about the ACH direct debit payment method options to pass to the invoice’s PaymentIntent."
                          }
                        },
                        "title": "payment_method_options",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "acss_debit",
                          "bancontact",
                          "card",
                          "customer_balance",
                          "id_bank_transfer",
                          "konbini",
                          "sepa_debit",
                          "us_bank_account"
                        ]
                      },
                      "payment_method_types": {
                        "anyOf": [
                          {
                            "items": {
                              "enum": [
                                "ach_credit_transfer",
                                "ach_debit",
                                "acss_debit",
                                "amazon_pay",
                                "au_becs_debit",
                                "bacs_debit",
                                "bancontact",
                                "boleto",
                                "card",
                                "cashapp",
                                "customer_balance",
                                "eps",
                                "fpx",
                                "giropay",
                                "grabpay",
                                "ideal",
                                "jp_credit_transfer",
                                "kakao_pay",
                                "konbini",
                                "kr_card",
                                "link",
                                "multibanco",
                                "naver_pay",
                                "p24",
                                "payco",
                                "paynow",
                                "paypal",
                                "promptpay",
                                "revolut_pay",
                                "sepa_credit_transfer",
                                "sepa_debit",
                                "sofort",
                                "swish",
                                "us_bank_account",
                                "wechat_pay"
                              ],
                              "type": "string",
                              "x-stripeBypassValidation": true
                            },
                            "type": "array"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The list of payment method types (e.g. card) to provide to the invoice’s PaymentIntent. If not set, Stripe attempts to automatically determine the types to use by looking at the invoice’s default payment method, the subscription’s default payment method, the customer’s default payment method, and your [invoice template settings](https://dashboard.stripe.com/settings/billing/invoice)."
                      },
                      "save_default_payment_method": {
                        "description": "Configure whether Stripe updates `subscription.default_payment_method` when payment succeeds. Defaults to `off` if unspecified.",
                        "enum": [
                          "off",
                          "on_subscription"
                        ],
                        "type": "string"
                      }
                    },
                    "title": "payment_settings",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "payment_method_options",
                      "payment_method_types",
                      "save_default_payment_method"
                    ]
                  },
                  "pending_invoice_item_interval": {
                    "anyOf": [
                      {
                        "properties": {
                          "interval": {
                            "description": "Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.",
                            "enum": [
                              "day",
                              "month",
                              "week",
                              "year"
                            ],
                            "type": "string"
                          },
                          "interval_count": {
                            "description": "The number of intervals between invoices. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks).",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "interval"
                        ],
                        "title": "pending_invoice_item_interval_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "interval",
                          "interval_count"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://stripe.com/docs/api#create_invoice) for the given subscription at the specified interval."
                  },
                  "promotion_code": {
                    "description": "The promotion code to apply to this subscription. A promotion code applied to a subscription will only affect invoices created for that particular subscription. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "proration_behavior": {
                    "description": "Determines how to handle [prorations](https://stripe.com/docs/billing/subscriptions/prorations) resulting from the `billing_cycle_anchor`. If no value is passed, the default is `create_prorations`.",
                    "enum": [
                      "always_invoice",
                      "create_prorations",
                      "none"
                    ],
                    "type": "string"
                  },
                  "transfer_data": {
                    "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.",
                    "properties": {
                      "amount_percent": {
                        "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.",
                        "type": "number"
                      },
                      "destination": {
                        "description": "ID of an existing, connected Stripe account.",
                        "type": "string"
                      }
                    },
                    "required": [
                      "destination"
                    ],
                    "title": "transfer_data_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "amount_percent",
                      "destination"
                    ]
                  },
                  "trial_end": {
                    "anyOf": [
                      {
                        "enum": [
                          "now"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      },
                      {
                        "format": "unix-time",
                        "type": "integer"
                      }
                    ],
                    "description": "Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. If set, trial_end will override the default trial period of the plan the customer is being subscribed to. The special value `now` can be provided to end the customer's trial immediately. Can be at most two years from `billing_cycle_anchor`. See [Using trial periods on subscriptions](https://stripe.com/docs/billing/subscriptions/trials) to learn more."
                  },
                  "trial_from_plan": {
                    "description": "Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `trial_end` per subscription is preferred, and this defaults to `false`. Setting this flag to `true` together with `trial_end` is not allowed. See [Using trial periods on subscriptions](https://stripe.com/docs/billing/subscriptions/trials) to learn more.",
                    "type": "boolean"
                  },
                  "trial_period_days": {
                    "description": "Integer representing the number of trial period days before the customer is charged for the first time. This will always overwrite any trials that might apply via a subscribed plan. See [Using trial periods on subscriptions](https://stripe.com/docs/billing/subscriptions/trials) to learn more.",
                    "type": "integer"
                  },
                  "trial_settings": {
                    "description": "Settings related to subscription trials.",
                    "properties": {
                      "end_behavior": {
                        "description": "Defines how the subscription should behave when the user's free trial ends.",
                        "properties": {
                          "missing_payment_method": {
                            "description": "Indicates how the subscription should change when the trial ends if the user did not provide a payment method.",
                            "enum": [
                              "cancel",
                              "create_invoice",
                              "pause"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "missing_payment_method"
                        ],
                        "title": "end_behavior",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "missing_payment_method"
                        ]
                      }
                    },
                    "required": [
                      "end_behavior"
                    ],
                    "title": "trial_settings_config",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "end_behavior"
                    ]
                  }
                },
                "required": [
                  "customer"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "cancel_at_period_end",
                  "currency",
                  "customer",
                  "default_payment_method",
                  "description",
                  "items",
                  "metadata",
                  "payment_behavior"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/subscription"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a subscription"
      }
    },
    "/v1/subscriptions/search": {
      "get": {
        "description": "<p>Search for subscriptions you’ve previously created using Stripe’s <a href=\"/docs/search#search-query-language\">Search Query Language</a>.\nDon’t use search in read-after-write flows where strict consistency is necessary. Under normal operating\nconditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up\nto an hour behind during outages. Search functionality is not available to merchants in India.</p>",
        "operationId": "GetSubscriptionsSearch",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "The search query string. See [search query language](https://stripe.com/docs/search#search-query-language) and the list of supported [query fields for subscriptions](https://stripe.com/docs/search#query-fields-for-subscriptions).",
            "in": "query",
            "name": "query",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/subscription"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "type": "boolean"
                    },
                    "next_page": {
                      "maxLength": 5000,
                      "nullable": true,
                      "type": "string"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value.",
                      "enum": [
                        "search_result"
                      ],
                      "type": "string"
                    },
                    "total_count": {
                      "description": "The total number of objects that match the query, only accurate up to 10,000.",
                      "type": "integer"
                    },
                    "url": {
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "next_page",
                    "object",
                    "url"
                  ],
                  "title": "SearchResult",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "next_page",
                    "object",
                    "total_count",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Search subscriptions"
      }
    },
    "/v1/subscriptions/{subscription_exposed_id}": {
      "delete": {
        "description": "<p>Cancels a customer’s subscription immediately. The customer won’t be charged again for the subscription. After it’s canceled, you can no longer update the subscription or its <a href=\"/metadata\">metadata</a>.</p>\n\n<p>Any pending invoice items that you’ve created are still charged at the end of the period, unless manually <a href=\"#delete_invoiceitem\">deleted</a>. If you’ve set the subscription to cancel at the end of the period, any pending prorations are also left in place and collected at the end of the period. But if the subscription is set to cancel immediately, pending prorations are removed.</p>\n\n<p>By default, upon subscription cancellation, Stripe stops automatic collection of all finalized invoices for the customer. This is intended to prevent unexpected payment attempts after the customer has canceled a subscription. However, you can resume automatic collection of the invoices manually after subscription cancellation to have us proceed. Or, you could check for unpaid invoices before allowing the customer to cancel the subscription at all.</p>",
        "operationId": "DeleteSubscriptionsSubscriptionExposedId",
        "parameters": [
          {
            "in": "path",
            "name": "subscription_exposed_id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "cancellation_details": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "cancellation_details": {
                    "description": "Details about why this subscription was cancelled",
                    "properties": {
                      "comment": {
                        "anyOf": [
                          {
                            "maxLength": 5000,
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user."
                      },
                      "feedback": {
                        "description": "The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user.",
                        "enum": [
                          "",
                          "customer_service",
                          "low_quality",
                          "missing_features",
                          "other",
                          "switched_service",
                          "too_complex",
                          "too_expensive",
                          "unused"
                        ],
                        "type": "string"
                      }
                    },
                    "title": "cancellation_details_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "comment",
                      "feedback",
                      "feedback_option"
                    ]
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "invoice_now": {
                    "description": "Will generate a final invoice that invoices for any un-invoiced metered usage and new/pending proration invoice items. Defaults to `false`.",
                    "type": "boolean"
                  },
                  "prorate": {
                    "description": "Will generate a proration invoice item that credits remaining unused time until the subscription period end. Defaults to `false`.",
                    "type": "boolean"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/subscription"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Cancel a subscription"
      },
      "get": {
        "description": "<p>Retrieves the subscription with the given ID.</p>",
        "operationId": "GetSubscriptionsSubscriptionExposedId",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "subscription_exposed_id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/subscription"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a subscription"
      },
      "post": {
        "description": "<p>Updates an existing subscription to match the specified parameters.\nWhen changing prices or quantities, we optionally prorate the price we charge next month to make up for any price changes.\nTo preview how the proration is calculated, use the <a href=\"/docs/api/invoices/create_preview\">create preview</a> endpoint.</p>\n\n<p>By default, we prorate subscription changes. For example, if a customer signs up on May 1 for a <currency>100</currency> price, they’ll be billed <currency>100</currency> immediately. If on May 15 they switch to a <currency>200</currency> price, then on June 1 they’ll be billed <currency>250</currency> (<currency>200</currency> for a renewal of her subscription, plus a <currency>50</currency> prorating adjustment for half of the previous month’s <currency>100</currency> difference). Similarly, a downgrade generates a credit that is applied to the next invoice. We also prorate when you make quantity changes.</p>\n\n<p>Switching prices does not normally change the billing date or generate an immediate charge unless:</p>\n\n<ul>\n<li>The billing interval is changed (for example, from monthly to yearly).</li>\n<li>The subscription moves from free to paid.</li>\n<li>A trial starts or ends.</li>\n</ul>\n\n<p>In these cases, we apply a credit for the unused time on the previous price, immediately charge the customer using the new price, and reset the billing date. Learn about how <a href=\"/docs/billing/subscriptions/upgrade-downgrade#immediate-payment\">Stripe immediately attempts payment for subscription changes</a>.</p>\n\n<p>If you want to charge for an upgrade immediately, pass <code>proration_behavior</code> as <code>always_invoice</code> to create prorations, automatically invoice the customer for those proration adjustments, and attempt to collect payment. If you pass <code>create_prorations</code>, the prorations are created but not automatically invoiced. If you want to bill the customer for the prorations before the subscription’s renewal date, you need to manually <a href=\"/docs/api/invoices/create\">invoice the customer</a>.</p>\n\n<p>If you don’t want to prorate, set the <code>proration_behavior</code> option to <code>none</code>. With this option, the customer is billed <currency>100</currency> on May 1 and <currency>200</currency> on June 1. Similarly, if you set <code>proration_behavior</code> to <code>none</code> when switching between different billing intervals (for example, from monthly to yearly), we don’t generate any credits for the old subscription’s unused time. We still reset the billing date and bill immediately for the new subscription.</p>\n\n<p>Updating the quantity on a subscription many times in an hour may result in <a href=\"/docs/rate-limits\">rate limiting</a>. If you need to bill for a frequently changing quantity, consider integrating <a href=\"/docs/billing/subscriptions/usage-based\">usage-based billing</a> instead.</p>",
        "operationId": "PostSubscriptionsSubscriptionExposedId",
        "parameters": [
          {
            "in": "path",
            "name": "subscription_exposed_id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "add_invoice_items": {
                  "explode": true,
                  "style": "deepObject"
                },
                "application_fee_percent": {
                  "explode": true,
                  "style": "deepObject"
                },
                "automatic_tax": {
                  "explode": true,
                  "style": "deepObject"
                },
                "billing_thresholds": {
                  "explode": true,
                  "style": "deepObject"
                },
                "cancel_at": {
                  "explode": true,
                  "style": "deepObject"
                },
                "cancellation_details": {
                  "explode": true,
                  "style": "deepObject"
                },
                "default_source": {
                  "explode": true,
                  "style": "deepObject"
                },
                "default_tax_rates": {
                  "explode": true,
                  "style": "deepObject"
                },
                "description": {
                  "explode": true,
                  "style": "deepObject"
                },
                "discounts": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "invoice_settings": {
                  "explode": true,
                  "style": "deepObject"
                },
                "items": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "on_behalf_of": {
                  "explode": true,
                  "style": "deepObject"
                },
                "pause_collection": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_settings": {
                  "explode": true,
                  "style": "deepObject"
                },
                "pending_invoice_item_interval": {
                  "explode": true,
                  "style": "deepObject"
                },
                "transfer_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "trial_end": {
                  "explode": true,
                  "style": "deepObject"
                },
                "trial_settings": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "add_invoice_items": {
                    "description": "A list of prices and quantities that will generate invoice items appended to the next invoice for this subscription. You may pass up to 20 items.",
                    "items": {
                      "properties": {
                        "discounts": {
                          "description": "The coupons to redeem into discounts for the item.",
                          "items": {
                            "properties": {
                              "coupon": {
                                "description": "ID of the coupon to create a new discount for.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "discount": {
                                "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "promotion_code": {
                                "description": "ID of the promotion code to create a new discount for.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "discounts_data_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "coupon"
                            ]
                          },
                          "type": "array"
                        },
                        "price": {
                          "description": "The ID of the price object. One of `price` or `price_data` is required.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "price_data": {
                          "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
                          "properties": {
                            "currency": {
                              "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                              "type": "string"
                            },
                            "product": {
                              "description": "The ID of the product that this price will belong to.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "tax_behavior": {
                              "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                              "enum": [
                                "exclusive",
                                "inclusive",
                                "unspecified"
                              ],
                              "type": "string"
                            },
                            "unit_amount": {
                              "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge or a negative integer representing the amount to credit to the customer.",
                              "type": "integer"
                            },
                            "unit_amount_decimal": {
                              "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                              "format": "decimal",
                              "type": "string"
                            }
                          },
                          "required": [
                            "currency",
                            "product"
                          ],
                          "title": "one_time_price_data_with_negative_amounts",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "currency",
                            "product",
                            "unit_amount"
                          ]
                        },
                        "quantity": {
                          "description": "Quantity for this item. Defaults to 1.",
                          "type": "integer"
                        },
                        "tax_rates": {
                          "anyOf": [
                            {
                              "items": {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "type": "array"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item."
                        }
                      },
                      "title": "add_invoice_item_entry",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "price",
                        "quantity"
                      ],
                      "x-stripeParam": {
                        "class_name": "AddInvoiceItem"
                      }
                    },
                    "type": "array"
                  },
                  "application_fee_percent": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions)."
                  },
                  "automatic_tax": {
                    "description": "Automatic tax settings for this subscription. We recommend you only include this parameter when the existing value is being changed.",
                    "properties": {
                      "enabled": {
                        "description": "Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription.",
                        "type": "boolean"
                      },
                      "liability": {
                        "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.",
                        "properties": {
                          "account": {
                            "description": "The connected account being referenced when `type` is `account`.",
                            "type": "string"
                          },
                          "type": {
                            "description": "Type of the account referenced in the request.",
                            "enum": [
                              "account",
                              "self"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account",
                          "type"
                        ]
                      }
                    },
                    "required": [
                      "enabled"
                    ],
                    "title": "automatic_tax_config",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "enabled",
                      "liability"
                    ]
                  },
                  "billing_cycle_anchor": {
                    "description": "Either `now` or `unchanged`. Setting the value to `now` resets the subscription's billing cycle anchor to the current time (in UTC). For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle).",
                    "enum": [
                      "now",
                      "unchanged"
                    ],
                    "maxLength": 5000,
                    "type": "string",
                    "x-stripeBypassValidation": true
                  },
                  "billing_thresholds": {
                    "anyOf": [
                      {
                        "properties": {
                          "amount_gte": {
                            "description": "Monetary threshold that triggers the subscription to advance to a new billing period",
                            "type": "integer"
                          },
                          "reset_billing_cycle_anchor": {
                            "description": "Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged.",
                            "type": "boolean"
                          }
                        },
                        "title": "billing_thresholds_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "amount_gte",
                          "reset_billing_cycle_anchor"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds."
                  },
                  "cancel_at": {
                    "anyOf": [
                      {
                        "format": "unix-time",
                        "type": "integer"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "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."
                  },
                  "cancel_at_period_end": {
                    "description": "Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`.",
                    "type": "boolean"
                  },
                  "cancellation_details": {
                    "description": "Details about why this subscription was cancelled",
                    "properties": {
                      "comment": {
                        "anyOf": [
                          {
                            "maxLength": 5000,
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user."
                      },
                      "feedback": {
                        "description": "The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user.",
                        "enum": [
                          "",
                          "customer_service",
                          "low_quality",
                          "missing_features",
                          "other",
                          "switched_service",
                          "too_complex",
                          "too_expensive",
                          "unused"
                        ],
                        "type": "string"
                      }
                    },
                    "title": "cancellation_details_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "comment",
                      "feedback",
                      "feedback_option"
                    ]
                  },
                  "collection_method": {
                    "description": "Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this subscription at the end of the cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`. Defaults to `charge_automatically`.",
                    "enum": [
                      "charge_automatically",
                      "send_invoice"
                    ],
                    "type": "string"
                  },
                  "coupon": {
                    "description": "The ID of the coupon to apply to this subscription. A coupon applied to a subscription will only affect invoices created for that particular subscription. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "days_until_due": {
                    "description": "Number of days a customer has to pay invoices generated by this subscription. Valid only for subscriptions where `collection_method` is set to `send_invoice`.",
                    "type": "integer"
                  },
                  "default_payment_method": {
                    "description": "ID of the default payment method for the subscription. It must belong to the customer associated with the subscription. This takes precedence over `default_source`. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source).",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "default_source": {
                    "anyOf": [
                      {
                        "maxLength": 5000,
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "ID of the default payment source for the subscription. It must belong to the customer associated with the subscription and be in a chargeable state. If `default_payment_method` is also set, `default_payment_method` will take precedence. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source)."
                  },
                  "default_tax_rates": {
                    "anyOf": [
                      {
                        "items": {
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The tax rates that will apply to any subscription item that does not have `tax_rates` set. Invoices created will have their `default_tax_rates` populated from the subscription. Pass an empty string to remove previously-defined tax rates."
                  },
                  "description": {
                    "anyOf": [
                      {
                        "maxLength": 500,
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs."
                  },
                  "discounts": {
                    "anyOf": [
                      {
                        "items": {
                          "properties": {
                            "coupon": {
                              "description": "ID of the coupon to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "discount": {
                              "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "promotion_code": {
                              "description": "ID of the promotion code to create a new discount for.",
                              "maxLength": 5000,
                              "type": "string"
                            }
                          },
                          "title": "discounts_data_param",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "coupon"
                          ]
                        },
                        "type": "array"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The coupons to redeem into discounts for the subscription. If not specified or empty, inherits the discount from the subscription's customer."
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "invoice_settings": {
                    "description": "All invoices will be billed using the specified settings.",
                    "properties": {
                      "account_tax_ids": {
                        "anyOf": [
                          {
                            "items": {
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "type": "array"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The account tax IDs associated with the subscription. Will be set on invoices generated by the subscription."
                      },
                      "issuer": {
                        "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.",
                        "properties": {
                          "account": {
                            "description": "The connected account being referenced when `type` is `account`.",
                            "type": "string"
                          },
                          "type": {
                            "description": "Type of the account referenced in the request.",
                            "enum": [
                              "account",
                              "self"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account",
                          "type"
                        ]
                      }
                    },
                    "title": "invoice_settings_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "account_tax_ids",
                      "custom_fields",
                      "description",
                      "footer",
                      "issuer",
                      "rendering",
                      "send_hosted_payment_email",
                      "supported_payment_methods"
                    ]
                  },
                  "items": {
                    "description": "A list of up to 20 subscription items, each with an attached price.",
                    "items": {
                      "properties": {
                        "billing_thresholds": {
                          "anyOf": [
                            {
                              "properties": {
                                "usage_gte": {
                                  "description": "Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte))",
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "usage_gte"
                              ],
                              "title": "item_billing_thresholds_param",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "usage_gte"
                              ]
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds."
                        },
                        "clear_usage": {
                          "description": "Delete all usage for a given subscription item. Allowed only when `deleted` is set to `true` and the current plan's `usage_type` is `metered`.",
                          "type": "boolean"
                        },
                        "deleted": {
                          "description": "A flag that, if set to `true`, will delete the specified item.",
                          "type": "boolean"
                        },
                        "discounts": {
                          "anyOf": [
                            {
                              "items": {
                                "properties": {
                                  "coupon": {
                                    "description": "ID of the coupon to create a new discount for.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "discount": {
                                    "description": "ID of an existing discount on the object (or one of its ancestors) to reuse.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "promotion_code": {
                                    "description": "ID of the promotion code to create a new discount for.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "title": "discounts_data_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "coupon"
                                ]
                              },
                              "type": "array"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "The coupons to redeem into discounts for the subscription item."
                        },
                        "id": {
                          "description": "Subscription item to update.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "metadata": {
                          "anyOf": [
                            {
                              "additionalProperties": {
                                "type": "string"
                              },
                              "type": "object"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                        },
                        "plan": {
                          "description": "Plan ID for this item, as a string.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "price": {
                          "description": "The ID of the price object. One of `price` or `price_data` is required. When changing a subscription item's price, `quantity` is set to 1 unless a `quantity` parameter is provided.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "price_data": {
                          "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
                          "properties": {
                            "currency": {
                              "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                              "type": "string"
                            },
                            "product": {
                              "description": "The ID of the product that this price will belong to.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "recurring": {
                              "description": "The recurring components of a price such as `interval` and `interval_count`.",
                              "properties": {
                                "interval": {
                                  "description": "Specifies billing frequency. Either `day`, `week`, `month` or `year`.",
                                  "enum": [
                                    "day",
                                    "month",
                                    "week",
                                    "year"
                                  ],
                                  "type": "string"
                                },
                                "interval_count": {
                                  "description": "The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).",
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "interval"
                              ],
                              "title": "recurring_adhoc",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "interval"
                              ]
                            },
                            "tax_behavior": {
                              "description": "Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
                              "enum": [
                                "exclusive",
                                "inclusive",
                                "unspecified"
                              ],
                              "type": "string"
                            },
                            "unit_amount": {
                              "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.",
                              "type": "integer"
                            },
                            "unit_amount_decimal": {
                              "description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
                              "format": "decimal",
                              "type": "string"
                            }
                          },
                          "required": [
                            "currency",
                            "product",
                            "recurring"
                          ],
                          "title": "recurring_price_data",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "currency",
                            "product",
                            "recurring",
                            "unit_amount"
                          ]
                        },
                        "quantity": {
                          "description": "Quantity for this item.",
                          "type": "integer"
                        },
                        "tax_rates": {
                          "anyOf": [
                            {
                              "items": {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "type": "array"
                            },
                            {
                              "enum": [
                                ""
                              ],
                              "type": "string"
                            }
                          ],
                          "description": "A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates."
                        }
                      },
                      "title": "subscription_item_update_params",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "billing_thresholds",
                        "clear_usage",
                        "deleted",
                        "discounts",
                        "id",
                        "metadata",
                        "plan",
                        "price",
                        "quantity",
                        "tax_rates"
                      ]
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "off_session": {
                    "description": "Indicates if a customer is on or off-session while an invoice payment is attempted. Defaults to `false` (on-session).",
                    "type": "boolean"
                  },
                  "on_behalf_of": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The account on behalf of which to charge, for each of the subscription's invoices."
                  },
                  "pause_collection": {
                    "anyOf": [
                      {
                        "properties": {
                          "behavior": {
                            "description": "The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`.",
                            "enum": [
                              "keep_as_draft",
                              "mark_uncollectible",
                              "void"
                            ],
                            "type": "string"
                          },
                          "resumes_at": {
                            "description": "The time after which the subscription will resume collecting payments.",
                            "format": "unix-time",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "behavior"
                        ],
                        "title": "pause_collection_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "behavior",
                          "resumes_at"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated to `paused`. Learn more about [pausing collection](https://stripe.com/docs/billing/subscriptions/pause-payment)."
                  },
                  "payment_behavior": {
                    "description": "Use `allow_incomplete` to transition the subscription to `status=past_due` if a payment is required but cannot be paid. This allows you to manage scenarios where additional user actions are needed to pay a subscription's invoice. For example, SCA regulation may require 3DS authentication to complete payment. See the [SCA Migration Guide](https://stripe.com/docs/billing/migration/strong-customer-authentication) for Billing to learn more. This is the default behavior.\n\nUse `default_incomplete` to transition the subscription to `status=past_due` when payment is required and await explicit confirmation of the invoice's payment intent. This allows simpler management of scenarios where additional user actions are needed to pay a subscription’s invoice. Such as failed payments, [SCA regulation](https://stripe.com/docs/billing/migration/strong-customer-authentication), or collecting a mandate for a bank debit payment method.\n\nUse `pending_if_incomplete` to update the subscription using [pending updates](https://stripe.com/docs/billing/subscriptions/pending-updates). When you use `pending_if_incomplete` you can only pass the parameters [supported by pending updates](https://stripe.com/docs/billing/pending-updates-reference#supported-attributes).\n\nUse `error_if_incomplete` if you want Stripe to return an HTTP 402 status code if a subscription's invoice cannot be paid. For example, if a payment method requires 3DS authentication due to SCA regulation and further user action is needed, this parameter does not update the subscription and returns an error instead. This was the default behavior for API versions prior to 2019-03-14. See the [changelog](https://stripe.com/docs/upgrades#2019-03-14) to learn more.",
                    "enum": [
                      "allow_incomplete",
                      "default_incomplete",
                      "error_if_incomplete",
                      "pending_if_incomplete"
                    ],
                    "type": "string"
                  },
                  "payment_settings": {
                    "description": "Payment settings to pass to invoices created by the subscription.",
                    "properties": {
                      "payment_method_options": {
                        "description": "Payment-method-specific configuration to provide to invoices created by the subscription.",
                        "properties": {
                          "acss_debit": {
                            "anyOf": [
                              {
                                "properties": {
                                  "mandate_options": {
                                    "description": "Additional fields for Mandate creation",
                                    "properties": {
                                      "transaction_type": {
                                        "description": "Transaction type of the mandate.",
                                        "enum": [
                                          "business",
                                          "personal"
                                        ],
                                        "type": "string"
                                      }
                                    },
                                    "title": "mandate_options_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "transaction_type"
                                    ]
                                  },
                                  "verification_method": {
                                    "description": "Verification method for the intent",
                                    "enum": [
                                      "automatic",
                                      "instant",
                                      "microdeposits"
                                    ],
                                    "type": "string",
                                    "x-stripeBypassValidation": true
                                  }
                                },
                                "title": "invoice_payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "mandate_options",
                                  "verification_method"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "This sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to the invoice’s PaymentIntent."
                          },
                          "bancontact": {
                            "anyOf": [
                              {
                                "properties": {
                                  "preferred_language": {
                                    "description": "Preferred language of the Bancontact authorization page that the customer is redirected to.",
                                    "enum": [
                                      "de",
                                      "en",
                                      "fr",
                                      "nl"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "title": "invoice_payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "preferred_language"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "This sub-hash contains details about the Bancontact payment method options to pass to the invoice’s PaymentIntent."
                          },
                          "card": {
                            "anyOf": [
                              {
                                "properties": {
                                  "mandate_options": {
                                    "description": "Configuration options for setting up an eMandate for cards issued in India.",
                                    "properties": {
                                      "amount": {
                                        "description": "Amount to be charged for future payments.",
                                        "type": "integer"
                                      },
                                      "amount_type": {
                                        "description": "One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.",
                                        "enum": [
                                          "fixed",
                                          "maximum"
                                        ],
                                        "type": "string"
                                      },
                                      "description": {
                                        "description": "A description of the mandate or subscription that is meant to be displayed to the customer.",
                                        "maxLength": 200,
                                        "type": "string"
                                      }
                                    },
                                    "title": "mandate_options_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "amount",
                                      "amount_type",
                                      "description"
                                    ]
                                  },
                                  "network": {
                                    "description": "Selected network to process this Subscription on. Depends on the available networks of the card attached to the Subscription. Can be only set confirm-time.",
                                    "enum": [
                                      "amex",
                                      "cartes_bancaires",
                                      "diners",
                                      "discover",
                                      "eftpos_au",
                                      "girocard",
                                      "interac",
                                      "jcb",
                                      "link",
                                      "mastercard",
                                      "unionpay",
                                      "unknown",
                                      "visa"
                                    ],
                                    "maxLength": 5000,
                                    "type": "string",
                                    "x-stripeBypassValidation": true
                                  },
                                  "request_three_d_secure": {
                                    "description": "We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.",
                                    "enum": [
                                      "any",
                                      "automatic",
                                      "challenge"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "title": "subscription_payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "mandate_options",
                                  "mit_exemption",
                                  "network",
                                  "request_three_d_secure"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "This sub-hash contains details about the Card payment method options to pass to the invoice’s PaymentIntent."
                          },
                          "customer_balance": {
                            "anyOf": [
                              {
                                "properties": {
                                  "bank_transfer": {
                                    "description": "Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.",
                                    "properties": {
                                      "eu_bank_transfer": {
                                        "description": "Configuration for eu_bank_transfer funding type.",
                                        "properties": {
                                          "country": {
                                            "description": "The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.",
                                            "maxLength": 5000,
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "country"
                                        ],
                                        "title": "eu_bank_transfer_param",
                                        "type": "object",
                                        "x-stripeMostCommon": [
                                          "country"
                                        ]
                                      },
                                      "type": {
                                        "description": "The bank transfer type that can be used for funding. Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.",
                                        "type": "string"
                                      }
                                    },
                                    "title": "bank_transfer_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "eu_bank_transfer",
                                      "id_bank_transfer",
                                      "type"
                                    ]
                                  },
                                  "funding_type": {
                                    "description": "The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.",
                                    "type": "string"
                                  }
                                },
                                "title": "invoice_payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "bank_transfer",
                                  "funding_type"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "This sub-hash contains details about the Bank transfer payment method options to pass to the invoice’s PaymentIntent."
                          },
                          "konbini": {
                            "anyOf": [
                              {
                                "properties": {},
                                "title": "invoice_payment_method_options_param",
                                "type": "object"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "This sub-hash contains details about the Konbini payment method options to pass to the invoice’s PaymentIntent."
                          },
                          "sepa_debit": {
                            "anyOf": [
                              {
                                "properties": {},
                                "title": "invoice_payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "verification_method"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "This sub-hash contains details about the SEPA Direct Debit payment method options to pass to the invoice’s PaymentIntent."
                          },
                          "us_bank_account": {
                            "anyOf": [
                              {
                                "properties": {
                                  "financial_connections": {
                                    "description": "Additional fields for Financial Connections Session creation",
                                    "properties": {
                                      "filters": {
                                        "description": "Provide filters for the linked accounts that the customer can select for the payment method.",
                                        "properties": {
                                          "account_subcategories": {
                                            "description": "The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.",
                                            "items": {
                                              "enum": [
                                                "checking",
                                                "savings"
                                              ],
                                              "type": "string"
                                            },
                                            "type": "array"
                                          }
                                        },
                                        "title": "invoice_linked_account_options_filters_param",
                                        "type": "object",
                                        "x-stripeMostCommon": [
                                          "account_subcategories",
                                          "institution"
                                        ]
                                      },
                                      "permissions": {
                                        "description": "The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.",
                                        "items": {
                                          "enum": [
                                            "balances",
                                            "ownership",
                                            "payment_method",
                                            "transactions"
                                          ],
                                          "maxLength": 5000,
                                          "type": "string",
                                          "x-stripeBypassValidation": true
                                        },
                                        "type": "array"
                                      },
                                      "prefetch": {
                                        "description": "List of data features that you would like to retrieve upon account creation.",
                                        "items": {
                                          "enum": [
                                            "balances",
                                            "ownership",
                                            "transactions"
                                          ],
                                          "type": "string",
                                          "x-stripeBypassValidation": true
                                        },
                                        "type": "array"
                                      }
                                    },
                                    "title": "invoice_linked_account_options_param",
                                    "type": "object",
                                    "x-stripeMostCommon": [
                                      "filters",
                                      "permissions",
                                      "prefetch"
                                    ]
                                  },
                                  "verification_method": {
                                    "description": "Verification method for the intent",
                                    "enum": [
                                      "automatic",
                                      "instant",
                                      "microdeposits"
                                    ],
                                    "type": "string",
                                    "x-stripeBypassValidation": true
                                  }
                                },
                                "title": "invoice_payment_method_options_param",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "financial_connections",
                                  "verification_method"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "This sub-hash contains details about the ACH direct debit payment method options to pass to the invoice’s PaymentIntent."
                          }
                        },
                        "title": "payment_method_options",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "acss_debit",
                          "bancontact",
                          "card",
                          "customer_balance",
                          "id_bank_transfer",
                          "konbini",
                          "sepa_debit",
                          "us_bank_account"
                        ]
                      },
                      "payment_method_types": {
                        "anyOf": [
                          {
                            "items": {
                              "enum": [
                                "ach_credit_transfer",
                                "ach_debit",
                                "acss_debit",
                                "amazon_pay",
                                "au_becs_debit",
                                "bacs_debit",
                                "bancontact",
                                "boleto",
                                "card",
                                "cashapp",
                                "customer_balance",
                                "eps",
                                "fpx",
                                "giropay",
                                "grabpay",
                                "ideal",
                                "jp_credit_transfer",
                                "kakao_pay",
                                "konbini",
                                "kr_card",
                                "link",
                                "multibanco",
                                "naver_pay",
                                "p24",
                                "payco",
                                "paynow",
                                "paypal",
                                "promptpay",
                                "revolut_pay",
                                "sepa_credit_transfer",
                                "sepa_debit",
                                "sofort",
                                "swish",
                                "us_bank_account",
                                "wechat_pay"
                              ],
                              "type": "string",
                              "x-stripeBypassValidation": true
                            },
                            "type": "array"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The list of payment method types (e.g. card) to provide to the invoice’s PaymentIntent. If not set, Stripe attempts to automatically determine the types to use by looking at the invoice’s default payment method, the subscription’s default payment method, the customer’s default payment method, and your [invoice template settings](https://dashboard.stripe.com/settings/billing/invoice)."
                      },
                      "save_default_payment_method": {
                        "description": "Configure whether Stripe updates `subscription.default_payment_method` when payment succeeds. Defaults to `off` if unspecified.",
                        "enum": [
                          "off",
                          "on_subscription"
                        ],
                        "type": "string"
                      }
                    },
                    "title": "payment_settings",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "payment_method_options",
                      "payment_method_types",
                      "save_default_payment_method"
                    ]
                  },
                  "pending_invoice_item_interval": {
                    "anyOf": [
                      {
                        "properties": {
                          "interval": {
                            "description": "Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.",
                            "enum": [
                              "day",
                              "month",
                              "week",
                              "year"
                            ],
                            "type": "string"
                          },
                          "interval_count": {
                            "description": "The number of intervals between invoices. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks).",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "interval"
                        ],
                        "title": "pending_invoice_item_interval_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "interval",
                          "interval_count"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://stripe.com/docs/api#create_invoice) for the given subscription at the specified interval."
                  },
                  "promotion_code": {
                    "description": "The promotion code to apply to this subscription. A promotion code applied to a subscription will only affect invoices created for that particular subscription. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "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`.",
                    "enum": [
                      "always_invoice",
                      "create_prorations",
                      "none"
                    ],
                    "type": "string"
                  },
                  "proration_date": {
                    "description": "If set, the proration will be calculated as though the subscription was updated at the given time. This can be used to apply exactly the same proration that was previewed with [upcoming invoice](https://stripe.com/docs/api#upcoming_invoice) endpoint. It can also be used to implement custom proration logic, such as prorating by day instead of by second, by providing the time that you wish to use for proration calculations.",
                    "format": "unix-time",
                    "type": "integer"
                  },
                  "transfer_data": {
                    "anyOf": [
                      {
                        "properties": {
                          "amount_percent": {
                            "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.",
                            "type": "number"
                          },
                          "destination": {
                            "description": "ID of an existing, connected Stripe account.",
                            "type": "string"
                          }
                        },
                        "required": [
                          "destination"
                        ],
                        "title": "transfer_data_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "amount_percent",
                          "destination"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "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. This will be unset if you POST an empty value."
                  },
                  "trial_end": {
                    "anyOf": [
                      {
                        "enum": [
                          "now"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      },
                      {
                        "format": "unix-time",
                        "type": "integer"
                      }
                    ],
                    "description": "Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. This will always overwrite any trials that might apply via a subscribed plan. If set, trial_end will override the default trial period of the plan the customer is being subscribed to. The special value `now` can be provided to end the customer's trial immediately. Can be at most two years from `billing_cycle_anchor`."
                  },
                  "trial_from_plan": {
                    "description": "Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `trial_end` per subscription is preferred, and this defaults to `false`. Setting this flag to `true` together with `trial_end` is not allowed. See [Using trial periods on subscriptions](https://stripe.com/docs/billing/subscriptions/trials) to learn more.",
                    "type": "boolean"
                  },
                  "trial_settings": {
                    "description": "Settings related to subscription trials.",
                    "properties": {
                      "end_behavior": {
                        "description": "Defines how the subscription should behave when the user's free trial ends.",
                        "properties": {
                          "missing_payment_method": {
                            "description": "Indicates how the subscription should change when the trial ends if the user did not provide a payment method.",
                            "enum": [
                              "cancel",
                              "create_invoice",
                              "pause"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "missing_payment_method"
                        ],
                        "title": "end_behavior",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "missing_payment_method"
                        ]
                      }
                    },
                    "required": [
                      "end_behavior"
                    ],
                    "title": "trial_settings_config",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "end_behavior"
                    ]
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "cancel_at_period_end",
                  "default_payment_method",
                  "description",
                  "items",
                  "metadata",
                  "payment_behavior",
                  "proration_behavior"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/subscription"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a subscription"
      }
    },
    "/v1/subscriptions/{subscription_exposed_id}/discount": {
      "delete": {
        "description": "<p>Removes the currently applied discount on a subscription.</p>",
        "operationId": "DeleteSubscriptionsSubscriptionExposedIdDiscount",
        "parameters": [
          {
            "in": "path",
            "name": "subscription_exposed_id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/deleted_discount"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Delete a subscription discount"
      }
    },
    "/v1/subscriptions/{subscription}/resume": {
      "post": {
        "description": "<p>Initiates resumption of a paused subscription, optionally resetting the billing cycle anchor and creating prorations. If a resumption invoice is generated, it must be paid or marked uncollectible before the subscription will be unpaused. If payment succeeds the subscription will become <code>active</code>, and if payment fails the subscription will be <code>past_due</code>. The resumption invoice will void automatically if not paid by the expiration date.</p>",
        "operationId": "PostSubscriptionsSubscriptionResume",
        "parameters": [
          {
            "in": "path",
            "name": "subscription",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "billing_cycle_anchor": {
                    "description": "The billing cycle anchor that applies when the subscription is resumed. Either `now` or `unchanged`. The default is `now`. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle).",
                    "enum": [
                      "now",
                      "unchanged"
                    ],
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "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`.",
                    "enum": [
                      "always_invoice",
                      "create_prorations",
                      "none"
                    ],
                    "type": "string"
                  },
                  "proration_date": {
                    "description": "If set, the proration will be calculated as though the subscription was resumed at the given time. This can be used to apply exactly the same proration that was previewed with [upcoming invoice](https://stripe.com/docs/api#retrieve_customer_invoice) endpoint.",
                    "format": "unix-time",
                    "type": "integer"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "billing_cycle_anchor",
                  "proration_behavior"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/subscription"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Resume a subscription"
      }
    },
    "/v1/tax/calculations": {
      "post": {
        "description": "<p>Calculates tax based on the input and returns a Tax <code>Calculation</code> object.</p>",
        "operationId": "PostTaxCalculations",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "customer_details": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "line_items": {
                  "explode": true,
                  "style": "deepObject"
                },
                "ship_from_details": {
                  "explode": true,
                  "style": "deepObject"
                },
                "shipping_cost": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "currency": {
                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                    "type": "string"
                  },
                  "customer": {
                    "description": "The ID of an existing customer to use for this calculation. If provided, the customer's address and tax IDs are copied to `customer_details`.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "customer_details": {
                    "description": "Details about the customer, including address and tax IDs.",
                    "properties": {
                      "address": {
                        "description": "The customer's postal address (for example, home or business location).",
                        "properties": {
                          "city": {
                            "anyOf": [
                              {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "City, district, suburb, town, or village."
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "anyOf": [
                              {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Address line 1 (e.g., street, PO Box, or company name)."
                          },
                          "line2": {
                            "anyOf": [
                              {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Address line 2 (e.g., apartment, suite, unit, or building)."
                          },
                          "postal_code": {
                            "anyOf": [
                              {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "ZIP or postal code."
                          },
                          "state": {
                            "anyOf": [
                              {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "State, county, province, or region. We recommend sending [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision code value when possible."
                          }
                        },
                        "required": [
                          "country"
                        ],
                        "title": "postal_address",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "line1",
                          "line2",
                          "postal_code",
                          "state"
                        ]
                      },
                      "address_source": {
                        "description": "The type of customer address provided.",
                        "enum": [
                          "billing",
                          "shipping"
                        ],
                        "type": "string"
                      },
                      "ip_address": {
                        "description": "The customer's IP address (IPv4 or IPv6).",
                        "type": "string"
                      },
                      "tax_ids": {
                        "description": "The customer's tax IDs. Stripe Tax might consider a transaction with applicable tax IDs to be B2B, which might affect the tax calculation result. Stripe Tax doesn't validate tax IDs for correctness.",
                        "items": {
                          "properties": {
                            "type": {
                              "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `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`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat`",
                              "enum": [
                                "ad_nrt",
                                "ae_trn",
                                "ar_cuit",
                                "au_abn",
                                "au_arn",
                                "bg_uic",
                                "bh_vat",
                                "bo_tin",
                                "br_cnpj",
                                "br_cpf",
                                "by_tin",
                                "ca_bn",
                                "ca_gst_hst",
                                "ca_pst_bc",
                                "ca_pst_mb",
                                "ca_pst_sk",
                                "ca_qst",
                                "ch_uid",
                                "ch_vat",
                                "cl_tin",
                                "cn_tin",
                                "co_nit",
                                "cr_tin",
                                "de_stn",
                                "do_rcn",
                                "ec_ruc",
                                "eg_tin",
                                "es_cif",
                                "eu_oss_vat",
                                "eu_vat",
                                "gb_vat",
                                "ge_vat",
                                "hk_br",
                                "hr_oib",
                                "hu_tin",
                                "id_npwp",
                                "il_vat",
                                "in_gst",
                                "is_vat",
                                "jp_cn",
                                "jp_rn",
                                "jp_trn",
                                "ke_pin",
                                "kr_brn",
                                "kz_bin",
                                "li_uid",
                                "li_vat",
                                "ma_vat",
                                "md_vat",
                                "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",
                                "tz_vat",
                                "ua_vat",
                                "us_ein",
                                "uy_ruc",
                                "uz_tin",
                                "uz_vat",
                                "ve_rif",
                                "vn_tin",
                                "za_vat"
                              ],
                              "maxLength": 5000,
                              "type": "string",
                              "x-stripeBypassValidation": true
                            },
                            "value": {
                              "description": "Value of the tax ID.",
                              "type": "string"
                            }
                          },
                          "required": [
                            "type",
                            "value"
                          ],
                          "title": "data_params",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "type",
                            "value"
                          ]
                        },
                        "type": "array"
                      },
                      "taxability_override": {
                        "description": "Overrides the tax calculation result to allow you to not collect tax from your customer. Use this if you've manually checked your customer's tax exemptions. Prefer providing the customer's `tax_ids` where possible, which automatically determines whether `reverse_charge` applies.",
                        "enum": [
                          "customer_exempt",
                          "none",
                          "reverse_charge"
                        ],
                        "type": "string"
                      }
                    },
                    "title": "customer_details",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "address",
                      "address_source",
                      "ip_address",
                      "tax_ids",
                      "taxability_override"
                    ]
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "line_items": {
                    "description": "A list of items the customer is purchasing.",
                    "items": {
                      "properties": {
                        "amount": {
                          "description": "A positive integer representing the line item's total price in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).\nIf `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes are calculated on top of this amount.",
                          "type": "integer"
                        },
                        "product": {
                          "description": "If provided, the product's `tax_code` will be used as the line item's `tax_code`.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "quantity": {
                          "description": "The number of units of the item being purchased. Used to calculate the per-unit price from the total `amount` for the line. For example, if `amount=100` and `quantity=4`, the calculated unit price is 25.",
                          "type": "integer"
                        },
                        "reference": {
                          "description": "A custom identifier for this line item, which must be unique across the line items in the calculation. The reference helps identify each line item in exported [tax reports](https://stripe.com/docs/tax/reports).",
                          "maxLength": 500,
                          "type": "string"
                        },
                        "tax_behavior": {
                          "description": "Specifies whether the `amount` includes taxes. Defaults to `exclusive`.",
                          "enum": [
                            "exclusive",
                            "inclusive"
                          ],
                          "type": "string"
                        },
                        "tax_code": {
                          "description": "A [tax code](https://stripe.com/docs/tax/tax-categories) ID to use for this line item. If not provided, we will use the tax code from the provided `product` param. If neither `tax_code` nor `product` is provided, we will use the default tax code from your Tax Settings.",
                          "type": "string"
                        }
                      },
                      "required": [
                        "amount"
                      ],
                      "title": "calculation_line_item",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "amount",
                        "product",
                        "quantity",
                        "reference",
                        "tax_behavior",
                        "tax_code"
                      ]
                    },
                    "type": "array"
                  },
                  "ship_from_details": {
                    "description": "Details about the address from which the goods are being shipped.",
                    "properties": {
                      "address": {
                        "description": "The address from which the goods are being shipped from.",
                        "properties": {
                          "city": {
                            "anyOf": [
                              {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "City, district, suburb, town, or village."
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "anyOf": [
                              {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Address line 1 (e.g., street, PO Box, or company name)."
                          },
                          "line2": {
                            "anyOf": [
                              {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Address line 2 (e.g., apartment, suite, unit, or building)."
                          },
                          "postal_code": {
                            "anyOf": [
                              {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "ZIP or postal code."
                          },
                          "state": {
                            "anyOf": [
                              {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "State/province as an [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision code, without country prefix. Example: \"NY\" or \"TX\"."
                          }
                        },
                        "required": [
                          "country"
                        ],
                        "title": "merchant_postal_address",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "line1",
                          "line2",
                          "postal_code",
                          "state"
                        ]
                      }
                    },
                    "required": [
                      "address"
                    ],
                    "title": "ship_from_details",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "address"
                    ]
                  },
                  "shipping_cost": {
                    "description": "Shipping cost details to be used for the calculation.",
                    "properties": {
                      "amount": {
                        "description": "A positive integer in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) representing the shipping charge. If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes are calculated on top of this amount.",
                        "type": "integer"
                      },
                      "shipping_rate": {
                        "description": "If provided, the [shipping rate](https://stripe.com/docs/api/shipping_rates/object)'s `amount`, `tax_code` and `tax_behavior` are used. If you provide a shipping rate, then you cannot pass the `amount`, `tax_code`, or `tax_behavior` parameters.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "tax_behavior": {
                        "description": "Specifies whether the `amount` includes taxes. If `tax_behavior=inclusive`, then the amount includes taxes. Defaults to `exclusive`.",
                        "enum": [
                          "exclusive",
                          "inclusive"
                        ],
                        "type": "string"
                      },
                      "tax_code": {
                        "description": "The [tax code](https://stripe.com/docs/tax/tax-categories) used to calculate tax on shipping. If not provided, the default shipping tax code from your [Tax Settings](https://dashboard.stripe.com/settings/tax) is used.",
                        "type": "string"
                      }
                    },
                    "title": "shipping_cost",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "amount",
                      "shipping_rate",
                      "tax_behavior",
                      "tax_code"
                    ]
                  },
                  "tax_date": {
                    "description": "Timestamp of date at which the tax rules and rates in effect applies for the calculation. Measured in seconds since the Unix epoch. Can be up to 48 hours in the past, and up to 48 hours in the future.",
                    "type": "integer"
                  }
                },
                "required": [
                  "currency",
                  "line_items"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "currency",
                  "customer_details",
                  "line_items",
                  "shipping_cost"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tax.calculation"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a Tax Calculation"
      }
    },
    "/v1/tax/calculations/{calculation}": {
      "get": {
        "description": "<p>Retrieves a Tax <code>Calculation</code> object, if the calculation hasn’t expired.</p>",
        "operationId": "GetTaxCalculationsCalculation",
        "parameters": [
          {
            "in": "path",
            "name": "calculation",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tax.calculation"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a Tax Calculation"
      }
    },
    "/v1/tax/calculations/{calculation}/line_items": {
      "get": {
        "description": "<p>Retrieves the line items of a tax calculation as a collection, if the calculation hasn’t expired.</p>",
        "operationId": "GetTaxCalculationsCalculationLineItems",
        "parameters": [
          {
            "in": "path",
            "name": "calculation",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 500,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 500,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/tax.calculation_line_item"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/tax/calculations/[^/]+/line_items",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "TaxProductResourceTaxCalculationLineItemList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a calculation's line items"
      }
    },
    "/v1/tax/registrations": {
      "get": {
        "description": "<p>Returns a list of Tax <code>Registration</code> objects.</p>",
        "operationId": "GetTaxRegistrations",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "The status of the Tax Registration.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "active",
                "all",
                "expired",
                "scheduled"
              ],
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/tax.registration"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/tax/registrations",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "TaxProductRegistrationsResourceTaxRegistrationList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List registrations"
      },
      "post": {
        "description": "<p>Creates a new Tax <code>Registration</code> object.</p>",
        "operationId": "PostTaxRegistrations",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "active_from": {
                  "explode": true,
                  "style": "deepObject"
                },
                "country_options": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "active_from": {
                    "anyOf": [
                      {
                        "enum": [
                          "now"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      },
                      {
                        "format": "unix-time",
                        "type": "integer"
                      }
                    ],
                    "description": "Time at which the Tax Registration becomes active. It can be either `now` to indicate the current time, or a future timestamp measured in seconds since the Unix epoch."
                  },
                  "country": {
                    "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "country_options": {
                    "description": "Specific options for a registration in the specified `country`.",
                    "properties": {
                      "ae": {
                        "description": "Options for the registration in AE.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "default",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "at": {
                        "description": "Options for the registration in AT.",
                        "properties": {
                          "standard": {
                            "description": "Options for the standard registration.",
                            "properties": {
                              "place_of_supply_scheme": {
                                "description": "Place of supply scheme used in an EU standard registration.",
                                "enum": [
                                  "small_seller",
                                  "standard"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "place_of_supply_scheme"
                            ],
                            "title": "standard",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "place_of_supply_scheme"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in an EU country.",
                            "enum": [
                              "ioss",
                              "oss_non_union",
                              "oss_union",
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "europe",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "standard",
                          "type"
                        ]
                      },
                      "au": {
                        "description": "Options for the registration in AU.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "default",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "be": {
                        "description": "Options for the registration in BE.",
                        "properties": {
                          "standard": {
                            "description": "Options for the standard registration.",
                            "properties": {
                              "place_of_supply_scheme": {
                                "description": "Place of supply scheme used in an EU standard registration.",
                                "enum": [
                                  "small_seller",
                                  "standard"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "place_of_supply_scheme"
                            ],
                            "title": "standard",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "place_of_supply_scheme"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in an EU country.",
                            "enum": [
                              "ioss",
                              "oss_non_union",
                              "oss_union",
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "europe",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "standard",
                          "type"
                        ]
                      },
                      "bg": {
                        "description": "Options for the registration in BG.",
                        "properties": {
                          "standard": {
                            "description": "Options for the standard registration.",
                            "properties": {
                              "place_of_supply_scheme": {
                                "description": "Place of supply scheme used in an EU standard registration.",
                                "enum": [
                                  "small_seller",
                                  "standard"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "place_of_supply_scheme"
                            ],
                            "title": "standard",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "place_of_supply_scheme"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in an EU country.",
                            "enum": [
                              "ioss",
                              "oss_non_union",
                              "oss_union",
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "europe",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "standard",
                          "type"
                        ]
                      },
                      "bh": {
                        "description": "Options for the registration in BH.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "default",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "by": {
                        "description": "Options for the registration in BY.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "simplified"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "simplified",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "ca": {
                        "description": "Options for the registration in CA.",
                        "properties": {
                          "province_standard": {
                            "description": "Options for the provincial tax registration.",
                            "properties": {
                              "province": {
                                "description": "Two-letter CA province code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "required": [
                              "province"
                            ],
                            "title": "province_standard",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "province"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in Canada.",
                            "enum": [
                              "province_standard",
                              "simplified",
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "canada",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "province_standard",
                          "type"
                        ]
                      },
                      "ch": {
                        "description": "Options for the registration in CH.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "default",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "cl": {
                        "description": "Options for the registration in CL.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "simplified"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "simplified",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "co": {
                        "description": "Options for the registration in CO.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "simplified"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "simplified",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "cr": {
                        "description": "Options for the registration in CR.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "simplified"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "simplified",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "cy": {
                        "description": "Options for the registration in CY.",
                        "properties": {
                          "standard": {
                            "description": "Options for the standard registration.",
                            "properties": {
                              "place_of_supply_scheme": {
                                "description": "Place of supply scheme used in an EU standard registration.",
                                "enum": [
                                  "small_seller",
                                  "standard"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "place_of_supply_scheme"
                            ],
                            "title": "standard",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "place_of_supply_scheme"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in an EU country.",
                            "enum": [
                              "ioss",
                              "oss_non_union",
                              "oss_union",
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "europe",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "standard",
                          "type"
                        ]
                      },
                      "cz": {
                        "description": "Options for the registration in CZ.",
                        "properties": {
                          "standard": {
                            "description": "Options for the standard registration.",
                            "properties": {
                              "place_of_supply_scheme": {
                                "description": "Place of supply scheme used in an EU standard registration.",
                                "enum": [
                                  "small_seller",
                                  "standard"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "place_of_supply_scheme"
                            ],
                            "title": "standard",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "place_of_supply_scheme"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in an EU country.",
                            "enum": [
                              "ioss",
                              "oss_non_union",
                              "oss_union",
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "europe",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "standard",
                          "type"
                        ]
                      },
                      "de": {
                        "description": "Options for the registration in DE.",
                        "properties": {
                          "standard": {
                            "description": "Options for the standard registration.",
                            "properties": {
                              "place_of_supply_scheme": {
                                "description": "Place of supply scheme used in an EU standard registration.",
                                "enum": [
                                  "small_seller",
                                  "standard"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "place_of_supply_scheme"
                            ],
                            "title": "standard",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "place_of_supply_scheme"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in an EU country.",
                            "enum": [
                              "ioss",
                              "oss_non_union",
                              "oss_union",
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "europe",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "standard",
                          "type"
                        ]
                      },
                      "dk": {
                        "description": "Options for the registration in DK.",
                        "properties": {
                          "standard": {
                            "description": "Options for the standard registration.",
                            "properties": {
                              "place_of_supply_scheme": {
                                "description": "Place of supply scheme used in an EU standard registration.",
                                "enum": [
                                  "small_seller",
                                  "standard"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "place_of_supply_scheme"
                            ],
                            "title": "standard",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "place_of_supply_scheme"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in an EU country.",
                            "enum": [
                              "ioss",
                              "oss_non_union",
                              "oss_union",
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "europe",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "standard",
                          "type"
                        ]
                      },
                      "ec": {
                        "description": "Options for the registration in EC.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "simplified"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "simplified",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "ee": {
                        "description": "Options for the registration in EE.",
                        "properties": {
                          "standard": {
                            "description": "Options for the standard registration.",
                            "properties": {
                              "place_of_supply_scheme": {
                                "description": "Place of supply scheme used in an EU standard registration.",
                                "enum": [
                                  "small_seller",
                                  "standard"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "place_of_supply_scheme"
                            ],
                            "title": "standard",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "place_of_supply_scheme"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in an EU country.",
                            "enum": [
                              "ioss",
                              "oss_non_union",
                              "oss_union",
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "europe",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "standard",
                          "type"
                        ]
                      },
                      "eg": {
                        "description": "Options for the registration in EG.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "simplified"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "simplified",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "es": {
                        "description": "Options for the registration in ES.",
                        "properties": {
                          "standard": {
                            "description": "Options for the standard registration.",
                            "properties": {
                              "place_of_supply_scheme": {
                                "description": "Place of supply scheme used in an EU standard registration.",
                                "enum": [
                                  "small_seller",
                                  "standard"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "place_of_supply_scheme"
                            ],
                            "title": "standard",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "place_of_supply_scheme"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in an EU country.",
                            "enum": [
                              "ioss",
                              "oss_non_union",
                              "oss_union",
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "europe",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "standard",
                          "type"
                        ]
                      },
                      "fi": {
                        "description": "Options for the registration in FI.",
                        "properties": {
                          "standard": {
                            "description": "Options for the standard registration.",
                            "properties": {
                              "place_of_supply_scheme": {
                                "description": "Place of supply scheme used in an EU standard registration.",
                                "enum": [
                                  "small_seller",
                                  "standard"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "place_of_supply_scheme"
                            ],
                            "title": "standard",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "place_of_supply_scheme"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in an EU country.",
                            "enum": [
                              "ioss",
                              "oss_non_union",
                              "oss_union",
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "europe",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "standard",
                          "type"
                        ]
                      },
                      "fr": {
                        "description": "Options for the registration in FR.",
                        "properties": {
                          "standard": {
                            "description": "Options for the standard registration.",
                            "properties": {
                              "place_of_supply_scheme": {
                                "description": "Place of supply scheme used in an EU standard registration.",
                                "enum": [
                                  "small_seller",
                                  "standard"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "place_of_supply_scheme"
                            ],
                            "title": "standard",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "place_of_supply_scheme"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in an EU country.",
                            "enum": [
                              "ioss",
                              "oss_non_union",
                              "oss_union",
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "europe",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "standard",
                          "type"
                        ]
                      },
                      "gb": {
                        "description": "Options for the registration in GB.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "default",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "ge": {
                        "description": "Options for the registration in GE.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "simplified"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "simplified",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "gr": {
                        "description": "Options for the registration in GR.",
                        "properties": {
                          "standard": {
                            "description": "Options for the standard registration.",
                            "properties": {
                              "place_of_supply_scheme": {
                                "description": "Place of supply scheme used in an EU standard registration.",
                                "enum": [
                                  "small_seller",
                                  "standard"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "place_of_supply_scheme"
                            ],
                            "title": "standard",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "place_of_supply_scheme"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in an EU country.",
                            "enum": [
                              "ioss",
                              "oss_non_union",
                              "oss_union",
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "europe",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "standard",
                          "type"
                        ]
                      },
                      "hr": {
                        "description": "Options for the registration in HR.",
                        "properties": {
                          "standard": {
                            "description": "Options for the standard registration.",
                            "properties": {
                              "place_of_supply_scheme": {
                                "description": "Place of supply scheme used in an EU standard registration.",
                                "enum": [
                                  "small_seller",
                                  "standard"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "place_of_supply_scheme"
                            ],
                            "title": "standard",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "place_of_supply_scheme"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in an EU country.",
                            "enum": [
                              "ioss",
                              "oss_non_union",
                              "oss_union",
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "europe",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "standard",
                          "type"
                        ]
                      },
                      "hu": {
                        "description": "Options for the registration in HU.",
                        "properties": {
                          "standard": {
                            "description": "Options for the standard registration.",
                            "properties": {
                              "place_of_supply_scheme": {
                                "description": "Place of supply scheme used in an EU standard registration.",
                                "enum": [
                                  "small_seller",
                                  "standard"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "place_of_supply_scheme"
                            ],
                            "title": "standard",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "place_of_supply_scheme"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in an EU country.",
                            "enum": [
                              "ioss",
                              "oss_non_union",
                              "oss_union",
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "europe",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "standard",
                          "type"
                        ]
                      },
                      "id": {
                        "description": "Options for the registration in ID.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "simplified"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "simplified",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "ie": {
                        "description": "Options for the registration in IE.",
                        "properties": {
                          "standard": {
                            "description": "Options for the standard registration.",
                            "properties": {
                              "place_of_supply_scheme": {
                                "description": "Place of supply scheme used in an EU standard registration.",
                                "enum": [
                                  "small_seller",
                                  "standard"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "place_of_supply_scheme"
                            ],
                            "title": "standard",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "place_of_supply_scheme"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in an EU country.",
                            "enum": [
                              "ioss",
                              "oss_non_union",
                              "oss_union",
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "europe",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "standard",
                          "type"
                        ]
                      },
                      "is": {
                        "description": "Options for the registration in IS.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "default",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "it": {
                        "description": "Options for the registration in IT.",
                        "properties": {
                          "standard": {
                            "description": "Options for the standard registration.",
                            "properties": {
                              "place_of_supply_scheme": {
                                "description": "Place of supply scheme used in an EU standard registration.",
                                "enum": [
                                  "small_seller",
                                  "standard"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "place_of_supply_scheme"
                            ],
                            "title": "standard",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "place_of_supply_scheme"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in an EU country.",
                            "enum": [
                              "ioss",
                              "oss_non_union",
                              "oss_union",
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "europe",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "standard",
                          "type"
                        ]
                      },
                      "jp": {
                        "description": "Options for the registration in JP.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "default",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "ke": {
                        "description": "Options for the registration in KE.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "simplified"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "simplified",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "kr": {
                        "description": "Options for the registration in KR.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "simplified"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "simplified",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "kz": {
                        "description": "Options for the registration in KZ.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "simplified"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "simplified",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "lt": {
                        "description": "Options for the registration in LT.",
                        "properties": {
                          "standard": {
                            "description": "Options for the standard registration.",
                            "properties": {
                              "place_of_supply_scheme": {
                                "description": "Place of supply scheme used in an EU standard registration.",
                                "enum": [
                                  "small_seller",
                                  "standard"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "place_of_supply_scheme"
                            ],
                            "title": "standard",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "place_of_supply_scheme"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in an EU country.",
                            "enum": [
                              "ioss",
                              "oss_non_union",
                              "oss_union",
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "europe",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "standard",
                          "type"
                        ]
                      },
                      "lu": {
                        "description": "Options for the registration in LU.",
                        "properties": {
                          "standard": {
                            "description": "Options for the standard registration.",
                            "properties": {
                              "place_of_supply_scheme": {
                                "description": "Place of supply scheme used in an EU standard registration.",
                                "enum": [
                                  "small_seller",
                                  "standard"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "place_of_supply_scheme"
                            ],
                            "title": "standard",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "place_of_supply_scheme"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in an EU country.",
                            "enum": [
                              "ioss",
                              "oss_non_union",
                              "oss_union",
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "europe",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "standard",
                          "type"
                        ]
                      },
                      "lv": {
                        "description": "Options for the registration in LV.",
                        "properties": {
                          "standard": {
                            "description": "Options for the standard registration.",
                            "properties": {
                              "place_of_supply_scheme": {
                                "description": "Place of supply scheme used in an EU standard registration.",
                                "enum": [
                                  "small_seller",
                                  "standard"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "place_of_supply_scheme"
                            ],
                            "title": "standard",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "place_of_supply_scheme"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in an EU country.",
                            "enum": [
                              "ioss",
                              "oss_non_union",
                              "oss_union",
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "europe",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "standard",
                          "type"
                        ]
                      },
                      "ma": {
                        "description": "Options for the registration in MA.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "simplified"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "simplified",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "md": {
                        "description": "Options for the registration in MD.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "simplified"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "simplified",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "mt": {
                        "description": "Options for the registration in MT.",
                        "properties": {
                          "standard": {
                            "description": "Options for the standard registration.",
                            "properties": {
                              "place_of_supply_scheme": {
                                "description": "Place of supply scheme used in an EU standard registration.",
                                "enum": [
                                  "small_seller",
                                  "standard"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "place_of_supply_scheme"
                            ],
                            "title": "standard",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "place_of_supply_scheme"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in an EU country.",
                            "enum": [
                              "ioss",
                              "oss_non_union",
                              "oss_union",
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "europe",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "standard",
                          "type"
                        ]
                      },
                      "mx": {
                        "description": "Options for the registration in MX.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "simplified"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "simplified",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "my": {
                        "description": "Options for the registration in MY.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "simplified"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "simplified",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "ng": {
                        "description": "Options for the registration in NG.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "simplified"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "simplified",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "nl": {
                        "description": "Options for the registration in NL.",
                        "properties": {
                          "standard": {
                            "description": "Options for the standard registration.",
                            "properties": {
                              "place_of_supply_scheme": {
                                "description": "Place of supply scheme used in an EU standard registration.",
                                "enum": [
                                  "small_seller",
                                  "standard"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "place_of_supply_scheme"
                            ],
                            "title": "standard",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "place_of_supply_scheme"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in an EU country.",
                            "enum": [
                              "ioss",
                              "oss_non_union",
                              "oss_union",
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "europe",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "standard",
                          "type"
                        ]
                      },
                      "no": {
                        "description": "Options for the registration in NO.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "default",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "nz": {
                        "description": "Options for the registration in NZ.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "default",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "om": {
                        "description": "Options for the registration in OM.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "default",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "pl": {
                        "description": "Options for the registration in PL.",
                        "properties": {
                          "standard": {
                            "description": "Options for the standard registration.",
                            "properties": {
                              "place_of_supply_scheme": {
                                "description": "Place of supply scheme used in an EU standard registration.",
                                "enum": [
                                  "small_seller",
                                  "standard"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "place_of_supply_scheme"
                            ],
                            "title": "standard",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "place_of_supply_scheme"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in an EU country.",
                            "enum": [
                              "ioss",
                              "oss_non_union",
                              "oss_union",
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "europe",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "standard",
                          "type"
                        ]
                      },
                      "pt": {
                        "description": "Options for the registration in PT.",
                        "properties": {
                          "standard": {
                            "description": "Options for the standard registration.",
                            "properties": {
                              "place_of_supply_scheme": {
                                "description": "Place of supply scheme used in an EU standard registration.",
                                "enum": [
                                  "small_seller",
                                  "standard"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "place_of_supply_scheme"
                            ],
                            "title": "standard",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "place_of_supply_scheme"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in an EU country.",
                            "enum": [
                              "ioss",
                              "oss_non_union",
                              "oss_union",
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "europe",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "standard",
                          "type"
                        ]
                      },
                      "ro": {
                        "description": "Options for the registration in RO.",
                        "properties": {
                          "standard": {
                            "description": "Options for the standard registration.",
                            "properties": {
                              "place_of_supply_scheme": {
                                "description": "Place of supply scheme used in an EU standard registration.",
                                "enum": [
                                  "small_seller",
                                  "standard"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "place_of_supply_scheme"
                            ],
                            "title": "standard",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "place_of_supply_scheme"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in an EU country.",
                            "enum": [
                              "ioss",
                              "oss_non_union",
                              "oss_union",
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "europe",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "standard",
                          "type"
                        ]
                      },
                      "rs": {
                        "description": "Options for the registration in RS.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "default",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "ru": {
                        "description": "Options for the registration in RU.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "simplified"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "simplified",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "sa": {
                        "description": "Options for the registration in SA.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "simplified"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "simplified",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "se": {
                        "description": "Options for the registration in SE.",
                        "properties": {
                          "standard": {
                            "description": "Options for the standard registration.",
                            "properties": {
                              "place_of_supply_scheme": {
                                "description": "Place of supply scheme used in an EU standard registration.",
                                "enum": [
                                  "small_seller",
                                  "standard"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "place_of_supply_scheme"
                            ],
                            "title": "standard",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "place_of_supply_scheme"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in an EU country.",
                            "enum": [
                              "ioss",
                              "oss_non_union",
                              "oss_union",
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "europe",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "standard",
                          "type"
                        ]
                      },
                      "sg": {
                        "description": "Options for the registration in SG.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "default",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "si": {
                        "description": "Options for the registration in SI.",
                        "properties": {
                          "standard": {
                            "description": "Options for the standard registration.",
                            "properties": {
                              "place_of_supply_scheme": {
                                "description": "Place of supply scheme used in an EU standard registration.",
                                "enum": [
                                  "small_seller",
                                  "standard"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "place_of_supply_scheme"
                            ],
                            "title": "standard",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "place_of_supply_scheme"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in an EU country.",
                            "enum": [
                              "ioss",
                              "oss_non_union",
                              "oss_union",
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "europe",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "standard",
                          "type"
                        ]
                      },
                      "sk": {
                        "description": "Options for the registration in SK.",
                        "properties": {
                          "standard": {
                            "description": "Options for the standard registration.",
                            "properties": {
                              "place_of_supply_scheme": {
                                "description": "Place of supply scheme used in an EU standard registration.",
                                "enum": [
                                  "small_seller",
                                  "standard"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "place_of_supply_scheme"
                            ],
                            "title": "standard",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "place_of_supply_scheme"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in an EU country.",
                            "enum": [
                              "ioss",
                              "oss_non_union",
                              "oss_union",
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "europe",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "standard",
                          "type"
                        ]
                      },
                      "th": {
                        "description": "Options for the registration in TH.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "simplified"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "simplified",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "tr": {
                        "description": "Options for the registration in TR.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "simplified"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "simplified",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "tz": {
                        "description": "Options for the registration in TZ.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "simplified"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "simplified",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "us": {
                        "description": "Options for the registration in US.",
                        "properties": {
                          "local_amusement_tax": {
                            "description": "Options for the local amusement tax registration.",
                            "properties": {
                              "jurisdiction": {
                                "description": "A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `14000` (Chicago), `06613` (Bloomington), `21696` (East Dundee), `24582` (Evanston), and `68081` (Schiller Park).",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "required": [
                              "jurisdiction"
                            ],
                            "title": "local_amusement_tax",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "jurisdiction"
                            ]
                          },
                          "local_lease_tax": {
                            "description": "Options for the local lease tax registration.",
                            "properties": {
                              "jurisdiction": {
                                "description": "A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `14000` (Chicago).",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "required": [
                              "jurisdiction"
                            ],
                            "title": "local_lease_tax",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "jurisdiction"
                            ]
                          },
                          "state": {
                            "description": "Two-letter US state code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state_sales_tax": {
                            "description": "Options for the state sales tax registration.",
                            "properties": {
                              "elections": {
                                "description": "Elections for the state sales tax registration.",
                                "items": {
                                  "properties": {
                                    "jurisdiction": {
                                      "description": "A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `003` (Allegheny County) and `60000` (Philadelphia City).",
                                      "maxLength": 5000,
                                      "type": "string"
                                    },
                                    "type": {
                                      "description": "The type of the election for the state sales tax registration.",
                                      "enum": [
                                        "local_use_tax",
                                        "simplified_sellers_use_tax",
                                        "single_local_use_tax"
                                      ],
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "type"
                                  ],
                                  "title": "state_sales_tax_election",
                                  "type": "object",
                                  "x-stripeMostCommon": [
                                    "jurisdiction",
                                    "type"
                                  ]
                                },
                                "type": "array"
                              }
                            },
                            "required": [
                              "elections"
                            ],
                            "title": "state_sales_tax",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "elections"
                            ]
                          },
                          "type": {
                            "description": "Type of registration to be created in the US.",
                            "enum": [
                              "local_amusement_tax",
                              "local_lease_tax",
                              "state_communications_tax",
                              "state_retail_delivery_fee",
                              "state_sales_tax"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "required": [
                          "state",
                          "type"
                        ],
                        "title": "united_states",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "local_amusement_tax",
                          "local_lease_tax",
                          "state",
                          "state_sales_tax",
                          "type"
                        ]
                      },
                      "uz": {
                        "description": "Options for the registration in UZ.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "simplified"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "simplified",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "vn": {
                        "description": "Options for the registration in VN.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "simplified"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "simplified",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      },
                      "za": {
                        "description": "Options for the registration in ZA.",
                        "properties": {
                          "type": {
                            "description": "Type of registration to be created in `country`.",
                            "enum": [
                              "standard"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "title": "default",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "type"
                        ]
                      }
                    },
                    "title": "country_options",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "ae",
                      "at",
                      "au",
                      "be",
                      "bg",
                      "bh",
                      "by",
                      "ca",
                      "ch",
                      "cl",
                      "co",
                      "cr",
                      "cy",
                      "cz",
                      "de",
                      "dk",
                      "ec",
                      "ee",
                      "eg",
                      "es",
                      "fi",
                      "fr",
                      "gb",
                      "ge",
                      "gr",
                      "hr",
                      "hu",
                      "id",
                      "ie",
                      "in",
                      "is",
                      "it",
                      "jp",
                      "ke",
                      "kr",
                      "kz",
                      "lt",
                      "lu",
                      "lv",
                      "ma",
                      "md",
                      "mt",
                      "mx",
                      "my",
                      "ng",
                      "nl",
                      "no",
                      "nz",
                      "om",
                      "pl",
                      "pt",
                      "ro",
                      "rs",
                      "ru",
                      "sa",
                      "se",
                      "sg",
                      "si",
                      "sk",
                      "th",
                      "tr",
                      "tw",
                      "tz",
                      "ua",
                      "us",
                      "uz",
                      "vn",
                      "za"
                    ]
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "expires_at": {
                    "description": "If set, the Tax Registration stops being active at this time. If not set, the Tax Registration will be active indefinitely. Timestamp measured in seconds since the Unix epoch.",
                    "format": "unix-time",
                    "type": "integer"
                  }
                },
                "required": [
                  "active_from",
                  "country",
                  "country_options"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "active_from",
                  "country",
                  "country_options",
                  "expires_at"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tax.registration"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a registration"
      }
    },
    "/v1/tax/registrations/{id}": {
      "get": {
        "description": "<p>Returns a Tax <code>Registration</code> object.</p>",
        "operationId": "GetTaxRegistrationsId",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tax.registration"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a registration"
      },
      "post": {
        "description": "<p>Updates an existing Tax <code>Registration</code> object.</p>\n\n<p>A registration cannot be deleted after it has been created. If you wish to end a registration you may do so by setting <code>expires_at</code>.</p>",
        "operationId": "PostTaxRegistrationsId",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "active_from": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expires_at": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "active_from": {
                    "anyOf": [
                      {
                        "enum": [
                          "now"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      },
                      {
                        "format": "unix-time",
                        "type": "integer"
                      }
                    ],
                    "description": "Time at which the registration becomes active. It can be either `now` to indicate the current time, or a timestamp measured in seconds since the Unix epoch."
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "expires_at": {
                    "anyOf": [
                      {
                        "enum": [
                          "now"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      },
                      {
                        "format": "unix-time",
                        "type": "integer"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "If set, the registration stops being active at this time. If not set, the registration will be active indefinitely. It can be either `now` to indicate the current time, or a timestamp measured in seconds since the Unix epoch."
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "active_from",
                  "expires_at"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tax.registration"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a registration"
      }
    },
    "/v1/tax/settings": {
      "get": {
        "description": "<p>Retrieves Tax <code>Settings</code> for a merchant.</p>",
        "operationId": "GetTaxSettings",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tax.settings"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve settings"
      },
      "post": {
        "description": "<p>Updates Tax <code>Settings</code> parameters used in tax calculations. All parameters are editable but none can be removed once set.</p>",
        "operationId": "PostTaxSettings",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "defaults": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "head_office": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "defaults": {
                    "description": "Default configuration to be used on Stripe Tax calculations.",
                    "properties": {
                      "tax_behavior": {
                        "description": "Specifies the default [tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#tax-behavior) to be used when the item's price has unspecified tax behavior. One of inclusive, exclusive, or inferred_by_currency. Once specified, it cannot be changed back to null.",
                        "enum": [
                          "exclusive",
                          "inclusive",
                          "inferred_by_currency"
                        ],
                        "type": "string"
                      },
                      "tax_code": {
                        "description": "A [tax code](https://stripe.com/docs/tax/tax-categories) ID.",
                        "type": "string"
                      }
                    },
                    "title": "defaults_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "tax_behavior",
                      "tax_code"
                    ]
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "head_office": {
                    "description": "The place where your business is located.",
                    "properties": {
                      "address": {
                        "description": "The location of the business for tax purposes.",
                        "properties": {
                          "city": {
                            "description": "City, district, suburb, town, or village.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Address line 1 (e.g., street, PO Box, or company name).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "ZIP or postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "State/province as an [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision code, without country prefix. Example: \"NY\" or \"TX\".",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "validated_country_address",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "line1",
                          "line2",
                          "postal_code",
                          "state"
                        ]
                      }
                    },
                    "required": [
                      "address"
                    ],
                    "title": "head_office_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "address"
                    ]
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "defaults",
                  "head_office"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tax.settings"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update settings"
      }
    },
    "/v1/tax/transactions/create_from_calculation": {
      "post": {
        "description": "<p>Creates a Tax Transaction from a calculation, if that calculation hasn’t expired. Calculations expire after 90 days.</p>",
        "operationId": "PostTaxTransactionsCreateFromCalculation",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "calculation": {
                    "description": "Tax Calculation ID to be used as input when creating the transaction.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "posted_at": {
                    "description": "The Unix timestamp representing when the tax liability is assumed or reduced, which determines the liability posting period and handling in tax liability reports. The timestamp must fall within the `tax_date` and the current time, unless the `tax_date` is scheduled in advance. Defaults to the current time.",
                    "format": "unix-time",
                    "type": "integer"
                  },
                  "reference": {
                    "description": "A custom order or sale identifier, such as 'myOrder_123'. Must be unique across all transactions, including reversals.",
                    "maxLength": 500,
                    "type": "string"
                  }
                },
                "required": [
                  "calculation",
                  "reference"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "calculation",
                  "metadata",
                  "reference"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tax.transaction"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a transaction from a calculation"
      }
    },
    "/v1/tax/transactions/create_reversal": {
      "post": {
        "description": "<p>Partially or fully reverses a previously created <code>Transaction</code>.</p>",
        "operationId": "PostTaxTransactionsCreateReversal",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "line_items": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "shipping_cost": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "flat_amount": {
                    "description": "A flat amount to reverse across the entire transaction, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) in negative. This value represents the total amount to refund from the transaction, including taxes.",
                    "type": "integer"
                  },
                  "line_items": {
                    "description": "The line item amounts to reverse.",
                    "items": {
                      "properties": {
                        "amount": {
                          "description": "The amount to reverse, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) in negative.",
                          "type": "integer"
                        },
                        "amount_tax": {
                          "description": "The amount of tax to reverse, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) in negative.",
                          "type": "integer"
                        },
                        "metadata": {
                          "additionalProperties": {
                            "type": "string"
                          },
                          "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
                          "type": "object"
                        },
                        "original_line_item": {
                          "description": "The `id` of the line item to reverse in the original transaction.",
                          "maxLength": 5000,
                          "type": "string"
                        },
                        "quantity": {
                          "description": "The quantity reversed. Appears in [tax exports](https://stripe.com/docs/tax/reports), but does not affect the amount of tax reversed.",
                          "type": "integer"
                        },
                        "reference": {
                          "description": "A custom identifier for this line item in the reversal transaction, such as 'L1-refund'.",
                          "maxLength": 500,
                          "type": "string"
                        }
                      },
                      "required": [
                        "amount",
                        "amount_tax",
                        "original_line_item",
                        "reference"
                      ],
                      "title": "transaction_line_item_reversal",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "amount",
                        "amount_tax",
                        "metadata",
                        "original_line_item",
                        "quantity",
                        "reference"
                      ]
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "mode": {
                    "description": "If `partial`, the provided line item or shipping cost amounts are reversed. If `full`, the original transaction is fully reversed.",
                    "enum": [
                      "full",
                      "partial"
                    ],
                    "type": "string"
                  },
                  "original_transaction": {
                    "description": "The ID of the Transaction to partially or fully reverse.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "reference": {
                    "description": "A custom identifier for this reversal, such as `myOrder_123-refund_1`, which must be unique across all transactions. The reference helps identify this reversal transaction in exported [tax reports](https://stripe.com/docs/tax/reports).",
                    "maxLength": 500,
                    "type": "string"
                  },
                  "shipping_cost": {
                    "description": "The shipping cost to reverse.",
                    "properties": {
                      "amount": {
                        "description": "The amount to reverse, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) in negative.",
                        "type": "integer"
                      },
                      "amount_tax": {
                        "description": "The amount of tax to reverse, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) in negative.",
                        "type": "integer"
                      }
                    },
                    "required": [
                      "amount",
                      "amount_tax"
                    ],
                    "title": "transaction_shipping_cost_reversal",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "amount",
                      "amount_tax"
                    ]
                  }
                },
                "required": [
                  "mode",
                  "original_transaction",
                  "reference"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "flat_amount",
                  "line_items",
                  "metadata",
                  "mode",
                  "original_transaction",
                  "reference"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tax.transaction"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a reversal transaction"
      }
    },
    "/v1/tax/transactions/{transaction}": {
      "get": {
        "description": "<p>Retrieves a Tax <code>Transaction</code> object.</p>",
        "operationId": "GetTaxTransactionsTransaction",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "transaction",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tax.transaction"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a transaction"
      }
    },
    "/v1/tax/transactions/{transaction}/line_items": {
      "get": {
        "description": "<p>Retrieves the line items of a committed standalone transaction as a collection.</p>",
        "operationId": "GetTaxTransactionsTransactionLineItems",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 500,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 500,
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "path",
            "name": "transaction",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/tax.transaction_line_item"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/tax/transactions/[^/]+/line_items",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "TaxProductResourceTaxTransactionLineItemList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a transaction's line items"
      }
    },
    "/v1/tax_codes": {
      "get": {
        "description": "<p>A list of <a href=\"https://stripe.com/docs/tax/tax-categories\">all tax codes available</a> to add to Products in order to allow specific tax calculations.</p>",
        "operationId": "GetTaxCodes",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/tax_code"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "TaxProductResourceTaxCodeList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all tax codes"
      }
    },
    "/v1/tax_codes/{id}": {
      "get": {
        "description": "<p>Retrieves the details of an existing tax code. Supply the unique tax code ID and Stripe will return the corresponding tax code information.</p>",
        "operationId": "GetTaxCodesId",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tax_code"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a tax code"
      }
    },
    "/v1/tax_ids": {
      "get": {
        "description": "<p>Returns a list of tax IDs.</p>",
        "operationId": "GetTaxIds",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "The account or customer the tax ID belongs to. Defaults to `owner[type]=self`.",
            "explode": true,
            "in": "query",
            "name": "owner",
            "required": false,
            "schema": {
              "properties": {
                "account": {
                  "description": "Account the tax ID belongs to. Required when `type=account`",
                  "type": "string"
                },
                "customer": {
                  "description": "Customer the tax ID belongs to. Required when `type=customer`",
                  "maxLength": 5000,
                  "type": "string"
                },
                "type": {
                  "description": "Type of owner referenced.",
                  "enum": [
                    "account",
                    "application",
                    "customer",
                    "self"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "title": "owner_params",
              "type": "object",
              "x-stripeMostCommon": [
                "account",
                "customer",
                "type"
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/tax_id"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "TaxIDsList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all tax IDs"
      },
      "post": {
        "description": "<p>Creates a new account or customer <code>tax_id</code> object.</p>",
        "operationId": "PostTaxIds",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "owner": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "owner": {
                    "description": "The account or customer the tax ID belongs to. Defaults to `owner[type]=self`.",
                    "properties": {
                      "account": {
                        "description": "Account the tax ID belongs to. Required when `type=account`",
                        "type": "string"
                      },
                      "customer": {
                        "description": "Customer the tax ID belongs to. Required when `type=customer`",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "type": {
                        "description": "Type of owner referenced.",
                        "enum": [
                          "account",
                          "application",
                          "customer",
                          "self"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "title": "owner_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "account",
                      "customer",
                      "type"
                    ]
                  },
                  "type": {
                    "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `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`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat`",
                    "enum": [
                      "ad_nrt",
                      "ae_trn",
                      "ar_cuit",
                      "au_abn",
                      "au_arn",
                      "bg_uic",
                      "bh_vat",
                      "bo_tin",
                      "br_cnpj",
                      "br_cpf",
                      "by_tin",
                      "ca_bn",
                      "ca_gst_hst",
                      "ca_pst_bc",
                      "ca_pst_mb",
                      "ca_pst_sk",
                      "ca_qst",
                      "ch_uid",
                      "ch_vat",
                      "cl_tin",
                      "cn_tin",
                      "co_nit",
                      "cr_tin",
                      "de_stn",
                      "do_rcn",
                      "ec_ruc",
                      "eg_tin",
                      "es_cif",
                      "eu_oss_vat",
                      "eu_vat",
                      "gb_vat",
                      "ge_vat",
                      "hk_br",
                      "hr_oib",
                      "hu_tin",
                      "id_npwp",
                      "il_vat",
                      "in_gst",
                      "is_vat",
                      "jp_cn",
                      "jp_rn",
                      "jp_trn",
                      "ke_pin",
                      "kr_brn",
                      "kz_bin",
                      "li_uid",
                      "li_vat",
                      "ma_vat",
                      "md_vat",
                      "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",
                      "tz_vat",
                      "ua_vat",
                      "us_ein",
                      "uy_ruc",
                      "uz_tin",
                      "uz_vat",
                      "ve_rif",
                      "vn_tin",
                      "za_vat"
                    ],
                    "maxLength": 5000,
                    "type": "string",
                    "x-stripeBypassValidation": true
                  },
                  "value": {
                    "description": "Value of the tax ID.",
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "value"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "type",
                  "value"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tax_id"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a tax ID"
      }
    },
    "/v1/tax_ids/{id}": {
      "delete": {
        "description": "<p>Deletes an existing account or customer <code>tax_id</code> object.</p>",
        "operationId": "DeleteTaxIdsId",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/deleted_tax_id"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Delete a tax ID"
      },
      "get": {
        "description": "<p>Retrieves an account or customer <code>tax_id</code> object.</p>",
        "operationId": "GetTaxIdsId",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tax_id"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a tax ID"
      }
    },
    "/v1/tax_rates": {
      "get": {
        "description": "<p>Returns a list of your tax rates. Tax rates are returned sorted by creation date, with the most recently created tax rates appearing first.</p>",
        "operationId": "GetTaxRates",
        "parameters": [
          {
            "description": "Optional flag to filter by tax rates that are either active or inactive (archived).",
            "in": "query",
            "name": "active",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          },
          {
            "description": "Optional range for filtering created date.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "Optional flag to filter by tax rates that are inclusive (or those that are not inclusive).",
            "in": "query",
            "name": "inclusive",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/tax_rate"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/tax_rates",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "TaxRatesList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all tax rates"
      },
      "post": {
        "description": "<p>Creates a new tax rate.</p>",
        "operationId": "PostTaxRates",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "active": {
                    "description": "Flag determining whether the tax rate is active or inactive (archived). Inactive tax rates cannot be used with new applications or Checkout Sessions, but will still work for subscriptions and invoices that already have it set.",
                    "type": "boolean"
                  },
                  "country": {
                    "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "description": {
                    "description": "An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "display_name": {
                    "description": "The display name of the tax rate, which will be shown to users.",
                    "maxLength": 50,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "inclusive": {
                    "description": "This specifies if the tax rate is inclusive or exclusive.",
                    "type": "boolean"
                  },
                  "jurisdiction": {
                    "description": "The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer’s invoice.",
                    "maxLength": 50,
                    "type": "string"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "percentage": {
                    "description": "This represents the tax rate percent out of 100.",
                    "type": "number"
                  },
                  "state": {
                    "description": "[ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2:US), without country prefix. For example, \"NY\" for New York, United States.",
                    "maxLength": 2,
                    "type": "string"
                  },
                  "tax_type": {
                    "description": "The high-level tax type, such as `vat` or `sales_tax`.",
                    "enum": [
                      "amusement_tax",
                      "communications_tax",
                      "gst",
                      "hst",
                      "igst",
                      "jct",
                      "lease_tax",
                      "pst",
                      "qst",
                      "retail_delivery_fee",
                      "rst",
                      "sales_tax",
                      "service_tax",
                      "vat"
                    ],
                    "type": "string",
                    "x-stripeBypassValidation": true
                  }
                },
                "required": [
                  "display_name",
                  "inclusive",
                  "percentage"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "active",
                  "country",
                  "description",
                  "display_name",
                  "inclusive",
                  "jurisdiction",
                  "metadata",
                  "percentage",
                  "state"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tax_rate"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a tax rate"
      }
    },
    "/v1/tax_rates/{tax_rate}": {
      "get": {
        "description": "<p>Retrieves a tax rate with the given ID</p>",
        "operationId": "GetTaxRatesTaxRate",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "tax_rate",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tax_rate"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a tax rate"
      },
      "post": {
        "description": "<p>Updates an existing tax rate.</p>",
        "operationId": "PostTaxRatesTaxRate",
        "parameters": [
          {
            "in": "path",
            "name": "tax_rate",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "active": {
                    "description": "Flag determining whether the tax rate is active or inactive (archived). Inactive tax rates cannot be used with new applications or Checkout Sessions, but will still work for subscriptions and invoices that already have it set.",
                    "type": "boolean"
                  },
                  "country": {
                    "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "description": {
                    "description": "An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "display_name": {
                    "description": "The display name of the tax rate, which will be shown to users.",
                    "maxLength": 50,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "jurisdiction": {
                    "description": "The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer’s invoice.",
                    "maxLength": 50,
                    "type": "string"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "state": {
                    "description": "[ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2:US), without country prefix. For example, \"NY\" for New York, United States.",
                    "maxLength": 2,
                    "type": "string"
                  },
                  "tax_type": {
                    "description": "The high-level tax type, such as `vat` or `sales_tax`.",
                    "enum": [
                      "amusement_tax",
                      "communications_tax",
                      "gst",
                      "hst",
                      "igst",
                      "jct",
                      "lease_tax",
                      "pst",
                      "qst",
                      "retail_delivery_fee",
                      "rst",
                      "sales_tax",
                      "service_tax",
                      "vat"
                    ],
                    "type": "string",
                    "x-stripeBypassValidation": true
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "active",
                  "country",
                  "description",
                  "display_name",
                  "jurisdiction",
                  "metadata",
                  "state"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tax_rate"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a tax rate"
      }
    },
    "/v1/terminal/configurations": {
      "get": {
        "description": "<p>Returns a list of <code>Configuration</code> objects.</p>",
        "operationId": "GetTerminalConfigurations",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "if present, only return the account default or non-default configurations.",
            "in": "query",
            "name": "is_account_default",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/terminal.configuration"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/terminal/configurations",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "TerminalConfigurationConfigurationList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all Configurations"
      },
      "post": {
        "description": "<p>Creates a new <code>Configuration</code> object.</p>",
        "operationId": "PostTerminalConfigurations",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "bbpos_wisepos_e": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "offline": {
                  "explode": true,
                  "style": "deepObject"
                },
                "reboot_window": {
                  "explode": true,
                  "style": "deepObject"
                },
                "stripe_s700": {
                  "explode": true,
                  "style": "deepObject"
                },
                "tipping": {
                  "explode": true,
                  "style": "deepObject"
                },
                "verifone_p400": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bbpos_wisepos_e": {
                    "description": "An object containing device type specific settings for BBPOS WisePOS E readers",
                    "properties": {
                      "splashscreen": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "A File ID representing an image you would like displayed on the reader."
                      }
                    },
                    "title": "bbpos_wise_pose",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "splashscreen"
                    ]
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "name": {
                    "description": "Name of the configuration",
                    "maxLength": 100,
                    "type": "string"
                  },
                  "offline": {
                    "anyOf": [
                      {
                        "properties": {
                          "enabled": {
                            "description": "Determines whether to allow transactions to be collected while reader is offline. Defaults to false.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "offline",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "enabled"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Configurations for collecting transactions offline."
                  },
                  "reboot_window": {
                    "description": "Reboot time settings for readers that support customized reboot time configuration.",
                    "properties": {
                      "end_hour": {
                        "description": "Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour.",
                        "type": "integer"
                      },
                      "start_hour": {
                        "description": "Integer between 0 to 23 that represents the start hour of the reboot time window.",
                        "type": "integer"
                      }
                    },
                    "required": [
                      "end_hour",
                      "start_hour"
                    ],
                    "title": "reboot_window",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "allow_reader_override",
                      "end_hour",
                      "start_hour"
                    ]
                  },
                  "stripe_s700": {
                    "description": "An object containing device type specific settings for Stripe S700 readers",
                    "properties": {
                      "splashscreen": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "A File ID representing an image you would like displayed on the reader."
                      }
                    },
                    "title": "stripe_s700",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "splashscreen"
                    ]
                  },
                  "tipping": {
                    "anyOf": [
                      {
                        "properties": {
                          "aud": {
                            "description": "Tipping configuration for AUD",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          },
                          "cad": {
                            "description": "Tipping configuration for CAD",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          },
                          "chf": {
                            "description": "Tipping configuration for CHF",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          },
                          "czk": {
                            "description": "Tipping configuration for CZK",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          },
                          "dkk": {
                            "description": "Tipping configuration for DKK",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          },
                          "eur": {
                            "description": "Tipping configuration for EUR",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          },
                          "gbp": {
                            "description": "Tipping configuration for GBP",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          },
                          "hkd": {
                            "description": "Tipping configuration for HKD",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          },
                          "myr": {
                            "description": "Tipping configuration for MYR",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          },
                          "nok": {
                            "description": "Tipping configuration for NOK",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          },
                          "nzd": {
                            "description": "Tipping configuration for NZD",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          },
                          "pln": {
                            "description": "Tipping configuration for PLN",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          },
                          "sek": {
                            "description": "Tipping configuration for SEK",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          },
                          "sgd": {
                            "description": "Tipping configuration for SGD",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          },
                          "usd": {
                            "description": "Tipping configuration for USD",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          }
                        },
                        "title": "tipping",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "aud",
                          "cad",
                          "chf",
                          "czk",
                          "dkk",
                          "eur",
                          "gbp",
                          "hkd",
                          "myr",
                          "nok",
                          "nzd",
                          "pln",
                          "sek",
                          "sgd",
                          "usd"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Tipping configurations for readers supporting on-reader tips"
                  },
                  "verifone_p400": {
                    "description": "An object containing device type specific settings for Verifone P400 readers",
                    "properties": {
                      "splashscreen": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "A File ID representing an image you would like displayed on the reader."
                      }
                    },
                    "title": "verifone_p400",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "splashscreen"
                    ]
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "bbpos_wisepos_e",
                  "stripe_s700",
                  "tipping",
                  "verifone_p400"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/terminal.configuration"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a Configuration"
      }
    },
    "/v1/terminal/configurations/{configuration}": {
      "delete": {
        "description": "<p>Deletes a <code>Configuration</code> object.</p>",
        "operationId": "DeleteTerminalConfigurationsConfiguration",
        "parameters": [
          {
            "in": "path",
            "name": "configuration",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/deleted_terminal.configuration"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Delete a Configuration"
      },
      "get": {
        "description": "<p>Retrieves a <code>Configuration</code> object.</p>",
        "operationId": "GetTerminalConfigurationsConfiguration",
        "parameters": [
          {
            "in": "path",
            "name": "configuration",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/terminal.configuration"
                    },
                    {
                      "$ref": "#/components/schemas/deleted_terminal.configuration"
                    }
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a Configuration"
      },
      "post": {
        "description": "<p>Updates a new <code>Configuration</code> object.</p>",
        "operationId": "PostTerminalConfigurationsConfiguration",
        "parameters": [
          {
            "in": "path",
            "name": "configuration",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "bbpos_wisepos_e": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "offline": {
                  "explode": true,
                  "style": "deepObject"
                },
                "reboot_window": {
                  "explode": true,
                  "style": "deepObject"
                },
                "stripe_s700": {
                  "explode": true,
                  "style": "deepObject"
                },
                "tipping": {
                  "explode": true,
                  "style": "deepObject"
                },
                "verifone_p400": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bbpos_wisepos_e": {
                    "anyOf": [
                      {
                        "properties": {
                          "splashscreen": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "A File ID representing an image you would like displayed on the reader."
                          }
                        },
                        "title": "bbpos_wise_pose",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "splashscreen"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "An object containing device type specific settings for BBPOS WisePOS E readers"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "name": {
                    "description": "Name of the configuration",
                    "maxLength": 100,
                    "type": "string"
                  },
                  "offline": {
                    "anyOf": [
                      {
                        "properties": {
                          "enabled": {
                            "description": "Determines whether to allow transactions to be collected while reader is offline. Defaults to false.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "title": "offline",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "enabled"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Configurations for collecting transactions offline."
                  },
                  "reboot_window": {
                    "anyOf": [
                      {
                        "properties": {
                          "end_hour": {
                            "description": "Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour.",
                            "type": "integer"
                          },
                          "start_hour": {
                            "description": "Integer between 0 to 23 that represents the start hour of the reboot time window.",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "end_hour",
                          "start_hour"
                        ],
                        "title": "reboot_window",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "allow_reader_override",
                          "end_hour",
                          "start_hour"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Reboot time settings for readers that support customized reboot time configuration."
                  },
                  "stripe_s700": {
                    "anyOf": [
                      {
                        "properties": {
                          "splashscreen": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "A File ID representing an image you would like displayed on the reader."
                          }
                        },
                        "title": "stripe_s700",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "splashscreen"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "An object containing device type specific settings for Stripe S700 readers"
                  },
                  "tipping": {
                    "anyOf": [
                      {
                        "properties": {
                          "aud": {
                            "description": "Tipping configuration for AUD",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          },
                          "cad": {
                            "description": "Tipping configuration for CAD",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          },
                          "chf": {
                            "description": "Tipping configuration for CHF",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          },
                          "czk": {
                            "description": "Tipping configuration for CZK",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          },
                          "dkk": {
                            "description": "Tipping configuration for DKK",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          },
                          "eur": {
                            "description": "Tipping configuration for EUR",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          },
                          "gbp": {
                            "description": "Tipping configuration for GBP",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          },
                          "hkd": {
                            "description": "Tipping configuration for HKD",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          },
                          "myr": {
                            "description": "Tipping configuration for MYR",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          },
                          "nok": {
                            "description": "Tipping configuration for NOK",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          },
                          "nzd": {
                            "description": "Tipping configuration for NZD",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          },
                          "pln": {
                            "description": "Tipping configuration for PLN",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          },
                          "sek": {
                            "description": "Tipping configuration for SEK",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          },
                          "sgd": {
                            "description": "Tipping configuration for SGD",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          },
                          "usd": {
                            "description": "Tipping configuration for USD",
                            "properties": {
                              "fixed_amounts": {
                                "description": "Fixed amounts displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "percentages": {
                                "description": "Percentages displayed when collecting a tip",
                                "items": {
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "smart_tip_threshold": {
                                "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed",
                                "type": "integer"
                              }
                            },
                            "title": "currency_specific_config",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fixed_amounts",
                              "percentages",
                              "smart_tip_threshold"
                            ]
                          }
                        },
                        "title": "tipping",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "aud",
                          "cad",
                          "chf",
                          "czk",
                          "dkk",
                          "eur",
                          "gbp",
                          "hkd",
                          "myr",
                          "nok",
                          "nzd",
                          "pln",
                          "sek",
                          "sgd",
                          "usd"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Tipping configurations for readers supporting on-reader tips"
                  },
                  "verifone_p400": {
                    "anyOf": [
                      {
                        "properties": {
                          "splashscreen": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "A File ID representing an image you would like displayed on the reader."
                          }
                        },
                        "title": "verifone_p400",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "splashscreen"
                        ]
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "An object containing device type specific settings for Verifone P400 readers"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "bbpos_wisepos_e",
                  "stripe_s700",
                  "tipping",
                  "verifone_p400"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/terminal.configuration"
                    },
                    {
                      "$ref": "#/components/schemas/deleted_terminal.configuration"
                    }
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a Configuration"
      }
    },
    "/v1/terminal/connection_tokens": {
      "post": {
        "description": "<p>To connect to a reader the Stripe Terminal SDK needs to retrieve a short-lived connection token from Stripe, proxied through your server. On your backend, add an endpoint that creates and returns a connection token.</p>",
        "operationId": "PostTerminalConnectionTokens",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "location": {
                    "description": "The id of the location that this connection token is scoped to. If specified the connection token will only be usable with readers assigned to that location, otherwise the connection token will be usable with all readers. Note that location scoping only applies to internet-connected readers. For more details, see [the docs on scoping connection tokens](https://docs.stripe.com/terminal/fleet/locations-and-zones?dashboard-or-api=api#connection-tokens).",
                    "maxLength": 5000,
                    "type": "string"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "location"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/terminal.connection_token"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a Connection Token"
      }
    },
    "/v1/terminal/locations": {
      "get": {
        "description": "<p>Returns a list of <code>Location</code> objects.</p>",
        "operationId": "GetTerminalLocations",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/terminal.location"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/terminal/locations",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "TerminalLocationLocationList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all Locations"
      },
      "post": {
        "description": "<p>Creates a new <code>Location</code> object.\nFor further details, including which address fields are required in each country, see the <a href=\"/docs/terminal/fleet/locations\">Manage locations</a> guide.</p>",
        "operationId": "PostTerminalLocations",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "address": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "address": {
                    "description": "The full address of the location.",
                    "properties": {
                      "city": {
                        "description": "City, district, suburb, town, or village.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "country": {
                        "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "line1": {
                        "description": "Address line 1 (e.g., street, PO Box, or company name).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "line2": {
                        "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "postal_code": {
                        "description": "ZIP or postal code.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "state": {
                        "description": "State, county, province, or region.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "required": [
                      "country"
                    ],
                    "title": "create_location_address_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "city",
                      "country",
                      "line1",
                      "line2",
                      "postal_code",
                      "state"
                    ]
                  },
                  "configuration_overrides": {
                    "description": "The ID of a configuration that will be used to customize all readers in this location.",
                    "maxLength": 500,
                    "type": "string"
                  },
                  "display_name": {
                    "description": "A name for the location. Maximum length is 1000 characters.",
                    "maxLength": 1000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  }
                },
                "required": [
                  "address",
                  "display_name"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "address",
                  "display_name",
                  "metadata"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/terminal.location"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a Location"
      }
    },
    "/v1/terminal/locations/{location}": {
      "delete": {
        "description": "<p>Deletes a <code>Location</code> object.</p>",
        "operationId": "DeleteTerminalLocationsLocation",
        "parameters": [
          {
            "in": "path",
            "name": "location",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/deleted_terminal.location"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Delete a Location"
      },
      "get": {
        "description": "<p>Retrieves a <code>Location</code> object.</p>",
        "operationId": "GetTerminalLocationsLocation",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "location",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/terminal.location"
                    },
                    {
                      "$ref": "#/components/schemas/deleted_terminal.location"
                    }
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a Location"
      },
      "post": {
        "description": "<p>Updates a <code>Location</code> object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.</p>",
        "operationId": "PostTerminalLocationsLocation",
        "parameters": [
          {
            "in": "path",
            "name": "location",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "address": {
                  "explode": true,
                  "style": "deepObject"
                },
                "configuration_overrides": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "address": {
                    "description": "The full address of the location. If you're updating the `address` field, avoid changing the `country`. If you need to modify the `country` field, create a new `Location` object and re-register any existing readers to that location.",
                    "properties": {
                      "city": {
                        "description": "City, district, suburb, town, or village.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "country": {
                        "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "line1": {
                        "description": "Address line 1 (e.g., street, PO Box, or company name).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "line2": {
                        "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "postal_code": {
                        "description": "ZIP or postal code.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "state": {
                        "description": "State, county, province, or region.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "optional_fields_address",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "city",
                      "country",
                      "line1",
                      "line2",
                      "postal_code",
                      "state"
                    ]
                  },
                  "configuration_overrides": {
                    "anyOf": [
                      {
                        "maxLength": 1000,
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The ID of a configuration that will be used to customize all readers in this location."
                  },
                  "display_name": {
                    "description": "A name for the location.",
                    "maxLength": 1000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "address",
                  "display_name",
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/terminal.location"
                    },
                    {
                      "$ref": "#/components/schemas/deleted_terminal.location"
                    }
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a Location"
      }
    },
    "/v1/terminal/readers": {
      "get": {
        "description": "<p>Returns a list of <code>Reader</code> objects.</p>",
        "operationId": "GetTerminalReaders",
        "parameters": [
          {
            "description": "Filters readers by device type",
            "in": "query",
            "name": "device_type",
            "required": false,
            "schema": {
              "enum": [
                "bbpos_chipper2x",
                "bbpos_wisepad3",
                "bbpos_wisepos_e",
                "mobile_phone_reader",
                "simulated_wisepos_e",
                "stripe_m2",
                "stripe_s700",
                "verifone_P400"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "A location ID to filter the response list to only readers at the specific location",
            "in": "query",
            "name": "location",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Filters readers by serial number",
            "in": "query",
            "name": "serial_number",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "A status filter to filter readers to only offline or online readers",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "offline",
                "online"
              ],
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "A list of readers",
                      "items": {
                        "$ref": "#/components/schemas/terminal.reader"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "TerminalReaderRetrieveReader",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all Readers"
      },
      "post": {
        "description": "<p>Creates a new <code>Reader</code> object.</p>",
        "operationId": "PostTerminalReaders",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "label": {
                    "description": "Custom label given to the reader for easier identification. If no label is specified, the registration code will be used.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "location": {
                    "description": "The location to assign the reader to.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "registration_code": {
                    "description": "A code generated by the reader used for registering to an account.",
                    "maxLength": 5000,
                    "type": "string"
                  }
                },
                "required": [
                  "registration_code"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "label",
                  "location",
                  "metadata",
                  "registration_code"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/terminal.reader"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a Reader"
      }
    },
    "/v1/terminal/readers/{reader}": {
      "delete": {
        "description": "<p>Deletes a <code>Reader</code> object.</p>",
        "operationId": "DeleteTerminalReadersReader",
        "parameters": [
          {
            "in": "path",
            "name": "reader",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/deleted_terminal.reader"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Delete a Reader"
      },
      "get": {
        "description": "<p>Retrieves a <code>Reader</code> object.</p>",
        "operationId": "GetTerminalReadersReader",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "reader",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/terminal.reader"
                    },
                    {
                      "$ref": "#/components/schemas/deleted_terminal.reader"
                    }
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a Reader"
      },
      "post": {
        "description": "<p>Updates a <code>Reader</code> object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.</p>",
        "operationId": "PostTerminalReadersReader",
        "parameters": [
          {
            "in": "path",
            "name": "reader",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "label": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "label": {
                    "anyOf": [
                      {
                        "maxLength": 5000,
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "The new label of the reader."
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "label",
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/terminal.reader"
                    },
                    {
                      "$ref": "#/components/schemas/deleted_terminal.reader"
                    }
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a Reader"
      }
    },
    "/v1/terminal/readers/{reader}/cancel_action": {
      "post": {
        "description": "<p>Cancels the current reader action.</p>",
        "operationId": "PostTerminalReadersReaderCancelAction",
        "parameters": [
          {
            "in": "path",
            "name": "reader",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/terminal.reader"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Cancel the current reader action"
      }
    },
    "/v1/terminal/readers/{reader}/process_payment_intent": {
      "post": {
        "description": "<p>Initiates a payment flow on a Reader.</p>",
        "operationId": "PostTerminalReadersReaderProcessPaymentIntent",
        "parameters": [
          {
            "in": "path",
            "name": "reader",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "process_config": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "payment_intent": {
                    "description": "PaymentIntent ID",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "process_config": {
                    "description": "Configuration overrides",
                    "properties": {
                      "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.",
                        "enum": [
                          "always",
                          "limited",
                          "unspecified"
                        ],
                        "type": "string"
                      },
                      "enable_customer_cancellation": {
                        "description": "Enables cancel button on transaction screens.",
                        "type": "boolean"
                      },
                      "skip_tipping": {
                        "description": "Override showing a tipping selection screen on this transaction.",
                        "type": "boolean"
                      },
                      "tipping": {
                        "description": "Tipping configuration for this transaction.",
                        "properties": {
                          "amount_eligible": {
                            "description": "Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency).",
                            "type": "integer"
                          }
                        },
                        "title": "tipping_config",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "amount_eligible"
                        ]
                      }
                    },
                    "title": "process_config",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "allow_redisplay",
                      "enable_customer_cancellation",
                      "moto",
                      "return_url",
                      "skip_tipping",
                      "tipping"
                    ]
                  }
                },
                "required": [
                  "payment_intent"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "payment_intent"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/terminal.reader"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Hand-off a PaymentIntent to a Reader"
      }
    },
    "/v1/terminal/readers/{reader}/process_setup_intent": {
      "post": {
        "description": "<p>Initiates a setup intent flow on a Reader.</p>",
        "operationId": "PostTerminalReadersReaderProcessSetupIntent",
        "parameters": [
          {
            "in": "path",
            "name": "reader",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "process_config": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "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.",
                    "enum": [
                      "always",
                      "limited",
                      "unspecified"
                    ],
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "process_config": {
                    "description": "Configuration overrides",
                    "properties": {
                      "enable_customer_cancellation": {
                        "description": "Enables cancel button on transaction screens.",
                        "type": "boolean"
                      }
                    },
                    "title": "process_setup_config",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "enable_customer_cancellation",
                      "moto"
                    ]
                  },
                  "setup_intent": {
                    "description": "SetupIntent ID",
                    "maxLength": 5000,
                    "type": "string"
                  }
                },
                "required": [
                  "allow_redisplay",
                  "setup_intent"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "allow_redisplay",
                  "setup_intent"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/terminal.reader"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Hand-off a SetupIntent to a Reader"
      }
    },
    "/v1/terminal/readers/{reader}/refund_payment": {
      "post": {
        "description": "<p>Initiates a refund on a Reader</p>",
        "operationId": "PostTerminalReadersReaderRefundPayment",
        "parameters": [
          {
            "in": "path",
            "name": "reader",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "refund_payment_config": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "A positive integer in __cents__ representing how much of this charge to refund.",
                    "type": "integer"
                  },
                  "charge": {
                    "description": "ID of the Charge to refund.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "payment_intent": {
                    "description": "ID of the PaymentIntent to refund.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "refund_application_fee": {
                    "description": "Boolean indicating whether the application fee should be refunded when refunding this charge. If a full charge refund is given, the full application fee will be refunded. Otherwise, the application fee will be refunded in an amount proportional to the amount of the charge refunded. An application fee can be refunded only by the application that created the charge.",
                    "type": "boolean"
                  },
                  "refund_payment_config": {
                    "description": "Configuration overrides",
                    "properties": {
                      "enable_customer_cancellation": {
                        "description": "Enables cancel button on transaction screens.",
                        "type": "boolean"
                      }
                    },
                    "title": "refund_payment_config",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "enable_customer_cancellation"
                    ]
                  },
                  "reverse_transfer": {
                    "description": "Boolean indicating whether the transfer should be reversed when refunding this charge. The transfer will be reversed proportionally to the amount being refunded (either the entire or partial amount). A transfer can be reversed only by the application that created the charge.",
                    "type": "boolean"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "charge",
                  "metadata",
                  "payment_intent",
                  "refund_application_fee",
                  "reverse_transfer"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/terminal.reader"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Refund a Charge or a PaymentIntent in-person"
      }
    },
    "/v1/terminal/readers/{reader}/set_reader_display": {
      "post": {
        "description": "<p>Sets reader display to show cart details.</p>",
        "operationId": "PostTerminalReadersReaderSetReaderDisplay",
        "parameters": [
          {
            "in": "path",
            "name": "reader",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "cart": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "cart": {
                    "description": "Cart",
                    "properties": {
                      "currency": {
                        "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                        "type": "string"
                      },
                      "line_items": {
                        "description": "Array of line items that were purchased.",
                        "items": {
                          "properties": {
                            "amount": {
                              "description": "The price of the item in cents.",
                              "type": "integer"
                            },
                            "description": {
                              "description": "The description or name of the item.",
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "quantity": {
                              "description": "The quantity of the line item being purchased.",
                              "type": "integer"
                            }
                          },
                          "required": [
                            "amount",
                            "description",
                            "quantity"
                          ],
                          "title": "line_item",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "amount",
                            "description",
                            "quantity"
                          ]
                        },
                        "type": "array"
                      },
                      "tax": {
                        "description": "The amount of tax in cents.",
                        "type": "integer"
                      },
                      "total": {
                        "description": "Total balance of cart due in cents.",
                        "type": "integer"
                      }
                    },
                    "required": [
                      "currency",
                      "line_items",
                      "total"
                    ],
                    "title": "cart",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "currency",
                      "line_items",
                      "tax",
                      "total"
                    ]
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "type": {
                    "description": "Type",
                    "enum": [
                      "cart"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "type"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "cart",
                  "type"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/terminal.reader"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Set reader display"
      }
    },
    "/v1/test_helpers/confirmation_tokens": {
      "post": {
        "description": "<p>Creates a test mode Confirmation Token server side for your integration tests.</p>",
        "operationId": "PostTestHelpersConfirmationTokens",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "payment_method_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "shipping": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "payment_method": {
                    "description": "ID of an existing PaymentMethod.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "payment_method_data": {
                    "description": "If provided, this hash will be used to create a PaymentMethod.",
                    "properties": {
                      "acss_debit": {
                        "description": "If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.",
                        "properties": {
                          "account_number": {
                            "description": "Customer's bank account number.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "institution_number": {
                            "description": "Institution number of the customer's bank.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "transit_number": {
                            "description": "Transit number of the customer's bank.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "account_number",
                          "institution_number",
                          "transit_number"
                        ],
                        "title": "payment_method_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_number",
                          "institution_number",
                          "transit_number"
                        ]
                      },
                      "affirm": {
                        "description": "If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "afterpay_clearpay": {
                        "description": "If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "alipay": {
                        "description": "If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "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`.",
                        "enum": [
                          "always",
                          "limited",
                          "unspecified"
                        ],
                        "type": "string"
                      },
                      "alma": {
                        "description": "If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "amazon_pay": {
                        "description": "If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "au_becs_debit": {
                        "description": "If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.",
                        "properties": {
                          "account_number": {
                            "description": "The account number for the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "bsb_number": {
                            "description": "Bank-State-Branch number of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "account_number",
                          "bsb_number"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_number",
                          "bsb_number"
                        ]
                      },
                      "bacs_debit": {
                        "description": "If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.",
                        "properties": {
                          "account_number": {
                            "description": "Account number of the bank account that the funds will be debited from.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "sort_code": {
                            "description": "Sort code of the bank account. (e.g., `10-20-30`)",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_number",
                          "sort_code"
                        ]
                      },
                      "bancontact": {
                        "description": "If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "billing_details": {
                        "description": "Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.",
                        "properties": {
                          "address": {
                            "anyOf": [
                              {
                                "properties": {
                                  "city": {
                                    "description": "City, district, suburb, town, or village.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "country": {
                                    "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "line1": {
                                    "description": "Address line 1 (e.g., street, PO Box, or company name).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "line2": {
                                    "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "postal_code": {
                                    "description": "ZIP or postal code.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "state": {
                                    "description": "State, county, province, or region.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "title": "billing_details_address",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "city",
                                  "country",
                                  "line1",
                                  "line2",
                                  "postal_code",
                                  "state"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Billing address."
                          },
                          "email": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Email address."
                          },
                          "name": {
                            "anyOf": [
                              {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Full name."
                          },
                          "phone": {
                            "anyOf": [
                              {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Billing phone number (including extension)."
                          }
                        },
                        "title": "billing_details_inner_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "address",
                          "email",
                          "name",
                          "phone"
                        ]
                      },
                      "blik": {
                        "description": "If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "boleto": {
                        "description": "If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.",
                        "properties": {
                          "tax_id": {
                            "description": "The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "tax_id"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "tax_id"
                        ]
                      },
                      "cashapp": {
                        "description": "If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "customer_balance": {
                        "description": "If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "eps": {
                        "description": "If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.",
                        "properties": {
                          "bank": {
                            "description": "The customer's bank.",
                            "enum": [
                              "arzte_und_apotheker_bank",
                              "austrian_anadi_bank_ag",
                              "bank_austria",
                              "bankhaus_carl_spangler",
                              "bankhaus_schelhammer_und_schattera_ag",
                              "bawag_psk_ag",
                              "bks_bank_ag",
                              "brull_kallmus_bank_ag",
                              "btv_vier_lander_bank",
                              "capital_bank_grawe_gruppe_ag",
                              "deutsche_bank_ag",
                              "dolomitenbank",
                              "easybank_ag",
                              "erste_bank_und_sparkassen",
                              "hypo_alpeadriabank_international_ag",
                              "hypo_bank_burgenland_aktiengesellschaft",
                              "hypo_noe_lb_fur_niederosterreich_u_wien",
                              "hypo_oberosterreich_salzburg_steiermark",
                              "hypo_tirol_bank_ag",
                              "hypo_vorarlberg_bank_ag",
                              "marchfelder_bank",
                              "oberbank_ag",
                              "raiffeisen_bankengruppe_osterreich",
                              "schoellerbank_ag",
                              "sparda_bank_wien",
                              "volksbank_gruppe",
                              "volkskreditbank_ag",
                              "vr_bank_braunau"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "bank"
                        ]
                      },
                      "fpx": {
                        "description": "If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.",
                        "properties": {
                          "account_holder_type": {
                            "description": "Account holder type for FPX transaction",
                            "enum": [
                              "company",
                              "individual"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "bank": {
                            "description": "The customer's bank.",
                            "enum": [
                              "affin_bank",
                              "agrobank",
                              "alliance_bank",
                              "ambank",
                              "bank_islam",
                              "bank_muamalat",
                              "bank_of_china",
                              "bank_rakyat",
                              "bsn",
                              "cimb",
                              "deutsche_bank",
                              "hong_leong_bank",
                              "hsbc",
                              "kfh",
                              "maybank2e",
                              "maybank2u",
                              "ocbc",
                              "pb_enterprise",
                              "public_bank",
                              "rhb",
                              "standard_chartered",
                              "uob"
                            ],
                            "maxLength": 5000,
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "required": [
                          "bank"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_holder_type",
                          "bank"
                        ]
                      },
                      "giropay": {
                        "description": "If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "grabpay": {
                        "description": "If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "ideal": {
                        "description": "If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.",
                        "properties": {
                          "bank": {
                            "description": "The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.",
                            "enum": [
                              "abn_amro",
                              "asn_bank",
                              "bunq",
                              "handelsbanken",
                              "ing",
                              "knab",
                              "moneyou",
                              "n26",
                              "nn",
                              "rabobank",
                              "regiobank",
                              "revolut",
                              "sns_bank",
                              "triodos_bank",
                              "van_lanschot",
                              "yoursafe"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "bank"
                        ]
                      },
                      "interac_present": {
                        "description": "If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "device_identifier",
                          "device_type",
                          "emv",
                          "location"
                        ]
                      },
                      "kakao_pay": {
                        "description": "If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "klarna": {
                        "description": "If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.",
                        "properties": {
                          "dob": {
                            "description": "Customer's date of birth",
                            "properties": {
                              "day": {
                                "description": "The day of birth, between 1 and 31.",
                                "type": "integer"
                              },
                              "month": {
                                "description": "The month of birth, between 1 and 12.",
                                "type": "integer"
                              },
                              "year": {
                                "description": "The four-digit year of birth.",
                                "type": "integer"
                              }
                            },
                            "required": [
                              "day",
                              "month",
                              "year"
                            ],
                            "title": "date_of_birth",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "day",
                              "month",
                              "year"
                            ]
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "dob"
                        ]
                      },
                      "konbini": {
                        "description": "If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "kr_card": {
                        "description": "If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "link": {
                        "description": "If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "metadata": {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                        "type": "object"
                      },
                      "mobilepay": {
                        "description": "If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "multibanco": {
                        "description": "If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "naver_pay": {
                        "description": "If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.",
                        "properties": {
                          "funding": {
                            "description": "Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.",
                            "enum": [
                              "card",
                              "points"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "funding"
                        ]
                      },
                      "oxxo": {
                        "description": "If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "p24": {
                        "description": "If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.",
                        "properties": {
                          "bank": {
                            "description": "The customer's bank.",
                            "enum": [
                              "alior_bank",
                              "bank_millennium",
                              "bank_nowy_bfg_sa",
                              "bank_pekao_sa",
                              "banki_spbdzielcze",
                              "blik",
                              "bnp_paribas",
                              "boz",
                              "citi_handlowy",
                              "credit_agricole",
                              "envelobank",
                              "etransfer_pocztowy24",
                              "getin_bank",
                              "ideabank",
                              "ing",
                              "inteligo",
                              "mbank_mtransfer",
                              "nest_przelew",
                              "noble_pay",
                              "pbac_z_ipko",
                              "plus_bank",
                              "santander_przelew24",
                              "tmobile_usbugi_bankowe",
                              "toyota_bank",
                              "velobank",
                              "volkswagen_bank"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "bank"
                        ]
                      },
                      "payco": {
                        "description": "If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "paynow": {
                        "description": "If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "paypal": {
                        "description": "If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "pix": {
                        "description": "If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "tax_id"
                        ]
                      },
                      "promptpay": {
                        "description": "If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "radar_options": {
                        "description": "Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.",
                        "properties": {
                          "session": {
                            "description": "A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "radar_options_with_hidden_options",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "session",
                          "skip_rules"
                        ]
                      },
                      "revolut_pay": {
                        "description": "If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "samsung_pay": {
                        "description": "If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "sepa_debit": {
                        "description": "If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.",
                        "properties": {
                          "iban": {
                            "description": "IBAN of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "iban"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "iban"
                        ]
                      },
                      "sofort": {
                        "description": "If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.",
                        "properties": {
                          "country": {
                            "description": "Two-letter ISO code representing the country the bank account is located in.",
                            "enum": [
                              "AT",
                              "BE",
                              "DE",
                              "ES",
                              "IT",
                              "NL"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "country"
                        ],
                        "title": "param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "country"
                        ]
                      },
                      "swish": {
                        "description": "If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "twint": {
                        "description": "If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "type": {
                        "description": "The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.",
                        "enum": [
                          "acss_debit",
                          "affirm",
                          "afterpay_clearpay",
                          "alipay",
                          "alma",
                          "amazon_pay",
                          "au_becs_debit",
                          "bacs_debit",
                          "bancontact",
                          "blik",
                          "boleto",
                          "cashapp",
                          "customer_balance",
                          "eps",
                          "fpx",
                          "giropay",
                          "grabpay",
                          "ideal",
                          "kakao_pay",
                          "klarna",
                          "konbini",
                          "kr_card",
                          "link",
                          "mobilepay",
                          "multibanco",
                          "naver_pay",
                          "oxxo",
                          "p24",
                          "payco",
                          "paynow",
                          "paypal",
                          "pix",
                          "promptpay",
                          "revolut_pay",
                          "samsung_pay",
                          "sepa_debit",
                          "sofort",
                          "swish",
                          "twint",
                          "us_bank_account",
                          "wechat_pay",
                          "zip"
                        ],
                        "type": "string",
                        "x-stripeBypassValidation": true
                      },
                      "us_bank_account": {
                        "description": "If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.",
                        "properties": {
                          "account_holder_type": {
                            "description": "Account holder type: individual or company.",
                            "enum": [
                              "company",
                              "individual"
                            ],
                            "type": "string"
                          },
                          "account_number": {
                            "description": "Account number of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "account_type": {
                            "description": "Account type: checkings or savings. Defaults to checking if omitted.",
                            "enum": [
                              "checking",
                              "savings"
                            ],
                            "type": "string"
                          },
                          "financial_connections_account": {
                            "description": "The ID of a Financial Connections Account to use as a payment method.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "routing_number": {
                            "description": "Routing number of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "payment_method_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_holder_type",
                          "account_number",
                          "account_type",
                          "financial_connections_account",
                          "routing_number"
                        ]
                      },
                      "wechat_pay": {
                        "description": "If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      },
                      "zip": {
                        "description": "If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.",
                        "properties": {},
                        "title": "param",
                        "type": "object"
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "title": "payment_method_data_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "billing_details",
                      "metadata",
                      "type"
                    ]
                  },
                  "return_url": {
                    "description": "Return URL used to confirm the Intent.",
                    "type": "string"
                  },
                  "setup_future_usage": {
                    "description": "Indicates that you intend to make future payments with this ConfirmationToken's payment method.\n\nThe presence of this property 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.",
                    "enum": [
                      "off_session",
                      "on_session"
                    ],
                    "type": "string"
                  },
                  "shipping": {
                    "description": "Shipping information for this ConfirmationToken.",
                    "properties": {
                      "address": {
                        "description": "Shipping address",
                        "properties": {
                          "city": {
                            "description": "City, district, suburb, town, or village.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Address line 1 (e.g., street, PO Box, or company name).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "ZIP or postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "State, county, province, or region.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "optional_fields_address",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "line1",
                          "line2",
                          "postal_code",
                          "state"
                        ]
                      },
                      "name": {
                        "description": "Recipient name.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "phone": {
                        "anyOf": [
                          {
                            "maxLength": 5000,
                            "type": "string"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Recipient phone (including extension)"
                      }
                    },
                    "required": [
                      "address",
                      "name"
                    ],
                    "title": "recipient_shipping_with_optional_fields_address",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "address",
                      "name",
                      "phone"
                    ]
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "payment_method",
                  "payment_method_data",
                  "return_url",
                  "setup_future_usage",
                  "shipping"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/confirmation_token"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a test Confirmation Token"
      }
    },
    "/v1/test_helpers/customers/{customer}/fund_cash_balance": {
      "post": {
        "description": "<p>Create an incoming testmode bank transfer</p>",
        "operationId": "PostTestHelpersCustomersCustomerFundCashBalance",
        "parameters": [
          {
            "in": "path",
            "name": "customer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "Amount to be used for this test cash balance transaction. A positive integer representing how much to fund in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to fund $1.00 or 100 to fund ¥100, a zero-decimal currency).",
                    "type": "integer"
                  },
                  "currency": {
                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "reference": {
                    "description": "A description of the test funding. This simulates free-text references supplied by customers when making bank transfers to their cash balance. You can use this to test how Stripe's [reconciliation algorithm](https://stripe.com/docs/payments/customer-balance/reconciliation) applies to different user inputs.",
                    "maxLength": 5000,
                    "type": "string"
                  }
                },
                "required": [
                  "amount",
                  "currency"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "currency"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/customer_cash_balance_transaction"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Fund a test mode cash balance"
      }
    },
    "/v1/test_helpers/issuing/authorizations": {
      "post": {
        "description": "<p>Create a test-mode authorization.</p>",
        "operationId": "PostTestHelpersIssuingAuthorizations",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "amount_details": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "fleet": {
                  "explode": true,
                  "style": "deepObject"
                },
                "fuel": {
                  "explode": true,
                  "style": "deepObject"
                },
                "merchant_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "network_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "verification_data": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "The total amount to attempt to authorize. This amount is in the provided currency, or defaults to the card's currency, and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
                    "type": "integer"
                  },
                  "amount_details": {
                    "description": "Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
                    "properties": {
                      "atm_fee": {
                        "description": "The ATM withdrawal fee.",
                        "type": "integer"
                      },
                      "cashback_amount": {
                        "description": "The amount of cash requested by the cardholder.",
                        "type": "integer"
                      }
                    },
                    "title": "amount_details_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "atm_fee",
                      "cashback_amount"
                    ]
                  },
                  "authorization_method": {
                    "description": "How the card details were provided. Defaults to online.",
                    "enum": [
                      "chip",
                      "contactless",
                      "keyed_in",
                      "online",
                      "swipe"
                    ],
                    "type": "string"
                  },
                  "card": {
                    "description": "Card associated with this authorization.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "currency": {
                    "description": "The currency of the authorization. If not provided, defaults to the currency of the card. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "fleet": {
                    "description": "Fleet-specific information for authorizations using Fleet cards.",
                    "properties": {
                      "cardholder_prompt_data": {
                        "description": "Answers to prompts presented to the cardholder at the point of sale. Prompted fields vary depending on the configuration of your physical fleet cards. Typical points of sale support only numeric entry.",
                        "properties": {
                          "driver_id": {
                            "description": "Driver ID.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "odometer": {
                            "description": "Odometer reading.",
                            "type": "integer"
                          },
                          "unspecified_id": {
                            "description": "An alphanumeric ID. This field is used when a vehicle ID, driver ID, or generic ID is entered by the cardholder, but the merchant or card network did not specify the prompt type.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "user_id": {
                            "description": "User ID.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "vehicle_number": {
                            "description": "Vehicle number.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "fleet_cardholder_prompt_data_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "driver_id",
                          "odometer",
                          "unspecified_id",
                          "user_id",
                          "vehicle_number"
                        ]
                      },
                      "purchase_type": {
                        "description": "The type of purchase. One of `fuel_purchase`, `non_fuel_purchase`, or `fuel_and_non_fuel_purchase`.",
                        "enum": [
                          "fuel_and_non_fuel_purchase",
                          "fuel_purchase",
                          "non_fuel_purchase"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "reported_breakdown": {
                        "description": "More information about the total amount. This information is not guaranteed to be accurate as some merchants may provide unreliable data.",
                        "properties": {
                          "fuel": {
                            "description": "Breakdown of fuel portion of the purchase.",
                            "properties": {
                              "gross_amount_decimal": {
                                "description": "Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes.",
                                "format": "decimal",
                                "type": "string"
                              }
                            },
                            "title": "fleet_reported_breakdown_fuel_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "gross_amount_decimal"
                            ]
                          },
                          "non_fuel": {
                            "description": "Breakdown of non-fuel portion of the purchase.",
                            "properties": {
                              "gross_amount_decimal": {
                                "description": "Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes.",
                                "format": "decimal",
                                "type": "string"
                              }
                            },
                            "title": "fleet_reported_breakdown_non_fuel_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "gross_amount_decimal"
                            ]
                          },
                          "tax": {
                            "description": "Information about tax included in this transaction.",
                            "properties": {
                              "local_amount_decimal": {
                                "description": "Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax.",
                                "format": "decimal",
                                "type": "string"
                              },
                              "national_amount_decimal": {
                                "description": "Amount of national Sales Tax or VAT included in the transaction amount. Null if not reported by merchant or not subject to tax.",
                                "format": "decimal",
                                "type": "string"
                              }
                            },
                            "title": "fleet_reported_breakdown_tax_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "local_amount_decimal",
                              "national_amount_decimal"
                            ]
                          }
                        },
                        "title": "fleet_reported_breakdown_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "fuel",
                          "non_fuel",
                          "tax"
                        ]
                      },
                      "service_type": {
                        "description": "The type of fuel service. One of `non_fuel_transaction`, `full_service`, or `self_service`.",
                        "enum": [
                          "full_service",
                          "non_fuel_transaction",
                          "self_service"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "fleet_testmode_authorization_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "cardholder_prompt_data",
                      "dynamic_purchase_controls_supported",
                      "purchase_type",
                      "reported_breakdown",
                      "service_type"
                    ]
                  },
                  "fuel": {
                    "description": "Information about fuel that was purchased with this transaction.",
                    "properties": {
                      "industry_product_code": {
                        "description": "[Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "quantity_decimal": {
                        "description": "The quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places.",
                        "format": "decimal",
                        "type": "string"
                      },
                      "type": {
                        "description": "The type of fuel that was purchased. One of `diesel`, `unleaded_plus`, `unleaded_regular`, `unleaded_super`, or `other`.",
                        "enum": [
                          "diesel",
                          "other",
                          "unleaded_plus",
                          "unleaded_regular",
                          "unleaded_super"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "unit": {
                        "description": "The units for `quantity_decimal`. One of `charging_minute`, `imperial_gallon`, `kilogram`, `kilowatt_hour`, `liter`, `pound`, `us_gallon`, or `other`.",
                        "enum": [
                          "charging_minute",
                          "imperial_gallon",
                          "kilogram",
                          "kilowatt_hour",
                          "liter",
                          "other",
                          "pound",
                          "us_gallon"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "unit_cost_decimal": {
                        "description": "The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.",
                        "format": "decimal",
                        "type": "string"
                      }
                    },
                    "title": "fuel_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "industry_product_code",
                      "quantity_decimal",
                      "type",
                      "unit",
                      "unit_cost_decimal"
                    ]
                  },
                  "is_amount_controllable": {
                    "description": "If set `true`, you may provide [amount](https://stripe.com/docs/api/issuing/authorizations/approve#approve_issuing_authorization-amount) to control how much to hold for the authorization.",
                    "type": "boolean"
                  },
                  "merchant_amount": {
                    "description": "The total amount to attempt to authorize. This amount is in the provided merchant currency, and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
                    "type": "integer"
                  },
                  "merchant_currency": {
                    "description": "The currency of the authorization. If not provided, defaults to the currency of the card. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                    "type": "string"
                  },
                  "merchant_data": {
                    "description": "Details about the seller (grocery store, e-commerce website, etc.) where the card authorization happened.",
                    "properties": {
                      "category": {
                        "description": "A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values.",
                        "enum": [
                          "ac_refrigeration_repair",
                          "accounting_bookkeeping_services",
                          "advertising_services",
                          "agricultural_cooperative",
                          "airlines_air_carriers",
                          "airports_flying_fields",
                          "ambulance_services",
                          "amusement_parks_carnivals",
                          "antique_reproductions",
                          "antique_shops",
                          "aquariums",
                          "architectural_surveying_services",
                          "art_dealers_and_galleries",
                          "artists_supply_and_craft_shops",
                          "auto_and_home_supply_stores",
                          "auto_body_repair_shops",
                          "auto_paint_shops",
                          "auto_service_shops",
                          "automated_cash_disburse",
                          "automated_fuel_dispensers",
                          "automobile_associations",
                          "automotive_parts_and_accessories_stores",
                          "automotive_tire_stores",
                          "bail_and_bond_payments",
                          "bakeries",
                          "bands_orchestras",
                          "barber_and_beauty_shops",
                          "betting_casino_gambling",
                          "bicycle_shops",
                          "billiard_pool_establishments",
                          "boat_dealers",
                          "boat_rentals_and_leases",
                          "book_stores",
                          "books_periodicals_and_newspapers",
                          "bowling_alleys",
                          "bus_lines",
                          "business_secretarial_schools",
                          "buying_shopping_services",
                          "cable_satellite_and_other_pay_television_and_radio",
                          "camera_and_photographic_supply_stores",
                          "candy_nut_and_confectionery_stores",
                          "car_and_truck_dealers_new_used",
                          "car_and_truck_dealers_used_only",
                          "car_rental_agencies",
                          "car_washes",
                          "carpentry_services",
                          "carpet_upholstery_cleaning",
                          "caterers",
                          "charitable_and_social_service_organizations_fundraising",
                          "chemicals_and_allied_products",
                          "child_care_services",
                          "childrens_and_infants_wear_stores",
                          "chiropodists_podiatrists",
                          "chiropractors",
                          "cigar_stores_and_stands",
                          "civic_social_fraternal_associations",
                          "cleaning_and_maintenance",
                          "clothing_rental",
                          "colleges_universities",
                          "commercial_equipment",
                          "commercial_footwear",
                          "commercial_photography_art_and_graphics",
                          "commuter_transport_and_ferries",
                          "computer_network_services",
                          "computer_programming",
                          "computer_repair",
                          "computer_software_stores",
                          "computers_peripherals_and_software",
                          "concrete_work_services",
                          "construction_materials",
                          "consulting_public_relations",
                          "correspondence_schools",
                          "cosmetic_stores",
                          "counseling_services",
                          "country_clubs",
                          "courier_services",
                          "court_costs",
                          "credit_reporting_agencies",
                          "cruise_lines",
                          "dairy_products_stores",
                          "dance_hall_studios_schools",
                          "dating_escort_services",
                          "dentists_orthodontists",
                          "department_stores",
                          "detective_agencies",
                          "digital_goods_applications",
                          "digital_goods_games",
                          "digital_goods_large_volume",
                          "digital_goods_media",
                          "direct_marketing_catalog_merchant",
                          "direct_marketing_combination_catalog_and_retail_merchant",
                          "direct_marketing_inbound_telemarketing",
                          "direct_marketing_insurance_services",
                          "direct_marketing_other",
                          "direct_marketing_outbound_telemarketing",
                          "direct_marketing_subscription",
                          "direct_marketing_travel",
                          "discount_stores",
                          "doctors",
                          "door_to_door_sales",
                          "drapery_window_covering_and_upholstery_stores",
                          "drinking_places",
                          "drug_stores_and_pharmacies",
                          "drugs_drug_proprietaries_and_druggist_sundries",
                          "dry_cleaners",
                          "durable_goods",
                          "duty_free_stores",
                          "eating_places_restaurants",
                          "educational_services",
                          "electric_razor_stores",
                          "electric_vehicle_charging",
                          "electrical_parts_and_equipment",
                          "electrical_services",
                          "electronics_repair_shops",
                          "electronics_stores",
                          "elementary_secondary_schools",
                          "emergency_services_gcas_visa_use_only",
                          "employment_temp_agencies",
                          "equipment_rental",
                          "exterminating_services",
                          "family_clothing_stores",
                          "fast_food_restaurants",
                          "financial_institutions",
                          "fines_government_administrative_entities",
                          "fireplace_fireplace_screens_and_accessories_stores",
                          "floor_covering_stores",
                          "florists",
                          "florists_supplies_nursery_stock_and_flowers",
                          "freezer_and_locker_meat_provisioners",
                          "fuel_dealers_non_automotive",
                          "funeral_services_crematories",
                          "furniture_home_furnishings_and_equipment_stores_except_appliances",
                          "furniture_repair_refinishing",
                          "furriers_and_fur_shops",
                          "general_services",
                          "gift_card_novelty_and_souvenir_shops",
                          "glass_paint_and_wallpaper_stores",
                          "glassware_crystal_stores",
                          "golf_courses_public",
                          "government_licensed_horse_dog_racing_us_region_only",
                          "government_licensed_online_casions_online_gambling_us_region_only",
                          "government_owned_lotteries_non_us_region",
                          "government_owned_lotteries_us_region_only",
                          "government_services",
                          "grocery_stores_supermarkets",
                          "hardware_equipment_and_supplies",
                          "hardware_stores",
                          "health_and_beauty_spas",
                          "hearing_aids_sales_and_supplies",
                          "heating_plumbing_a_c",
                          "hobby_toy_and_game_shops",
                          "home_supply_warehouse_stores",
                          "hospitals",
                          "hotels_motels_and_resorts",
                          "household_appliance_stores",
                          "industrial_supplies",
                          "information_retrieval_services",
                          "insurance_default",
                          "insurance_underwriting_premiums",
                          "intra_company_purchases",
                          "jewelry_stores_watches_clocks_and_silverware_stores",
                          "landscaping_services",
                          "laundries",
                          "laundry_cleaning_services",
                          "legal_services_attorneys",
                          "luggage_and_leather_goods_stores",
                          "lumber_building_materials_stores",
                          "manual_cash_disburse",
                          "marinas_service_and_supplies",
                          "marketplaces",
                          "masonry_stonework_and_plaster",
                          "massage_parlors",
                          "medical_and_dental_labs",
                          "medical_dental_ophthalmic_and_hospital_equipment_and_supplies",
                          "medical_services",
                          "membership_organizations",
                          "mens_and_boys_clothing_and_accessories_stores",
                          "mens_womens_clothing_stores",
                          "metal_service_centers",
                          "miscellaneous_apparel_and_accessory_shops",
                          "miscellaneous_auto_dealers",
                          "miscellaneous_business_services",
                          "miscellaneous_food_stores",
                          "miscellaneous_general_merchandise",
                          "miscellaneous_general_services",
                          "miscellaneous_home_furnishing_specialty_stores",
                          "miscellaneous_publishing_and_printing",
                          "miscellaneous_recreation_services",
                          "miscellaneous_repair_shops",
                          "miscellaneous_specialty_retail",
                          "mobile_home_dealers",
                          "motion_picture_theaters",
                          "motor_freight_carriers_and_trucking",
                          "motor_homes_dealers",
                          "motor_vehicle_supplies_and_new_parts",
                          "motorcycle_shops_and_dealers",
                          "motorcycle_shops_dealers",
                          "music_stores_musical_instruments_pianos_and_sheet_music",
                          "news_dealers_and_newsstands",
                          "non_fi_money_orders",
                          "non_fi_stored_value_card_purchase_load",
                          "nondurable_goods",
                          "nurseries_lawn_and_garden_supply_stores",
                          "nursing_personal_care",
                          "office_and_commercial_furniture",
                          "opticians_eyeglasses",
                          "optometrists_ophthalmologist",
                          "orthopedic_goods_prosthetic_devices",
                          "osteopaths",
                          "package_stores_beer_wine_and_liquor",
                          "paints_varnishes_and_supplies",
                          "parking_lots_garages",
                          "passenger_railways",
                          "pawn_shops",
                          "pet_shops_pet_food_and_supplies",
                          "petroleum_and_petroleum_products",
                          "photo_developing",
                          "photographic_photocopy_microfilm_equipment_and_supplies",
                          "photographic_studios",
                          "picture_video_production",
                          "piece_goods_notions_and_other_dry_goods",
                          "plumbing_heating_equipment_and_supplies",
                          "political_organizations",
                          "postal_services_government_only",
                          "precious_stones_and_metals_watches_and_jewelry",
                          "professional_services",
                          "public_warehousing_and_storage",
                          "quick_copy_repro_and_blueprint",
                          "railroads",
                          "real_estate_agents_and_managers_rentals",
                          "record_stores",
                          "recreational_vehicle_rentals",
                          "religious_goods_stores",
                          "religious_organizations",
                          "roofing_siding_sheet_metal",
                          "secretarial_support_services",
                          "security_brokers_dealers",
                          "service_stations",
                          "sewing_needlework_fabric_and_piece_goods_stores",
                          "shoe_repair_hat_cleaning",
                          "shoe_stores",
                          "small_appliance_repair",
                          "snowmobile_dealers",
                          "special_trade_services",
                          "specialty_cleaning",
                          "sporting_goods_stores",
                          "sporting_recreation_camps",
                          "sports_and_riding_apparel_stores",
                          "sports_clubs_fields",
                          "stamp_and_coin_stores",
                          "stationary_office_supplies_printing_and_writing_paper",
                          "stationery_stores_office_and_school_supply_stores",
                          "swimming_pools_sales",
                          "t_ui_travel_germany",
                          "tailors_alterations",
                          "tax_payments_government_agencies",
                          "tax_preparation_services",
                          "taxicabs_limousines",
                          "telecommunication_equipment_and_telephone_sales",
                          "telecommunication_services",
                          "telegraph_services",
                          "tent_and_awning_shops",
                          "testing_laboratories",
                          "theatrical_ticket_agencies",
                          "timeshares",
                          "tire_retreading_and_repair",
                          "tolls_bridge_fees",
                          "tourist_attractions_and_exhibits",
                          "towing_services",
                          "trailer_parks_campgrounds",
                          "transportation_services",
                          "travel_agencies_tour_operators",
                          "truck_stop_iteration",
                          "truck_utility_trailer_rentals",
                          "typesetting_plate_making_and_related_services",
                          "typewriter_stores",
                          "u_s_federal_government_agencies_or_departments",
                          "uniforms_commercial_clothing",
                          "used_merchandise_and_secondhand_stores",
                          "utilities",
                          "variety_stores",
                          "veterinary_services",
                          "video_amusement_game_supplies",
                          "video_game_arcades",
                          "video_tape_rental_stores",
                          "vocational_trade_schools",
                          "watch_jewelry_repair",
                          "welding_repair",
                          "wholesale_clubs",
                          "wig_and_toupee_stores",
                          "wires_money_orders",
                          "womens_accessory_and_specialty_shops",
                          "womens_ready_to_wear_stores",
                          "wrecking_and_salvage_yards"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "city": {
                        "description": "City where the seller is located",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "country": {
                        "description": "Country where the seller is located",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "name": {
                        "description": "Name of the seller",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "network_id": {
                        "description": "Identifier assigned to the seller by the card network. Different card networks may assign different network_id fields to the same merchant.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "postal_code": {
                        "description": "Postal code where the seller is located",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "state": {
                        "description": "State where the seller is located",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "terminal_id": {
                        "description": "An ID assigned by the seller to the location of the sale.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "url": {
                        "description": "URL provided by the merchant on a 3DS request",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "merchant_data_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "category",
                      "city",
                      "country",
                      "name",
                      "network_id",
                      "postal_code",
                      "state",
                      "terminal_id",
                      "url"
                    ]
                  },
                  "network_data": {
                    "description": "Details about the authorization, such as identifiers, set by the card network.",
                    "properties": {
                      "acquiring_institution_id": {
                        "description": "Identifier assigned to the acquirer by the card network.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "network_data_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "acquiring_institution_id"
                    ]
                  },
                  "verification_data": {
                    "description": "Verifications that Stripe performed on information that the cardholder provided to the merchant.",
                    "properties": {
                      "address_line1_check": {
                        "description": "Whether the cardholder provided an address first line and if it matched the cardholder’s `billing.address.line1`.",
                        "enum": [
                          "match",
                          "mismatch",
                          "not_provided"
                        ],
                        "type": "string"
                      },
                      "address_postal_code_check": {
                        "description": "Whether the cardholder provided a postal code and if it matched the cardholder’s `billing.address.postal_code`.",
                        "enum": [
                          "match",
                          "mismatch",
                          "not_provided"
                        ],
                        "type": "string"
                      },
                      "authentication_exemption": {
                        "description": "The exemption applied to this authorization.",
                        "properties": {
                          "claimed_by": {
                            "description": "The entity that requested the exemption, either the acquiring merchant or the Issuing user.",
                            "enum": [
                              "acquirer",
                              "issuer"
                            ],
                            "type": "string"
                          },
                          "type": {
                            "description": "The specific exemption claimed for this authorization.",
                            "enum": [
                              "low_value_transaction",
                              "transaction_risk_analysis",
                              "unknown"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "required": [
                          "claimed_by",
                          "type"
                        ],
                        "title": "authentication_exemption_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "claimed_by",
                          "type"
                        ]
                      },
                      "cvc_check": {
                        "description": "Whether the cardholder provided a CVC and if it matched Stripe’s record.",
                        "enum": [
                          "match",
                          "mismatch",
                          "not_provided"
                        ],
                        "type": "string"
                      },
                      "expiry_check": {
                        "description": "Whether the cardholder provided an expiry date and if it matched Stripe’s record.",
                        "enum": [
                          "match",
                          "mismatch",
                          "not_provided"
                        ],
                        "type": "string"
                      },
                      "three_d_secure": {
                        "description": "3D Secure details.",
                        "properties": {
                          "result": {
                            "description": "The outcome of the 3D Secure authentication request.",
                            "enum": [
                              "attempt_acknowledged",
                              "authenticated",
                              "failed",
                              "required"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          }
                        },
                        "required": [
                          "result"
                        ],
                        "title": "three_d_secure_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "result"
                        ]
                      }
                    },
                    "title": "verification_data_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "address_line1_check",
                      "address_postal_code_check",
                      "authentication_exemption",
                      "cvc_check",
                      "expiry_check",
                      "three_d_secure"
                    ]
                  },
                  "wallet": {
                    "description": "The digital wallet used for this transaction. One of `apple_pay`, `google_pay`, or `samsung_pay`. Will populate as `null` when no digital wallet was utilized.",
                    "enum": [
                      "apple_pay",
                      "google_pay",
                      "samsung_pay"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "card"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "card",
                  "currency"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.authorization"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a test-mode authorization"
      }
    },
    "/v1/test_helpers/issuing/authorizations/{authorization}/capture": {
      "post": {
        "description": "<p>Capture a test-mode authorization.</p>",
        "operationId": "PostTestHelpersIssuingAuthorizationsAuthorizationCapture",
        "parameters": [
          {
            "in": "path",
            "name": "authorization",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "purchase_details": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "capture_amount": {
                    "description": "The amount to capture from the authorization. If not provided, the full amount of the authorization will be captured. This amount is in the authorization currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
                    "type": "integer"
                  },
                  "close_authorization": {
                    "description": "Whether to close the authorization after capture. Defaults to true. Set to false to enable multi-capture flows.",
                    "type": "boolean"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "purchase_details": {
                    "description": "Additional purchase information that is optionally provided by the merchant.",
                    "properties": {
                      "fleet": {
                        "description": "Fleet-specific information for transactions using Fleet cards.",
                        "properties": {
                          "cardholder_prompt_data": {
                            "description": "Answers to prompts presented to the cardholder at the point of sale. Prompted fields vary depending on the configuration of your physical fleet cards. Typical points of sale support only numeric entry.",
                            "properties": {
                              "driver_id": {
                                "description": "Driver ID.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "odometer": {
                                "description": "Odometer reading.",
                                "type": "integer"
                              },
                              "unspecified_id": {
                                "description": "An alphanumeric ID. This field is used when a vehicle ID, driver ID, or generic ID is entered by the cardholder, but the merchant or card network did not specify the prompt type.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "user_id": {
                                "description": "User ID.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "vehicle_number": {
                                "description": "Vehicle number.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "fleet_cardholder_prompt_data_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "driver_id",
                              "odometer",
                              "unspecified_id",
                              "user_id",
                              "vehicle_number"
                            ]
                          },
                          "purchase_type": {
                            "description": "The type of purchase. One of `fuel_purchase`, `non_fuel_purchase`, or `fuel_and_non_fuel_purchase`.",
                            "enum": [
                              "fuel_and_non_fuel_purchase",
                              "fuel_purchase",
                              "non_fuel_purchase"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "reported_breakdown": {
                            "description": "More information about the total amount. This information is not guaranteed to be accurate as some merchants may provide unreliable data.",
                            "properties": {
                              "fuel": {
                                "description": "Breakdown of fuel portion of the purchase.",
                                "properties": {
                                  "gross_amount_decimal": {
                                    "description": "Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes.",
                                    "format": "decimal",
                                    "type": "string"
                                  }
                                },
                                "title": "fleet_reported_breakdown_fuel_specs",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "gross_amount_decimal"
                                ]
                              },
                              "non_fuel": {
                                "description": "Breakdown of non-fuel portion of the purchase.",
                                "properties": {
                                  "gross_amount_decimal": {
                                    "description": "Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes.",
                                    "format": "decimal",
                                    "type": "string"
                                  }
                                },
                                "title": "fleet_reported_breakdown_non_fuel_specs",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "gross_amount_decimal"
                                ]
                              },
                              "tax": {
                                "description": "Information about tax included in this transaction.",
                                "properties": {
                                  "local_amount_decimal": {
                                    "description": "Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax.",
                                    "format": "decimal",
                                    "type": "string"
                                  },
                                  "national_amount_decimal": {
                                    "description": "Amount of national Sales Tax or VAT included in the transaction amount. Null if not reported by merchant or not subject to tax.",
                                    "format": "decimal",
                                    "type": "string"
                                  }
                                },
                                "title": "fleet_reported_breakdown_tax_specs",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "local_amount_decimal",
                                  "national_amount_decimal"
                                ]
                              }
                            },
                            "title": "fleet_reported_breakdown_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fuel",
                              "non_fuel",
                              "tax"
                            ]
                          },
                          "service_type": {
                            "description": "The type of fuel service. One of `non_fuel_transaction`, `full_service`, or `self_service`.",
                            "enum": [
                              "full_service",
                              "non_fuel_transaction",
                              "self_service"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "fleet_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "cardholder_prompt_data",
                          "purchase_type",
                          "reported_breakdown",
                          "service_type"
                        ]
                      },
                      "flight": {
                        "description": "Information about the flight that was purchased with this transaction.",
                        "properties": {
                          "departure_at": {
                            "description": "The time that the flight departed.",
                            "format": "unix-time",
                            "type": "integer"
                          },
                          "passenger_name": {
                            "description": "The name of the passenger.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "refundable": {
                            "description": "Whether the ticket is refundable.",
                            "type": "boolean"
                          },
                          "segments": {
                            "description": "The legs of the trip.",
                            "items": {
                              "properties": {
                                "arrival_airport_code": {
                                  "description": "The three-letter IATA airport code of the flight's destination.",
                                  "maxLength": 3,
                                  "type": "string"
                                },
                                "carrier": {
                                  "description": "The airline carrier code.",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "departure_airport_code": {
                                  "description": "The three-letter IATA airport code that the flight departed from.",
                                  "maxLength": 3,
                                  "type": "string"
                                },
                                "flight_number": {
                                  "description": "The flight number.",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "service_class": {
                                  "description": "The flight's service class.",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "stopover_allowed": {
                                  "description": "Whether a stopover is allowed on this flight.",
                                  "type": "boolean"
                                }
                              },
                              "title": "flight_segment_specs",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "arrival_airport_code",
                                "carrier",
                                "departure_airport_code",
                                "flight_number",
                                "service_class",
                                "stopover_allowed"
                              ]
                            },
                            "type": "array"
                          },
                          "travel_agency": {
                            "description": "The travel agency that issued the ticket.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "flight_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "departure_at",
                          "passenger_name",
                          "refundable",
                          "segments",
                          "travel_agency"
                        ]
                      },
                      "fuel": {
                        "description": "Information about fuel that was purchased with this transaction.",
                        "properties": {
                          "industry_product_code": {
                            "description": "[Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "quantity_decimal": {
                            "description": "The quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places.",
                            "format": "decimal",
                            "type": "string"
                          },
                          "type": {
                            "description": "The type of fuel that was purchased. One of `diesel`, `unleaded_plus`, `unleaded_regular`, `unleaded_super`, or `other`.",
                            "enum": [
                              "diesel",
                              "other",
                              "unleaded_plus",
                              "unleaded_regular",
                              "unleaded_super"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "unit": {
                            "description": "The units for `quantity_decimal`. One of `charging_minute`, `imperial_gallon`, `kilogram`, `kilowatt_hour`, `liter`, `pound`, `us_gallon`, or `other`.",
                            "enum": [
                              "charging_minute",
                              "imperial_gallon",
                              "kilogram",
                              "kilowatt_hour",
                              "liter",
                              "other",
                              "pound",
                              "us_gallon"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "unit_cost_decimal": {
                            "description": "The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.",
                            "format": "decimal",
                            "type": "string"
                          }
                        },
                        "title": "fuel_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "industry_product_code",
                          "quantity_decimal",
                          "type",
                          "unit",
                          "unit_cost_decimal"
                        ]
                      },
                      "lodging": {
                        "description": "Information about lodging that was purchased with this transaction.",
                        "properties": {
                          "check_in_at": {
                            "description": "The time of checking into the lodging.",
                            "format": "unix-time",
                            "type": "integer"
                          },
                          "nights": {
                            "description": "The number of nights stayed at the lodging.",
                            "type": "integer"
                          }
                        },
                        "title": "lodging_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "check_in_at",
                          "nights"
                        ]
                      },
                      "receipt": {
                        "description": "The line items in the purchase.",
                        "items": {
                          "properties": {
                            "description": {
                              "maxLength": 26,
                              "type": "string"
                            },
                            "quantity": {
                              "format": "decimal",
                              "type": "string"
                            },
                            "total": {
                              "type": "integer"
                            },
                            "unit_cost": {
                              "type": "integer"
                            }
                          },
                          "title": "receipt_specs",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "description",
                            "quantity",
                            "total",
                            "unit_cost"
                          ]
                        },
                        "type": "array"
                      },
                      "reference": {
                        "description": "A merchant-specific order number.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "purchase_details_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "fleet",
                      "flight",
                      "fuel",
                      "lodging",
                      "receipt",
                      "reference"
                    ]
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "capture_amount",
                  "close_authorization",
                  "purchase_details"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.authorization"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Capture a test-mode authorization"
      }
    },
    "/v1/test_helpers/issuing/authorizations/{authorization}/expire": {
      "post": {
        "description": "<p>Expire a test-mode Authorization.</p>",
        "operationId": "PostTestHelpersIssuingAuthorizationsAuthorizationExpire",
        "parameters": [
          {
            "in": "path",
            "name": "authorization",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.authorization"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Expire a test-mode authorization"
      }
    },
    "/v1/test_helpers/issuing/authorizations/{authorization}/finalize_amount": {
      "post": {
        "description": "<p>Finalize the amount on an Authorization prior to capture, when the initial authorization was for an estimated amount.</p>",
        "operationId": "PostTestHelpersIssuingAuthorizationsAuthorizationFinalizeAmount",
        "parameters": [
          {
            "in": "path",
            "name": "authorization",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "fleet": {
                  "explode": true,
                  "style": "deepObject"
                },
                "fuel": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "final_amount": {
                    "description": "The final authorization amount that will be captured by the merchant. This amount is in the authorization currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
                    "type": "integer"
                  },
                  "fleet": {
                    "description": "Fleet-specific information for authorizations using Fleet cards.",
                    "properties": {
                      "cardholder_prompt_data": {
                        "description": "Answers to prompts presented to the cardholder at the point of sale. Prompted fields vary depending on the configuration of your physical fleet cards. Typical points of sale support only numeric entry.",
                        "properties": {
                          "driver_id": {
                            "description": "Driver ID.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "odometer": {
                            "description": "Odometer reading.",
                            "type": "integer"
                          },
                          "unspecified_id": {
                            "description": "An alphanumeric ID. This field is used when a vehicle ID, driver ID, or generic ID is entered by the cardholder, but the merchant or card network did not specify the prompt type.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "user_id": {
                            "description": "User ID.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "vehicle_number": {
                            "description": "Vehicle number.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "fleet_cardholder_prompt_data_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "driver_id",
                          "odometer",
                          "unspecified_id",
                          "user_id",
                          "vehicle_number"
                        ]
                      },
                      "purchase_type": {
                        "description": "The type of purchase. One of `fuel_purchase`, `non_fuel_purchase`, or `fuel_and_non_fuel_purchase`.",
                        "enum": [
                          "fuel_and_non_fuel_purchase",
                          "fuel_purchase",
                          "non_fuel_purchase"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "reported_breakdown": {
                        "description": "More information about the total amount. This information is not guaranteed to be accurate as some merchants may provide unreliable data.",
                        "properties": {
                          "fuel": {
                            "description": "Breakdown of fuel portion of the purchase.",
                            "properties": {
                              "gross_amount_decimal": {
                                "description": "Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes.",
                                "format": "decimal",
                                "type": "string"
                              }
                            },
                            "title": "fleet_reported_breakdown_fuel_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "gross_amount_decimal"
                            ]
                          },
                          "non_fuel": {
                            "description": "Breakdown of non-fuel portion of the purchase.",
                            "properties": {
                              "gross_amount_decimal": {
                                "description": "Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes.",
                                "format": "decimal",
                                "type": "string"
                              }
                            },
                            "title": "fleet_reported_breakdown_non_fuel_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "gross_amount_decimal"
                            ]
                          },
                          "tax": {
                            "description": "Information about tax included in this transaction.",
                            "properties": {
                              "local_amount_decimal": {
                                "description": "Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax.",
                                "format": "decimal",
                                "type": "string"
                              },
                              "national_amount_decimal": {
                                "description": "Amount of national Sales Tax or VAT included in the transaction amount. Null if not reported by merchant or not subject to tax.",
                                "format": "decimal",
                                "type": "string"
                              }
                            },
                            "title": "fleet_reported_breakdown_tax_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "local_amount_decimal",
                              "national_amount_decimal"
                            ]
                          }
                        },
                        "title": "fleet_reported_breakdown_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "fuel",
                          "non_fuel",
                          "tax"
                        ]
                      },
                      "service_type": {
                        "description": "The type of fuel service. One of `non_fuel_transaction`, `full_service`, or `self_service`.",
                        "enum": [
                          "full_service",
                          "non_fuel_transaction",
                          "self_service"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "fleet_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "cardholder_prompt_data",
                      "purchase_type",
                      "reported_breakdown",
                      "service_type"
                    ]
                  },
                  "fuel": {
                    "description": "Information about fuel that was purchased with this transaction.",
                    "properties": {
                      "industry_product_code": {
                        "description": "[Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "quantity_decimal": {
                        "description": "The quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places.",
                        "format": "decimal",
                        "type": "string"
                      },
                      "type": {
                        "description": "The type of fuel that was purchased. One of `diesel`, `unleaded_plus`, `unleaded_regular`, `unleaded_super`, or `other`.",
                        "enum": [
                          "diesel",
                          "other",
                          "unleaded_plus",
                          "unleaded_regular",
                          "unleaded_super"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "unit": {
                        "description": "The units for `quantity_decimal`. One of `charging_minute`, `imperial_gallon`, `kilogram`, `kilowatt_hour`, `liter`, `pound`, `us_gallon`, or `other`.",
                        "enum": [
                          "charging_minute",
                          "imperial_gallon",
                          "kilogram",
                          "kilowatt_hour",
                          "liter",
                          "other",
                          "pound",
                          "us_gallon"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "unit_cost_decimal": {
                        "description": "The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.",
                        "format": "decimal",
                        "type": "string"
                      }
                    },
                    "title": "fuel_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "industry_product_code",
                      "quantity_decimal",
                      "type",
                      "unit",
                      "unit_cost_decimal"
                    ]
                  }
                },
                "required": [
                  "final_amount"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "final_amount"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.authorization"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Finalize a test-mode authorization's amount"
      }
    },
    "/v1/test_helpers/issuing/authorizations/{authorization}/fraud_challenges/respond": {
      "post": {
        "description": "<p>Respond to a fraud challenge on a testmode Issuing authorization, simulating either a confirmation of fraud or a correction of legitimacy.</p>",
        "operationId": "PostTestHelpersIssuingAuthorizationsAuthorizationFraudChallengesRespond",
        "parameters": [
          {
            "in": "path",
            "name": "authorization",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "confirmed": {
                    "description": "Whether to simulate the user confirming that the transaction was legitimate (true) or telling Stripe that it was fraudulent (false).",
                    "type": "boolean"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "confirmed"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "confirmed"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.authorization"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Respond to fraud challenge"
      }
    },
    "/v1/test_helpers/issuing/authorizations/{authorization}/increment": {
      "post": {
        "description": "<p>Increment a test-mode Authorization.</p>",
        "operationId": "PostTestHelpersIssuingAuthorizationsAuthorizationIncrement",
        "parameters": [
          {
            "in": "path",
            "name": "authorization",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "increment_amount": {
                    "description": "The amount to increment the authorization by. This amount is in the authorization currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
                    "type": "integer"
                  },
                  "is_amount_controllable": {
                    "description": "If set `true`, you may provide [amount](https://stripe.com/docs/api/issuing/authorizations/approve#approve_issuing_authorization-amount) to control how much to hold for the authorization.",
                    "type": "boolean"
                  }
                },
                "required": [
                  "increment_amount"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "increment_amount",
                  "is_amount_controllable"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.authorization"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Increment a test-mode authorization"
      }
    },
    "/v1/test_helpers/issuing/authorizations/{authorization}/reverse": {
      "post": {
        "description": "<p>Reverse a test-mode Authorization.</p>",
        "operationId": "PostTestHelpersIssuingAuthorizationsAuthorizationReverse",
        "parameters": [
          {
            "in": "path",
            "name": "authorization",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "reverse_amount": {
                    "description": "The amount to reverse from the authorization. If not provided, the full amount of the authorization will be reversed. This amount is in the authorization currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
                    "type": "integer"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "reverse_amount"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.authorization"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Reverse a test-mode authorization"
      }
    },
    "/v1/test_helpers/issuing/cards/{card}/shipping/deliver": {
      "post": {
        "description": "<p>Updates the shipping status of the specified Issuing <code>Card</code> object to <code>delivered</code>.</p>",
        "operationId": "PostTestHelpersIssuingCardsCardShippingDeliver",
        "parameters": [
          {
            "in": "path",
            "name": "card",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.card"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Deliver a testmode card"
      }
    },
    "/v1/test_helpers/issuing/cards/{card}/shipping/fail": {
      "post": {
        "description": "<p>Updates the shipping status of the specified Issuing <code>Card</code> object to <code>failure</code>.</p>",
        "operationId": "PostTestHelpersIssuingCardsCardShippingFail",
        "parameters": [
          {
            "in": "path",
            "name": "card",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.card"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Fail a testmode card"
      }
    },
    "/v1/test_helpers/issuing/cards/{card}/shipping/return": {
      "post": {
        "description": "<p>Updates the shipping status of the specified Issuing <code>Card</code> object to <code>returned</code>.</p>",
        "operationId": "PostTestHelpersIssuingCardsCardShippingReturn",
        "parameters": [
          {
            "in": "path",
            "name": "card",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.card"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Return a testmode card"
      }
    },
    "/v1/test_helpers/issuing/cards/{card}/shipping/ship": {
      "post": {
        "description": "<p>Updates the shipping status of the specified Issuing <code>Card</code> object to <code>shipped</code>.</p>",
        "operationId": "PostTestHelpersIssuingCardsCardShippingShip",
        "parameters": [
          {
            "in": "path",
            "name": "card",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.card"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Ship a testmode card"
      }
    },
    "/v1/test_helpers/issuing/cards/{card}/shipping/submit": {
      "post": {
        "description": "<p>Updates the shipping status of the specified Issuing <code>Card</code> object to <code>submitted</code>. This method requires Stripe Version ‘2024-09-30.acacia’ or later.</p>",
        "operationId": "PostTestHelpersIssuingCardsCardShippingSubmit",
        "parameters": [
          {
            "in": "path",
            "name": "card",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.card"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Submit a testmode card"
      }
    },
    "/v1/test_helpers/issuing/personalization_designs/{personalization_design}/activate": {
      "post": {
        "description": "<p>Updates the <code>status</code> of the specified testmode personalization design object to <code>active</code>.</p>",
        "operationId": "PostTestHelpersIssuingPersonalizationDesignsPersonalizationDesignActivate",
        "parameters": [
          {
            "in": "path",
            "name": "personalization_design",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.personalization_design"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Activate a testmode personalization design"
      }
    },
    "/v1/test_helpers/issuing/personalization_designs/{personalization_design}/deactivate": {
      "post": {
        "description": "<p>Updates the <code>status</code> of the specified testmode personalization design object to <code>inactive</code>.</p>",
        "operationId": "PostTestHelpersIssuingPersonalizationDesignsPersonalizationDesignDeactivate",
        "parameters": [
          {
            "in": "path",
            "name": "personalization_design",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.personalization_design"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Deactivate a testmode personalization design"
      }
    },
    "/v1/test_helpers/issuing/personalization_designs/{personalization_design}/reject": {
      "post": {
        "description": "<p>Updates the <code>status</code> of the specified testmode personalization design object to <code>rejected</code>.</p>",
        "operationId": "PostTestHelpersIssuingPersonalizationDesignsPersonalizationDesignReject",
        "parameters": [
          {
            "in": "path",
            "name": "personalization_design",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "rejection_reasons": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "rejection_reasons": {
                    "description": "The reason(s) the personalization design was rejected.",
                    "properties": {
                      "card_logo": {
                        "description": "The reason(s) the card logo was rejected.",
                        "items": {
                          "enum": [
                            "geographic_location",
                            "inappropriate",
                            "network_name",
                            "non_binary_image",
                            "non_fiat_currency",
                            "other",
                            "other_entity",
                            "promotional_material"
                          ],
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "carrier_text": {
                        "description": "The reason(s) the carrier text was rejected.",
                        "items": {
                          "enum": [
                            "geographic_location",
                            "inappropriate",
                            "network_name",
                            "non_fiat_currency",
                            "other",
                            "other_entity",
                            "promotional_material"
                          ],
                          "type": "string"
                        },
                        "type": "array"
                      }
                    },
                    "title": "rejection_reasons_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "card_logo",
                      "carrier_text"
                    ]
                  }
                },
                "required": [
                  "rejection_reasons"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "rejection_reasons"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.personalization_design"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Reject a testmode personalization design"
      }
    },
    "/v1/test_helpers/issuing/transactions/create_force_capture": {
      "post": {
        "description": "<p>Allows the user to capture an arbitrary amount, also known as a forced capture.</p>",
        "operationId": "PostTestHelpersIssuingTransactionsCreateForceCapture",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "merchant_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "purchase_details": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "The total amount to attempt to capture. This amount is in the provided currency, or defaults to the cards currency, and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
                    "type": "integer"
                  },
                  "card": {
                    "description": "Card associated with this transaction.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "currency": {
                    "description": "The currency of the capture. If not provided, defaults to the currency of the card. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "merchant_data": {
                    "description": "Details about the seller (grocery store, e-commerce website, etc.) where the card authorization happened.",
                    "properties": {
                      "category": {
                        "description": "A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values.",
                        "enum": [
                          "ac_refrigeration_repair",
                          "accounting_bookkeeping_services",
                          "advertising_services",
                          "agricultural_cooperative",
                          "airlines_air_carriers",
                          "airports_flying_fields",
                          "ambulance_services",
                          "amusement_parks_carnivals",
                          "antique_reproductions",
                          "antique_shops",
                          "aquariums",
                          "architectural_surveying_services",
                          "art_dealers_and_galleries",
                          "artists_supply_and_craft_shops",
                          "auto_and_home_supply_stores",
                          "auto_body_repair_shops",
                          "auto_paint_shops",
                          "auto_service_shops",
                          "automated_cash_disburse",
                          "automated_fuel_dispensers",
                          "automobile_associations",
                          "automotive_parts_and_accessories_stores",
                          "automotive_tire_stores",
                          "bail_and_bond_payments",
                          "bakeries",
                          "bands_orchestras",
                          "barber_and_beauty_shops",
                          "betting_casino_gambling",
                          "bicycle_shops",
                          "billiard_pool_establishments",
                          "boat_dealers",
                          "boat_rentals_and_leases",
                          "book_stores",
                          "books_periodicals_and_newspapers",
                          "bowling_alleys",
                          "bus_lines",
                          "business_secretarial_schools",
                          "buying_shopping_services",
                          "cable_satellite_and_other_pay_television_and_radio",
                          "camera_and_photographic_supply_stores",
                          "candy_nut_and_confectionery_stores",
                          "car_and_truck_dealers_new_used",
                          "car_and_truck_dealers_used_only",
                          "car_rental_agencies",
                          "car_washes",
                          "carpentry_services",
                          "carpet_upholstery_cleaning",
                          "caterers",
                          "charitable_and_social_service_organizations_fundraising",
                          "chemicals_and_allied_products",
                          "child_care_services",
                          "childrens_and_infants_wear_stores",
                          "chiropodists_podiatrists",
                          "chiropractors",
                          "cigar_stores_and_stands",
                          "civic_social_fraternal_associations",
                          "cleaning_and_maintenance",
                          "clothing_rental",
                          "colleges_universities",
                          "commercial_equipment",
                          "commercial_footwear",
                          "commercial_photography_art_and_graphics",
                          "commuter_transport_and_ferries",
                          "computer_network_services",
                          "computer_programming",
                          "computer_repair",
                          "computer_software_stores",
                          "computers_peripherals_and_software",
                          "concrete_work_services",
                          "construction_materials",
                          "consulting_public_relations",
                          "correspondence_schools",
                          "cosmetic_stores",
                          "counseling_services",
                          "country_clubs",
                          "courier_services",
                          "court_costs",
                          "credit_reporting_agencies",
                          "cruise_lines",
                          "dairy_products_stores",
                          "dance_hall_studios_schools",
                          "dating_escort_services",
                          "dentists_orthodontists",
                          "department_stores",
                          "detective_agencies",
                          "digital_goods_applications",
                          "digital_goods_games",
                          "digital_goods_large_volume",
                          "digital_goods_media",
                          "direct_marketing_catalog_merchant",
                          "direct_marketing_combination_catalog_and_retail_merchant",
                          "direct_marketing_inbound_telemarketing",
                          "direct_marketing_insurance_services",
                          "direct_marketing_other",
                          "direct_marketing_outbound_telemarketing",
                          "direct_marketing_subscription",
                          "direct_marketing_travel",
                          "discount_stores",
                          "doctors",
                          "door_to_door_sales",
                          "drapery_window_covering_and_upholstery_stores",
                          "drinking_places",
                          "drug_stores_and_pharmacies",
                          "drugs_drug_proprietaries_and_druggist_sundries",
                          "dry_cleaners",
                          "durable_goods",
                          "duty_free_stores",
                          "eating_places_restaurants",
                          "educational_services",
                          "electric_razor_stores",
                          "electric_vehicle_charging",
                          "electrical_parts_and_equipment",
                          "electrical_services",
                          "electronics_repair_shops",
                          "electronics_stores",
                          "elementary_secondary_schools",
                          "emergency_services_gcas_visa_use_only",
                          "employment_temp_agencies",
                          "equipment_rental",
                          "exterminating_services",
                          "family_clothing_stores",
                          "fast_food_restaurants",
                          "financial_institutions",
                          "fines_government_administrative_entities",
                          "fireplace_fireplace_screens_and_accessories_stores",
                          "floor_covering_stores",
                          "florists",
                          "florists_supplies_nursery_stock_and_flowers",
                          "freezer_and_locker_meat_provisioners",
                          "fuel_dealers_non_automotive",
                          "funeral_services_crematories",
                          "furniture_home_furnishings_and_equipment_stores_except_appliances",
                          "furniture_repair_refinishing",
                          "furriers_and_fur_shops",
                          "general_services",
                          "gift_card_novelty_and_souvenir_shops",
                          "glass_paint_and_wallpaper_stores",
                          "glassware_crystal_stores",
                          "golf_courses_public",
                          "government_licensed_horse_dog_racing_us_region_only",
                          "government_licensed_online_casions_online_gambling_us_region_only",
                          "government_owned_lotteries_non_us_region",
                          "government_owned_lotteries_us_region_only",
                          "government_services",
                          "grocery_stores_supermarkets",
                          "hardware_equipment_and_supplies",
                          "hardware_stores",
                          "health_and_beauty_spas",
                          "hearing_aids_sales_and_supplies",
                          "heating_plumbing_a_c",
                          "hobby_toy_and_game_shops",
                          "home_supply_warehouse_stores",
                          "hospitals",
                          "hotels_motels_and_resorts",
                          "household_appliance_stores",
                          "industrial_supplies",
                          "information_retrieval_services",
                          "insurance_default",
                          "insurance_underwriting_premiums",
                          "intra_company_purchases",
                          "jewelry_stores_watches_clocks_and_silverware_stores",
                          "landscaping_services",
                          "laundries",
                          "laundry_cleaning_services",
                          "legal_services_attorneys",
                          "luggage_and_leather_goods_stores",
                          "lumber_building_materials_stores",
                          "manual_cash_disburse",
                          "marinas_service_and_supplies",
                          "marketplaces",
                          "masonry_stonework_and_plaster",
                          "massage_parlors",
                          "medical_and_dental_labs",
                          "medical_dental_ophthalmic_and_hospital_equipment_and_supplies",
                          "medical_services",
                          "membership_organizations",
                          "mens_and_boys_clothing_and_accessories_stores",
                          "mens_womens_clothing_stores",
                          "metal_service_centers",
                          "miscellaneous_apparel_and_accessory_shops",
                          "miscellaneous_auto_dealers",
                          "miscellaneous_business_services",
                          "miscellaneous_food_stores",
                          "miscellaneous_general_merchandise",
                          "miscellaneous_general_services",
                          "miscellaneous_home_furnishing_specialty_stores",
                          "miscellaneous_publishing_and_printing",
                          "miscellaneous_recreation_services",
                          "miscellaneous_repair_shops",
                          "miscellaneous_specialty_retail",
                          "mobile_home_dealers",
                          "motion_picture_theaters",
                          "motor_freight_carriers_and_trucking",
                          "motor_homes_dealers",
                          "motor_vehicle_supplies_and_new_parts",
                          "motorcycle_shops_and_dealers",
                          "motorcycle_shops_dealers",
                          "music_stores_musical_instruments_pianos_and_sheet_music",
                          "news_dealers_and_newsstands",
                          "non_fi_money_orders",
                          "non_fi_stored_value_card_purchase_load",
                          "nondurable_goods",
                          "nurseries_lawn_and_garden_supply_stores",
                          "nursing_personal_care",
                          "office_and_commercial_furniture",
                          "opticians_eyeglasses",
                          "optometrists_ophthalmologist",
                          "orthopedic_goods_prosthetic_devices",
                          "osteopaths",
                          "package_stores_beer_wine_and_liquor",
                          "paints_varnishes_and_supplies",
                          "parking_lots_garages",
                          "passenger_railways",
                          "pawn_shops",
                          "pet_shops_pet_food_and_supplies",
                          "petroleum_and_petroleum_products",
                          "photo_developing",
                          "photographic_photocopy_microfilm_equipment_and_supplies",
                          "photographic_studios",
                          "picture_video_production",
                          "piece_goods_notions_and_other_dry_goods",
                          "plumbing_heating_equipment_and_supplies",
                          "political_organizations",
                          "postal_services_government_only",
                          "precious_stones_and_metals_watches_and_jewelry",
                          "professional_services",
                          "public_warehousing_and_storage",
                          "quick_copy_repro_and_blueprint",
                          "railroads",
                          "real_estate_agents_and_managers_rentals",
                          "record_stores",
                          "recreational_vehicle_rentals",
                          "religious_goods_stores",
                          "religious_organizations",
                          "roofing_siding_sheet_metal",
                          "secretarial_support_services",
                          "security_brokers_dealers",
                          "service_stations",
                          "sewing_needlework_fabric_and_piece_goods_stores",
                          "shoe_repair_hat_cleaning",
                          "shoe_stores",
                          "small_appliance_repair",
                          "snowmobile_dealers",
                          "special_trade_services",
                          "specialty_cleaning",
                          "sporting_goods_stores",
                          "sporting_recreation_camps",
                          "sports_and_riding_apparel_stores",
                          "sports_clubs_fields",
                          "stamp_and_coin_stores",
                          "stationary_office_supplies_printing_and_writing_paper",
                          "stationery_stores_office_and_school_supply_stores",
                          "swimming_pools_sales",
                          "t_ui_travel_germany",
                          "tailors_alterations",
                          "tax_payments_government_agencies",
                          "tax_preparation_services",
                          "taxicabs_limousines",
                          "telecommunication_equipment_and_telephone_sales",
                          "telecommunication_services",
                          "telegraph_services",
                          "tent_and_awning_shops",
                          "testing_laboratories",
                          "theatrical_ticket_agencies",
                          "timeshares",
                          "tire_retreading_and_repair",
                          "tolls_bridge_fees",
                          "tourist_attractions_and_exhibits",
                          "towing_services",
                          "trailer_parks_campgrounds",
                          "transportation_services",
                          "travel_agencies_tour_operators",
                          "truck_stop_iteration",
                          "truck_utility_trailer_rentals",
                          "typesetting_plate_making_and_related_services",
                          "typewriter_stores",
                          "u_s_federal_government_agencies_or_departments",
                          "uniforms_commercial_clothing",
                          "used_merchandise_and_secondhand_stores",
                          "utilities",
                          "variety_stores",
                          "veterinary_services",
                          "video_amusement_game_supplies",
                          "video_game_arcades",
                          "video_tape_rental_stores",
                          "vocational_trade_schools",
                          "watch_jewelry_repair",
                          "welding_repair",
                          "wholesale_clubs",
                          "wig_and_toupee_stores",
                          "wires_money_orders",
                          "womens_accessory_and_specialty_shops",
                          "womens_ready_to_wear_stores",
                          "wrecking_and_salvage_yards"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "city": {
                        "description": "City where the seller is located",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "country": {
                        "description": "Country where the seller is located",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "name": {
                        "description": "Name of the seller",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "network_id": {
                        "description": "Identifier assigned to the seller by the card network. Different card networks may assign different network_id fields to the same merchant.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "postal_code": {
                        "description": "Postal code where the seller is located",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "state": {
                        "description": "State where the seller is located",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "terminal_id": {
                        "description": "An ID assigned by the seller to the location of the sale.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "url": {
                        "description": "URL provided by the merchant on a 3DS request",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "merchant_data_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "category",
                      "city",
                      "country",
                      "name",
                      "network_id",
                      "postal_code",
                      "state",
                      "terminal_id",
                      "url"
                    ]
                  },
                  "purchase_details": {
                    "description": "Additional purchase information that is optionally provided by the merchant.",
                    "properties": {
                      "fleet": {
                        "description": "Fleet-specific information for transactions using Fleet cards.",
                        "properties": {
                          "cardholder_prompt_data": {
                            "description": "Answers to prompts presented to the cardholder at the point of sale. Prompted fields vary depending on the configuration of your physical fleet cards. Typical points of sale support only numeric entry.",
                            "properties": {
                              "driver_id": {
                                "description": "Driver ID.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "odometer": {
                                "description": "Odometer reading.",
                                "type": "integer"
                              },
                              "unspecified_id": {
                                "description": "An alphanumeric ID. This field is used when a vehicle ID, driver ID, or generic ID is entered by the cardholder, but the merchant or card network did not specify the prompt type.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "user_id": {
                                "description": "User ID.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "vehicle_number": {
                                "description": "Vehicle number.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "fleet_cardholder_prompt_data_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "driver_id",
                              "odometer",
                              "unspecified_id",
                              "user_id",
                              "vehicle_number"
                            ]
                          },
                          "purchase_type": {
                            "description": "The type of purchase. One of `fuel_purchase`, `non_fuel_purchase`, or `fuel_and_non_fuel_purchase`.",
                            "enum": [
                              "fuel_and_non_fuel_purchase",
                              "fuel_purchase",
                              "non_fuel_purchase"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "reported_breakdown": {
                            "description": "More information about the total amount. This information is not guaranteed to be accurate as some merchants may provide unreliable data.",
                            "properties": {
                              "fuel": {
                                "description": "Breakdown of fuel portion of the purchase.",
                                "properties": {
                                  "gross_amount_decimal": {
                                    "description": "Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes.",
                                    "format": "decimal",
                                    "type": "string"
                                  }
                                },
                                "title": "fleet_reported_breakdown_fuel_specs",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "gross_amount_decimal"
                                ]
                              },
                              "non_fuel": {
                                "description": "Breakdown of non-fuel portion of the purchase.",
                                "properties": {
                                  "gross_amount_decimal": {
                                    "description": "Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes.",
                                    "format": "decimal",
                                    "type": "string"
                                  }
                                },
                                "title": "fleet_reported_breakdown_non_fuel_specs",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "gross_amount_decimal"
                                ]
                              },
                              "tax": {
                                "description": "Information about tax included in this transaction.",
                                "properties": {
                                  "local_amount_decimal": {
                                    "description": "Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax.",
                                    "format": "decimal",
                                    "type": "string"
                                  },
                                  "national_amount_decimal": {
                                    "description": "Amount of national Sales Tax or VAT included in the transaction amount. Null if not reported by merchant or not subject to tax.",
                                    "format": "decimal",
                                    "type": "string"
                                  }
                                },
                                "title": "fleet_reported_breakdown_tax_specs",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "local_amount_decimal",
                                  "national_amount_decimal"
                                ]
                              }
                            },
                            "title": "fleet_reported_breakdown_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fuel",
                              "non_fuel",
                              "tax"
                            ]
                          },
                          "service_type": {
                            "description": "The type of fuel service. One of `non_fuel_transaction`, `full_service`, or `self_service`.",
                            "enum": [
                              "full_service",
                              "non_fuel_transaction",
                              "self_service"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "fleet_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "cardholder_prompt_data",
                          "purchase_type",
                          "reported_breakdown",
                          "service_type"
                        ]
                      },
                      "flight": {
                        "description": "Information about the flight that was purchased with this transaction.",
                        "properties": {
                          "departure_at": {
                            "description": "The time that the flight departed.",
                            "format": "unix-time",
                            "type": "integer"
                          },
                          "passenger_name": {
                            "description": "The name of the passenger.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "refundable": {
                            "description": "Whether the ticket is refundable.",
                            "type": "boolean"
                          },
                          "segments": {
                            "description": "The legs of the trip.",
                            "items": {
                              "properties": {
                                "arrival_airport_code": {
                                  "description": "The three-letter IATA airport code of the flight's destination.",
                                  "maxLength": 3,
                                  "type": "string"
                                },
                                "carrier": {
                                  "description": "The airline carrier code.",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "departure_airport_code": {
                                  "description": "The three-letter IATA airport code that the flight departed from.",
                                  "maxLength": 3,
                                  "type": "string"
                                },
                                "flight_number": {
                                  "description": "The flight number.",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "service_class": {
                                  "description": "The flight's service class.",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "stopover_allowed": {
                                  "description": "Whether a stopover is allowed on this flight.",
                                  "type": "boolean"
                                }
                              },
                              "title": "flight_segment_specs",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "arrival_airport_code",
                                "carrier",
                                "departure_airport_code",
                                "flight_number",
                                "service_class",
                                "stopover_allowed"
                              ]
                            },
                            "type": "array"
                          },
                          "travel_agency": {
                            "description": "The travel agency that issued the ticket.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "flight_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "departure_at",
                          "passenger_name",
                          "refundable",
                          "segments",
                          "travel_agency"
                        ]
                      },
                      "fuel": {
                        "description": "Information about fuel that was purchased with this transaction.",
                        "properties": {
                          "industry_product_code": {
                            "description": "[Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "quantity_decimal": {
                            "description": "The quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places.",
                            "format": "decimal",
                            "type": "string"
                          },
                          "type": {
                            "description": "The type of fuel that was purchased. One of `diesel`, `unleaded_plus`, `unleaded_regular`, `unleaded_super`, or `other`.",
                            "enum": [
                              "diesel",
                              "other",
                              "unleaded_plus",
                              "unleaded_regular",
                              "unleaded_super"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "unit": {
                            "description": "The units for `quantity_decimal`. One of `charging_minute`, `imperial_gallon`, `kilogram`, `kilowatt_hour`, `liter`, `pound`, `us_gallon`, or `other`.",
                            "enum": [
                              "charging_minute",
                              "imperial_gallon",
                              "kilogram",
                              "kilowatt_hour",
                              "liter",
                              "other",
                              "pound",
                              "us_gallon"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "unit_cost_decimal": {
                            "description": "The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.",
                            "format": "decimal",
                            "type": "string"
                          }
                        },
                        "title": "fuel_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "industry_product_code",
                          "quantity_decimal",
                          "type",
                          "unit",
                          "unit_cost_decimal"
                        ]
                      },
                      "lodging": {
                        "description": "Information about lodging that was purchased with this transaction.",
                        "properties": {
                          "check_in_at": {
                            "description": "The time of checking into the lodging.",
                            "format": "unix-time",
                            "type": "integer"
                          },
                          "nights": {
                            "description": "The number of nights stayed at the lodging.",
                            "type": "integer"
                          }
                        },
                        "title": "lodging_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "check_in_at",
                          "nights"
                        ]
                      },
                      "receipt": {
                        "description": "The line items in the purchase.",
                        "items": {
                          "properties": {
                            "description": {
                              "maxLength": 26,
                              "type": "string"
                            },
                            "quantity": {
                              "format": "decimal",
                              "type": "string"
                            },
                            "total": {
                              "type": "integer"
                            },
                            "unit_cost": {
                              "type": "integer"
                            }
                          },
                          "title": "receipt_specs",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "description",
                            "quantity",
                            "total",
                            "unit_cost"
                          ]
                        },
                        "type": "array"
                      },
                      "reference": {
                        "description": "A merchant-specific order number.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "purchase_details_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "fleet",
                      "flight",
                      "fuel",
                      "lodging",
                      "receipt",
                      "reference"
                    ]
                  }
                },
                "required": [
                  "amount",
                  "card"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "card",
                  "currency"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.transaction"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a test-mode force capture"
      }
    },
    "/v1/test_helpers/issuing/transactions/create_unlinked_refund": {
      "post": {
        "description": "<p>Allows the user to refund an arbitrary amount, also known as a unlinked refund.</p>",
        "operationId": "PostTestHelpersIssuingTransactionsCreateUnlinkedRefund",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "merchant_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "purchase_details": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "The total amount to attempt to refund. This amount is in the provided currency, or defaults to the cards currency, and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
                    "type": "integer"
                  },
                  "card": {
                    "description": "Card associated with this unlinked refund transaction.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "currency": {
                    "description": "The currency of the unlinked refund. If not provided, defaults to the currency of the card. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "merchant_data": {
                    "description": "Details about the seller (grocery store, e-commerce website, etc.) where the card authorization happened.",
                    "properties": {
                      "category": {
                        "description": "A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values.",
                        "enum": [
                          "ac_refrigeration_repair",
                          "accounting_bookkeeping_services",
                          "advertising_services",
                          "agricultural_cooperative",
                          "airlines_air_carriers",
                          "airports_flying_fields",
                          "ambulance_services",
                          "amusement_parks_carnivals",
                          "antique_reproductions",
                          "antique_shops",
                          "aquariums",
                          "architectural_surveying_services",
                          "art_dealers_and_galleries",
                          "artists_supply_and_craft_shops",
                          "auto_and_home_supply_stores",
                          "auto_body_repair_shops",
                          "auto_paint_shops",
                          "auto_service_shops",
                          "automated_cash_disburse",
                          "automated_fuel_dispensers",
                          "automobile_associations",
                          "automotive_parts_and_accessories_stores",
                          "automotive_tire_stores",
                          "bail_and_bond_payments",
                          "bakeries",
                          "bands_orchestras",
                          "barber_and_beauty_shops",
                          "betting_casino_gambling",
                          "bicycle_shops",
                          "billiard_pool_establishments",
                          "boat_dealers",
                          "boat_rentals_and_leases",
                          "book_stores",
                          "books_periodicals_and_newspapers",
                          "bowling_alleys",
                          "bus_lines",
                          "business_secretarial_schools",
                          "buying_shopping_services",
                          "cable_satellite_and_other_pay_television_and_radio",
                          "camera_and_photographic_supply_stores",
                          "candy_nut_and_confectionery_stores",
                          "car_and_truck_dealers_new_used",
                          "car_and_truck_dealers_used_only",
                          "car_rental_agencies",
                          "car_washes",
                          "carpentry_services",
                          "carpet_upholstery_cleaning",
                          "caterers",
                          "charitable_and_social_service_organizations_fundraising",
                          "chemicals_and_allied_products",
                          "child_care_services",
                          "childrens_and_infants_wear_stores",
                          "chiropodists_podiatrists",
                          "chiropractors",
                          "cigar_stores_and_stands",
                          "civic_social_fraternal_associations",
                          "cleaning_and_maintenance",
                          "clothing_rental",
                          "colleges_universities",
                          "commercial_equipment",
                          "commercial_footwear",
                          "commercial_photography_art_and_graphics",
                          "commuter_transport_and_ferries",
                          "computer_network_services",
                          "computer_programming",
                          "computer_repair",
                          "computer_software_stores",
                          "computers_peripherals_and_software",
                          "concrete_work_services",
                          "construction_materials",
                          "consulting_public_relations",
                          "correspondence_schools",
                          "cosmetic_stores",
                          "counseling_services",
                          "country_clubs",
                          "courier_services",
                          "court_costs",
                          "credit_reporting_agencies",
                          "cruise_lines",
                          "dairy_products_stores",
                          "dance_hall_studios_schools",
                          "dating_escort_services",
                          "dentists_orthodontists",
                          "department_stores",
                          "detective_agencies",
                          "digital_goods_applications",
                          "digital_goods_games",
                          "digital_goods_large_volume",
                          "digital_goods_media",
                          "direct_marketing_catalog_merchant",
                          "direct_marketing_combination_catalog_and_retail_merchant",
                          "direct_marketing_inbound_telemarketing",
                          "direct_marketing_insurance_services",
                          "direct_marketing_other",
                          "direct_marketing_outbound_telemarketing",
                          "direct_marketing_subscription",
                          "direct_marketing_travel",
                          "discount_stores",
                          "doctors",
                          "door_to_door_sales",
                          "drapery_window_covering_and_upholstery_stores",
                          "drinking_places",
                          "drug_stores_and_pharmacies",
                          "drugs_drug_proprietaries_and_druggist_sundries",
                          "dry_cleaners",
                          "durable_goods",
                          "duty_free_stores",
                          "eating_places_restaurants",
                          "educational_services",
                          "electric_razor_stores",
                          "electric_vehicle_charging",
                          "electrical_parts_and_equipment",
                          "electrical_services",
                          "electronics_repair_shops",
                          "electronics_stores",
                          "elementary_secondary_schools",
                          "emergency_services_gcas_visa_use_only",
                          "employment_temp_agencies",
                          "equipment_rental",
                          "exterminating_services",
                          "family_clothing_stores",
                          "fast_food_restaurants",
                          "financial_institutions",
                          "fines_government_administrative_entities",
                          "fireplace_fireplace_screens_and_accessories_stores",
                          "floor_covering_stores",
                          "florists",
                          "florists_supplies_nursery_stock_and_flowers",
                          "freezer_and_locker_meat_provisioners",
                          "fuel_dealers_non_automotive",
                          "funeral_services_crematories",
                          "furniture_home_furnishings_and_equipment_stores_except_appliances",
                          "furniture_repair_refinishing",
                          "furriers_and_fur_shops",
                          "general_services",
                          "gift_card_novelty_and_souvenir_shops",
                          "glass_paint_and_wallpaper_stores",
                          "glassware_crystal_stores",
                          "golf_courses_public",
                          "government_licensed_horse_dog_racing_us_region_only",
                          "government_licensed_online_casions_online_gambling_us_region_only",
                          "government_owned_lotteries_non_us_region",
                          "government_owned_lotteries_us_region_only",
                          "government_services",
                          "grocery_stores_supermarkets",
                          "hardware_equipment_and_supplies",
                          "hardware_stores",
                          "health_and_beauty_spas",
                          "hearing_aids_sales_and_supplies",
                          "heating_plumbing_a_c",
                          "hobby_toy_and_game_shops",
                          "home_supply_warehouse_stores",
                          "hospitals",
                          "hotels_motels_and_resorts",
                          "household_appliance_stores",
                          "industrial_supplies",
                          "information_retrieval_services",
                          "insurance_default",
                          "insurance_underwriting_premiums",
                          "intra_company_purchases",
                          "jewelry_stores_watches_clocks_and_silverware_stores",
                          "landscaping_services",
                          "laundries",
                          "laundry_cleaning_services",
                          "legal_services_attorneys",
                          "luggage_and_leather_goods_stores",
                          "lumber_building_materials_stores",
                          "manual_cash_disburse",
                          "marinas_service_and_supplies",
                          "marketplaces",
                          "masonry_stonework_and_plaster",
                          "massage_parlors",
                          "medical_and_dental_labs",
                          "medical_dental_ophthalmic_and_hospital_equipment_and_supplies",
                          "medical_services",
                          "membership_organizations",
                          "mens_and_boys_clothing_and_accessories_stores",
                          "mens_womens_clothing_stores",
                          "metal_service_centers",
                          "miscellaneous_apparel_and_accessory_shops",
                          "miscellaneous_auto_dealers",
                          "miscellaneous_business_services",
                          "miscellaneous_food_stores",
                          "miscellaneous_general_merchandise",
                          "miscellaneous_general_services",
                          "miscellaneous_home_furnishing_specialty_stores",
                          "miscellaneous_publishing_and_printing",
                          "miscellaneous_recreation_services",
                          "miscellaneous_repair_shops",
                          "miscellaneous_specialty_retail",
                          "mobile_home_dealers",
                          "motion_picture_theaters",
                          "motor_freight_carriers_and_trucking",
                          "motor_homes_dealers",
                          "motor_vehicle_supplies_and_new_parts",
                          "motorcycle_shops_and_dealers",
                          "motorcycle_shops_dealers",
                          "music_stores_musical_instruments_pianos_and_sheet_music",
                          "news_dealers_and_newsstands",
                          "non_fi_money_orders",
                          "non_fi_stored_value_card_purchase_load",
                          "nondurable_goods",
                          "nurseries_lawn_and_garden_supply_stores",
                          "nursing_personal_care",
                          "office_and_commercial_furniture",
                          "opticians_eyeglasses",
                          "optometrists_ophthalmologist",
                          "orthopedic_goods_prosthetic_devices",
                          "osteopaths",
                          "package_stores_beer_wine_and_liquor",
                          "paints_varnishes_and_supplies",
                          "parking_lots_garages",
                          "passenger_railways",
                          "pawn_shops",
                          "pet_shops_pet_food_and_supplies",
                          "petroleum_and_petroleum_products",
                          "photo_developing",
                          "photographic_photocopy_microfilm_equipment_and_supplies",
                          "photographic_studios",
                          "picture_video_production",
                          "piece_goods_notions_and_other_dry_goods",
                          "plumbing_heating_equipment_and_supplies",
                          "political_organizations",
                          "postal_services_government_only",
                          "precious_stones_and_metals_watches_and_jewelry",
                          "professional_services",
                          "public_warehousing_and_storage",
                          "quick_copy_repro_and_blueprint",
                          "railroads",
                          "real_estate_agents_and_managers_rentals",
                          "record_stores",
                          "recreational_vehicle_rentals",
                          "religious_goods_stores",
                          "religious_organizations",
                          "roofing_siding_sheet_metal",
                          "secretarial_support_services",
                          "security_brokers_dealers",
                          "service_stations",
                          "sewing_needlework_fabric_and_piece_goods_stores",
                          "shoe_repair_hat_cleaning",
                          "shoe_stores",
                          "small_appliance_repair",
                          "snowmobile_dealers",
                          "special_trade_services",
                          "specialty_cleaning",
                          "sporting_goods_stores",
                          "sporting_recreation_camps",
                          "sports_and_riding_apparel_stores",
                          "sports_clubs_fields",
                          "stamp_and_coin_stores",
                          "stationary_office_supplies_printing_and_writing_paper",
                          "stationery_stores_office_and_school_supply_stores",
                          "swimming_pools_sales",
                          "t_ui_travel_germany",
                          "tailors_alterations",
                          "tax_payments_government_agencies",
                          "tax_preparation_services",
                          "taxicabs_limousines",
                          "telecommunication_equipment_and_telephone_sales",
                          "telecommunication_services",
                          "telegraph_services",
                          "tent_and_awning_shops",
                          "testing_laboratories",
                          "theatrical_ticket_agencies",
                          "timeshares",
                          "tire_retreading_and_repair",
                          "tolls_bridge_fees",
                          "tourist_attractions_and_exhibits",
                          "towing_services",
                          "trailer_parks_campgrounds",
                          "transportation_services",
                          "travel_agencies_tour_operators",
                          "truck_stop_iteration",
                          "truck_utility_trailer_rentals",
                          "typesetting_plate_making_and_related_services",
                          "typewriter_stores",
                          "u_s_federal_government_agencies_or_departments",
                          "uniforms_commercial_clothing",
                          "used_merchandise_and_secondhand_stores",
                          "utilities",
                          "variety_stores",
                          "veterinary_services",
                          "video_amusement_game_supplies",
                          "video_game_arcades",
                          "video_tape_rental_stores",
                          "vocational_trade_schools",
                          "watch_jewelry_repair",
                          "welding_repair",
                          "wholesale_clubs",
                          "wig_and_toupee_stores",
                          "wires_money_orders",
                          "womens_accessory_and_specialty_shops",
                          "womens_ready_to_wear_stores",
                          "wrecking_and_salvage_yards"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "city": {
                        "description": "City where the seller is located",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "country": {
                        "description": "Country where the seller is located",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "name": {
                        "description": "Name of the seller",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "network_id": {
                        "description": "Identifier assigned to the seller by the card network. Different card networks may assign different network_id fields to the same merchant.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "postal_code": {
                        "description": "Postal code where the seller is located",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "state": {
                        "description": "State where the seller is located",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "terminal_id": {
                        "description": "An ID assigned by the seller to the location of the sale.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "url": {
                        "description": "URL provided by the merchant on a 3DS request",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "merchant_data_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "category",
                      "city",
                      "country",
                      "name",
                      "network_id",
                      "postal_code",
                      "state",
                      "terminal_id",
                      "url"
                    ]
                  },
                  "purchase_details": {
                    "description": "Additional purchase information that is optionally provided by the merchant.",
                    "properties": {
                      "fleet": {
                        "description": "Fleet-specific information for transactions using Fleet cards.",
                        "properties": {
                          "cardholder_prompt_data": {
                            "description": "Answers to prompts presented to the cardholder at the point of sale. Prompted fields vary depending on the configuration of your physical fleet cards. Typical points of sale support only numeric entry.",
                            "properties": {
                              "driver_id": {
                                "description": "Driver ID.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "odometer": {
                                "description": "Odometer reading.",
                                "type": "integer"
                              },
                              "unspecified_id": {
                                "description": "An alphanumeric ID. This field is used when a vehicle ID, driver ID, or generic ID is entered by the cardholder, but the merchant or card network did not specify the prompt type.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "user_id": {
                                "description": "User ID.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "vehicle_number": {
                                "description": "Vehicle number.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "fleet_cardholder_prompt_data_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "driver_id",
                              "odometer",
                              "unspecified_id",
                              "user_id",
                              "vehicle_number"
                            ]
                          },
                          "purchase_type": {
                            "description": "The type of purchase. One of `fuel_purchase`, `non_fuel_purchase`, or `fuel_and_non_fuel_purchase`.",
                            "enum": [
                              "fuel_and_non_fuel_purchase",
                              "fuel_purchase",
                              "non_fuel_purchase"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "reported_breakdown": {
                            "description": "More information about the total amount. This information is not guaranteed to be accurate as some merchants may provide unreliable data.",
                            "properties": {
                              "fuel": {
                                "description": "Breakdown of fuel portion of the purchase.",
                                "properties": {
                                  "gross_amount_decimal": {
                                    "description": "Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes.",
                                    "format": "decimal",
                                    "type": "string"
                                  }
                                },
                                "title": "fleet_reported_breakdown_fuel_specs",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "gross_amount_decimal"
                                ]
                              },
                              "non_fuel": {
                                "description": "Breakdown of non-fuel portion of the purchase.",
                                "properties": {
                                  "gross_amount_decimal": {
                                    "description": "Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes.",
                                    "format": "decimal",
                                    "type": "string"
                                  }
                                },
                                "title": "fleet_reported_breakdown_non_fuel_specs",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "gross_amount_decimal"
                                ]
                              },
                              "tax": {
                                "description": "Information about tax included in this transaction.",
                                "properties": {
                                  "local_amount_decimal": {
                                    "description": "Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax.",
                                    "format": "decimal",
                                    "type": "string"
                                  },
                                  "national_amount_decimal": {
                                    "description": "Amount of national Sales Tax or VAT included in the transaction amount. Null if not reported by merchant or not subject to tax.",
                                    "format": "decimal",
                                    "type": "string"
                                  }
                                },
                                "title": "fleet_reported_breakdown_tax_specs",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "local_amount_decimal",
                                  "national_amount_decimal"
                                ]
                              }
                            },
                            "title": "fleet_reported_breakdown_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "fuel",
                              "non_fuel",
                              "tax"
                            ]
                          },
                          "service_type": {
                            "description": "The type of fuel service. One of `non_fuel_transaction`, `full_service`, or `self_service`.",
                            "enum": [
                              "full_service",
                              "non_fuel_transaction",
                              "self_service"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "fleet_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "cardholder_prompt_data",
                          "purchase_type",
                          "reported_breakdown",
                          "service_type"
                        ]
                      },
                      "flight": {
                        "description": "Information about the flight that was purchased with this transaction.",
                        "properties": {
                          "departure_at": {
                            "description": "The time that the flight departed.",
                            "format": "unix-time",
                            "type": "integer"
                          },
                          "passenger_name": {
                            "description": "The name of the passenger.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "refundable": {
                            "description": "Whether the ticket is refundable.",
                            "type": "boolean"
                          },
                          "segments": {
                            "description": "The legs of the trip.",
                            "items": {
                              "properties": {
                                "arrival_airport_code": {
                                  "description": "The three-letter IATA airport code of the flight's destination.",
                                  "maxLength": 3,
                                  "type": "string"
                                },
                                "carrier": {
                                  "description": "The airline carrier code.",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "departure_airport_code": {
                                  "description": "The three-letter IATA airport code that the flight departed from.",
                                  "maxLength": 3,
                                  "type": "string"
                                },
                                "flight_number": {
                                  "description": "The flight number.",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "service_class": {
                                  "description": "The flight's service class.",
                                  "maxLength": 5000,
                                  "type": "string"
                                },
                                "stopover_allowed": {
                                  "description": "Whether a stopover is allowed on this flight.",
                                  "type": "boolean"
                                }
                              },
                              "title": "flight_segment_specs",
                              "type": "object",
                              "x-stripeMostCommon": [
                                "arrival_airport_code",
                                "carrier",
                                "departure_airport_code",
                                "flight_number",
                                "service_class",
                                "stopover_allowed"
                              ]
                            },
                            "type": "array"
                          },
                          "travel_agency": {
                            "description": "The travel agency that issued the ticket.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "flight_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "departure_at",
                          "passenger_name",
                          "refundable",
                          "segments",
                          "travel_agency"
                        ]
                      },
                      "fuel": {
                        "description": "Information about fuel that was purchased with this transaction.",
                        "properties": {
                          "industry_product_code": {
                            "description": "[Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "quantity_decimal": {
                            "description": "The quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places.",
                            "format": "decimal",
                            "type": "string"
                          },
                          "type": {
                            "description": "The type of fuel that was purchased. One of `diesel`, `unleaded_plus`, `unleaded_regular`, `unleaded_super`, or `other`.",
                            "enum": [
                              "diesel",
                              "other",
                              "unleaded_plus",
                              "unleaded_regular",
                              "unleaded_super"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "unit": {
                            "description": "The units for `quantity_decimal`. One of `charging_minute`, `imperial_gallon`, `kilogram`, `kilowatt_hour`, `liter`, `pound`, `us_gallon`, or `other`.",
                            "enum": [
                              "charging_minute",
                              "imperial_gallon",
                              "kilogram",
                              "kilowatt_hour",
                              "liter",
                              "other",
                              "pound",
                              "us_gallon"
                            ],
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "unit_cost_decimal": {
                            "description": "The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.",
                            "format": "decimal",
                            "type": "string"
                          }
                        },
                        "title": "fuel_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "industry_product_code",
                          "quantity_decimal",
                          "type",
                          "unit",
                          "unit_cost_decimal"
                        ]
                      },
                      "lodging": {
                        "description": "Information about lodging that was purchased with this transaction.",
                        "properties": {
                          "check_in_at": {
                            "description": "The time of checking into the lodging.",
                            "format": "unix-time",
                            "type": "integer"
                          },
                          "nights": {
                            "description": "The number of nights stayed at the lodging.",
                            "type": "integer"
                          }
                        },
                        "title": "lodging_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "check_in_at",
                          "nights"
                        ]
                      },
                      "receipt": {
                        "description": "The line items in the purchase.",
                        "items": {
                          "properties": {
                            "description": {
                              "maxLength": 26,
                              "type": "string"
                            },
                            "quantity": {
                              "format": "decimal",
                              "type": "string"
                            },
                            "total": {
                              "type": "integer"
                            },
                            "unit_cost": {
                              "type": "integer"
                            }
                          },
                          "title": "receipt_specs",
                          "type": "object",
                          "x-stripeMostCommon": [
                            "description",
                            "quantity",
                            "total",
                            "unit_cost"
                          ]
                        },
                        "type": "array"
                      },
                      "reference": {
                        "description": "A merchant-specific order number.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "purchase_details_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "fleet",
                      "flight",
                      "fuel",
                      "lodging",
                      "receipt",
                      "reference"
                    ]
                  }
                },
                "required": [
                  "amount",
                  "card"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "card",
                  "currency"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.transaction"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a test-mode unlinked refund"
      }
    },
    "/v1/test_helpers/issuing/transactions/{transaction}/refund": {
      "post": {
        "description": "<p>Refund a test-mode Transaction.</p>",
        "operationId": "PostTestHelpersIssuingTransactionsTransactionRefund",
        "parameters": [
          {
            "in": "path",
            "name": "transaction",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "refund_amount": {
                    "description": "The total amount to attempt to refund. This amount is in the provided currency, or defaults to the cards currency, and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
                    "type": "integer"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "refund_amount"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/issuing.transaction"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Refund a test-mode transaction"
      }
    },
    "/v1/test_helpers/refunds/{refund}/expire": {
      "post": {
        "description": "<p>Expire a refund with a status of <code>requires_action</code>.</p>",
        "operationId": "PostTestHelpersRefundsRefundExpire",
        "parameters": [
          {
            "in": "path",
            "name": "refund",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/refund"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Expire a pending refund."
      }
    },
    "/v1/test_helpers/terminal/readers/{reader}/present_payment_method": {
      "post": {
        "description": "<p>Presents a payment method on a simulated reader. Can be used to simulate accepting a payment, saving a card or refunding a transaction.</p>",
        "operationId": "PostTestHelpersTerminalReadersReaderPresentPaymentMethod",
        "parameters": [
          {
            "in": "path",
            "name": "reader",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "card_present": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "interac_present": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount_tip": {
                    "description": "Simulated on-reader tip amount.",
                    "type": "integer"
                  },
                  "card_present": {
                    "description": "Simulated data for the card_present payment method.",
                    "properties": {
                      "number": {
                        "description": "The card number, as a string without any separators.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "card_present",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "number"
                    ]
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "interac_present": {
                    "description": "Simulated data for the interac_present payment method.",
                    "properties": {
                      "number": {
                        "description": "Card Number",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "interac_present",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "number"
                    ]
                  },
                  "type": {
                    "description": "Simulated payment type.",
                    "enum": [
                      "card_present",
                      "interac_present"
                    ],
                    "type": "string",
                    "x-stripeBypassValidation": true
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "card_present",
                  "type"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/terminal.reader"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Simulate presenting a payment method"
      }
    },
    "/v1/test_helpers/test_clocks": {
      "get": {
        "description": "<p>Returns a list of your test clocks.</p>",
        "operationId": "GetTestHelpersTestClocks",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/test_helpers.test_clock"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/test_helpers/test_clocks",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "BillingClocksResourceBillingClockList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all test clocks"
      },
      "post": {
        "description": "<p>Creates a new test clock that can be attached to new customers and quotes.</p>",
        "operationId": "PostTestHelpersTestClocks",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "frozen_time": {
                    "description": "The initial frozen time for this test clock.",
                    "format": "unix-time",
                    "type": "integer"
                  },
                  "name": {
                    "description": "The name for this test clock.",
                    "maxLength": 300,
                    "type": "string"
                  }
                },
                "required": [
                  "frozen_time"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "frozen_time",
                  "name"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/test_helpers.test_clock"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a test clock"
      }
    },
    "/v1/test_helpers/test_clocks/{test_clock}": {
      "delete": {
        "description": "<p>Deletes a test clock.</p>",
        "operationId": "DeleteTestHelpersTestClocksTestClock",
        "parameters": [
          {
            "in": "path",
            "name": "test_clock",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/deleted_test_helpers.test_clock"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Delete a test clock"
      },
      "get": {
        "description": "<p>Retrieves a test clock.</p>",
        "operationId": "GetTestHelpersTestClocksTestClock",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "test_clock",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/test_helpers.test_clock"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a test clock"
      }
    },
    "/v1/test_helpers/test_clocks/{test_clock}/advance": {
      "post": {
        "description": "<p>Starts advancing a test clock to a specified time in the future. Advancement is done when status changes to <code>Ready</code>.</p>",
        "operationId": "PostTestHelpersTestClocksTestClockAdvance",
        "parameters": [
          {
            "in": "path",
            "name": "test_clock",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "frozen_time": {
                    "description": "The time to advance the test clock. Must be after the test clock's current frozen time. Cannot be more than two intervals in the future from the shortest subscription in this test clock. If there are no subscriptions in this test clock, it cannot be more than two years in the future.",
                    "format": "unix-time",
                    "type": "integer"
                  }
                },
                "required": [
                  "frozen_time"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "frozen_time"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/test_helpers.test_clock"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Advance a test clock"
      }
    },
    "/v1/test_helpers/treasury/inbound_transfers/{id}/fail": {
      "post": {
        "description": "<p>Transitions a test mode created InboundTransfer to the <code>failed</code> status. The InboundTransfer must already be in the <code>processing</code> state.</p>",
        "operationId": "PostTestHelpersTreasuryInboundTransfersIdFail",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "failure_details": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "failure_details": {
                    "description": "Details about a failed InboundTransfer.",
                    "properties": {
                      "code": {
                        "description": "Reason for the failure.",
                        "enum": [
                          "account_closed",
                          "account_frozen",
                          "bank_account_restricted",
                          "bank_ownership_changed",
                          "debit_not_authorized",
                          "incorrect_account_holder_address",
                          "incorrect_account_holder_name",
                          "incorrect_account_holder_tax_id",
                          "insufficient_funds",
                          "invalid_account_number",
                          "invalid_currency",
                          "no_account",
                          "other"
                        ],
                        "type": "string"
                      }
                    },
                    "title": "failure_details_param",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "code",
                      "network_details"
                    ]
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "failure_details"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.inbound_transfer"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Test mode: Fail an InboundTransfer"
      }
    },
    "/v1/test_helpers/treasury/inbound_transfers/{id}/return": {
      "post": {
        "description": "<p>Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in the <code>succeeded</code> state.</p>",
        "operationId": "PostTestHelpersTreasuryInboundTransfersIdReturn",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.inbound_transfer"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Test mode: Return an InboundTransfer"
      }
    },
    "/v1/test_helpers/treasury/inbound_transfers/{id}/succeed": {
      "post": {
        "description": "<p>Transitions a test mode created InboundTransfer to the <code>succeeded</code> status. The InboundTransfer must already be in the <code>processing</code> state.</p>",
        "operationId": "PostTestHelpersTreasuryInboundTransfersIdSucceed",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.inbound_transfer"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Test mode: Succeed an InboundTransfer"
      }
    },
    "/v1/test_helpers/treasury/outbound_payments/{id}": {
      "post": {
        "description": "<p>Updates a test mode created OutboundPayment with tracking details. The OutboundPayment must not be cancelable, and cannot be in the <code>canceled</code> or <code>failed</code> states.</p>",
        "operationId": "PostTestHelpersTreasuryOutboundPaymentsId",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "tracking_details": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "tracking_details": {
                    "description": "Details about network-specific tracking information.",
                    "properties": {
                      "ach": {
                        "description": "ACH network tracking details.",
                        "properties": {
                          "trace_id": {
                            "description": "ACH trace ID for funds sent over the `ach` network.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "trace_id"
                        ],
                        "title": "ach_tracking_details_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "trace_id"
                        ]
                      },
                      "type": {
                        "description": "The US bank account network used to send funds.",
                        "enum": [
                          "ach",
                          "us_domestic_wire"
                        ],
                        "type": "string"
                      },
                      "us_domestic_wire": {
                        "description": "US domestic wire network tracking details.",
                        "properties": {
                          "chips": {
                            "description": "CHIPS System Sequence Number (SSN) for funds sent over the `us_domestic_wire` network.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "imad": {
                            "description": "IMAD for funds sent over the `us_domestic_wire` network.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "omad": {
                            "description": "OMAD for funds sent over the `us_domestic_wire` network.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "us_domestic_wire_tracking_details_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "chips",
                          "imad",
                          "omad"
                        ]
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "title": "tracking_details_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "ach",
                      "type",
                      "us_domestic_wire"
                    ]
                  }
                },
                "required": [
                  "tracking_details"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "tracking_details"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.outbound_payment"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Test mode: Update an OutboundPayment"
      }
    },
    "/v1/test_helpers/treasury/outbound_payments/{id}/fail": {
      "post": {
        "description": "<p>Transitions a test mode created OutboundPayment to the <code>failed</code> status. The OutboundPayment must already be in the <code>processing</code> state.</p>",
        "operationId": "PostTestHelpersTreasuryOutboundPaymentsIdFail",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.outbound_payment"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Test mode: Fail an OutboundPayment"
      }
    },
    "/v1/test_helpers/treasury/outbound_payments/{id}/post": {
      "post": {
        "description": "<p>Transitions a test mode created OutboundPayment to the <code>posted</code> status. The OutboundPayment must already be in the <code>processing</code> state.</p>",
        "operationId": "PostTestHelpersTreasuryOutboundPaymentsIdPost",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.outbound_payment"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Test mode: Post an OutboundPayment"
      }
    },
    "/v1/test_helpers/treasury/outbound_payments/{id}/return": {
      "post": {
        "description": "<p>Transitions a test mode created OutboundPayment to the <code>returned</code> status. The OutboundPayment must already be in the <code>processing</code> state.</p>",
        "operationId": "PostTestHelpersTreasuryOutboundPaymentsIdReturn",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "returned_details": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "returned_details": {
                    "description": "Optional hash to set the return code.",
                    "properties": {
                      "code": {
                        "description": "The return code to be set on the OutboundPayment object.",
                        "enum": [
                          "account_closed",
                          "account_frozen",
                          "bank_account_restricted",
                          "bank_ownership_changed",
                          "declined",
                          "incorrect_account_holder_name",
                          "invalid_account_number",
                          "invalid_currency",
                          "no_account",
                          "other"
                        ],
                        "type": "string"
                      }
                    },
                    "title": "returned_details_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "code"
                    ]
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "returned_details"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.outbound_payment"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Test mode: Return an OutboundPayment"
      }
    },
    "/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}": {
      "post": {
        "description": "<p>Updates a test mode created OutboundTransfer with tracking details. The OutboundTransfer must not be cancelable, and cannot be in the <code>canceled</code> or <code>failed</code> states.</p>",
        "operationId": "PostTestHelpersTreasuryOutboundTransfersOutboundTransfer",
        "parameters": [
          {
            "in": "path",
            "name": "outbound_transfer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "tracking_details": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "tracking_details": {
                    "description": "Details about network-specific tracking information.",
                    "properties": {
                      "ach": {
                        "description": "ACH network tracking details.",
                        "properties": {
                          "trace_id": {
                            "description": "ACH trace ID for funds sent over the `ach` network.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "trace_id"
                        ],
                        "title": "ach_tracking_details_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "trace_id"
                        ]
                      },
                      "type": {
                        "description": "The US bank account network used to send funds.",
                        "enum": [
                          "ach",
                          "us_domestic_wire"
                        ],
                        "type": "string"
                      },
                      "us_domestic_wire": {
                        "description": "US domestic wire network tracking details.",
                        "properties": {
                          "chips": {
                            "description": "CHIPS System Sequence Number (SSN) for funds sent over the `us_domestic_wire` network.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "imad": {
                            "description": "IMAD for funds sent over the `us_domestic_wire` network.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "omad": {
                            "description": "OMAD for funds sent over the `us_domestic_wire` network.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "us_domestic_wire_tracking_details_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "chips",
                          "imad",
                          "omad"
                        ]
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "title": "tracking_details_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "ach",
                      "type",
                      "us_domestic_wire"
                    ]
                  }
                },
                "required": [
                  "tracking_details"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "tracking_details"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.outbound_transfer"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Test mode: Update an OutboundTransfer"
      }
    },
    "/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/fail": {
      "post": {
        "description": "<p>Transitions a test mode created OutboundTransfer to the <code>failed</code> status. The OutboundTransfer must already be in the <code>processing</code> state.</p>",
        "operationId": "PostTestHelpersTreasuryOutboundTransfersOutboundTransferFail",
        "parameters": [
          {
            "in": "path",
            "name": "outbound_transfer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.outbound_transfer"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Test mode: Fail an OutboundTransfer"
      }
    },
    "/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/post": {
      "post": {
        "description": "<p>Transitions a test mode created OutboundTransfer to the <code>posted</code> status. The OutboundTransfer must already be in the <code>processing</code> state.</p>",
        "operationId": "PostTestHelpersTreasuryOutboundTransfersOutboundTransferPost",
        "parameters": [
          {
            "in": "path",
            "name": "outbound_transfer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.outbound_transfer"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Test mode: Post an OutboundTransfer"
      }
    },
    "/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/return": {
      "post": {
        "description": "<p>Transitions a test mode created OutboundTransfer to the <code>returned</code> status. The OutboundTransfer must already be in the <code>processing</code> state.</p>",
        "operationId": "PostTestHelpersTreasuryOutboundTransfersOutboundTransferReturn",
        "parameters": [
          {
            "in": "path",
            "name": "outbound_transfer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "returned_details": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "returned_details": {
                    "description": "Details about a returned OutboundTransfer.",
                    "properties": {
                      "code": {
                        "description": "Reason for the return.",
                        "enum": [
                          "account_closed",
                          "account_frozen",
                          "bank_account_restricted",
                          "bank_ownership_changed",
                          "declined",
                          "incorrect_account_holder_name",
                          "invalid_account_number",
                          "invalid_currency",
                          "no_account",
                          "other"
                        ],
                        "type": "string"
                      }
                    },
                    "title": "returned_details_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "code"
                    ]
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "returned_details"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.outbound_transfer"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Test mode: Return an OutboundTransfer"
      }
    },
    "/v1/test_helpers/treasury/received_credits": {
      "post": {
        "description": "<p>Use this endpoint to simulate a test mode ReceivedCredit initiated by a third party. In live mode, you can’t directly create ReceivedCredits initiated by third parties.</p>",
        "operationId": "PostTestHelpersTreasuryReceivedCredits",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "initiating_payment_method_details": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "Amount (in cents) to be transferred.",
                    "type": "integer"
                  },
                  "currency": {
                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                    "type": "string"
                  },
                  "description": {
                    "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "financial_account": {
                    "description": "The FinancialAccount to send funds to.",
                    "type": "string"
                  },
                  "initiating_payment_method_details": {
                    "description": "Initiating payment method details for the object.",
                    "properties": {
                      "type": {
                        "description": "The source type.",
                        "enum": [
                          "us_bank_account"
                        ],
                        "type": "string"
                      },
                      "us_bank_account": {
                        "description": "Optional fields for `us_bank_account`.",
                        "properties": {
                          "account_holder_name": {
                            "description": "The bank account holder's name.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "account_number": {
                            "description": "The bank account number.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "routing_number": {
                            "description": "The bank account's routing number.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "us_bank_account_source_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_holder_name",
                          "account_number",
                          "routing_number"
                        ]
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "title": "source_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "type",
                      "us_bank_account"
                    ]
                  },
                  "network": {
                    "description": "Specifies the network rails to be used. If not set, will default to the PaymentMethod's preferred network. See the [docs](https://stripe.com/docs/treasury/money-movement/timelines) to learn more about money movement timelines for each network type.",
                    "enum": [
                      "ach",
                      "us_domestic_wire"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "amount",
                  "currency",
                  "financial_account",
                  "network"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "currency",
                  "description",
                  "financial_account",
                  "initiating_payment_method_details",
                  "network"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.received_credit"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Test mode: Create a ReceivedCredit"
      }
    },
    "/v1/test_helpers/treasury/received_debits": {
      "post": {
        "description": "<p>Use this endpoint to simulate a test mode ReceivedDebit initiated by a third party. In live mode, you can’t directly create ReceivedDebits initiated by third parties.</p>",
        "operationId": "PostTestHelpersTreasuryReceivedDebits",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "initiating_payment_method_details": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "Amount (in cents) to be transferred.",
                    "type": "integer"
                  },
                  "currency": {
                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                    "type": "string"
                  },
                  "description": {
                    "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "financial_account": {
                    "description": "The FinancialAccount to pull funds from.",
                    "type": "string"
                  },
                  "initiating_payment_method_details": {
                    "description": "Initiating payment method details for the object.",
                    "properties": {
                      "type": {
                        "description": "The source type.",
                        "enum": [
                          "us_bank_account"
                        ],
                        "type": "string"
                      },
                      "us_bank_account": {
                        "description": "Optional fields for `us_bank_account`.",
                        "properties": {
                          "account_holder_name": {
                            "description": "The bank account holder's name.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "account_number": {
                            "description": "The bank account number.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "routing_number": {
                            "description": "The bank account's routing number.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "us_bank_account_source_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_holder_name",
                          "account_number",
                          "routing_number"
                        ]
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "title": "source_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "type",
                      "us_bank_account"
                    ]
                  },
                  "network": {
                    "description": "Specifies the network rails to be used. If not set, will default to the PaymentMethod's preferred network. See the [docs](https://stripe.com/docs/treasury/money-movement/timelines) to learn more about money movement timelines for each network type.",
                    "enum": [
                      "ach"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "amount",
                  "currency",
                  "financial_account",
                  "network"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "currency",
                  "description",
                  "financial_account",
                  "initiating_payment_method_details",
                  "network"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.received_debit"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Test mode: Create a ReceivedDebit"
      }
    },
    "/v1/tokens": {
      "post": {
        "description": "<p>Creates a single-use token that represents a bank account’s details.\nYou can use this token with any v1 API method in place of a bank account dictionary. You can only use this token once. To do so, attach it to a <a href=\"#accounts\">connected account</a> where <a href=\"/api/accounts/object#account_object-controller-requirement_collection\">controller.requirement_collection</a> is <code>application</code>, which includes Custom accounts.</p>",
        "operationId": "PostTokens",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "account": {
                  "explode": true,
                  "style": "deepObject"
                },
                "bank_account": {
                  "explode": true,
                  "style": "deepObject"
                },
                "card": {
                  "explode": true,
                  "style": "deepObject"
                },
                "cvc_update": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "person": {
                  "explode": true,
                  "style": "deepObject"
                },
                "pii": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "account": {
                    "description": "Information for the account this token represents.",
                    "properties": {
                      "business_type": {
                        "description": "The business type.",
                        "enum": [
                          "company",
                          "government_entity",
                          "individual",
                          "non_profit"
                        ],
                        "type": "string",
                        "x-stripeBypassValidation": true
                      },
                      "company": {
                        "description": "Information about the company or business.",
                        "properties": {
                          "address": {
                            "description": "The company's primary address.",
                            "properties": {
                              "city": {
                                "description": "City, district, suburb, town, or village.",
                                "maxLength": 100,
                                "type": "string"
                              },
                              "country": {
                                "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line1": {
                                "description": "Address line 1 (e.g., street, PO Box, or company name).",
                                "maxLength": 200,
                                "type": "string"
                              },
                              "line2": {
                                "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                                "maxLength": 200,
                                "type": "string"
                              },
                              "postal_code": {
                                "description": "ZIP or postal code.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "state": {
                                "description": "State, county, province, or region.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "legal_entity_and_kyc_address_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "city",
                              "country",
                              "line1",
                              "line2",
                              "postal_code",
                              "state"
                            ]
                          },
                          "address_kana": {
                            "description": "The Kana variation of the company's primary address (Japan only).",
                            "properties": {
                              "city": {
                                "description": "City or ward.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "country": {
                                "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line1": {
                                "description": "Block or building number.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line2": {
                                "description": "Building details.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "postal_code": {
                                "description": "Postal code.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "state": {
                                "description": "Prefecture.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "town": {
                                "description": "Town or cho-me.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "japan_address_kana_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "city",
                              "country",
                              "db_code",
                              "line1",
                              "line2",
                              "postal_code",
                              "state",
                              "town"
                            ]
                          },
                          "address_kanji": {
                            "description": "The Kanji variation of the company's primary address (Japan only).",
                            "properties": {
                              "city": {
                                "description": "City or ward.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "country": {
                                "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line1": {
                                "description": "Block or building number.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line2": {
                                "description": "Building details.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "postal_code": {
                                "description": "Postal code.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "state": {
                                "description": "Prefecture.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "town": {
                                "description": "Town or cho-me.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "japan_address_kanji_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "city",
                              "country",
                              "db_code",
                              "line1",
                              "line2",
                              "postal_code",
                              "state",
                              "town"
                            ]
                          },
                          "directors_provided": {
                            "description": "Whether the company's directors have been provided. Set this Boolean to `true` after creating all the company's directors with [the Persons API](/api/persons) for accounts with a `relationship.director` requirement. This value is not automatically set to `true` after creating directors, so it needs to be updated to indicate all directors have been provided.",
                            "type": "boolean"
                          },
                          "executives_provided": {
                            "description": "Whether the company's executives have been provided. Set this Boolean to `true` after creating all the company's executives with [the Persons API](/api/persons) for accounts with a `relationship.executive` requirement.",
                            "type": "boolean"
                          },
                          "export_license_id": {
                            "description": "The export license ID number of the company, also referred as Import Export Code (India only).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "export_purpose_code": {
                            "description": "The purpose code to use for export transactions (India only).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "name": {
                            "description": "The company's legal name.",
                            "maxLength": 100,
                            "type": "string"
                          },
                          "name_kana": {
                            "description": "The Kana variation of the company's legal name (Japan only).",
                            "maxLength": 100,
                            "type": "string"
                          },
                          "name_kanji": {
                            "description": "The Kanji variation of the company's legal name (Japan only).",
                            "maxLength": 100,
                            "type": "string"
                          },
                          "owners_provided": {
                            "description": "Whether the company's owners have been provided. Set this Boolean to `true` after creating all the company's owners with [the Persons API](/api/persons) for accounts with a `relationship.owner` requirement.",
                            "type": "boolean"
                          },
                          "ownership_declaration": {
                            "description": "This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.",
                            "properties": {
                              "date": {
                                "description": "The Unix timestamp marking when the beneficial owner attestation was made.",
                                "format": "unix-time",
                                "type": "integer"
                              },
                              "ip": {
                                "description": "The IP address from which the beneficial owner attestation was made.",
                                "type": "string"
                              },
                              "user_agent": {
                                "description": "The user agent of the browser from which the beneficial owner attestation was made.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "company_ownership_declaration",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "date",
                              "ip",
                              "user_agent"
                            ]
                          },
                          "ownership_declaration_shown_and_signed": {
                            "description": "Whether the user described by the data in the token has been shown the Ownership Declaration and indicated that it is correct.",
                            "type": "boolean"
                          },
                          "phone": {
                            "description": "The company's phone number (used for verification).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "registration_number": {
                            "description": "The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "structure": {
                            "description": "The category identifying the legal structure of the company or legal entity. See [Business structure](/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value.",
                            "enum": [
                              "",
                              "free_zone_establishment",
                              "free_zone_llc",
                              "government_instrumentality",
                              "governmental_unit",
                              "incorporated_non_profit",
                              "incorporated_partnership",
                              "limited_liability_partnership",
                              "llc",
                              "multi_member_llc",
                              "private_company",
                              "private_corporation",
                              "private_partnership",
                              "public_company",
                              "public_corporation",
                              "public_partnership",
                              "registered_charity",
                              "single_member_llc",
                              "sole_establishment",
                              "sole_proprietorship",
                              "tax_exempt_government_instrumentality",
                              "unincorporated_association",
                              "unincorporated_non_profit",
                              "unincorporated_partnership"
                            ],
                            "type": "string",
                            "x-stripeBypassValidation": true
                          },
                          "tax_id": {
                            "description": "The business ID number of the company, as appropriate for the company’s country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.)",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "tax_id_registrar": {
                            "description": "The jurisdiction in which the `tax_id` is registered (Germany-based companies only).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "vat_id": {
                            "description": "The VAT number of the company.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "verification": {
                            "description": "Information on the verification state of the company.",
                            "properties": {
                              "document": {
                                "description": "A document verifying the business.",
                                "properties": {
                                  "back": {
                                    "description": "The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                                    "maxLength": 500,
                                    "type": "string"
                                  },
                                  "front": {
                                    "description": "The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                                    "maxLength": 500,
                                    "type": "string"
                                  }
                                },
                                "title": "verification_document_specs",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "back",
                                  "front"
                                ]
                              }
                            },
                            "title": "verification_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "document"
                            ]
                          }
                        },
                        "title": "connect_js_account_token_company_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "address",
                          "address_kana",
                          "address_kanji",
                          "contact_point_verification_address",
                          "cross_border_transaction_classifications",
                          "directors_provided",
                          "executives_provided",
                          "export_license_id",
                          "export_purpose_code",
                          "fiscal_code",
                          "invoicing_recipient_code",
                          "name",
                          "name_kana",
                          "name_kanji",
                          "owners_provided",
                          "ownership_declaration",
                          "ownership_declaration_shown_and_signed",
                          "ownership_exemption_reason",
                          "pan",
                          "phone",
                          "registered_email",
                          "registration_date",
                          "registration_number",
                          "stock_data",
                          "structure",
                          "tax_deduction_account_number",
                          "tax_id",
                          "tax_id_registrar",
                          "vat_id",
                          "vat_registration_status",
                          "verification"
                        ]
                      },
                      "individual": {
                        "description": "Information about the person represented by the account.",
                        "properties": {
                          "address": {
                            "description": "The individual's primary address.",
                            "properties": {
                              "city": {
                                "description": "City, district, suburb, town, or village.",
                                "maxLength": 100,
                                "type": "string"
                              },
                              "country": {
                                "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line1": {
                                "description": "Address line 1 (e.g., street, PO Box, or company name).",
                                "maxLength": 200,
                                "type": "string"
                              },
                              "line2": {
                                "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                                "maxLength": 200,
                                "type": "string"
                              },
                              "postal_code": {
                                "description": "ZIP or postal code.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "state": {
                                "description": "State, county, province, or region.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "address_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "city",
                              "country",
                              "line1",
                              "line2",
                              "postal_code",
                              "state"
                            ]
                          },
                          "address_kana": {
                            "description": "The Kana variation of the individual's primary address (Japan only).",
                            "properties": {
                              "city": {
                                "description": "City or ward.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "country": {
                                "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line1": {
                                "description": "Block or building number.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line2": {
                                "description": "Building details.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "postal_code": {
                                "description": "Postal code.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "state": {
                                "description": "Prefecture.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "town": {
                                "description": "Town or cho-me.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "japan_address_kana_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "city",
                              "country",
                              "db_code",
                              "line1",
                              "line2",
                              "postal_code",
                              "state",
                              "town"
                            ]
                          },
                          "address_kanji": {
                            "description": "The Kanji variation of the individual's primary address (Japan only).",
                            "properties": {
                              "city": {
                                "description": "City or ward.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "country": {
                                "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line1": {
                                "description": "Block or building number.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line2": {
                                "description": "Building details.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "postal_code": {
                                "description": "Postal code.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "state": {
                                "description": "Prefecture.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "town": {
                                "description": "Town or cho-me.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "japan_address_kanji_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "city",
                              "country",
                              "db_code",
                              "line1",
                              "line2",
                              "postal_code",
                              "state",
                              "town"
                            ]
                          },
                          "dob": {
                            "anyOf": [
                              {
                                "properties": {
                                  "day": {
                                    "description": "The day of birth, between 1 and 31.",
                                    "type": "integer"
                                  },
                                  "month": {
                                    "description": "The month of birth, between 1 and 12.",
                                    "type": "integer"
                                  },
                                  "year": {
                                    "description": "The four-digit year of birth.",
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "day",
                                  "month",
                                  "year"
                                ],
                                "title": "date_of_birth_specs",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "day",
                                  "month",
                                  "year"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "The individual's date of birth."
                          },
                          "email": {
                            "description": "The individual's email address.",
                            "type": "string"
                          },
                          "first_name": {
                            "description": "The individual's first name.",
                            "maxLength": 100,
                            "type": "string"
                          },
                          "first_name_kana": {
                            "description": "The Kana variation of the individual's first name (Japan only).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "first_name_kanji": {
                            "description": "The Kanji variation of the individual's first name (Japan only).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "full_name_aliases": {
                            "anyOf": [
                              {
                                "items": {
                                  "maxLength": 300,
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "A list of alternate names or aliases that the individual is known by."
                          },
                          "gender": {
                            "description": "The individual's gender",
                            "type": "string"
                          },
                          "id_number": {
                            "description": "The government-issued ID number of the individual, as appropriate for the representative's country. (Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada). Instead of the number itself, you can also provide a [PII token created with Stripe.js](/js/tokens/create_token?type=pii).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "id_number_secondary": {
                            "description": "The government-issued secondary ID number of the individual, as appropriate for the representative's country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token created with Stripe.js](/js/tokens/create_token?type=pii).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "last_name": {
                            "description": "The individual's last name.",
                            "maxLength": 100,
                            "type": "string"
                          },
                          "last_name_kana": {
                            "description": "The Kana variation of the individual's last name (Japan only).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "last_name_kanji": {
                            "description": "The Kanji variation of the individual's last name (Japan only).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "maiden_name": {
                            "description": "The individual's maiden name.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "metadata": {
                            "anyOf": [
                              {
                                "additionalProperties": {
                                  "type": "string"
                                },
                                "type": "object"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                          },
                          "phone": {
                            "description": "The individual's phone number.",
                            "type": "string"
                          },
                          "political_exposure": {
                            "description": "Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.",
                            "enum": [
                              "existing",
                              "none"
                            ],
                            "type": "string"
                          },
                          "registered_address": {
                            "description": "The individual's registered address.",
                            "properties": {
                              "city": {
                                "description": "City, district, suburb, town, or village.",
                                "maxLength": 100,
                                "type": "string"
                              },
                              "country": {
                                "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "line1": {
                                "description": "Address line 1 (e.g., street, PO Box, or company name).",
                                "maxLength": 200,
                                "type": "string"
                              },
                              "line2": {
                                "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                                "maxLength": 200,
                                "type": "string"
                              },
                              "postal_code": {
                                "description": "ZIP or postal code.",
                                "maxLength": 5000,
                                "type": "string"
                              },
                              "state": {
                                "description": "State, county, province, or region.",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "address_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "city",
                              "country",
                              "line1",
                              "line2",
                              "postal_code",
                              "state"
                            ]
                          },
                          "relationship": {
                            "description": "Describes the person’s relationship to the account.",
                            "properties": {
                              "director": {
                                "description": "Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.",
                                "type": "boolean"
                              },
                              "executive": {
                                "description": "Whether the person has significant responsibility to control, manage, or direct the organization.",
                                "type": "boolean"
                              },
                              "owner": {
                                "description": "Whether the person is an owner of the account’s legal entity.",
                                "type": "boolean"
                              },
                              "percent_ownership": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "enum": [
                                      ""
                                    ],
                                    "type": "string"
                                  }
                                ],
                                "description": "The percent owned by the person of the account's legal entity."
                              },
                              "title": {
                                "description": "The person's title (e.g., CEO, Support Engineer).",
                                "maxLength": 5000,
                                "type": "string"
                              }
                            },
                            "title": "individual_relationship_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "controller",
                              "director",
                              "executive",
                              "officer",
                              "owner",
                              "partner",
                              "percent_ownership",
                              "title"
                            ]
                          },
                          "ssn_last_4": {
                            "description": "The last four digits of the individual's Social Security Number (U.S. only).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "verification": {
                            "description": "The individual's verification document information.",
                            "properties": {
                              "additional_document": {
                                "description": "A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.",
                                "properties": {
                                  "back": {
                                    "description": "The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                                    "maxLength": 500,
                                    "type": "string"
                                  },
                                  "front": {
                                    "description": "The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                                    "maxLength": 500,
                                    "type": "string"
                                  }
                                },
                                "title": "person_verification_document_specs",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "back",
                                  "electronic_id",
                                  "front"
                                ]
                              },
                              "document": {
                                "description": "An identifying document, either a passport or local ID card.",
                                "properties": {
                                  "back": {
                                    "description": "The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                                    "maxLength": 500,
                                    "type": "string"
                                  },
                                  "front": {
                                    "description": "The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                                    "maxLength": 500,
                                    "type": "string"
                                  }
                                },
                                "title": "person_verification_document_specs",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "back",
                                  "electronic_id",
                                  "front"
                                ]
                              }
                            },
                            "title": "person_verification_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "additional_document",
                              "document",
                              "proof_of_liveness"
                            ]
                          }
                        },
                        "title": "individual_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "address",
                          "address_kana",
                          "address_kanji",
                          "birth_city",
                          "birth_country",
                          "dob",
                          "email",
                          "first_name",
                          "first_name_kana",
                          "first_name_kanji",
                          "full_name_aliases",
                          "gender",
                          "id_number",
                          "id_number_secondary",
                          "last_name",
                          "last_name_kana",
                          "last_name_kanji",
                          "maiden_name",
                          "metadata",
                          "phone",
                          "political_exposure",
                          "registered_address",
                          "relationship",
                          "ssn_last_4",
                          "verification"
                        ]
                      },
                      "tos_shown_and_accepted": {
                        "description": "Whether the user described by the data in the token has been shown [the Stripe Connected Account Agreement](/connect/account-tokens#stripe-connected-account-agreement). When creating an account token to create a new Connect account, this value must be `true`.",
                        "type": "boolean"
                      }
                    },
                    "title": "connect_js_account_token_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "business_type",
                      "company",
                      "individual",
                      "tos_shown_and_accepted"
                    ]
                  },
                  "bank_account": {
                    "description": "The bank account this token will represent.",
                    "properties": {
                      "account_holder_name": {
                        "description": "The name of the person or business that owns the bank account. This field is required when attaching the bank account to a `Customer` object.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "account_holder_type": {
                        "description": "The type of entity that holds the account. It can be `company` or `individual`. This field is required when attaching the bank account to a `Customer` object.",
                        "enum": [
                          "company",
                          "individual"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "account_number": {
                        "description": "The account number for the bank account, in string form. Must be a checking account.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "account_type": {
                        "description": "The bank account type. This can only be `checking` or `savings` in most countries. In Japan, this can only be `futsu` or `toza`.",
                        "enum": [
                          "checking",
                          "futsu",
                          "savings",
                          "toza"
                        ],
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "country": {
                        "description": "The country in which the bank account is located.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "currency": {
                        "description": "The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](https://stripe.com/docs/payouts)",
                        "type": "string"
                      },
                      "payment_method": {
                        "description": "The ID of a Payment Method with a `type` of `us_bank_account`. The Payment Method's bank account information will be copied and returned as a Bank Account Token. This parameter is exclusive with respect to all other parameters in the `bank_account` hash. You must include the top-level `customer` parameter if the Payment Method is attached to a `Customer` object. If the Payment Method is not attached to a `Customer` object, it will be consumed and cannot be used again. You may not use Payment Methods which were created by a Setup Intent with `attach_to_self=true`.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "routing_number": {
                        "description": "The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN for `account_number`, this field is not required.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "required": [
                      "account_number",
                      "country"
                    ],
                    "title": "token_create_bank_account",
                    "type": "object",
                    "x-stripeBypassValidation": true,
                    "x-stripeMostCommon": [
                      "account_holder_name",
                      "account_holder_type",
                      "account_number",
                      "account_type",
                      "country",
                      "currency",
                      "debit_agreement_shown_and_accepted",
                      "debit_agreement_type",
                      "payment_method",
                      "routing_number"
                    ]
                  },
                  "card": {
                    "anyOf": [
                      {
                        "properties": {
                          "address_city": {
                            "description": "City / District / Suburb / Town / Village.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "address_country": {
                            "description": "Billing address country, if provided.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "address_line1": {
                            "description": "Address line 1 (Street address / PO Box / Company name).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "address_line2": {
                            "description": "Address line 2 (Apartment / Suite / Unit / Building).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "address_state": {
                            "description": "State / County / Province / Region.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "address_zip": {
                            "description": "ZIP or postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "currency": {
                            "description": "Required in order to add the card to an account; in all other cases, this parameter is not used. When added to an account, the card (which must be a debit card) can be used as a transfer destination for funds in this currency.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "cvc": {
                            "description": "Card security code. Highly recommended to always include this value.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "exp_month": {
                            "description": "Two-digit number representing the card's expiration month.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "exp_year": {
                            "description": "Two- or four-digit number representing the card's expiration year.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "name": {
                            "description": "Cardholder's full name.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "networks": {
                            "description": "Contains information about card networks used to process the payment.",
                            "properties": {
                              "preferred": {
                                "description": "The customer's preferred card network for co-branded cards. Supports `cartes_bancaires`, `mastercard`, or `visa`. Selection of a network that does not apply to the card will be stored as `invalid_preference` on the card.",
                                "enum": [
                                  "cartes_bancaires",
                                  "mastercard",
                                  "visa"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "networks_param_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "preferred"
                            ]
                          },
                          "number": {
                            "description": "The card number, as a string without any separators.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "exp_month",
                          "exp_year",
                          "number"
                        ],
                        "title": "credit_card_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "address_city",
                          "address_country",
                          "address_line1",
                          "address_line2",
                          "address_state",
                          "address_zip",
                          "currency",
                          "cvc",
                          "exp_month",
                          "exp_year",
                          "name",
                          "networks",
                          "number"
                        ],
                        "x-stripeParam": {
                          "class_name": "Card"
                        }
                      },
                      {
                        "maxLength": 5000,
                        "type": "string"
                      }
                    ],
                    "description": "The card this token will represent. If you also pass in a customer, the card must be the ID of a card belonging to the customer. Otherwise, if you do not pass in a customer, this is a dictionary containing a user's credit card details, with the options described below.",
                    "x-stripeBypassValidation": true
                  },
                  "customer": {
                    "description": "Create a token for the customer, which is owned by the application's account. You can only use this with an [OAuth access token](https://stripe.com/docs/connect/standard-accounts) or [Stripe-Account header](https://stripe.com/docs/connect/authentication). Learn more about [cloning saved payment methods](https://stripe.com/docs/connect/cloning-saved-payment-methods).",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "cvc_update": {
                    "description": "The updated CVC value this token represents.",
                    "properties": {
                      "cvc": {
                        "description": "The CVC value, in string form.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "required": [
                      "cvc"
                    ],
                    "title": "cvc_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "cvc"
                    ]
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "person": {
                    "description": "Information for the person this token represents.",
                    "properties": {
                      "additional_tos_acceptances": {
                        "description": "Details on the legal guardian's or authorizer'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",
                            "x-stripeMostCommon": [
                              "date",
                              "ip",
                              "user_agent"
                            ]
                          }
                        },
                        "title": "person_additional_tos_acceptances_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account",
                          "representative"
                        ]
                      },
                      "address": {
                        "description": "The person's address.",
                        "properties": {
                          "city": {
                            "description": "City, district, suburb, town, or village.",
                            "maxLength": 100,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Address line 1 (e.g., street, PO Box, or company name).",
                            "maxLength": 200,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                            "maxLength": 200,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "ZIP or postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "State, county, province, or region.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "legal_entity_and_kyc_address_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "line1",
                          "line2",
                          "postal_code",
                          "state"
                        ]
                      },
                      "address_kana": {
                        "description": "The Kana variation of the person's address (Japan only).",
                        "properties": {
                          "city": {
                            "description": "City or ward.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Block or building number.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Building details.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "Postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "Prefecture.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "town": {
                            "description": "Town or cho-me.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "japan_address_kana_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "db_code",
                          "line1",
                          "line2",
                          "postal_code",
                          "state",
                          "town"
                        ]
                      },
                      "address_kanji": {
                        "description": "The Kanji variation of the person's address (Japan only).",
                        "properties": {
                          "city": {
                            "description": "City or ward.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Block or building number.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Building details.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "Postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "Prefecture.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "town": {
                            "description": "Town or cho-me.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "japan_address_kanji_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "db_code",
                          "line1",
                          "line2",
                          "postal_code",
                          "state",
                          "town"
                        ]
                      },
                      "dob": {
                        "anyOf": [
                          {
                            "properties": {
                              "day": {
                                "description": "The day of birth, between 1 and 31.",
                                "type": "integer"
                              },
                              "month": {
                                "description": "The month of birth, between 1 and 12.",
                                "type": "integer"
                              },
                              "year": {
                                "description": "The four-digit year of birth.",
                                "type": "integer"
                              }
                            },
                            "required": [
                              "day",
                              "month",
                              "year"
                            ],
                            "title": "date_of_birth_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "day",
                              "month",
                              "year"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "The person's date of birth."
                      },
                      "documents": {
                        "description": "Documents that may be submitted to satisfy various informational requests.",
                        "properties": {
                          "company_authorization": {
                            "description": "One or more documents that demonstrate proof that this person is authorized to represent the company.",
                            "properties": {
                              "files": {
                                "description": "One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.",
                                "items": {
                                  "anyOf": [
                                    {
                                      "maxLength": 500,
                                      "type": "string"
                                    },
                                    {
                                      "enum": [
                                        ""
                                      ],
                                      "type": "string"
                                    }
                                  ]
                                },
                                "type": "array"
                              }
                            },
                            "title": "documents_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "files"
                            ]
                          },
                          "passport": {
                            "description": "One or more documents showing the person's passport page with photo and personal data.",
                            "properties": {
                              "files": {
                                "description": "One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.",
                                "items": {
                                  "anyOf": [
                                    {
                                      "maxLength": 500,
                                      "type": "string"
                                    },
                                    {
                                      "enum": [
                                        ""
                                      ],
                                      "type": "string"
                                    }
                                  ]
                                },
                                "type": "array"
                              }
                            },
                            "title": "documents_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "files"
                            ]
                          },
                          "visa": {
                            "description": "One or more documents showing the person's visa required for living in the country where they are residing.",
                            "properties": {
                              "files": {
                                "description": "One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.",
                                "items": {
                                  "anyOf": [
                                    {
                                      "maxLength": 500,
                                      "type": "string"
                                    },
                                    {
                                      "enum": [
                                        ""
                                      ],
                                      "type": "string"
                                    }
                                  ]
                                },
                                "type": "array"
                              }
                            },
                            "title": "documents_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "files"
                            ]
                          }
                        },
                        "title": "person_documents_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "DASHBOARD_proof_of_liveness",
                          "company_authorization",
                          "passport",
                          "visa"
                        ]
                      },
                      "email": {
                        "description": "The person's email address.",
                        "type": "string"
                      },
                      "first_name": {
                        "description": "The person's first name.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "first_name_kana": {
                        "description": "The Kana variation of the person's first name (Japan only).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "first_name_kanji": {
                        "description": "The Kanji variation of the person's first name (Japan only).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "full_name_aliases": {
                        "anyOf": [
                          {
                            "items": {
                              "maxLength": 5000,
                              "type": "string"
                            },
                            "type": "array"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "A list of alternate names or aliases that the person is known by."
                      },
                      "gender": {
                        "description": "The person's gender (International regulations require either \"male\" or \"female\").",
                        "type": "string"
                      },
                      "id_number": {
                        "description": "The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://docs.stripe.com/js/tokens/create_token?type=pii).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "id_number_secondary": {
                        "description": "The person's secondary ID number, as appropriate for their country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://docs.stripe.com/js/tokens/create_token?type=pii).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "last_name": {
                        "description": "The person's last name.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "last_name_kana": {
                        "description": "The Kana variation of the person's last name (Japan only).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "last_name_kanji": {
                        "description": "The Kanji variation of the person's last name (Japan only).",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "maiden_name": {
                        "description": "The person's maiden name.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "metadata": {
                        "anyOf": [
                          {
                            "additionalProperties": {
                              "type": "string"
                            },
                            "type": "object"
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                      },
                      "nationality": {
                        "description": "The country where the person is a national. Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)), or \"XX\" if unavailable.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "phone": {
                        "description": "The person's phone number.",
                        "type": "string"
                      },
                      "political_exposure": {
                        "description": "Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.",
                        "maxLength": 5000,
                        "type": "string"
                      },
                      "registered_address": {
                        "description": "The person's registered address.",
                        "properties": {
                          "city": {
                            "description": "City, district, suburb, town, or village.",
                            "maxLength": 100,
                            "type": "string"
                          },
                          "country": {
                            "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "line1": {
                            "description": "Address line 1 (e.g., street, PO Box, or company name).",
                            "maxLength": 200,
                            "type": "string"
                          },
                          "line2": {
                            "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                            "maxLength": 200,
                            "type": "string"
                          },
                          "postal_code": {
                            "description": "ZIP or postal code.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "state": {
                            "description": "State, county, province, or region.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "address_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "city",
                          "country",
                          "line1",
                          "line2",
                          "postal_code",
                          "state"
                        ]
                      },
                      "relationship": {
                        "description": "The relationship that this person has with the account's legal entity.",
                        "properties": {
                          "authorizer": {
                            "description": "Whether the person is the authorizer of the account's representative.",
                            "type": "boolean"
                          },
                          "director": {
                            "description": "Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.",
                            "type": "boolean"
                          },
                          "executive": {
                            "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"
                          },
                          "percent_ownership": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "The percent owned by the person of the account's legal entity."
                          },
                          "representative": {
                            "description": "Whether the person is authorized as the primary representative of the account. This is the person nominated by the business to provide information about themselves, and general information about the account. There can only be one representative at any given time. At the time the account is created, this person should be set to the person responsible for opening the account.",
                            "type": "boolean"
                          },
                          "title": {
                            "description": "The person's title (e.g., CEO, Support Engineer).",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "relationship_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "authorizer",
                          "controller",
                          "director",
                          "executive",
                          "legal_guardian",
                          "officer",
                          "owner",
                          "partner",
                          "percent_ownership",
                          "representative",
                          "title"
                        ]
                      },
                      "ssn_last_4": {
                        "description": "The last four digits of the person's Social Security number (U.S. only).",
                        "type": "string"
                      },
                      "verification": {
                        "description": "The person's verification status.",
                        "properties": {
                          "additional_document": {
                            "description": "A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.",
                            "properties": {
                              "back": {
                                "description": "The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                                "maxLength": 500,
                                "type": "string"
                              },
                              "front": {
                                "description": "The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                                "maxLength": 500,
                                "type": "string"
                              }
                            },
                            "title": "person_verification_document_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "back",
                              "electronic_id",
                              "front"
                            ]
                          },
                          "document": {
                            "description": "An identifying document, either a passport or local ID card.",
                            "properties": {
                              "back": {
                                "description": "The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                                "maxLength": 500,
                                "type": "string"
                              },
                              "front": {
                                "description": "The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.",
                                "maxLength": 500,
                                "type": "string"
                              }
                            },
                            "title": "person_verification_document_specs",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "back",
                              "electronic_id",
                              "front"
                            ]
                          }
                        },
                        "title": "person_verification_specs",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "additional_document",
                          "document",
                          "proof_of_liveness"
                        ]
                      }
                    },
                    "title": "person_token_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "address",
                      "dob",
                      "email",
                      "first_name",
                      "id_number",
                      "last_name",
                      "metadata",
                      "phone",
                      "relationship",
                      "ssn_last_4"
                    ]
                  },
                  "pii": {
                    "description": "The PII this token represents.",
                    "properties": {
                      "id_number": {
                        "description": "The `id_number` for the PII, in string form.",
                        "maxLength": 5000,
                        "type": "string"
                      }
                    },
                    "title": "pii_token_specs",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "id_number"
                    ]
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "account",
                  "bank_account",
                  "card",
                  "cvc_update",
                  "person",
                  "pii"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/token"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a CVC update token"
      }
    },
    "/v1/tokens/{token}": {
      "get": {
        "description": "<p>Retrieves the token with the given ID.</p>",
        "operationId": "GetTokensToken",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "token",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/token"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a token"
      }
    },
    "/v1/topups": {
      "get": {
        "description": "<p>Returns a list of top-ups.</p>",
        "operationId": "GetTopups",
        "parameters": [
          {
            "description": "A positive integer representing how much to transfer.",
            "explode": true,
            "in": "query",
            "name": "amount",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "A filter on the list, based on the object `created` field. The value can be a string with an integer Unix timestamp, or it can be a dictionary with a number of different query options.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return top-ups that have the given status. One of `canceled`, `failed`, `pending` or `succeeded`.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "canceled",
                "failed",
                "pending",
                "succeeded"
              ],
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/topup"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/topups",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "TopupList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all top-ups"
      },
      "post": {
        "description": "<p>Top up the balance of an account</p>",
        "operationId": "PostTopups",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "A positive integer representing how much to transfer.",
                    "type": "integer"
                  },
                  "currency": {
                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                    "type": "string"
                  },
                  "description": {
                    "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "source": {
                    "description": "The ID of a source to transfer funds from. For most users, this should be left unspecified which will use the bank account that was set up in the dashboard for the specified currency. In test mode, this can be a test bank token (see [Testing Top-ups](https://stripe.com/docs/connect/testing#testing-top-ups)).",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "statement_descriptor": {
                    "description": "Extra information about a top-up for the source's bank statement. Limited to 15 ASCII characters.",
                    "maxLength": 15,
                    "type": "string"
                  },
                  "transfer_group": {
                    "description": "A string that identifies this top-up as part of a group.",
                    "type": "string"
                  }
                },
                "required": [
                  "amount",
                  "currency"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "currency",
                  "description",
                  "metadata"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/topup"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a top-up"
      }
    },
    "/v1/topups/{topup}": {
      "get": {
        "description": "<p>Retrieves the details of a top-up that has previously been created. Supply the unique top-up ID that was returned from your previous request, and Stripe will return the corresponding top-up information.</p>",
        "operationId": "GetTopupsTopup",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "topup",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/topup"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a top-up"
      },
      "post": {
        "description": "<p>Updates the metadata of a top-up. Other top-up details are not editable by design.</p>",
        "operationId": "PostTopupsTopup",
        "parameters": [
          {
            "in": "path",
            "name": "topup",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "description": {
                    "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "description",
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/topup"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a top-up"
      }
    },
    "/v1/topups/{topup}/cancel": {
      "post": {
        "description": "<p>Cancels a top-up. Only pending top-ups can be canceled.</p>",
        "operationId": "PostTopupsTopupCancel",
        "parameters": [
          {
            "in": "path",
            "name": "topup",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/topup"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Cancel a top-up"
      }
    },
    "/v1/transfers": {
      "get": {
        "description": "<p>Returns a list of existing transfers sent to connected accounts. The transfers are returned in sorted order, with the most recently created transfers appearing first.</p>",
        "operationId": "GetTransfers",
        "parameters": [
          {
            "description": "Only return transfers that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "Only return transfers for the destination specified by this account ID.",
            "in": "query",
            "name": "destination",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return transfers with the specified transfer group.",
            "in": "query",
            "name": "transfer_group",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/transfer"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/transfers",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "TransferList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all transfers"
      },
      "post": {
        "description": "<p>To send funds from your Stripe account to a connected account, you create a new transfer object. Your <a href=\"#balance\">Stripe balance</a> must be able to cover the transfer amount, or you’ll receive an “Insufficient Funds” error.</p>",
        "operationId": "PostTransfers",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "A positive integer in cents (or local equivalent) representing how much to transfer.",
                    "type": "integer"
                  },
                  "currency": {
                    "description": "Three-letter [ISO code for currency](https://www.iso.org/iso-4217-currency-codes.html) in lowercase. Must be a [supported currency](https://docs.stripe.com/currencies).",
                    "type": "string"
                  },
                  "description": {
                    "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "destination": {
                    "description": "The ID of a connected Stripe account. <a href=\"/docs/connect/separate-charges-and-transfers\">See the Connect documentation</a> for details.",
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "source_transaction": {
                    "description": "You can use this parameter to transfer funds from a charge before they are added to your available balance. A pending balance will transfer immediately but the funds will not become available until the original charge becomes available. [See the Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-availability) for details.",
                    "type": "string"
                  },
                  "source_type": {
                    "description": "The source balance to use for this transfer. One of `bank_account`, `card`, or `fpx`. For most users, this will default to `card`.",
                    "enum": [
                      "bank_account",
                      "card",
                      "fpx"
                    ],
                    "maxLength": 5000,
                    "type": "string",
                    "x-stripeBypassValidation": true
                  },
                  "transfer_group": {
                    "description": "A string that identifies this transaction as part of a group. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options) for details.",
                    "type": "string"
                  }
                },
                "required": [
                  "currency",
                  "destination"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "currency",
                  "description",
                  "destination",
                  "metadata"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/transfer"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a transfer"
      }
    },
    "/v1/transfers/{id}/reversals": {
      "get": {
        "description": "<p>You can see a list of the reversals belonging to a specific transfer. Note that the 10 most recent reversals are always available by default on the transfer object. If you need more than those 10, you can use this API method and the <code>limit</code> and <code>starting_after</code> parameters to page through additional reversals.</p>",
        "operationId": "GetTransfersIdReversals",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/transfer_reversal"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "TransferReversalList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all reversals"
      },
      "post": {
        "description": "<p>When you create a new reversal, you must specify a transfer to create it on.</p>\n\n<p>When reversing transfers, you can optionally reverse part of the transfer. You can do so as many times as you wish until the entire transfer has been reversed.</p>\n\n<p>Once entirely reversed, a transfer can’t be reversed again. This method will return an error when called on an already-reversed transfer, or when trying to reverse more money than is left on a transfer.</p>",
        "operationId": "PostTransfersIdReversals",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "A positive integer in cents (or local equivalent) representing how much of this transfer to reverse. Can only reverse up to the unreversed amount remaining of the transfer. Partial transfer reversals are only allowed for transfers to Stripe Accounts. Defaults to the entire transfer amount.",
                    "type": "integer"
                  },
                  "description": {
                    "description": "An arbitrary string which you can attach to a reversal object. This will be unset if you POST an empty value.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "refund_application_fee": {
                    "description": "Boolean indicating whether the application fee should be refunded when reversing this transfer. If a full transfer reversal is given, the full application fee will be refunded. Otherwise, the application fee will be refunded with an amount proportional to the amount of the transfer reversed.",
                    "type": "boolean"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "description",
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/transfer_reversal"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a transfer reversal"
      }
    },
    "/v1/transfers/{transfer}": {
      "get": {
        "description": "<p>Retrieves the details of an existing transfer. Supply the unique transfer ID from either a transfer creation request or the transfer list, and Stripe will return the corresponding transfer information.</p>",
        "operationId": "GetTransfersTransfer",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "transfer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/transfer"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a transfer"
      },
      "post": {
        "description": "<p>Updates the specified transfer by setting the values of the parameters passed. Any parameters not provided will be left unchanged.</p>\n\n<p>This request accepts only metadata as an argument.</p>",
        "operationId": "PostTransfersTransfer",
        "parameters": [
          {
            "in": "path",
            "name": "transfer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "description": {
                    "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "description",
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/transfer"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a transfer"
      }
    },
    "/v1/transfers/{transfer}/reversals/{id}": {
      "get": {
        "description": "<p>By default, you can see the 10 most recent reversals stored directly on the transfer object, but you can also retrieve details about a specific reversal stored on the transfer.</p>",
        "operationId": "GetTransfersTransferReversalsId",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "transfer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/transfer_reversal"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a reversal"
      },
      "post": {
        "description": "<p>Updates the specified reversal by setting the values of the parameters passed. Any parameters not provided will be left unchanged.</p>\n\n<p>This request only accepts metadata and description as arguments.</p>",
        "operationId": "PostTransfersTransferReversalsId",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "transfer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "metadata"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/transfer_reversal"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a reversal"
      }
    },
    "/v1/treasury/credit_reversals": {
      "get": {
        "description": "<p>Returns a list of CreditReversals.</p>",
        "operationId": "GetTreasuryCreditReversals",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "Returns objects associated with this FinancialAccount.",
            "in": "query",
            "name": "financial_account",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "Only return CreditReversals for the ReceivedCredit ID.",
            "in": "query",
            "name": "received_credit",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return CreditReversals for a given status.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "canceled",
                "posted",
                "processing"
              ],
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/treasury.credit_reversal"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "TreasuryReceivedCreditsResourceCreditReversalList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all CreditReversals"
      },
      "post": {
        "description": "<p>Reverses a ReceivedCredit and creates a CreditReversal object.</p>",
        "operationId": "PostTreasuryCreditReversals",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "received_credit": {
                    "description": "The ReceivedCredit to reverse.",
                    "maxLength": 5000,
                    "type": "string"
                  }
                },
                "required": [
                  "received_credit"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "metadata",
                  "received_credit"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.credit_reversal"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a CreditReversal"
      }
    },
    "/v1/treasury/credit_reversals/{credit_reversal}": {
      "get": {
        "description": "<p>Retrieves the details of an existing CreditReversal by passing the unique CreditReversal ID from either the CreditReversal creation request or CreditReversal list</p>",
        "operationId": "GetTreasuryCreditReversalsCreditReversal",
        "parameters": [
          {
            "in": "path",
            "name": "credit_reversal",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.credit_reversal"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a CreditReversal"
      }
    },
    "/v1/treasury/debit_reversals": {
      "get": {
        "description": "<p>Returns a list of DebitReversals.</p>",
        "operationId": "GetTreasuryDebitReversals",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "Returns objects associated with this FinancialAccount.",
            "in": "query",
            "name": "financial_account",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "Only return DebitReversals for the ReceivedDebit ID.",
            "in": "query",
            "name": "received_debit",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return DebitReversals for a given resolution.",
            "in": "query",
            "name": "resolution",
            "required": false,
            "schema": {
              "enum": [
                "lost",
                "won"
              ],
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return DebitReversals for a given status.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "canceled",
                "completed",
                "processing"
              ],
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/treasury.debit_reversal"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "TreasuryReceivedDebitsResourceDebitReversalList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all DebitReversals"
      },
      "post": {
        "description": "<p>Reverses a ReceivedDebit and creates a DebitReversal object.</p>",
        "operationId": "PostTreasuryDebitReversals",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "received_debit": {
                    "description": "The ReceivedDebit to reverse.",
                    "maxLength": 5000,
                    "type": "string"
                  }
                },
                "required": [
                  "received_debit"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "metadata",
                  "received_debit"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.debit_reversal"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a DebitReversal"
      }
    },
    "/v1/treasury/debit_reversals/{debit_reversal}": {
      "get": {
        "description": "<p>Retrieves a DebitReversal object.</p>",
        "operationId": "GetTreasuryDebitReversalsDebitReversal",
        "parameters": [
          {
            "in": "path",
            "name": "debit_reversal",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.debit_reversal"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a DebitReversal"
      }
    },
    "/v1/treasury/financial_accounts": {
      "get": {
        "description": "<p>Returns a list of FinancialAccounts.</p>",
        "operationId": "GetTreasuryFinancialAccounts",
        "parameters": [
          {
            "description": "Only return FinancialAccounts that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "An object ID cursor for use in pagination.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit ranging from 1 to 100 (defaults to 10).",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "An object ID cursor for use in pagination.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/treasury.financial_account"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/treasury/financial_accounts",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "TreasuryFinancialAccountsResourceFinancialAccountList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all FinancialAccounts"
      },
      "post": {
        "description": "<p>Creates a new FinancialAccount. For now, each connected account can only have one FinancialAccount.</p>",
        "operationId": "PostTreasuryFinancialAccounts",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "features": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "platform_restrictions": {
                  "explode": true,
                  "style": "deepObject"
                },
                "supported_currencies": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "features": {
                    "description": "Encodes whether a FinancialAccount has access to a particular feature. Stripe or the platform can control features via the requested field.",
                    "properties": {
                      "card_issuing": {
                        "description": "Encodes the FinancialAccount's ability to be used with the Issuing product, including attaching cards to and drawing funds from the FinancialAccount.",
                        "properties": {
                          "requested": {
                            "description": "Whether the FinancialAccount should have the Feature.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "requested"
                        ],
                        "title": "access",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "deposit_insurance": {
                        "description": "Represents whether this FinancialAccount is eligible for deposit insurance. Various factors determine the insurance amount.",
                        "properties": {
                          "requested": {
                            "description": "Whether the FinancialAccount should have the Feature.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "requested"
                        ],
                        "title": "access",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "financial_addresses": {
                        "description": "Contains Features that add FinancialAddresses to the FinancialAccount.",
                        "properties": {
                          "aba": {
                            "description": "Adds an ABA FinancialAddress to the FinancialAccount.",
                            "properties": {
                              "requested": {
                                "description": "Whether the FinancialAccount should have the Feature.",
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "requested"
                            ],
                            "title": "aba_access",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "bank",
                              "forwarding",
                              "requested"
                            ]
                          }
                        },
                        "title": "financial_addresses",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "aba"
                        ]
                      },
                      "inbound_transfers": {
                        "description": "Contains settings related to adding funds to a FinancialAccount from another Account with the same owner.",
                        "properties": {
                          "ach": {
                            "description": "Enables ACH Debits via the InboundTransfers API.",
                            "properties": {
                              "requested": {
                                "description": "Whether the FinancialAccount should have the Feature.",
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "requested"
                            ],
                            "title": "access_with_ach_details",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "platform_review",
                              "requested",
                              "same_day"
                            ]
                          }
                        },
                        "title": "inbound_transfers",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "ach",
                          "us_check"
                        ]
                      },
                      "intra_stripe_flows": {
                        "description": "Represents the ability for the FinancialAccount to send money to, or receive money from other FinancialAccounts (for example, via OutboundPayment).",
                        "properties": {
                          "requested": {
                            "description": "Whether the FinancialAccount should have the Feature.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "requested"
                        ],
                        "title": "access",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "outbound_payments": {
                        "description": "Includes Features related to initiating money movement out of the FinancialAccount to someone else's bucket of money.",
                        "properties": {
                          "ach": {
                            "description": "Enables ACH transfers via the OutboundPayments API.",
                            "properties": {
                              "requested": {
                                "description": "Whether the FinancialAccount should have the Feature.",
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "requested"
                            ],
                            "title": "access_with_ach_details",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "platform_review",
                              "requested",
                              "same_day"
                            ]
                          },
                          "us_domestic_wire": {
                            "description": "Enables US domestic wire transfers via the OutboundPayments API.",
                            "properties": {
                              "requested": {
                                "description": "Whether the FinancialAccount should have the Feature.",
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "requested"
                            ],
                            "title": "access",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "requested"
                            ]
                          }
                        },
                        "title": "outbound_payments",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "ach",
                          "us_domestic_wire"
                        ]
                      },
                      "outbound_transfers": {
                        "description": "Contains a Feature and settings related to moving money out of the FinancialAccount into another Account with the same owner.",
                        "properties": {
                          "ach": {
                            "description": "Enables ACH transfers via the OutboundTransfers API.",
                            "properties": {
                              "requested": {
                                "description": "Whether the FinancialAccount should have the Feature.",
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "requested"
                            ],
                            "title": "access_with_ach_details",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "platform_review",
                              "requested",
                              "same_day"
                            ]
                          },
                          "us_domestic_wire": {
                            "description": "Enables US domestic wire transfers via the OutboundTransfers API.",
                            "properties": {
                              "requested": {
                                "description": "Whether the FinancialAccount should have the Feature.",
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "requested"
                            ],
                            "title": "access",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "requested"
                            ]
                          }
                        },
                        "title": "outbound_transfers",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "ach",
                          "us_domestic_wire"
                        ]
                      }
                    },
                    "title": "feature_access",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "card_issuing",
                      "deposit_insurance",
                      "financial_addresses",
                      "inbound_transfers",
                      "intra_stripe_flows",
                      "outbound_payments",
                      "outbound_transfers"
                    ]
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "platform_restrictions": {
                    "description": "The set of functionalities that the platform can restrict on the FinancialAccount.",
                    "properties": {
                      "inbound_flows": {
                        "description": "Restricts all inbound money movement.",
                        "enum": [
                          "restricted",
                          "unrestricted"
                        ],
                        "type": "string"
                      },
                      "outbound_flows": {
                        "description": "Restricts all outbound money movement.",
                        "enum": [
                          "restricted",
                          "unrestricted"
                        ],
                        "type": "string"
                      }
                    },
                    "title": "platform_restrictions",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "inbound_flows",
                      "outbound_flows",
                      "received_credits",
                      "received_debits"
                    ]
                  },
                  "supported_currencies": {
                    "description": "The currencies the FinancialAccount can hold a balance in.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "supported_currencies"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "features",
                  "metadata",
                  "platform_restrictions",
                  "supported_currencies"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.financial_account"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a FinancialAccount"
      }
    },
    "/v1/treasury/financial_accounts/{financial_account}": {
      "get": {
        "description": "<p>Retrieves the details of a FinancialAccount.</p>",
        "operationId": "GetTreasuryFinancialAccountsFinancialAccount",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "financial_account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.financial_account"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a FinancialAccount"
      },
      "post": {
        "description": "<p>Updates the details of a FinancialAccount.</p>",
        "operationId": "PostTreasuryFinancialAccountsFinancialAccount",
        "parameters": [
          {
            "in": "path",
            "name": "financial_account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "features": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                },
                "platform_restrictions": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "features": {
                    "description": "Encodes whether a FinancialAccount has access to a particular feature, with a status enum and associated `status_details`. Stripe or the platform may control features via the requested field.",
                    "properties": {
                      "card_issuing": {
                        "description": "Encodes the FinancialAccount's ability to be used with the Issuing product, including attaching cards to and drawing funds from the FinancialAccount.",
                        "properties": {
                          "requested": {
                            "description": "Whether the FinancialAccount should have the Feature.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "requested"
                        ],
                        "title": "access",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "deposit_insurance": {
                        "description": "Represents whether this FinancialAccount is eligible for deposit insurance. Various factors determine the insurance amount.",
                        "properties": {
                          "requested": {
                            "description": "Whether the FinancialAccount should have the Feature.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "requested"
                        ],
                        "title": "access",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "financial_addresses": {
                        "description": "Contains Features that add FinancialAddresses to the FinancialAccount.",
                        "properties": {
                          "aba": {
                            "description": "Adds an ABA FinancialAddress to the FinancialAccount.",
                            "properties": {
                              "requested": {
                                "description": "Whether the FinancialAccount should have the Feature.",
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "requested"
                            ],
                            "title": "aba_access",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "bank",
                              "forwarding",
                              "requested"
                            ]
                          }
                        },
                        "title": "financial_addresses",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "aba"
                        ]
                      },
                      "inbound_transfers": {
                        "description": "Contains settings related to adding funds to a FinancialAccount from another Account with the same owner.",
                        "properties": {
                          "ach": {
                            "description": "Enables ACH Debits via the InboundTransfers API.",
                            "properties": {
                              "requested": {
                                "description": "Whether the FinancialAccount should have the Feature.",
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "requested"
                            ],
                            "title": "access_with_ach_details",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "platform_review",
                              "requested",
                              "same_day"
                            ]
                          }
                        },
                        "title": "inbound_transfers",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "ach",
                          "us_check"
                        ]
                      },
                      "intra_stripe_flows": {
                        "description": "Represents the ability for the FinancialAccount to send money to, or receive money from other FinancialAccounts (for example, via OutboundPayment).",
                        "properties": {
                          "requested": {
                            "description": "Whether the FinancialAccount should have the Feature.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "requested"
                        ],
                        "title": "access",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      },
                      "outbound_payments": {
                        "description": "Includes Features related to initiating money movement out of the FinancialAccount to someone else's bucket of money.",
                        "properties": {
                          "ach": {
                            "description": "Enables ACH transfers via the OutboundPayments API.",
                            "properties": {
                              "requested": {
                                "description": "Whether the FinancialAccount should have the Feature.",
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "requested"
                            ],
                            "title": "access_with_ach_details",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "platform_review",
                              "requested",
                              "same_day"
                            ]
                          },
                          "us_domestic_wire": {
                            "description": "Enables US domestic wire transfers via the OutboundPayments API.",
                            "properties": {
                              "requested": {
                                "description": "Whether the FinancialAccount should have the Feature.",
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "requested"
                            ],
                            "title": "access",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "requested"
                            ]
                          }
                        },
                        "title": "outbound_payments",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "ach",
                          "us_domestic_wire"
                        ]
                      },
                      "outbound_transfers": {
                        "description": "Contains a Feature and settings related to moving money out of the FinancialAccount into another Account with the same owner.",
                        "properties": {
                          "ach": {
                            "description": "Enables ACH transfers via the OutboundTransfers API.",
                            "properties": {
                              "requested": {
                                "description": "Whether the FinancialAccount should have the Feature.",
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "requested"
                            ],
                            "title": "access_with_ach_details",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "platform_review",
                              "requested",
                              "same_day"
                            ]
                          },
                          "us_domestic_wire": {
                            "description": "Enables US domestic wire transfers via the OutboundTransfers API.",
                            "properties": {
                              "requested": {
                                "description": "Whether the FinancialAccount should have the Feature.",
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "requested"
                            ],
                            "title": "access",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "requested"
                            ]
                          }
                        },
                        "title": "outbound_transfers",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "ach",
                          "us_domestic_wire"
                        ]
                      }
                    },
                    "title": "feature_access",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "card_issuing",
                      "deposit_insurance",
                      "financial_addresses",
                      "inbound_transfers",
                      "intra_stripe_flows",
                      "outbound_payments",
                      "outbound_transfers"
                    ]
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "platform_restrictions": {
                    "description": "The set of functionalities that the platform can restrict on the FinancialAccount.",
                    "properties": {
                      "inbound_flows": {
                        "description": "Restricts all inbound money movement.",
                        "enum": [
                          "restricted",
                          "unrestricted"
                        ],
                        "type": "string"
                      },
                      "outbound_flows": {
                        "description": "Restricts all outbound money movement.",
                        "enum": [
                          "restricted",
                          "unrestricted"
                        ],
                        "type": "string"
                      }
                    },
                    "title": "platform_restrictions",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "inbound_flows",
                      "outbound_flows",
                      "received_credits",
                      "received_debits"
                    ]
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "features",
                  "metadata",
                  "platform_restrictions"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.financial_account"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a FinancialAccount"
      }
    },
    "/v1/treasury/financial_accounts/{financial_account}/features": {
      "get": {
        "description": "<p>Retrieves Features information associated with the FinancialAccount.</p>",
        "operationId": "GetTreasuryFinancialAccountsFinancialAccountFeatures",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "financial_account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.financial_account_features"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve FinancialAccount Features"
      },
      "post": {
        "description": "<p>Updates the Features associated with a FinancialAccount.</p>",
        "operationId": "PostTreasuryFinancialAccountsFinancialAccountFeatures",
        "parameters": [
          {
            "in": "path",
            "name": "financial_account",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "card_issuing": {
                  "explode": true,
                  "style": "deepObject"
                },
                "deposit_insurance": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "financial_addresses": {
                  "explode": true,
                  "style": "deepObject"
                },
                "inbound_transfers": {
                  "explode": true,
                  "style": "deepObject"
                },
                "intra_stripe_flows": {
                  "explode": true,
                  "style": "deepObject"
                },
                "outbound_payments": {
                  "explode": true,
                  "style": "deepObject"
                },
                "outbound_transfers": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "card_issuing": {
                    "description": "Encodes the FinancialAccount's ability to be used with the Issuing product, including attaching cards to and drawing funds from the FinancialAccount.",
                    "properties": {
                      "requested": {
                        "description": "Whether the FinancialAccount should have the Feature.",
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "requested"
                    ],
                    "title": "access",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "requested"
                    ]
                  },
                  "deposit_insurance": {
                    "description": "Represents whether this FinancialAccount is eligible for deposit insurance. Various factors determine the insurance amount.",
                    "properties": {
                      "requested": {
                        "description": "Whether the FinancialAccount should have the Feature.",
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "requested"
                    ],
                    "title": "access",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "requested"
                    ]
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "financial_addresses": {
                    "description": "Contains Features that add FinancialAddresses to the FinancialAccount.",
                    "properties": {
                      "aba": {
                        "description": "Adds an ABA FinancialAddress to the FinancialAccount.",
                        "properties": {
                          "requested": {
                            "description": "Whether the FinancialAccount should have the Feature.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "requested"
                        ],
                        "title": "aba_access",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "bank",
                          "forwarding",
                          "requested"
                        ]
                      }
                    },
                    "title": "financial_addresses",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "aba"
                    ]
                  },
                  "inbound_transfers": {
                    "description": "Contains settings related to adding funds to a FinancialAccount from another Account with the same owner.",
                    "properties": {
                      "ach": {
                        "description": "Enables ACH Debits via the InboundTransfers API.",
                        "properties": {
                          "requested": {
                            "description": "Whether the FinancialAccount should have the Feature.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "requested"
                        ],
                        "title": "access_with_ach_details",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "platform_review",
                          "requested",
                          "same_day"
                        ]
                      }
                    },
                    "title": "inbound_transfers",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "ach",
                      "us_check"
                    ]
                  },
                  "intra_stripe_flows": {
                    "description": "Represents the ability for the FinancialAccount to send money to, or receive money from other FinancialAccounts (for example, via OutboundPayment).",
                    "properties": {
                      "requested": {
                        "description": "Whether the FinancialAccount should have the Feature.",
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "requested"
                    ],
                    "title": "access",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "requested"
                    ]
                  },
                  "outbound_payments": {
                    "description": "Includes Features related to initiating money movement out of the FinancialAccount to someone else's bucket of money.",
                    "properties": {
                      "ach": {
                        "description": "Enables ACH transfers via the OutboundPayments API.",
                        "properties": {
                          "requested": {
                            "description": "Whether the FinancialAccount should have the Feature.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "requested"
                        ],
                        "title": "access_with_ach_details",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "platform_review",
                          "requested",
                          "same_day"
                        ]
                      },
                      "us_domestic_wire": {
                        "description": "Enables US domestic wire transfers via the OutboundPayments API.",
                        "properties": {
                          "requested": {
                            "description": "Whether the FinancialAccount should have the Feature.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "requested"
                        ],
                        "title": "access",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      }
                    },
                    "title": "outbound_payments",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "ach",
                      "us_domestic_wire"
                    ]
                  },
                  "outbound_transfers": {
                    "description": "Contains a Feature and settings related to moving money out of the FinancialAccount into another Account with the same owner.",
                    "properties": {
                      "ach": {
                        "description": "Enables ACH transfers via the OutboundTransfers API.",
                        "properties": {
                          "requested": {
                            "description": "Whether the FinancialAccount should have the Feature.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "requested"
                        ],
                        "title": "access_with_ach_details",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "platform_review",
                          "requested",
                          "same_day"
                        ]
                      },
                      "us_domestic_wire": {
                        "description": "Enables US domestic wire transfers via the OutboundTransfers API.",
                        "properties": {
                          "requested": {
                            "description": "Whether the FinancialAccount should have the Feature.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "requested"
                        ],
                        "title": "access",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "requested"
                        ]
                      }
                    },
                    "title": "outbound_transfers",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "ach",
                      "us_domestic_wire"
                    ]
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "card_issuing",
                  "deposit_insurance",
                  "financial_addresses",
                  "inbound_transfers",
                  "intra_stripe_flows",
                  "outbound_payments",
                  "outbound_transfers"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.financial_account_features"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update FinancialAccount Features"
      }
    },
    "/v1/treasury/inbound_transfers": {
      "get": {
        "description": "<p>Returns a list of InboundTransfers sent from the specified FinancialAccount.</p>",
        "operationId": "GetTreasuryInboundTransfers",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "Returns objects associated with this FinancialAccount.",
            "in": "query",
            "name": "financial_account",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return InboundTransfers that have the given status: `processing`, `succeeded`, `failed` or `canceled`.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "canceled",
                "failed",
                "processing",
                "succeeded"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/treasury.inbound_transfer"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "TreasuryInboundTransfersResourceInboundTransferList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all InboundTransfers"
      },
      "post": {
        "description": "<p>Creates an InboundTransfer.</p>",
        "operationId": "PostTreasuryInboundTransfers",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "Amount (in cents) to be transferred.",
                    "type": "integer"
                  },
                  "currency": {
                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                    "type": "string"
                  },
                  "description": {
                    "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "financial_account": {
                    "description": "The FinancialAccount to send funds to.",
                    "type": "string"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "origin_payment_method": {
                    "description": "The origin payment method to be debited for the InboundTransfer.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "statement_descriptor": {
                    "description": "The complete description that appears on your customers' statements. Maximum 10 characters.",
                    "maxLength": 10,
                    "type": "string"
                  }
                },
                "required": [
                  "amount",
                  "currency",
                  "financial_account",
                  "origin_payment_method"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "currency",
                  "description",
                  "financial_account",
                  "metadata",
                  "origin_payment_method",
                  "statement_descriptor"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.inbound_transfer"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create an InboundTransfer"
      }
    },
    "/v1/treasury/inbound_transfers/{id}": {
      "get": {
        "description": "<p>Retrieves the details of an existing InboundTransfer.</p>",
        "operationId": "GetTreasuryInboundTransfersId",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.inbound_transfer"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve an InboundTransfer"
      }
    },
    "/v1/treasury/inbound_transfers/{inbound_transfer}/cancel": {
      "post": {
        "description": "<p>Cancels an InboundTransfer.</p>",
        "operationId": "PostTreasuryInboundTransfersInboundTransferCancel",
        "parameters": [
          {
            "in": "path",
            "name": "inbound_transfer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.inbound_transfer"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Cancel an InboundTransfer"
      }
    },
    "/v1/treasury/outbound_payments": {
      "get": {
        "description": "<p>Returns a list of OutboundPayments sent from the specified FinancialAccount.</p>",
        "operationId": "GetTreasuryOutboundPayments",
        "parameters": [
          {
            "description": "Only return OutboundPayments that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "description": "Only return OutboundPayments sent to this customer.",
            "in": "query",
            "name": "customer",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "Returns objects associated with this FinancialAccount.",
            "in": "query",
            "name": "financial_account",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return OutboundPayments that have the given status: `processing`, `failed`, `posted`, `returned`, or `canceled`.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "canceled",
                "failed",
                "posted",
                "processing",
                "returned"
              ],
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/treasury.outbound_payment"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/treasury/outbound_payments",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "TreasuryOutboundPaymentsResourceOutboundPaymentList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all OutboundPayments"
      },
      "post": {
        "description": "<p>Creates an OutboundPayment.</p>",
        "operationId": "PostTreasuryOutboundPayments",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "destination_payment_method_data": {
                  "explode": true,
                  "style": "deepObject"
                },
                "destination_payment_method_options": {
                  "explode": true,
                  "style": "deepObject"
                },
                "end_user_details": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "Amount (in cents) to be transferred.",
                    "type": "integer"
                  },
                  "currency": {
                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                    "type": "string"
                  },
                  "customer": {
                    "description": "ID of the customer to whom the OutboundPayment is sent. Must match the Customer attached to the `destination_payment_method` passed in.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "description": {
                    "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "destination_payment_method": {
                    "description": "The PaymentMethod to use as the payment instrument for the OutboundPayment. Exclusive with `destination_payment_method_data`.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "destination_payment_method_data": {
                    "description": "Hash used to generate the PaymentMethod to be used for this OutboundPayment. Exclusive with `destination_payment_method`.",
                    "properties": {
                      "billing_details": {
                        "description": "Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.",
                        "properties": {
                          "address": {
                            "anyOf": [
                              {
                                "properties": {
                                  "city": {
                                    "description": "City, district, suburb, town, or village.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "country": {
                                    "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "line1": {
                                    "description": "Address line 1 (e.g., street, PO Box, or company name).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "line2": {
                                    "description": "Address line 2 (e.g., apartment, suite, unit, or building).",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "postal_code": {
                                    "description": "ZIP or postal code.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  },
                                  "state": {
                                    "description": "State, county, province, or region.",
                                    "maxLength": 5000,
                                    "type": "string"
                                  }
                                },
                                "title": "billing_details_address",
                                "type": "object",
                                "x-stripeMostCommon": [
                                  "city",
                                  "country",
                                  "line1",
                                  "line2",
                                  "postal_code",
                                  "state"
                                ]
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Billing address."
                          },
                          "email": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Email address."
                          },
                          "name": {
                            "anyOf": [
                              {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Full name."
                          },
                          "phone": {
                            "anyOf": [
                              {
                                "maxLength": 5000,
                                "type": "string"
                              },
                              {
                                "enum": [
                                  ""
                                ],
                                "type": "string"
                              }
                            ],
                            "description": "Billing phone number (including extension)."
                          }
                        },
                        "title": "billing_details_inner_params",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "address",
                          "email",
                          "name",
                          "phone"
                        ]
                      },
                      "financial_account": {
                        "description": "Required if type is set to `financial_account`. The FinancialAccount ID to send funds to.",
                        "type": "string"
                      },
                      "metadata": {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                        "type": "object"
                      },
                      "type": {
                        "description": "The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.",
                        "enum": [
                          "financial_account",
                          "us_bank_account"
                        ],
                        "type": "string"
                      },
                      "us_bank_account": {
                        "description": "Required hash if type is set to `us_bank_account`.",
                        "properties": {
                          "account_holder_type": {
                            "description": "Account holder type: individual or company.",
                            "enum": [
                              "company",
                              "individual"
                            ],
                            "type": "string"
                          },
                          "account_number": {
                            "description": "Account number of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "account_type": {
                            "description": "Account type: checkings or savings. Defaults to checking if omitted.",
                            "enum": [
                              "checking",
                              "savings"
                            ],
                            "type": "string"
                          },
                          "financial_connections_account": {
                            "description": "The ID of a Financial Connections Account to use as a payment method.",
                            "maxLength": 5000,
                            "type": "string"
                          },
                          "routing_number": {
                            "description": "Routing number of the bank account.",
                            "maxLength": 5000,
                            "type": "string"
                          }
                        },
                        "title": "payment_method_param",
                        "type": "object",
                        "x-stripeMostCommon": [
                          "account_holder_type",
                          "account_number",
                          "account_type",
                          "financial_connections_account",
                          "routing_number"
                        ]
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "title": "payment_method_data",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "billing_details",
                      "metadata",
                      "type"
                    ]
                  },
                  "destination_payment_method_options": {
                    "description": "Payment method-specific configuration for this OutboundPayment.",
                    "properties": {
                      "us_bank_account": {
                        "anyOf": [
                          {
                            "properties": {
                              "network": {
                                "description": "Specifies the network rails to be used. If not set, will default to the PaymentMethod's preferred network. See the [docs](https://stripe.com/docs/treasury/money-movement/timelines) to learn more about money movement timelines for each network type.",
                                "enum": [
                                  "ach",
                                  "us_domestic_wire"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "ach",
                              "network"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Optional fields for `us_bank_account`."
                      }
                    },
                    "title": "payment_method_options",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "us_bank_account"
                    ]
                  },
                  "end_user_details": {
                    "description": "End user details.",
                    "properties": {
                      "ip_address": {
                        "description": "IP address of the user initiating the OutboundPayment. Must be supplied if `present` is set to `true`.",
                        "type": "string"
                      },
                      "present": {
                        "description": "`True` if the OutboundPayment creation request is being made on behalf of an end user by a platform. Otherwise, `false`.",
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "present"
                    ],
                    "title": "end_user_details_params",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "ip_address",
                      "present"
                    ]
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "financial_account": {
                    "description": "The FinancialAccount to pull funds from.",
                    "type": "string"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "statement_descriptor": {
                    "description": "The description that appears on the receiving end for this OutboundPayment (for example, bank statement for external bank transfer). Maximum 10 characters for `ach` payments, 140 characters for `us_domestic_wire` payments, or 500 characters for `stripe` network transfers. The default value is \"payment\".",
                    "maxLength": 5000,
                    "type": "string"
                  }
                },
                "required": [
                  "amount",
                  "currency",
                  "financial_account"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "currency",
                  "customer",
                  "description",
                  "destination_payment_method",
                  "destination_payment_method_data",
                  "destination_payment_method_options",
                  "end_user_details",
                  "financial_account",
                  "metadata",
                  "statement_descriptor"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.outbound_payment"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create an OutboundPayment"
      }
    },
    "/v1/treasury/outbound_payments/{id}": {
      "get": {
        "description": "<p>Retrieves the details of an existing OutboundPayment by passing the unique OutboundPayment ID from either the OutboundPayment creation request or OutboundPayment list.</p>",
        "operationId": "GetTreasuryOutboundPaymentsId",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.outbound_payment"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve an OutboundPayment"
      }
    },
    "/v1/treasury/outbound_payments/{id}/cancel": {
      "post": {
        "description": "<p>Cancel an OutboundPayment.</p>",
        "operationId": "PostTreasuryOutboundPaymentsIdCancel",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.outbound_payment"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Cancel an OutboundPayment"
      }
    },
    "/v1/treasury/outbound_transfers": {
      "get": {
        "description": "<p>Returns a list of OutboundTransfers sent from the specified FinancialAccount.</p>",
        "operationId": "GetTreasuryOutboundTransfers",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "Returns objects associated with this FinancialAccount.",
            "in": "query",
            "name": "financial_account",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return OutboundTransfers that have the given status: `processing`, `canceled`, `failed`, `posted`, or `returned`.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "canceled",
                "failed",
                "posted",
                "processing",
                "returned"
              ],
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/treasury.outbound_transfer"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "TreasuryOutboundTransfersResourceOutboundTransferList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all OutboundTransfers"
      },
      "post": {
        "description": "<p>Creates an OutboundTransfer.</p>",
        "operationId": "PostTreasuryOutboundTransfers",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "destination_payment_method_options": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "Amount (in cents) to be transferred.",
                    "type": "integer"
                  },
                  "currency": {
                    "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
                    "type": "string"
                  },
                  "description": {
                    "description": "An arbitrary string attached to the object. Often useful for displaying to users.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "destination_payment_method": {
                    "description": "The PaymentMethod to use as the payment instrument for the OutboundTransfer.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "destination_payment_method_options": {
                    "description": "Hash describing payment method configuration details.",
                    "properties": {
                      "us_bank_account": {
                        "anyOf": [
                          {
                            "properties": {
                              "network": {
                                "description": "Specifies the network rails to be used. If not set, will default to the PaymentMethod's preferred network. See the [docs](https://stripe.com/docs/treasury/money-movement/timelines) to learn more about money movement timelines for each network type.",
                                "enum": [
                                  "ach",
                                  "us_domestic_wire"
                                ],
                                "type": "string"
                              }
                            },
                            "title": "payment_method_options_param",
                            "type": "object",
                            "x-stripeMostCommon": [
                              "ach",
                              "network"
                            ]
                          },
                          {
                            "enum": [
                              ""
                            ],
                            "type": "string"
                          }
                        ],
                        "description": "Optional fields for `us_bank_account`."
                      }
                    },
                    "title": "payment_method_options",
                    "type": "object",
                    "x-stripeMostCommon": [
                      "us_bank_account"
                    ]
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "financial_account": {
                    "description": "The FinancialAccount to pull funds from.",
                    "type": "string"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
                    "type": "object"
                  },
                  "statement_descriptor": {
                    "description": "Statement descriptor to be shown on the receiving end of an OutboundTransfer. Maximum 10 characters for `ach` transfers or 140 characters for `us_domestic_wire` transfers. The default value is \"transfer\".",
                    "maxLength": 5000,
                    "type": "string"
                  }
                },
                "required": [
                  "amount",
                  "currency",
                  "financial_account"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "amount",
                  "currency",
                  "description",
                  "destination_payment_method",
                  "destination_payment_method_options",
                  "financial_account",
                  "metadata",
                  "statement_descriptor"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.outbound_transfer"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create an OutboundTransfer"
      }
    },
    "/v1/treasury/outbound_transfers/{outbound_transfer}": {
      "get": {
        "description": "<p>Retrieves the details of an existing OutboundTransfer by passing the unique OutboundTransfer ID from either the OutboundTransfer creation request or OutboundTransfer list.</p>",
        "operationId": "GetTreasuryOutboundTransfersOutboundTransfer",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "outbound_transfer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.outbound_transfer"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve an OutboundTransfer"
      }
    },
    "/v1/treasury/outbound_transfers/{outbound_transfer}/cancel": {
      "post": {
        "description": "<p>An OutboundTransfer can be canceled if the funds have not yet been paid out.</p>",
        "operationId": "PostTreasuryOutboundTransfersOutboundTransferCancel",
        "parameters": [
          {
            "in": "path",
            "name": "outbound_transfer",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.outbound_transfer"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Cancel an OutboundTransfer"
      }
    },
    "/v1/treasury/received_credits": {
      "get": {
        "description": "<p>Returns a list of ReceivedCredits.</p>",
        "operationId": "GetTreasuryReceivedCredits",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "The FinancialAccount that received the funds.",
            "in": "query",
            "name": "financial_account",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "Only return ReceivedCredits described by the flow.",
            "explode": true,
            "in": "query",
            "name": "linked_flows",
            "required": false,
            "schema": {
              "properties": {
                "source_flow_type": {
                  "description": "The source flow type.",
                  "enum": [
                    "credit_reversal",
                    "other",
                    "outbound_payment",
                    "payout"
                  ],
                  "type": "string",
                  "x-stripeBypassValidation": true
                }
              },
              "required": [
                "source_flow_type"
              ],
              "title": "linked_flows_param",
              "type": "object",
              "x-stripeMostCommon": [
                "source_flow_type"
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return ReceivedCredits that have the given status: `succeeded` or `failed`.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "failed",
                "succeeded"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/treasury.received_credit"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "TreasuryReceivedCreditsResourceReceivedCreditList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all ReceivedCredits"
      }
    },
    "/v1/treasury/received_credits/{id}": {
      "get": {
        "description": "<p>Retrieves the details of an existing ReceivedCredit by passing the unique ReceivedCredit ID from the ReceivedCredit list.</p>",
        "operationId": "GetTreasuryReceivedCreditsId",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.received_credit"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a ReceivedCredit"
      }
    },
    "/v1/treasury/received_debits": {
      "get": {
        "description": "<p>Returns a list of ReceivedDebits.</p>",
        "operationId": "GetTreasuryReceivedDebits",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "The FinancialAccount that funds were pulled from.",
            "in": "query",
            "name": "financial_account",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return ReceivedDebits that have the given status: `succeeded` or `failed`.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "failed",
                "succeeded"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/treasury.received_debit"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "TreasuryReceivedDebitsResourceReceivedDebitList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all ReceivedDebits"
      }
    },
    "/v1/treasury/received_debits/{id}": {
      "get": {
        "description": "<p>Retrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit list</p>",
        "operationId": "GetTreasuryReceivedDebitsId",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.received_debit"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a ReceivedDebit"
      }
    },
    "/v1/treasury/transaction_entries": {
      "get": {
        "description": "<p>Retrieves a list of TransactionEntry objects.</p>",
        "operationId": "GetTreasuryTransactionEntries",
        "parameters": [
          {
            "description": "Only return TransactionEntries that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "explode": true,
            "in": "query",
            "name": "effective_at",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "Returns objects associated with this FinancialAccount.",
            "in": "query",
            "name": "financial_account",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "The results are in reverse chronological order by `created` or `effective_at`. The default is `created`.",
            "in": "query",
            "name": "order_by",
            "required": false,
            "schema": {
              "enum": [
                "created",
                "effective_at"
              ],
              "type": "string"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return TransactionEntries associated with this Transaction.",
            "in": "query",
            "name": "transaction",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/treasury.transaction_entry"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/treasury/transaction_entries",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "TreasuryTransactionsResourceTransactionEntryList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all TransactionEntries"
      }
    },
    "/v1/treasury/transaction_entries/{id}": {
      "get": {
        "description": "<p>Retrieves a TransactionEntry object.</p>",
        "operationId": "GetTreasuryTransactionEntriesId",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.transaction_entry"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a TransactionEntry"
      }
    },
    "/v1/treasury/transactions": {
      "get": {
        "description": "<p>Retrieves a list of Transaction objects.</p>",
        "operationId": "GetTreasuryTransactions",
        "parameters": [
          {
            "description": "Only return Transactions that were created during the given date interval.",
            "explode": true,
            "in": "query",
            "name": "created",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "properties": {
                    "gt": {
                      "description": "Minimum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "gte": {
                      "description": "Minimum value to filter by (inclusive)",
                      "type": "integer"
                    },
                    "lt": {
                      "description": "Maximum value to filter by (exclusive)",
                      "type": "integer"
                    },
                    "lte": {
                      "description": "Maximum value to filter by (inclusive)",
                      "type": "integer"
                    }
                  },
                  "title": "range_query_specs",
                  "type": "object",
                  "x-stripeMostCommon": [
                    "gt",
                    "gte",
                    "lt",
                    "lte"
                  ]
                },
                {
                  "type": "integer"
                }
              ]
            },
            "style": "deepObject"
          },
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "Returns objects associated with this FinancialAccount.",
            "in": "query",
            "name": "financial_account",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "description": "The results are in reverse chronological order by `created` or `posted_at`. The default is `created`.",
            "in": "query",
            "name": "order_by",
            "required": false,
            "schema": {
              "enum": [
                "created",
                "posted_at"
              ],
              "type": "string",
              "x-stripeBypassValidation": true
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Only return Transactions that have the given status: `open`, `posted`, or `void`.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "open",
                "posted",
                "void"
              ],
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "A filter for the `status_transitions.posted_at` timestamp. When using this filter, `status=posted` and `order_by=posted_at` must also be specified.",
            "explode": true,
            "in": "query",
            "name": "status_transitions",
            "required": false,
            "schema": {
              "properties": {
                "posted_at": {
                  "anyOf": [
                    {
                      "properties": {
                        "gt": {
                          "description": "Minimum value to filter by (exclusive)",
                          "type": "integer"
                        },
                        "gte": {
                          "description": "Minimum value to filter by (inclusive)",
                          "type": "integer"
                        },
                        "lt": {
                          "description": "Maximum value to filter by (exclusive)",
                          "type": "integer"
                        },
                        "lte": {
                          "description": "Maximum value to filter by (inclusive)",
                          "type": "integer"
                        }
                      },
                      "title": "range_query_specs",
                      "type": "object",
                      "x-stripeMostCommon": [
                        "gt",
                        "gte",
                        "lt",
                        "lte"
                      ]
                    },
                    {
                      "type": "integer"
                    }
                  ],
                  "description": "Returns Transactions with `posted_at` within the specified range."
                }
              },
              "title": "status_transition_timestamp_specs",
              "type": "object",
              "x-stripeMostCommon": [
                "posted_at"
              ]
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "description": "Details about each object.",
                      "items": {
                        "$ref": "#/components/schemas/treasury.transaction"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "TreasuryTransactionsResourceTransactionList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all Transactions"
      }
    },
    "/v1/treasury/transactions/{id}": {
      "get": {
        "description": "<p>Retrieves the details of an existing Transaction.</p>",
        "operationId": "GetTreasuryTransactionsId",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/treasury.transaction"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a Transaction"
      }
    },
    "/v1/webhook_endpoints": {
      "get": {
        "description": "<p>Returns a list of your webhook endpoints.</p>",
        "operationId": "GetWebhookEndpoints",
        "parameters": [
          {
            "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.",
            "in": "query",
            "name": "ending_before",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form"
          },
          {
            "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.",
            "in": "query",
            "name": "starting_after",
            "required": false,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/webhook_endpoint"
                      },
                      "type": "array"
                    },
                    "has_more": {
                      "description": "True if this list has another page of items after this one that can be fetched.",
                      "type": "boolean"
                    },
                    "object": {
                      "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
                      "enum": [
                        "list"
                      ],
                      "type": "string"
                    },
                    "url": {
                      "description": "The URL where this list can be accessed.",
                      "maxLength": 5000,
                      "pattern": "^/v1/webhook_endpoints",
                      "type": "string"
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ],
                  "title": "NotificationWebhookEndpointList",
                  "type": "object",
                  "x-expandableFields": [
                    "data"
                  ],
                  "x-stripeMostCommon": [
                    "data",
                    "has_more",
                    "object",
                    "url"
                  ]
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "List all webhook endpoints"
      },
      "post": {
        "description": "<p>A webhook endpoint must have a <code>url</code> and a list of <code>enabled_events</code>. You may optionally specify the Boolean <code>connect</code> parameter. If set to true, then a Connect webhook endpoint that notifies the specified <code>url</code> about events from all connected accounts is created; otherwise an account webhook endpoint that notifies the specified <code>url</code> only about events from your account is created. You can also create webhook endpoints in the <a href=\"https://dashboard.stripe.com/account/webhooks\">webhooks settings</a> section of the Dashboard.</p>",
        "operationId": "PostWebhookEndpoints",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "description": {
                  "explode": true,
                  "style": "deepObject"
                },
                "enabled_events": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "api_version": {
                    "description": "Events sent to this endpoint will be generated with this Stripe Version instead of your account's default Stripe Version.",
                    "enum": [
                      "2011-01-01",
                      "2011-06-21",
                      "2011-06-28",
                      "2011-08-01",
                      "2011-09-15",
                      "2011-11-17",
                      "2012-02-23",
                      "2012-03-25",
                      "2012-06-18",
                      "2012-06-28",
                      "2012-07-09",
                      "2012-09-24",
                      "2012-10-26",
                      "2012-11-07",
                      "2013-02-11",
                      "2013-02-13",
                      "2013-07-05",
                      "2013-08-12",
                      "2013-08-13",
                      "2013-10-29",
                      "2013-12-03",
                      "2014-01-31",
                      "2014-03-13",
                      "2014-03-28",
                      "2014-05-19",
                      "2014-06-13",
                      "2014-06-17",
                      "2014-07-22",
                      "2014-07-26",
                      "2014-08-04",
                      "2014-08-20",
                      "2014-09-08",
                      "2014-10-07",
                      "2014-11-05",
                      "2014-11-20",
                      "2014-12-08",
                      "2014-12-17",
                      "2014-12-22",
                      "2015-01-11",
                      "2015-01-26",
                      "2015-02-10",
                      "2015-02-16",
                      "2015-02-18",
                      "2015-03-24",
                      "2015-04-07",
                      "2015-06-15",
                      "2015-07-07",
                      "2015-07-13",
                      "2015-07-28",
                      "2015-08-07",
                      "2015-08-19",
                      "2015-09-03",
                      "2015-09-08",
                      "2015-09-23",
                      "2015-10-01",
                      "2015-10-12",
                      "2015-10-16",
                      "2016-02-03",
                      "2016-02-19",
                      "2016-02-22",
                      "2016-02-23",
                      "2016-02-29",
                      "2016-03-07",
                      "2016-06-15",
                      "2016-07-06",
                      "2016-10-19",
                      "2017-01-27",
                      "2017-02-14",
                      "2017-04-06",
                      "2017-05-25",
                      "2017-06-05",
                      "2017-08-15",
                      "2017-12-14",
                      "2018-01-23",
                      "2018-02-05",
                      "2018-02-06",
                      "2018-02-28",
                      "2018-05-21",
                      "2018-07-27",
                      "2018-08-23",
                      "2018-09-06",
                      "2018-09-24",
                      "2018-10-31",
                      "2018-11-08",
                      "2019-02-11",
                      "2019-02-19",
                      "2019-03-14",
                      "2019-05-16",
                      "2019-08-14",
                      "2019-09-09",
                      "2019-10-08",
                      "2019-10-17",
                      "2019-11-05",
                      "2019-12-03",
                      "2020-03-02",
                      "2020-08-27",
                      "2022-08-01",
                      "2022-11-15",
                      "2023-08-16",
                      "2023-10-16",
                      "2024-04-10",
                      "2024-06-20",
                      "2024-09-30.acacia",
                      "2024-10-28.acacia",
                      "2024-11-20.acacia"
                    ],
                    "maxLength": 5000,
                    "type": "string",
                    "x-stripeBypassValidation": true
                  },
                  "connect": {
                    "description": "Whether this endpoint should receive events from connected accounts (`true`), or from your account (`false`). Defaults to `false`.",
                    "type": "boolean"
                  },
                  "description": {
                    "anyOf": [
                      {
                        "maxLength": 5000,
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "An optional description of what the webhook is used for."
                  },
                  "enabled_events": {
                    "description": "The list of events to enable for this endpoint. You may specify `['*']` to enable all events, except those that require explicit selection.",
                    "items": {
                      "enum": [
                        "*",
                        "account.application.authorized",
                        "account.application.deauthorized",
                        "account.external_account.created",
                        "account.external_account.deleted",
                        "account.external_account.updated",
                        "account.updated",
                        "application_fee.created",
                        "application_fee.refund.updated",
                        "application_fee.refunded",
                        "balance.available",
                        "billing.alert.triggered",
                        "billing_portal.configuration.created",
                        "billing_portal.configuration.updated",
                        "billing_portal.session.created",
                        "capability.updated",
                        "cash_balance.funds_available",
                        "charge.captured",
                        "charge.dispute.closed",
                        "charge.dispute.created",
                        "charge.dispute.funds_reinstated",
                        "charge.dispute.funds_withdrawn",
                        "charge.dispute.updated",
                        "charge.expired",
                        "charge.failed",
                        "charge.pending",
                        "charge.refund.updated",
                        "charge.refunded",
                        "charge.succeeded",
                        "charge.updated",
                        "checkout.session.async_payment_failed",
                        "checkout.session.async_payment_succeeded",
                        "checkout.session.completed",
                        "checkout.session.expired",
                        "climate.order.canceled",
                        "climate.order.created",
                        "climate.order.delayed",
                        "climate.order.delivered",
                        "climate.order.product_substituted",
                        "climate.product.created",
                        "climate.product.pricing_updated",
                        "coupon.created",
                        "coupon.deleted",
                        "coupon.updated",
                        "credit_note.created",
                        "credit_note.updated",
                        "credit_note.voided",
                        "customer.created",
                        "customer.deleted",
                        "customer.discount.created",
                        "customer.discount.deleted",
                        "customer.discount.updated",
                        "customer.source.created",
                        "customer.source.deleted",
                        "customer.source.expiring",
                        "customer.source.updated",
                        "customer.subscription.created",
                        "customer.subscription.deleted",
                        "customer.subscription.paused",
                        "customer.subscription.pending_update_applied",
                        "customer.subscription.pending_update_expired",
                        "customer.subscription.resumed",
                        "customer.subscription.trial_will_end",
                        "customer.subscription.updated",
                        "customer.tax_id.created",
                        "customer.tax_id.deleted",
                        "customer.tax_id.updated",
                        "customer.updated",
                        "customer_cash_balance_transaction.created",
                        "entitlements.active_entitlement_summary.updated",
                        "file.created",
                        "financial_connections.account.created",
                        "financial_connections.account.deactivated",
                        "financial_connections.account.disconnected",
                        "financial_connections.account.reactivated",
                        "financial_connections.account.refreshed_balance",
                        "financial_connections.account.refreshed_ownership",
                        "financial_connections.account.refreshed_transactions",
                        "identity.verification_session.canceled",
                        "identity.verification_session.created",
                        "identity.verification_session.processing",
                        "identity.verification_session.redacted",
                        "identity.verification_session.requires_input",
                        "identity.verification_session.verified",
                        "invoice.created",
                        "invoice.deleted",
                        "invoice.finalization_failed",
                        "invoice.finalized",
                        "invoice.marked_uncollectible",
                        "invoice.overdue",
                        "invoice.paid",
                        "invoice.payment_action_required",
                        "invoice.payment_failed",
                        "invoice.payment_succeeded",
                        "invoice.sent",
                        "invoice.upcoming",
                        "invoice.updated",
                        "invoice.voided",
                        "invoice.will_be_due",
                        "invoiceitem.created",
                        "invoiceitem.deleted",
                        "issuing_authorization.created",
                        "issuing_authorization.request",
                        "issuing_authorization.updated",
                        "issuing_card.created",
                        "issuing_card.updated",
                        "issuing_cardholder.created",
                        "issuing_cardholder.updated",
                        "issuing_dispute.closed",
                        "issuing_dispute.created",
                        "issuing_dispute.funds_reinstated",
                        "issuing_dispute.funds_rescinded",
                        "issuing_dispute.submitted",
                        "issuing_dispute.updated",
                        "issuing_personalization_design.activated",
                        "issuing_personalization_design.deactivated",
                        "issuing_personalization_design.rejected",
                        "issuing_personalization_design.updated",
                        "issuing_token.created",
                        "issuing_token.updated",
                        "issuing_transaction.created",
                        "issuing_transaction.purchase_details_receipt_updated",
                        "issuing_transaction.updated",
                        "mandate.updated",
                        "payment_intent.amount_capturable_updated",
                        "payment_intent.canceled",
                        "payment_intent.created",
                        "payment_intent.partially_funded",
                        "payment_intent.payment_failed",
                        "payment_intent.processing",
                        "payment_intent.requires_action",
                        "payment_intent.succeeded",
                        "payment_link.created",
                        "payment_link.updated",
                        "payment_method.attached",
                        "payment_method.automatically_updated",
                        "payment_method.detached",
                        "payment_method.updated",
                        "payout.canceled",
                        "payout.created",
                        "payout.failed",
                        "payout.paid",
                        "payout.reconciliation_completed",
                        "payout.updated",
                        "person.created",
                        "person.deleted",
                        "person.updated",
                        "plan.created",
                        "plan.deleted",
                        "plan.updated",
                        "price.created",
                        "price.deleted",
                        "price.updated",
                        "product.created",
                        "product.deleted",
                        "product.updated",
                        "promotion_code.created",
                        "promotion_code.updated",
                        "quote.accepted",
                        "quote.canceled",
                        "quote.created",
                        "quote.finalized",
                        "radar.early_fraud_warning.created",
                        "radar.early_fraud_warning.updated",
                        "refund.created",
                        "refund.failed",
                        "refund.updated",
                        "reporting.report_run.failed",
                        "reporting.report_run.succeeded",
                        "reporting.report_type.updated",
                        "review.closed",
                        "review.opened",
                        "setup_intent.canceled",
                        "setup_intent.created",
                        "setup_intent.requires_action",
                        "setup_intent.setup_failed",
                        "setup_intent.succeeded",
                        "sigma.scheduled_query_run.created",
                        "source.canceled",
                        "source.chargeable",
                        "source.failed",
                        "source.mandate_notification",
                        "source.refund_attributes_required",
                        "source.transaction.created",
                        "source.transaction.updated",
                        "subscription_schedule.aborted",
                        "subscription_schedule.canceled",
                        "subscription_schedule.completed",
                        "subscription_schedule.created",
                        "subscription_schedule.expiring",
                        "subscription_schedule.released",
                        "subscription_schedule.updated",
                        "tax.settings.updated",
                        "tax_rate.created",
                        "tax_rate.updated",
                        "terminal.reader.action_failed",
                        "terminal.reader.action_succeeded",
                        "test_helpers.test_clock.advancing",
                        "test_helpers.test_clock.created",
                        "test_helpers.test_clock.deleted",
                        "test_helpers.test_clock.internal_failure",
                        "test_helpers.test_clock.ready",
                        "topup.canceled",
                        "topup.created",
                        "topup.failed",
                        "topup.reversed",
                        "topup.succeeded",
                        "transfer.created",
                        "transfer.reversed",
                        "transfer.updated",
                        "treasury.credit_reversal.created",
                        "treasury.credit_reversal.posted",
                        "treasury.debit_reversal.completed",
                        "treasury.debit_reversal.created",
                        "treasury.debit_reversal.initial_credit_granted",
                        "treasury.financial_account.closed",
                        "treasury.financial_account.created",
                        "treasury.financial_account.features_status_updated",
                        "treasury.inbound_transfer.canceled",
                        "treasury.inbound_transfer.created",
                        "treasury.inbound_transfer.failed",
                        "treasury.inbound_transfer.succeeded",
                        "treasury.outbound_payment.canceled",
                        "treasury.outbound_payment.created",
                        "treasury.outbound_payment.expected_arrival_date_updated",
                        "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",
                        "treasury.received_debit.created"
                      ],
                      "type": "string",
                      "x-stripeBypassValidation": true
                    },
                    "type": "array"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "url": {
                    "description": "The URL of the webhook endpoint.",
                    "type": "string"
                  }
                },
                "required": [
                  "enabled_events",
                  "url"
                ],
                "type": "object",
                "x-stripeMostCommon": [
                  "api_version",
                  "description",
                  "enabled_events",
                  "metadata",
                  "url"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/webhook_endpoint"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Create a webhook endpoint"
      }
    },
    "/v1/webhook_endpoints/{webhook_endpoint}": {
      "delete": {
        "description": "<p>You can also delete webhook endpoints via the <a href=\"https://dashboard.stripe.com/account/webhooks\">webhook endpoint management</a> page of the Stripe dashboard.</p>",
        "operationId": "DeleteWebhookEndpointsWebhookEndpoint",
        "parameters": [
          {
            "in": "path",
            "name": "webhook_endpoint",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/deleted_webhook_endpoint"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Delete a webhook endpoint"
      },
      "get": {
        "description": "<p>Retrieves the webhook endpoint with the given ID.</p>",
        "operationId": "GetWebhookEndpointsWebhookEndpoint",
        "parameters": [
          {
            "description": "Specifies which fields in the response should be expanded.",
            "explode": true,
            "in": "query",
            "name": "expand",
            "required": false,
            "schema": {
              "items": {
                "maxLength": 5000,
                "type": "string"
              },
              "type": "array"
            },
            "style": "deepObject"
          },
          {
            "in": "path",
            "name": "webhook_endpoint",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {},
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/webhook_endpoint"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Retrieve a webhook endpoint"
      },
      "post": {
        "description": "<p>Updates the webhook endpoint. You may edit the <code>url</code>, the list of <code>enabled_events</code>, and the status of your endpoint.</p>",
        "operationId": "PostWebhookEndpointsWebhookEndpoint",
        "parameters": [
          {
            "in": "path",
            "name": "webhook_endpoint",
            "required": true,
            "schema": {
              "maxLength": 5000,
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "encoding": {
                "description": {
                  "explode": true,
                  "style": "deepObject"
                },
                "enabled_events": {
                  "explode": true,
                  "style": "deepObject"
                },
                "expand": {
                  "explode": true,
                  "style": "deepObject"
                },
                "metadata": {
                  "explode": true,
                  "style": "deepObject"
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "description": {
                    "anyOf": [
                      {
                        "maxLength": 5000,
                        "type": "string"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "An optional description of what the webhook is used for."
                  },
                  "disabled": {
                    "description": "Disable the webhook endpoint if set to true.",
                    "type": "boolean"
                  },
                  "enabled_events": {
                    "description": "The list of events to enable for this endpoint. You may specify `['*']` to enable all events, except those that require explicit selection.",
                    "items": {
                      "enum": [
                        "*",
                        "account.application.authorized",
                        "account.application.deauthorized",
                        "account.external_account.created",
                        "account.external_account.deleted",
                        "account.external_account.updated",
                        "account.updated",
                        "application_fee.created",
                        "application_fee.refund.updated",
                        "application_fee.refunded",
                        "balance.available",
                        "billing.alert.triggered",
                        "billing_portal.configuration.created",
                        "billing_portal.configuration.updated",
                        "billing_portal.session.created",
                        "capability.updated",
                        "cash_balance.funds_available",
                        "charge.captured",
                        "charge.dispute.closed",
                        "charge.dispute.created",
                        "charge.dispute.funds_reinstated",
                        "charge.dispute.funds_withdrawn",
                        "charge.dispute.updated",
                        "charge.expired",
                        "charge.failed",
                        "charge.pending",
                        "charge.refund.updated",
                        "charge.refunded",
                        "charge.succeeded",
                        "charge.updated",
                        "checkout.session.async_payment_failed",
                        "checkout.session.async_payment_succeeded",
                        "checkout.session.completed",
                        "checkout.session.expired",
                        "climate.order.canceled",
                        "climate.order.created",
                        "climate.order.delayed",
                        "climate.order.delivered",
                        "climate.order.product_substituted",
                        "climate.product.created",
                        "climate.product.pricing_updated",
                        "coupon.created",
                        "coupon.deleted",
                        "coupon.updated",
                        "credit_note.created",
                        "credit_note.updated",
                        "credit_note.voided",
                        "customer.created",
                        "customer.deleted",
                        "customer.discount.created",
                        "customer.discount.deleted",
                        "customer.discount.updated",
                        "customer.source.created",
                        "customer.source.deleted",
                        "customer.source.expiring",
                        "customer.source.updated",
                        "customer.subscription.created",
                        "customer.subscription.deleted",
                        "customer.subscription.paused",
                        "customer.subscription.pending_update_applied",
                        "customer.subscription.pending_update_expired",
                        "customer.subscription.resumed",
                        "customer.subscription.trial_will_end",
                        "customer.subscription.updated",
                        "customer.tax_id.created",
                        "customer.tax_id.deleted",
                        "customer.tax_id.updated",
                        "customer.updated",
                        "customer_cash_balance_transaction.created",
                        "entitlements.active_entitlement_summary.updated",
                        "file.created",
                        "financial_connections.account.created",
                        "financial_connections.account.deactivated",
                        "financial_connections.account.disconnected",
                        "financial_connections.account.reactivated",
                        "financial_connections.account.refreshed_balance",
                        "financial_connections.account.refreshed_ownership",
                        "financial_connections.account.refreshed_transactions",
                        "identity.verification_session.canceled",
                        "identity.verification_session.created",
                        "identity.verification_session.processing",
                        "identity.verification_session.redacted",
                        "identity.verification_session.requires_input",
                        "identity.verification_session.verified",
                        "invoice.created",
                        "invoice.deleted",
                        "invoice.finalization_failed",
                        "invoice.finalized",
                        "invoice.marked_uncollectible",
                        "invoice.overdue",
                        "invoice.paid",
                        "invoice.payment_action_required",
                        "invoice.payment_failed",
                        "invoice.payment_succeeded",
                        "invoice.sent",
                        "invoice.upcoming",
                        "invoice.updated",
                        "invoice.voided",
                        "invoice.will_be_due",
                        "invoiceitem.created",
                        "invoiceitem.deleted",
                        "issuing_authorization.created",
                        "issuing_authorization.request",
                        "issuing_authorization.updated",
                        "issuing_card.created",
                        "issuing_card.updated",
                        "issuing_cardholder.created",
                        "issuing_cardholder.updated",
                        "issuing_dispute.closed",
                        "issuing_dispute.created",
                        "issuing_dispute.funds_reinstated",
                        "issuing_dispute.funds_rescinded",
                        "issuing_dispute.submitted",
                        "issuing_dispute.updated",
                        "issuing_personalization_design.activated",
                        "issuing_personalization_design.deactivated",
                        "issuing_personalization_design.rejected",
                        "issuing_personalization_design.updated",
                        "issuing_token.created",
                        "issuing_token.updated",
                        "issuing_transaction.created",
                        "issuing_transaction.purchase_details_receipt_updated",
                        "issuing_transaction.updated",
                        "mandate.updated",
                        "payment_intent.amount_capturable_updated",
                        "payment_intent.canceled",
                        "payment_intent.created",
                        "payment_intent.partially_funded",
                        "payment_intent.payment_failed",
                        "payment_intent.processing",
                        "payment_intent.requires_action",
                        "payment_intent.succeeded",
                        "payment_link.created",
                        "payment_link.updated",
                        "payment_method.attached",
                        "payment_method.automatically_updated",
                        "payment_method.detached",
                        "payment_method.updated",
                        "payout.canceled",
                        "payout.created",
                        "payout.failed",
                        "payout.paid",
                        "payout.reconciliation_completed",
                        "payout.updated",
                        "person.created",
                        "person.deleted",
                        "person.updated",
                        "plan.created",
                        "plan.deleted",
                        "plan.updated",
                        "price.created",
                        "price.deleted",
                        "price.updated",
                        "product.created",
                        "product.deleted",
                        "product.updated",
                        "promotion_code.created",
                        "promotion_code.updated",
                        "quote.accepted",
                        "quote.canceled",
                        "quote.created",
                        "quote.finalized",
                        "radar.early_fraud_warning.created",
                        "radar.early_fraud_warning.updated",
                        "refund.created",
                        "refund.failed",
                        "refund.updated",
                        "reporting.report_run.failed",
                        "reporting.report_run.succeeded",
                        "reporting.report_type.updated",
                        "review.closed",
                        "review.opened",
                        "setup_intent.canceled",
                        "setup_intent.created",
                        "setup_intent.requires_action",
                        "setup_intent.setup_failed",
                        "setup_intent.succeeded",
                        "sigma.scheduled_query_run.created",
                        "source.canceled",
                        "source.chargeable",
                        "source.failed",
                        "source.mandate_notification",
                        "source.refund_attributes_required",
                        "source.transaction.created",
                        "source.transaction.updated",
                        "subscription_schedule.aborted",
                        "subscription_schedule.canceled",
                        "subscription_schedule.completed",
                        "subscription_schedule.created",
                        "subscription_schedule.expiring",
                        "subscription_schedule.released",
                        "subscription_schedule.updated",
                        "tax.settings.updated",
                        "tax_rate.created",
                        "tax_rate.updated",
                        "terminal.reader.action_failed",
                        "terminal.reader.action_succeeded",
                        "test_helpers.test_clock.advancing",
                        "test_helpers.test_clock.created",
                        "test_helpers.test_clock.deleted",
                        "test_helpers.test_clock.internal_failure",
                        "test_helpers.test_clock.ready",
                        "topup.canceled",
                        "topup.created",
                        "topup.failed",
                        "topup.reversed",
                        "topup.succeeded",
                        "transfer.created",
                        "transfer.reversed",
                        "transfer.updated",
                        "treasury.credit_reversal.created",
                        "treasury.credit_reversal.posted",
                        "treasury.debit_reversal.completed",
                        "treasury.debit_reversal.created",
                        "treasury.debit_reversal.initial_credit_granted",
                        "treasury.financial_account.closed",
                        "treasury.financial_account.created",
                        "treasury.financial_account.features_status_updated",
                        "treasury.inbound_transfer.canceled",
                        "treasury.inbound_transfer.created",
                        "treasury.inbound_transfer.failed",
                        "treasury.inbound_transfer.succeeded",
                        "treasury.outbound_payment.canceled",
                        "treasury.outbound_payment.created",
                        "treasury.outbound_payment.expected_arrival_date_updated",
                        "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",
                        "treasury.received_debit.created"
                      ],
                      "type": "string",
                      "x-stripeBypassValidation": true
                    },
                    "type": "array"
                  },
                  "expand": {
                    "description": "Specifies which fields in the response should be expanded.",
                    "items": {
                      "maxLength": 5000,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      {
                        "enum": [
                          ""
                        ],
                        "type": "string"
                      }
                    ],
                    "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
                  },
                  "url": {
                    "description": "The URL of the webhook endpoint.",
                    "type": "string"
                  }
                },
                "type": "object",
                "x-stripeMostCommon": [
                  "description",
                  "enabled_events",
                  "metadata",
                  "url"
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/webhook_endpoint"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error response."
          }
        },
        "summary": "Update a webhook endpoint"
      }
    }
  },
  "security": [
    {
      "basicAuth": []
    },
    {
      "bearerAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://api.stripe.com/"
    }
  ]
}